Bug 43043 - Split singleserver tests to seperate AWS instances
Split singleserver tests to seperate AWS instances
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Jenkins
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2 vXXX
Assigned To: Stefan Gohmann
Daniel Tröder
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-23 14:02 CET by Sönke Schwardt-Krummrich
Modified: 2016-12-12 13:16 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2016-11-23 14:02:28 CET
Currently there are a few scripts (30_* + 34_*) in single server environment that take 5-6 hours for completion (all other tests together need additional ~5 hours). This takes too much time, so these scripts should be splitt off to seperate AWS instances, so the results can be fetched ~50% earlier.
Comment 1 Stefan Gohmann univentionstaff 2016-12-01 07:40:01 CET
Done. All single server environments now take about seven hours. I think it is much better and sufficient. If not, please re-open:

branches/ucs-4.1/ucs-4.1-4/test/ucs-ec2-tools/examples
 r74765 + r74769:
 * Split UCS@school import tests to separate jobs (Bug #43043)
 r74791:
 * UCS@school singleserver: Don't run all app tests in the importonly 
   environments (Bug #43043)

branches/ucs-4.1/ucs-school-4.1r2/ucs-test-ucsschool
 r74766 + r74797 + r74847:
 * Tag UCS@school import tests. This allows it to split these tests
   into separate jobs (Bug #43043)
Comment 2 Daniel Tröder univentionstaff 2016-12-09 10:23:52 CET
OK: jobs were split and runtime is down to 2,5 to 6h for each job

REOPEN: 34_import-users_via_{cli, python_api} don't run in any job anymore.
It used to run in UCSschool 4.1 (R2) Singleserver s4 [-all-components].
It may be the combination of longrunning, skip_in_multiserver and ucsschool_import?
Comment 3 Stefan Gohmann univentionstaff 2016-12-09 17:27:15 CET
You are right. The sed expression to include the longrunning tests was only executed for the non-import tests. This has been fixed. Should be included in the next run:
 http://jenkins.knut.univention.de:8080/job/UCSschool%204.1/job/UCSschool%204.1%20(R2)%20Singleserver/318/
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2016-12-12 12:12:18 CET
Jobs like 34_import-users_via_{cli, python_api} are now executed. → VERIFIED
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2016-12-12 13:16:25 CET
UCS@school 4.1 R2 v9 has been released.

http://docs.software-univention.de/changelog-ucsschool-4.1R2v9-de.html