Bug 47031 - 18_distribute_filename_problems fails because UMC server is down
18_distribute_filename_problems fails because UMC server is down
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 4.3
Other Linux
: P5 normal (vote)
: UCS@school 4.3 v4
Assigned To: Sönke Schwardt-Krummrich
Jürn Brodersen
:
Depends on:
Blocks: 47299
  Show dependency treegraph
 
Reported: 2018-05-17 17:59 CEST by Sönke Schwardt-Krummrich
Modified: 2018-07-04 18:12 CEST (History)
0 users

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 2018-05-17 17:59:41 CEST
The test script 18_distribute_filename_problems fails because the UMC server is down at that moment.

[2018-05-16 22:40:55.535721] UMC request failed: 503 on slave2082.autotest208.local (auth): {"status": 503, "message": "The Univention Management Console Server is currently not running. \nIf you have root permissions on the system you can restart it by executing the following command:\n * service univention-management-console-server restart\nThe following logfile may contain information why the server is not running:\n * /var/log/univention/management-console-server.log\nOtherwise please contact an administrator or try again later.", "traceback": null, "location": "https://slave2082.autotest208.local/univention/auth"}
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2018-05-17 18:03:42 CEST
*** BEGIN *** ['/usr/bin/python', '18_automatic_distribute_materials_check'] ***
*** 90_ucsschool/18_automatic_distribute_materials_check *** automatic_distribute_materials_check ***
*** START TIME: 2018-05-16 22:22:20 ***
[...]
*** END TIME: 2018-05-16 22:40:55 ***
*** TEST DURATION (H:MM:SS.ms): 0:18:35.089551 ***
*** END *** 0 ***

*** BEGIN *** ['/usr/bin/python', '18_distribute_filename_problems'] ***
*** 90_ucsschool/18_distribute_filename_problems *** upload files to distribute module with problematic filenames ***
*** START TIME: 2018-05-16 22:40:55 ***



A restart of UMC web server and UMC server is performed as last action of 18_automatic_distribute_materials_check. The restart is performed async and takes some time in which 18_distribute_filename_problems fails.

18_automatic_distribute_materials_check now waits for 5 seconds after restarting services.

40892913c Bug #47031: wait after UMC restart in 18_automatic_distribute_materials_check
Comment 2 Jürn Brodersen univentionstaff 2018-05-31 15:44:08 CEST
OK
18_distribute_filename_problems doesn't fail anymore

-> verified
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2018-07-04 18:12:21 CEST
UCS@school 4.3 v4 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.3v4-de.html

If this error occurs again, please clone this bug.