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

Corey Bryant corey.bryant at canonical.com
Fri Oct 11 12:32:14 UTC 2019


These appear to be running successfully when I run the tests
individually:

(tempest) ubuntu at coreycb-bastion:~/openstack-charm-testing/tempest$ tox -e smoke -- --regex tempest.api.object_storage.test_account_services.AccountTest.test_list_containers
smoke develop-inst-noop: /home/ubuntu/openstack-charm-testing/tempest
smoke installed: asn1crypto==1.0.1,attrs==19.2.0,Babel==2.7.0,bcrypt==3.1.7,certifi==2019.9.11,cffi==1.12.3,chardet==3.0.4,cliff==2.16.0,cmd2==0.8.9,cryptography==2.7,debtcollector==1.22.0,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,future==0.18.0,idna==2.8,importlib-metadata==0.23,iso8601==0.1.12,jso
nschema==3.1.1,linecache2==1.0.0,monotonic==1.5,more-itertools==7.2.0,msgpack==0.6.2,netaddr==0.7.19,netifaces==0.10.9,oslo.concurrency==3.30.0,oslo.config==6.11.1,oslo.context==2.23.0,oslo.i18n==3.24.0,oslo.log==3.44.1,oslo.serialization==2.29.2,oslo.utils==3.41.2,paramiko==2.6.0,pbr==5.4.3,pkg-resources
==0.0.0,prettytable==0.7.2,pycparser==2.19,pyinotify==0.9.6,PyNaCl==1.3.0,pyparsing==2.4.2,pyperclip==1.7.0,pyrsistent==0.15.4,python-dateutil==2.8.0,python-mimeparse==1.6.0,python-subunit==1.3.0,pytz==2019.3,PyYAML==5.1.2,requests==2.22.0,rfc3986==1.3.2,six==1.12.0,stestr==2.5.1,stevedore==1.31.0,-e git+
https://github.com/openstack/tempest@f1f1cd943c69cc771a3dff2625e89de4d746cbe1#egg=tempest,testtools==2.3.0,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.25.6,voluptuous==0.11.7,wcwidth==0.1.7,wrapt==1.11.2,zipp==0.6.0
smoke runtests: PYTHONHASHSEED='2420943485'
smoke runtests: commands[0] | find . -type f -name *.pyc -delete
smoke runtests: commands[1] | tempest run --regex \[.*\bsmoke\b.*\] --regex tempest.api.object_storage.test_account_services.AccountTest.test_list_containers
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers [0.501719s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_reverse_order [0.068897s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_end_marker [0.216074s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_format_json [0.024442s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_format_xml [0.024327s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_limit [0.073771s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_limit_and_end_marker [0.022942s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_limit_and_marker [0.585718s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_limit_and_marker_and_end_marker [0.027198s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_marker [0.052714s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_marker_and_end_marker [0.025127s] ... ok
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_prefix [0.028538s] ... ok


======
Totals
======
Ran: 12 tests in 1.6845 sec.
 - Passed: 12
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 1.6515 sec.

==============
Worker Balance
==============
 - Worker 0 (12 tests) => 0:00:01.684537
_________________________________________________________________________________________________ summary __________________________________________________________________________________________________
  smoke: commands succeeded
  congratulations :)
(tempest) ubuntu at coreycb-bastion:~/openstack-charm-testing/tempest$ 
(tempest) ubuntu at coreycb-bastion:~/openstack-charm-testing/tempest$ 
(tempest) ubuntu at coreycb-bastion:~/openstack-charm-testing/tempest$ tox -e smoke -- --regex tempest.api.object_storage.test_account_services.AccountTest.test_list_account_metadata
smoke develop-inst-noop: /home/ubuntu/openstack-charm-testing/tempest
smoke installed: asn1crypto==1.0.1,attrs==19.2.0,Babel==2.7.0,bcrypt==3.1.7,certifi==2019.9.11,cffi==1.12.3,chardet==3.0.4,cliff==2.16.0,cmd2==0.8.9,cryptography==2.7,debtcollector==1.22.0,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,future==0.18.0,idna==2.8,importlib-metadata==0.23,iso8601==0.1.12,jso
nschema==3.1.1,linecache2==1.0.0,monotonic==1.5,more-itertools==7.2.0,msgpack==0.6.2,netaddr==0.7.19,netifaces==0.10.9,oslo.concurrency==3.30.0,oslo.config==6.11.1,oslo.context==2.23.0,oslo.i18n==3.24.0,oslo.log==3.44.1,oslo.serialization==2.29.2,oslo.utils==3.41.2,paramiko==2.6.0,pbr==5.4.3,pkg-resources
==0.0.0,prettytable==0.7.2,pycparser==2.19,pyinotify==0.9.6,PyNaCl==1.3.0,pyparsing==2.4.2,pyperclip==1.7.0,pyrsistent==0.15.4,python-dateutil==2.8.0,python-mimeparse==1.6.0,python-subunit==1.3.0,pytz==2019.3,PyYAML==5.1.2,requests==2.22.0,rfc3986==1.3.2,six==1.12.0,stestr==2.5.1,stevedore==1.31.0,-e git+
https://github.com/openstack/tempest@f1f1cd943c69cc771a3dff2625e89de4d746cbe1#egg=tempest,testtools==2.3.0,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.25.6,voluptuous==0.11.7,wcwidth==0.1.7,wrapt==1.11.2,zipp==0.6.0
smoke runtests: PYTHONHASHSEED='883519290'
smoke runtests: commands[0] | find . -type f -name *.pyc -delete
smoke runtests: commands[1] | tempest run --regex \[.*\bsmoke\b.*\] --regex tempest.api.object_storage.test_account_services.AccountTest.test_list_account_metadata
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_account_metadata [0.467173s] ... ok

======
Totals
======
Ran: 1 tests in 0.4672 sec.
 - Passed: 1
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 0.4672 sec.

==============
Worker Balance
==============
 - Worker 0 (1 tests) => 0:00:00.467173
_________________________________________________________________________________________________ summary __________________________________________________________________________________________________
  smoke: commands succeeded
  congratulations :)

-- 
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:
  New

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