2022-04-01 18:14:01 |
Bas de Bruijne |
description |
In the testrun https://solutions.qa.canonical.com/testruns/testRun/7918f17d-d042-4c3a-9280-c43350dc87fb , Tempest fails on the test tempest.api.object_storage.test_container_quotas.ContainerQuotasTest.test_upload_too_many_objects:
----------------------------------
Traceback (most recent call last):
File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-b8d6efbe-b345-41a5-806a-eea2904d2bc2/repo/tempest/common/utils/__init__.py", line 89, in wrapper
return func(*func_args, **func_kwargs)
File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-b8d6efbe-b345-41a5-806a-eea2904d2bc2/repo/tempest/api/object_storage/test_container_quotas.py", line 100, in test_upload_too_many_objects
self.container_name, "OverQuotaObject", "")
File "/snap/fcbtest/29/lib/python3.6/site-packages/testtools/testcase.py", line 467, in assertRaises
self.assertThat(our_callable, matcher)
File "/snap/fcbtest/29/lib/python3.6/site-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: <bound method ObjectClient.create_object of <tempest.lib.services.object_storage.object_client.ObjectClient object at 0x7f8caac80f98>> returned ({'date': 'Tue, 29 Mar 2022 16:46:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'etag': 'd41d8cd98f00b204e9800998ecf8427e', 'last-modified': 'Tue, 29 Mar 2022 16:46:16 GMT', 'x-trans-id': 'tx00000000000000000008b-00624337d8-31d5-default', 'x-openstack-request-id': 'tx00000000000000000008b-00624337d8-31d5-default', 'content-type': 'application/json; charset=utf-8', 'content-length': '0', 'connection': 'close', 'status': '201', 'content-location': 'https://rados.silo1.solutionsqa:443/swift/v1/tempest-TestContainer-575421513/OverQuotaObject'}, b'')
----------------------------------
This test tries to upload more objects than the set quota (3 in this case) and verifies that it gets an error when the quota is exceed. The test fails because it can successfully create the 4th object.
I can't find any indication of why this is happening in the crashdumps. We see this problem roughly 1 in every 5 testruns.
Crashdumps, tempest.conf, bundle and more can be found here:
https://oil-jenkins.canonical.com/artifacts/7918f17d-d042-4c3a-9280-c43350dc87fb/index.html |
In the testrun https://solutions.qa.canonical.com/testruns/testRun/7918f17d-d042-4c3a-9280-c43350dc87fb , Tempest fails on the test tempest.api.object_storage.test_container_quotas.ContainerQuotasTest.test_upload_too_many_objects:
----------------------------------
Traceback (most recent call last):
File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-b8d6efbe-b345-41a5-806a-eea2904d2bc2/repo/tempest/common/utils/__init__.py", line 89, in wrapper
return func(*func_args, **func_kwargs)
File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-b8d6efbe-b345-41a5-806a-eea2904d2bc2/repo/tempest/api/object_storage/test_container_quotas.py", line 100, in test_upload_too_many_objects
self.container_name, "OverQuotaObject", "")
File "/snap/fcbtest/29/lib/python3.6/site-packages/testtools/testcase.py", line 467, in assertRaises
self.assertThat(our_callable, matcher)
File "/snap/fcbtest/29/lib/python3.6/site-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: <bound method ObjectClient.create_object of <tempest.lib.services.object_storage.object_client.ObjectClient object at 0x7f8caac80f98>> returned ({'date': 'Tue, 29 Mar 2022 16:46:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'etag': 'd41d8cd98f00b204e9800998ecf8427e', 'last-modified': 'Tue, 29 Mar 2022 16:46:16 GMT', 'x-trans-id': 'tx00000000000000000008b-00624337d8-31d5-default', 'x-openstack-request-id': 'tx00000000000000000008b-00624337d8-31d5-default', 'content-type': 'application/json; charset=utf-8', 'content-length': '0', 'connection': 'close', 'status': '201', 'content-location': 'https://rados.silo1.solutionsqa:443/swift/v1/tempest-TestContainer-575421513/OverQuotaObject'}, b'')
----------------------------------
This test tries to upload more objects than the set quota (3 in this case) and verifies that it gets an error when the quota is exceed. The test fails because it can successfully create the 4th object.
I can't find any indication of why this is happening in the crashdumps. We see this problem roughly 1 in every 5 testruns.
Crashdumps, tempest.conf, bundle and more can be found here:
https://oil-jenkins.canonical.com/artifacts/7918f17d-d042-4c3a-9280-c43350dc87fb/index.html
All occurrences of this bug can be found here:
https://solutions.qa.canonical.com/bugs/bugs/bug/1967567 |
|