[Bug 1847754] Re: train tempest container/metadata list failures

Corey Bryant corey.bryant at canonical.com
Fri Oct 11 13:55:52 UTC 2019


I just ran all tempest smoke successfully on train so marking this as
invalid for now.

** Changed in: swift (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to swift in Ubuntu.
https://bugs.launchpad.net/bugs/1847754

Title:
  train tempest container/metadata list failures

Status in swift package in Ubuntu:
  Invalid

Bug description:
  Running tempest smoke tests against train is resulting in the
  following errors:

  ==============================                                                             
  Failed 2 tests - output below:                                                                                                                                                         
  ==============================                                                             

  tempest.api.object_storage.test_account_services.AccountTest.test_list_account_metadata[id-4894c312-6056-4587-8d6f-86ffbf861f80,smoke]
  --------------------------------------------------------------------------------------------------------------------------------------

  Captured traceback:                                                                        
  ~~~~~~~~~~~~~~~~~~~                                                                        
      b'Traceback (most recent call last):'                                                  
      b'  File "/home/ubuntu/openstack-charm-testing/tempest/tempest/api/object_storage/test_account_services.py", line 278, in test_list_account_metadata'
      b"    self.assertIn('x-account-meta-test-account-meta1', resp)"
      b'  File "/home/ubuntu/openstack-charm-testing/tempest/.tox/tempest/lib/python3.6/site-packages/testtools/testcase.py", line 417, in assertIn'
      b'    self.assertThat(haystack, Contains(needle), message)'
      b'  File "/home/ubuntu/openstack-charm-testing/tempest/.tox/tempest/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat'
      b'    raise mismatch_error'                                                            
      b"testtools.matchers._impl.MismatchError: 'x-account-meta-test-account-meta1' not in {'content-type': 'application/json; charset=utf-8', 'x-account-container-count': '0', 'x-account-object-count': '0', 'x-account-bytes-used': '0', 'x-timestamp': '1570758804.69760', 'accept-ranges': 'bytes', 'content-length': '0', 'x-account-project-domain-id': '06c6924b1a1f421a
  99445f594760374d', 'x-trans-id': 'tx19eee7f783454eb5aad05-005d9fe099', 'x-openstack-request-id': 'tx19eee7f783454eb5aad05-005d9fe099', 'date': 'Fri, 11 Oct 2019 01:53:32 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.5.0.104:8080/v1/AUTH_261d53bb7ea249b88ada33d8b4471221'}"
      b''                                                                                    

  Captured pythonlogging:                                                                    
  ~~~~~~~~~~~~~~~~~~~~~~~                                                                    
      b'2019-10-11 01:53:29,465 24516 INFO     [tempest.lib.common.rest_client] Request (AccountTest:test_list_account_metadata): 204 POST http://10.5.0.104:8080/v1/AUTH_261d53bb7ea249b88ada33d8b4471221 0.512s'                                                                                                                                                               
      b"2019-10-11 01:53:29,466 24516 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'X-Account-Meta-test-account-meta1': 'Meta1', 'X-Account-Meta-test-account-meta2': 'Meta2', 'X-Auth-Token': '<omitted>'}"                                                                                                                                                    
      b'        Body: None'                                                                  
      b"    Response - Headers: {'content-type': 'text/html; charset=UTF-8', 'content-length': '0', 'x-trans-id': 'tx82682a2a09604012ae6ff-005d9fe098', 'x-openstack-request-id': 'tx82682a2a09604012ae6ff-005d9fe098', 'date': 'Fri, 11 Oct 2019 01:53:29 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.5.0.104:8080/v1/AUTH_261d53bb7ea249b88ada
  33d8b4471221'}"                                                                            
      b"        Body: b''"                                                                   
      b'2019-10-11 01:53:32,919 24516 INFO     [tempest.lib.common.rest_client] Request (AccountTest:test_list_account_metadata): 204 HEAD http://10.5.0.104:8080/v1/AUTH_261d53bb7ea249b88ada33d8b4471221 3.452s'                                                                                                                                                               
      b"2019-10-11 01:53:32,919 24516 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}"                                                                                                                                                                              
      b'        Body: None'                                                                  
      b"    Response - Headers: {'content-type': 'application/json; charset=utf-8', 'x-account-container-count': '0', 'x-account-object-count': '0', 'x-account-bytes-used': '0', 'x-timestamp': '1570758804.69760', 'accept-ranges': 'bytes', 'content-length': '0', 'x-account-project-domain-id': '06c6924b1a1f421a99445f594760374d', 'x-trans-id': 'tx19eee7f783454eb5aad05-0
  05d9fe099', 'x-openstack-request-id': 'tx19eee7f783454eb5aad05-005d9fe099', 'date': 'Fri, 11 Oct 2019 01:53:32 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.5.0.104:8080/v1/AUTH_261d53bb7ea249b88ada33d8b4471221'}"                                                                                                                           
      b"        Body: b''"                                                                   
      b''                                                                                    

  tempest.api.object_storage.test_account_services.AccountTest.test_list_containers[id-3499406a-ae53-4f8c-b43a-133d4dc6fe3f,smoke]
  --------------------------------------------------------------------------------------------------------------------------------

  Captured traceback:                                                                        
  ~~~~~~~~~~~~~~~~~~~                                                                        
      b'Traceback (most recent call last):'                                                  
      b'  File "/home/ubuntu/openstack-charm-testing/tempest/tempest/api/object_storage/test_account_services.py", line 65, in test_list_containers'
      b'    container_list)'                                                                 
      b'  File "/home/ubuntu/openstack-charm-testing/tempest/.tox/tempest/lib/python3.6/site-packages/testtools/testcase.py", line 417, in assertIn'
      b'    self.assertThat(haystack, Contains(needle), message)'
      b'  File "/home/ubuntu/openstack-charm-testing/tempest/.tox/tempest/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat'
      b'    raise mismatch_error'                                                            
      b'testtools.matchers._impl.MismatchError: b"tempest-b\'a\'--408502445" not in [b"tempest-b\'d\'--2007624141", b"tempest-b\'e\'--974593457"]'
      b''                                                                                    

  Captured pythonlogging:                                                                    
  ~~~~~~~~~~~~~~~~~~~~~~~                                                                    
      b'2019-10-11 01:53:32,964 24516 INFO     [tempest.lib.common.rest_client] Request (AccountTest:test_list_containers): 200 GET http://10.5.0.104:8080/v1/AUTH_261d53bb7ea249b88ada33d8b4471221 0.026s'                                                                                                                                                                      
      b"2019-10-11 01:53:32,965 24516 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>'}"
      b'        Body: None'                                                                  
      b"    Response - Headers: {'content-type': 'text/plain; charset=utf-8', 'x-account-container-count': '2', 'x-account-object-count': '0', 'x-account-bytes-used': '0', 'x-timestamp': '1570758804.55056', 'x-account-storage-policy-policy-0-container-count': '2', 'x-account-storage-policy-policy-0-object-count': '0', 'x-account-storage-policy-policy-0-bytes-used': '
  0', 'x-account-meta-test-account-meta1': 'Meta1', 'x-account-meta-test-account-meta2': 'Meta2', 'accept-ranges': 'bytes', 'content-length': '49', 'x-account-project-domain-id': '06c6924b1a1f421a99445f594760374d', 'x-trans-id': 'tx22938ecc9a1742eba74c2-005d9fe09c', 'x-openstack-request-id': 'tx22938ecc9a1742eba74c2-005d9fe09c', 'date': 'Fri, 11 Oct 2019 01:53:32 GMT
  ', 'connection': 'close', 'status': '200', 'content-location': 'http://10.5.0.104:8080/v1/AUTH_261d53bb7ea249b88ada33d8b4471221'}"                                                     
      b'        Body: b"tempest-b\'d\'--2007624141\\ntempest-b\'e\'--974593457\\n"'
      b''

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swift/+bug/1847754/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list