Bug 50363 - 83_self_service.02_test_rate_limit.master090 flaky
83_self_service.02_test_rate_limit.master090 flaky
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-10-14 17:31 CEST by Felix Botner
Modified: 2019-10-14 18:55 CEST (History)
0 users

See Also:
What kind of report is it?: ---
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 Felix Botner univentionstaff 2019-10-14 17:31:35 CEST
skip this test for now
Comment 1 Felix Botner univentionstaff 2019-10-14 18:55:01 CEST
2019-10-14 08:01:36.167919) W: The config registry variable 'umc/self-service/passwordreset/limit/total/hour' does not exist
(2019-10-14 08:01:36.167980) W: The config registry variable 'umc/self-service/passwordreset/limit/per_user/day' does not exist
(2019-10-14 08:01:36.168015) W: The config registry variable 'umc/self-service/passwordreset/limit/per_user/minute' does not exist
(2019-10-14 08:01:36.168049) W: The config registry variable 'umc/self-service/passwordreset/limit/per_user/hour' does not exist
(2019-10-14 08:01:36.168112) W: The config registry variable 'umc/self-service/passwordreset/limit/per_user/day' does not exist
(2019-10-14 08:01:45.703235) Traceback (most recent call last):
(2019-10-14 08:01:45.703289)   File "02_test_rate_limit", line 117, in <module>
(2019-10-14 08:01:45.703317)     Main()
(2019-10-14 08:01:45.703342)   File "02_test_rate_limit", line 32, in __init__
(2019-10-14 08:01:45.703366)     self.test_total_limits()
(2019-10-14 08:01:45.703391)   File "02_test_rate_limit", line 39, in test_total_limits
(2019-10-14 08:01:45.703416)     assert fail_after(user, 1, 'one minute'), LIMIT_TOTAL_MINUTE
(2019-10-14 08:01:45.703441)   File "02_test_rate_limit", line 75, in fail_after
(2019-10-14 08:01:45.703465)     user.send_token('email')
(2019-10-14 08:01:45.703490)   File "/usr/share/ucs-test/83_self_service/test_self_service.py", line 40, in send_token
(2019-10-14 08:01:45.703520)     return self.request('passwordreset/send_token', method=method).result
(2019-10-14 08:01:45.703546)   File "/usr/share/ucs-test/83_self_service/test_self_service.py", line 27, in request
(2019-10-14 08:01:45.703574)     return self._client.umc_command(uri, options)
(2019-10-14 08:01:45.703642)   File "/usr/lib/python2.7/dist-packages/univention/testing/umc.py", line 59, in umc_command
(2019-10-14 08:01:45.703671)     return super(Client, self).umc_command(*args, **kwargs)
(2019-10-14 08:01:45.703700)   File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 435, in umc_command
(2019-10-14 08:01:45.703725)     return self.request('POST', 'command/%s' % (path,), data, headers)
(2019-10-14 08:01:45.703798)   File "/usr/lib/python2.7/dist-packages/univention/testing/umc.py", line 70, in request
(2019-10-14 08:01:45.703828)     response = super(Client, self).request(method, path, data, headers)
(2019-10-14 08:01:45.703854)   File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 515, in request
(2019-10-14 08:01:45.703876)     return self.send(request)
(2019-10-14 08:01:45.703901)   File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 544, in send
(2019-10-14 08:01:45.703925)     raise HTTPError(request, response, self.hostname)
(2019-10-14 08:01:45.703959) univention.lib.umc.ServiceUnavailable: 503 on master090.autotest090.local (command/passwordreset/send_token): {"status": 503, "message": "Die erlaubte maximale Anzahl an Verbindungen zum Server wurde erreicht. Bitte versuchen Sie es in einer Minute erneut.", "traceback": null, "location": "https://master090.autotest090.local/univention/command"}