Univention Bugzilla – Bug 37485
umc-webserver hangs
Last modified: 2023-03-25 06:45:31 CET
See the attached test script at Bug 37367, we could create a test case for this based on the script. +++ This bug was initially created as a clone of Bug #37367 +++ The UMC-Webserver hangs when module processes does not answer to many requests. Attached is a script which can provoke this. Just execute the script, wait 5 minutes (5 = the values provided in umc/http/session/timeout). After this the server does not respond to any request anymore.
debian/changelog: * Bug #37485: Added two tests for the umc-webserver Revision 58909 Successful build Package: ucs-test Version: 5.0.133-2.987.201503120908 Branch: ucs_4.0-0 Scope: errata4.0-1
You've added a join script. This breaks on slaves and member servers the test case 00_checks/05_check_join_status because the join script is not executed on these roles automatically. The test cases do have the permissions to write changes to the LDAP directory. I suggest that you move the things the join script does into the test cases. I've removed ucs-test-umc-module from the dependency list: r59271
I got this error notification when opening UMC: Modul "js_$20151803080604$/umc/modules/ucstest.js" konnte nicht geladen werden.
fixed: Modul "js_$20151803080604$/umc/modules/ucstest.js" konnte nicht geladen werden. --> had a typo in the filename fixed: as requested a removed the join script and moved the code inside the ucs-test-module. I also added the dependency again r 59496 debian / changelog: 5.0.140-7 * Bug #37485: Moved code from join script to ucs test module Successful build Package: ucs-test Version: 5.0.140-7.1012.201503301327 Branch: ucs_4.0-0 Scope: errata4.0-1
I like the test script, they really work well. A minor thing, 09_webserver_response_many_requests tells me that it is successful, however, it should fail as this bug has not yet been fixed. I would suggest to use 100 requests instead of 25 :) and to open a bug which will be linked in the test script. The script could then be marked as skip or WIP... not sure what would be the best policy for that.
As requested I adapted the script: - the bug Bug #37487 is now linked in the test - added meta data: versions and tag - adapted NUMBER_OF_NOT_RESPONDING_REQUESTS to 100 r59588 debian/changelog ucs-test (5.0.143-2) * Bug #37485: Adapted meta data for 09_webserver_response_many_requests Successful build Package: ucs-test Version: 5.0.143-2.1019.201504021344 Branch: ucs_4.0-0 Scope: errata4.0-1
OK, thanks, this looks good now.
I fixed a typo in the test script. svn r61891