WARNING: isolated-tests file /home/ubuntu/isolated-tests.txt does not exist or is empty, no tests will run isolated /opt/stack/tempest ~ Initializing stestr all-plugin create: /opt/stack/tempest/.tox/all-plugin all-plugin installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt all-plugin develop-inst: /opt/stack/tempest all-plugin installed: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,alembic==1.6.5,amqp==5.0.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.4.0,Babel==2.9.1,backports.entry-points-selectable==1.1.0,bcrypt==3.2.0,beautifulsoup4==4.9.3,blinker==1.4,boto3==1.18.28,botocore==1.21.28,cachetools==4.2.2,castellan==3.9.1,certifi==2021.5.30,cffi==1.14.6,chardet==3.0.4,charset-normalizer==2.0.4,-e git+http://10.106.1.39/p/openstack/cinder@5aeb3d6e86061da5e392dd527ce7ec9fada9d5f3#egg=cinder,click==8.0.1,cliff==3.8.0,cmd2==2.1.2,colorama==0.4.4,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==3.4.8,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.2.0,decorator==5.0.9,defusedxml==0.7.1,distlib==0.3.2,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==1.16.0,dogpile.cache==1.1.3,elementpath==2.2.3,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.31.1,extras==1.0.0,fasteners==0.14.1,filelock==3.0.12,fixtures==3.0.0,Flask==2.0.1,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.3.0,-e git+https://opendev.org/openstack/glance@869a39d9e55849c7de7b3ee086cea1017d4f60d5#egg=glance,glance-store==2.7.0,google-api-core==2.0.0,google-api-python-client==2.18.0,google-auth==2.0.1,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.1,grpcio==1.39.0,httplib2==0.19.1,hyperlink==19.0.0,idna==3.2,importlib-metadata==1.5.0,importlib-resources==5.2.2,incremental==16.10.1,iso8601==0.1.16,itsdangerous==2.0.1,Jinja2==3.0.1,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.1,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@e057378b82efe27c2ac9dd277ead587836c759b5#egg=keystone,keystoneauth1==4.3.1,keystonemiddleware==9.3.0,kombu==5.1.0,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.3,Mako==1.1.5,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.2,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@2329562d274b953851603f09f59b140b21a898b4#egg=networking_hyperv,networkx==2.6.2,-e git+https://opendev.org/openstack/neutron@701214481ff1df13b188d7826b44a1c8b51227ea#egg=neutron,neutron-lib==2.14.0,-e git+https://opendev.org/openstack/nova@2a78626a85954997d35f5fe62c50de297e2ca92d#egg=nova,numpy==1.21.2,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@48f31d446be5dd8743392e6d1e45ed8183a9ce1b#egg=openstack_placement,openstacksdk==0.58.0,os-brick==5.0.0,os-client-config==2.1.0,os-ken==2.1.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.0,os-traits==2.6.0,os-vif==2.6.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.0.1,oslo.cache==2.8.1,oslo.concurrency==4.4.0,oslo.config==8.7.1,oslo.context==3.3.1,oslo.db==10.0.0,oslo.i18n==5.0.1,oslo.limit==1.4.0,oslo.log==4.6.0,oslo.messaging==12.9.0,oslo.metrics==0.3.0,oslo.middleware==4.4.0,oslo.policy==3.8.2,oslo.privsep==2.6.1,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.6.0,oslo.upgradecheck==1.4.0,oslo.utils==4.10.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.9.1,osprofiler==3.4.1,ovs==2.13.3,ovsdbapp==1.12.0,packaging==21.0,paramiko==2.7.2,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.6.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.2.0,pluggy==0.13.1,prettytable==0.7.2,prometheus-client==0.11.0,protobuf==3.17.3,psutil==5.8.0,py==1.10.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.20,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.1.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==20.0.1,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,pyroute2==0.6.4,pyroute2.core==0.6.4,pyroute2.ethtool==0.6.4,pyroute2.ipdb==0.6.4,pyroute2.ipset==0.6.4,pyroute2.ndb==0.6.4,pyroute2.nftables==0.6.4,pyroute2.nslink==0.6.4,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.1.0,python-cinderclient==8.0.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.3.0,python-editor==1.0.4,python-glanceclient==3.4.0,python-keystoneclient==4.2.0,python-memcached==1.59,python-neutronclient==7.5.0,python-novaclient==17.5.0,python-openstackclient==5.5.0,python-subunit==1.4.0,python-swiftclient==3.12.0,pytz==2021.1,pyudev==0.22.0,PyYAML==5.4.1,repoze.lru==0.7,requests==2.26.0,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.7.2,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.18,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.5,six==1.16.0,sortedcontainers==2.1.0,sos==4.1,soupsieve==2.2.1,SQLAlchemy==1.4.23,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.0,stevedore==3.4.0,suds-jurko==0.6,-e git+https://opendev.org/openstack/swift@2e55fb43219bc72a0b1774571e6a45fd3af8e7ce#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.1,-e git+https://opendev.org/openstack/tempest@8e76271b5cf031901c29bea851eec8b44d1e40f3#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,toml==0.10.2,tooz==2.9.0,tox==3.24.3,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==3.0.1,urllib3==1.26.6,urwid==2.0.1,vine==5.0.0,virtualenv==20.7.2,voluptuous==0.12.1,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,WebTest==3.0.0,Werkzeug==2.0.1,wrapt==1.12.1,WSME==0.11.0,xattr==0.9.7,xmlschema==1.7.0,yappi==1.3.2,zipp==3.5.0,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {4} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [1.732775s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.129629s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.019639s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.064663s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.012704s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.010568s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.046380s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.096516s] ... ok {5} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [4.276000s] ... ok {4} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [8.946666s] ... ok {2} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {5} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.248989s] ... ok {5} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.092109s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [14.345388s] ... ok {4} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [4.058874s] ... ok {4} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [3.726076s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [19.762972s] ... ok {4} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.230539s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [6.099835s] ... ok {4} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.312834s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [19.331361s] ... ok {4} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [4.431242s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.587177s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:37,823 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.480s 2021-08-27 04:32:37,823 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-fb839e71-3488-4654-80a2-c9686b0952fb', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fb839e71-3488-4654-80a2-c9686b0952fb', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'' 2021-08-27 04:32:37,854 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37 0.029s 2021-08-27 04:32:37,854 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-76d148cb-4f57-4ae1-afb1-3da47a01755e', 'content-length': '530', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-76d148cb-4f57-4ae1-afb1-3da47a01755e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37'} Body: b'{"snapshot": {"id": "e55d56d0-a8ed-42f4-ad61-be0f0535ba37", "created_at": "2021-08-27T04:32:36.000000", "updated_at": "2021-08-27T04:32:38.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-879986768", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:37,857 116003 INFO [tempest.common.waiters] snapshot e55d56d0-a8ed-42f4-ad61-be0f0535ba37 reached creating after waiting for 0.857420 seconds 2021-08-27 04:32:37,927 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.062s 2021-08-27 04:32:37,927 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-1791c69c-e740-41a2-b1ad-5ea28f3e8bfc', 'x-openstack-request-id': 'req-1791c69c-e740-41a2-b1ad-5ea28f3e8bfc', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [3.712818s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:38,682 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots 0.751s 2021-08-27 04:32:38,682 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "name": "tempest-SnapshotsActionsTest-Snapshot-540513628"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c145c557-dc9b-4ae9-a067-92b508b33301', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c145c557-dc9b-4ae9-a067-92b508b33301', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.211345", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-27 04:32:38,874 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.189s 2021-08-27 04:32:38,874 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4d323ce8-6bae-4302-b217-865879458119', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4d323ce8-6bae-4302-b217-865879458119', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:39,905 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.026s 2021-08-27 04:32:39,905 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4dcc19df-6c1c-4dfd-bb3b-0d5fd9bbf8ec', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4dcc19df-6c1c-4dfd-bb3b-0d5fd9bbf8ec', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.000000", "updated_at": "2021-08-27T04:32:40.000000", " name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:39,910 116003 INFO [tempest.common.waiters] snapshot 1a14ac1f-8f07-489c-9ccf-bb0807efce2f reached available after waiting for 1.910180 seconds 2021-08-27 04:32:40,128 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f/action 0.217s 2021-08-27 04:32:40,128 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-3115d764-83f6-4868-84e5-e0071640aa6e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3115d764-83f6-4868-84e5-e0071640aa6e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f/action'} Body: b'' 2021-08-27 04:32:40,149 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.020s 2021-08-27 04:32:40,149 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c8d0ac2f-b3a6-4185-97d3-10b32a50c7b3', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c8d0ac2f-b3a6-4185-97d3-10b32a50c7b3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.000000", "updated_at": "2021-08-27T04:32:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:40,152 116003 INFO [tempest.common.waiters] snapshot 1a14ac1f-8f07-489c-9ccf-bb0807efce2f reached creating after waiting for 0.152287 seconds 2021-08-27 04:32:40,341 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f/action 0.188s 2021-08-27 04:32:40,341 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-comp ute-request-id': 'req-51a558f5-5a20-4f06-87f6-d68acd8a4d30', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-51a558f5-5a20-4f06-87f6-d68acd8a4d30', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f/action'} Body: b'' 2021-08-27 04:32:40,551 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.209s 2021-08-27 04:32:40,552 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b8ab251b-b45c-4bc5-b059-488969dc7525', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b8ab251b-b45c-4bc5-b059-488969dc7525', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.000000", "updated_at": "2021-08-27T04:32:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:41,584 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.028s 2021-08-27 04:32:41,585 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-8551b399-2bd8-4979-a352-1bce43f2a208', 'x-openstack-request-id': 'req-8551b399-2bd8-4979-a352-1bce43f2a208', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 1a14ac1f-8f07-489c-9ccf-bb0807efce2f could not be found."}}' 2021-08-27 04:32:41,641 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.055s 2021-08-27 04:32:41,642 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-544afe4d-e9f8-4207-95d9-1752cf3ec069', 'x-openstack-request-id': 'req-544afe4d-e9f8-4207-95d9-1752c f3ec069', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' {6} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [60.611962s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [5.828972s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:42,909 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots 1.263s 2021-08-27 04:32:42,909 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "name": "tempest-SnapshotsActionsTest-Snapshot-655465540"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d754cd94-8c67-4bd9-b84d-b98fe6d3a428', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d754cd94-8c67-4bd9-b84d-b98fe6d3a428', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.069348", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-27 04:32:42,934 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.022s 2021-08-27 04:32:42,935 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-08e9f5ad-f1e9-4590-9e78-78dcc1fca687', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-08e9f5ad-f1e9-4590-9e78-78dcc1fca687', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:44,626 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.687s 2021-08-27 04:32:44,627 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e00b6069-2481-4c8e-822b-1bf4a3663a1d', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e00b6069-2481-4c8e-822b-1bf4a3663a1d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.000000", "updated_at": "2021-08-27T04:32:44.000000", " name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:44,632 116003 INFO [tempest.common.waiters] snapshot 444e3f31-80d3-419e-a4e9-a77e84f9c6b7 reached available after waiting for 2.632006 seconds 2021-08-27 04:32:45,738 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7/action 1.106s 2021-08-27 04:32:45,738 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-cde98cb3-6773-4231-a4dc-a8fa4388aa1c', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cde98cb3-6773-4231-a4dc-a8fa4388aa1c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7/action'} Body: b'' 2021-08-27 04:32:45,805 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.066s 2021-08-27 04:32:45,805 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-afd2794c-2044-467c-bfab-1579b93d44b9', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-afd2794c-2044-467c-bfab-1579b93d44b9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.000000", "updated_at": "2021-08-27T04:32:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:45,809 116003 INFO [tempest.common.waiters] snapshot 444e3f31-80d3-419e-a4e9-a77e84f9c6b7 reached deleting after waiting for 0.809078 seconds 2021-08-27 04:32:46,384 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7/action 0.575s 2021-08-27 04:32:46,385 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-comp ute-request-id': 'req-5b329ee7-37b2-4a48-8827-d88a18c7c26c', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5b329ee7-37b2-4a48-8827-d88a18c7c26c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7/action'} Body: b'' 2021-08-27 04:32:46,411 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.025s 2021-08-27 04:32:46,411 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-88813a6b-6caa-4a15-90d9-1b0427806f55', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-88813a6b-6caa-4a15-90d9-1b0427806f55', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.000000", "updated_at": "2021-08-27T04:32:46.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:47,433 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.019s 2021-08-27 04:32:47,434 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-58e0ec35-6f8c-4104-b713-9d93144791d1', 'x-openstack-request-id': 'req-58e0ec35-6f8c-4104-b713-9d93144791d1', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 444e3f31-80d3-419e-a4e9-a77e84f9c6b7 could not be found."}}' 2021-08-27 04:32:47,473 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.038s 2021-08-27 04:32:47,473 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-3922581b-c743-4eb8-a8c3-46e571e8f715', 'x-openstack-request-id': 'req-3922581b-c743-4eb8-a8c3-46e57 1e8f715', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' {3} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [17.198052s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [3.589979s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:48,215 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots 0.739s 2021-08-27 04:32:48,215 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-14f5ef7a-a220-4aa1-80ab-d0961324f1f7', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-14f5ef7a-a220-4aa1-80ab-d0961324f1f7', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:47.787706", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-27 04:32:48,251 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.032s 2021-08-27 04:32:48,255 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8b2c721e-e7a4-4a00-b1e6-d34cbc9d63d5', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8b2c721e-e7a4-4a00-b1e6-d34cbc9d63d5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:49,290 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.031s 2021-08-27 04:32:49,291 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93a7b4aa-8216-45e0-906f-bbe04d9b7def', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93a7b4aa-8216-45e0-906f-bbe04d9b7def', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:48.000000", "updated_at": "2021-08-27T04:32:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:49,293 116003 INFO [tempest.common.waiters] snapshot ab59be09-3a20-4c9f-944c-03b08ff7e186 reached available after waiting for 1.293540 seconds 2021-08-27 04:32:49,586 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186/action 0.292s 2021-08-27 04:32:49,586 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2244e157-2789-4aec-b9c5-ed63b32d52b1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2244e157-2789-4aec-b9c5-ed63b32d52b1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186/action'} Body: b'' 2021-08-27 04:32:49,620 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.032s 2021-08-27 04:32:49,620 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1292e3f2-0b89-41aa-9cae-fec378ccf849', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1292e3f2-0b89-41aa-9cae-fec378ccf849', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:48.000000", "updated_at": "2021-08-27T04:32:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "error", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:49,624 116003 INFO [tempest.common.waiters] snapshot ab59be09-3a20-4c9f-944c-03b08ff7e186 reached error after waiting for 0.624558 seconds 2021-08-27 04:32:49,956 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186/action 0.331s 2021-08-27 04:32:49,956 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- d78b36a5-f998-446d-8455-1400c6e33286', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d78b36a5-f998-446d-8455-1400c6e33286', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186/action'} Body: b'' 2021-08-27 04:32:50,003 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.047s 2021-08-27 04:32:50,007 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b2e521fe-e500-4073-80b3-94e79c7ae77d', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b2e521fe-e500-4073-80b3-94e79c7ae77d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:48.000000", "updated_at": "2021-08-27T04:32:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:51,030 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.018s 2021-08-27 04:32:51,030 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-26e5bc74-0c20-4b3b-9462-b03f0c72901e', 'x-openstack-request-id': 'req-26e5bc74-0c20-4b3b-9462-b03f0c72901e', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot ab59be09-3a20-4c9f-944c-03b08ff7e186 could not be found."}}' 2021-08-27 04:32:51,065 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.034s 2021-08-27 04:32:51,065 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-92aefe08-1428-4262-9bdf-652d66207815', 'x-openstack-request-id': 'req-92aefe08-1428-4262-9bdf-652d66207815', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' {6} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show [0.990533s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [4.731586s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:51,998 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots 0.930s 2021-08-27 04:32:51,998 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "name": "tempest-SnapshotsActionsTest-Snapshot-484827445"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a7e99a27-61a5-44fb-bfb1-728b3d8da487', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a7e99a27-61a5-44fb-bfb1-728b3d8da487', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.428464", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-27 04:32:52,037 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.036s 2021-08-27 04:32:52,038 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3a034b0e-bbe2-432e-be84-2cdba0dedebf', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3a034b0e-bbe2-432e-be84-2cdba0dedebf', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:53,066 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.023s 2021-08-27 04:32:53,066 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5c6836d3-61a2-4686-897a-bd891a2cba44', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5c6836d3-61a2-4686-897a-bd891a2cba44', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:54,091 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.021s 2021-08-27 04:32:54,092 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8342643f-9849-462c-bd18-ca6ae0f871d8', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8342643f-9849-462c-bd18-ca6ae0f871d8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": "2021-08-27T04:32:53.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:54,094 116003 INFO [tempest.common.waiters] snapshot bee341de-160a-49bc-a13b-3e822a000858 reached available after waiting for 2.094787 seconds 2021-08-27 04:32:54,345 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/bee341de-160a-49bc-a13b-3e822a000858/action 0.250s 2021-08-27 04:32:54,350 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-f6c81904-ad15-4946-a356-348b9f4b1de1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f6c81904-ad15-4946-a356-348b9f4b1de1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/bee341de-160a-49bc-a13b-3e822a000858/action'} Body: b'' 2021-08-27 04:32:54,375 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.024s 2021-08-27 04:32:54,375 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9476a14d-d097-4131-acc7-d6f813c8b2f9', 'content-length': '573', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9476a14d-d097-4131-acc7-d6f813c8b2f9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": "2021-08-27T04:32:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:54,378 116003 INFO [tempest.common.waiters] snapshot bee341de-160a-49bc-a13b-3e822a000858 reached error_deleting after waiting for 0.378290 seconds 2021-08-27 04:32:54,693 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/bee341de-160a-49bc-a13b-3e822a000858/action 0.314s 2021-08-27 04:32:54,702 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-3fdb16c6-ee10-4baf-a2d9-af56f4f96721', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3fdb16c6-ee10-4baf-a2d9-af56f4f96721', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/bee341de-160a-49bc-a13b-3e822a000858/action'} Body: b'' 2021-08-27 04:32:54,730 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.027s 2021-08-27 04:32:54,736 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-99f03075-5df7-43ff-a9e0-0175e25d8333', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-99f03075-5df7-43ff-a9e0-0175e25d8333', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": "2021-08-27T04:32:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:55,762 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.021s 2021-08-27 04:32:55,762 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-2435bffe-75bc-4f9e-be06-3b8b11bd99b2', 'x-openstack-request-id': 'req-2435bffe-75bc-4f9e-be06-3b8b11bd99b2', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot bee341de-160a-49bc-a13b-3e822a000858 could not be found."}}' 2021-08-27 04:32:55,797 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.035s 2021-08-27 04:32:55,798 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-e65600e4-3c6f-4dea-930d-e41c49c84b4b', 'x-openstack-request-id': 'req-e65600e4-3c6f-4dea-930d-e41c49c84b4b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.082848s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 85, in test_update_snapshot_status self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:55,836 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_update_snapshot_status): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.035s 2021-08-27 04:32:55,837 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-48b181d7-6302-4afc-9d14-ddf34deab7fb', 'x-openstack-request-id': 'req-48b181d7-6302-4afc-9d14-ddf34deab7fb', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' 2021-08-27 04:32:55,878 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.040s 2021-08-27 04:32:55,882 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-07364ef3-a02d-4ef9-8b17-dd041966110a', 'x-openstack-request-id': 'req-07364ef3-a02d-4ef9-8b17-dd041966110a', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [27.036132s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [1.949878s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.534464s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.463358s] ... ok {2} tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) [0.000000s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: ((, Bad request Details: {'code': 400, 'message': 'Invalid snapshot: Snapshot status must be available or error and must not be part of a group.'}, ), (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, )) {6} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.295119s] ... ok {6} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.113254s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.819661s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.026349s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.020809s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.450283s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.776277s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.013818s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.018474s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.020997s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.062964s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.022762s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.021676s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [14.983912s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [4.039157s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.141158s] ... ok {6} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [1.516939s] ... ok {6} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.688706s] ... ok {3} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [32.380474s] ... ok {2} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [3.205744s] ... ok {5} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [2.135735s] ... ok {5} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.050613s] ... ok {5} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.038896s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [5.335931s] ... ok {6} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.091569s] ... ok {5} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [4.879792s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [4.220950s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [4.296207s] ... ok {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [29.037460s] ... ok {5} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [6.980672s] ... ok {5} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.174250s] ... ok {5} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.566380s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [4.082422s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [4.102420s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [9.700144s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [8.177222s] ... ok {3} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [24.003233s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [5.736597s] ... ok {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.841478s] ... ok {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.566243s] ... ok {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.794518s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [9.564822s] ... ok {3} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [8.891125s] ... ok {4} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [4.803195s] ... ok {5} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.013631s] ... ok {5} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.852197s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [8.027092s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [9.705520s] ... ok {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [42.995288s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.120221s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.596027s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.036484s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.098950s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.097086s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.044528s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.036024s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.047522s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.059193s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.059612s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.059227s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.162967s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.078981s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [5.021697s] ... ok {6} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [23.501673s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [12.892550s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.246260s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.080291s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.013054s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.039986s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.016900s] ... ok {6} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [6.842284s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [8.142492s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [35.599081s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [4.694265s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [2.844937s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.097245s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.131063s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.294972s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.195346s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.050032s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.021511s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.027149s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.059165s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.013752s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.054942s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.075200s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.015981s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.144217s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.128934s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.166228s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.143832s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.426198s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.060989s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.212788s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.063693s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.015351s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.061765s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.140810s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.066763s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.040164s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.023809s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.017376s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.040136s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.020485s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.200949s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.056507s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.036724s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [1.097527s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.375110s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [1.105344s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.279372s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.232882s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.391846s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [28.846480s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.193314s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.186270s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.244595s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.530964s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.379205s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.524572s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.294840s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.237480s] ... ok {6} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.357227s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.293501s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.127922s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.140965s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.364469s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.167065s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.524130s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.153401s] ... ok {1} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [211.606401s] ... ok {1} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [5.669413s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.013386s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.012697s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.028981s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.026032s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.024469s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.032400s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.037150s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.012584s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.013127s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.034717s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.046047s] ... ok {7} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [225.475813s] ... ok {1} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.163878s] ... ok {1} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {1} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {1} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {7} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [91.448848s] ... ok {5} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [162.965661s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [38.381575s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [173.617653s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [22.376516s] ... ok {0} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [1.193564s] ... ok {0} tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume [6.652620s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.016603s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.020270s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.019255s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.020112s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.025004s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [21.685174s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.410523s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.161694s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.524914s] ... ok {7} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {0} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.410931s] ... ok {7} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.617527s] ... ok {7} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.080615s] ... ok {0} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.878510s] ... ok {0} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.492667s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {7} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [2.730122s] ... ok {7} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.651711s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [4.053307s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.150414s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.696247s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.042268s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.305309s] ... ok {2} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [283.408638s] ... ok {7} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.142884s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [18.052967s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [16.033099s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.319651s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.331505s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.413671s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [63.426860s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [2.978657s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [21.606832s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [43.144868s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [6.508952s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [6.592754s] ... ok ============================== Failed 7 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status[id-3e13ca2f-48ea-49f3-ae1a-488e9180d535] ---------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:37,823 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.480s 2021-08-27 04:32:37,823 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-fb839e71-3488-4654-80a2-c9686b0952fb', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fb839e71-3488-4654-80a2-c9686b0952fb', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'' 2021-08-27 04:32:37,854 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37 0.029s 2021-08-27 04:32:37,854 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-76d148cb-4f57-4ae1-afb1-3da47a01755e', 'content-length': '530', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-76d148cb-4f57-4ae1-afb1-3da47a01755e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37'} Body: b'{"snapshot": {"id": "e55d56d0-a8ed-42f4-ad61-be0f0535ba37", "created_at": "2021-08-27T04:32:36.000000", "updated_at": "2021-08-27T04:32:38.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-879986768", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:37,857 116003 INFO [tempest.common.waiters] snapshot e55d56d0-a8ed-42f4-ad61-be0f0535ba37 reached creating after waiting for 0.857420 seconds 2021-08-27 04:32:37,927 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.062s 2021-08-27 04:32:37,927 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-1791c69c-e740-41a2-b1ad-5ea28f3e8bfc', 'x-openstack-request-id': 'req-1791c69c-e740-41a2-b1ad-5ea28f3e8bfc', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:38,682 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots 0.751s 2021-08-27 04:32:38,682 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "name": "tempest-SnapshotsActionsTest-Snapshot-540513628"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c145c557-dc9b-4ae9-a067-92b508b33301', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c145c557-dc9b-4ae9-a067-92b508b33301', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.211345", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-27 04:32:38,874 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.189s 2021-08-27 04:32:38,874 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4d323ce8-6bae-4302-b217-865879458119', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4d323ce8-6bae-4302-b217-865879458119', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:39,905 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.026s 2021-08-27 04:32:39,905 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4dcc19df-6c1c-4dfd-bb3b-0d5fd9bbf8ec', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4dcc19df-6c1c-4dfd-bb3b-0d5fd9bbf8ec', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.000000", "updated_at": "2021-08-27T04:32:40.000000", " name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:39,910 116003 INFO [tempest.common.waiters] snapshot 1a14ac1f-8f07-489c-9ccf-bb0807efce2f reached available after waiting for 1.910180 seconds 2021-08-27 04:32:40,128 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f/action 0.217s 2021-08-27 04:32:40,128 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-3115d764-83f6-4868-84e5-e0071640aa6e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3115d764-83f6-4868-84e5-e0071640aa6e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f/action'} Body: b'' 2021-08-27 04:32:40,149 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.020s 2021-08-27 04:32:40,149 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c8d0ac2f-b3a6-4185-97d3-10b32a50c7b3', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c8d0ac2f-b3a6-4185-97d3-10b32a50c7b3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.000000", "updated_at": "2021-08-27T04:32:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:40,152 116003 INFO [tempest.common.waiters] snapshot 1a14ac1f-8f07-489c-9ccf-bb0807efce2f reached creating after waiting for 0.152287 seconds 2021-08-27 04:32:40,341 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f/action 0.188s 2021-08-27 04:32:40,341 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-comp ute-request-id': 'req-51a558f5-5a20-4f06-87f6-d68acd8a4d30', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-51a558f5-5a20-4f06-87f6-d68acd8a4d30', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f/action'} Body: b'' 2021-08-27 04:32:40,551 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.209s 2021-08-27 04:32:40,552 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b8ab251b-b45c-4bc5-b059-488969dc7525', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b8ab251b-b45c-4bc5-b059-488969dc7525', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"snapshot": {"id": "1a14ac1f-8f07-489c-9ccf-bb0807efce2f", "created_at": "2021-08-27T04:32:38.000000", "updated_at": "2021-08-27T04:32:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-540513628", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:41,584 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f 0.028s 2021-08-27 04:32:41,585 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-8551b399-2bd8-4979-a352-1bce43f2a208', 'x-openstack-request-id': 'req-8551b399-2bd8-4979-a352-1bce43f2a208', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/1a14ac1f-8f07-489c-9ccf-bb0807efce2f'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 1a14ac1f-8f07-489c-9ccf-bb0807efce2f could not be found."}}' 2021-08-27 04:32:41,641 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.055s 2021-08-27 04:32:41,642 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-544afe4d-e9f8-4207-95d9-1752cf3ec069', 'x-openstack-request-id': 'req-544afe4d-e9f8-4207-95d9-1752c f3ec069', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:42,909 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots 1.263s 2021-08-27 04:32:42,909 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "name": "tempest-SnapshotsActionsTest-Snapshot-655465540"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d754cd94-8c67-4bd9-b84d-b98fe6d3a428', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d754cd94-8c67-4bd9-b84d-b98fe6d3a428', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.069348", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-27 04:32:42,934 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.022s 2021-08-27 04:32:42,935 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-08e9f5ad-f1e9-4590-9e78-78dcc1fca687', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-08e9f5ad-f1e9-4590-9e78-78dcc1fca687', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:44,626 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.687s 2021-08-27 04:32:44,627 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e00b6069-2481-4c8e-822b-1bf4a3663a1d', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e00b6069-2481-4c8e-822b-1bf4a3663a1d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.000000", "updated_at": "2021-08-27T04:32:44.000000", " name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:44,632 116003 INFO [tempest.common.waiters] snapshot 444e3f31-80d3-419e-a4e9-a77e84f9c6b7 reached available after waiting for 2.632006 seconds 2021-08-27 04:32:45,738 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7/action 1.106s 2021-08-27 04:32:45,738 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-cde98cb3-6773-4231-a4dc-a8fa4388aa1c', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cde98cb3-6773-4231-a4dc-a8fa4388aa1c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7/action'} Body: b'' 2021-08-27 04:32:45,805 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.066s 2021-08-27 04:32:45,805 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-afd2794c-2044-467c-bfab-1579b93d44b9', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-afd2794c-2044-467c-bfab-1579b93d44b9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.000000", "updated_at": "2021-08-27T04:32:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:45,809 116003 INFO [tempest.common.waiters] snapshot 444e3f31-80d3-419e-a4e9-a77e84f9c6b7 reached deleting after waiting for 0.809078 seconds 2021-08-27 04:32:46,384 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7/action 0.575s 2021-08-27 04:32:46,385 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-comp ute-request-id': 'req-5b329ee7-37b2-4a48-8827-d88a18c7c26c', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5b329ee7-37b2-4a48-8827-d88a18c7c26c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7/action'} Body: b'' 2021-08-27 04:32:46,411 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.025s 2021-08-27 04:32:46,411 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-88813a6b-6caa-4a15-90d9-1b0427806f55', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-88813a6b-6caa-4a15-90d9-1b0427806f55', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"snapshot": {"id": "444e3f31-80d3-419e-a4e9-a77e84f9c6b7", "created_at": "2021-08-27T04:32:42.000000", "updated_at": "2021-08-27T04:32:46.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-655465540", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:47,433 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7 0.019s 2021-08-27 04:32:47,434 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-58e0ec35-6f8c-4104-b713-9d93144791d1', 'x-openstack-request-id': 'req-58e0ec35-6f8c-4104-b713-9d93144791d1', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/444e3f31-80d3-419e-a4e9-a77e84f9c6b7'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 444e3f31-80d3-419e-a4e9-a77e84f9c6b7 could not be found."}}' 2021-08-27 04:32:47,473 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.038s 2021-08-27 04:32:47,473 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-3922581b-c743-4eb8-a8c3-46e571e8f715', 'x-openstack-request-id': 'req-3922581b-c743-4eb8-a8c3-46e57 1e8f715', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:48,215 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots 0.739s 2021-08-27 04:32:48,215 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-14f5ef7a-a220-4aa1-80ab-d0961324f1f7', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-14f5ef7a-a220-4aa1-80ab-d0961324f1f7', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:47.787706", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-27 04:32:48,251 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.032s 2021-08-27 04:32:48,255 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8b2c721e-e7a4-4a00-b1e6-d34cbc9d63d5', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8b2c721e-e7a4-4a00-b1e6-d34cbc9d63d5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:49,290 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.031s 2021-08-27 04:32:49,291 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93a7b4aa-8216-45e0-906f-bbe04d9b7def', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93a7b4aa-8216-45e0-906f-bbe04d9b7def', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:48.000000", "updated_at": "2021-08-27T04:32:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:49,293 116003 INFO [tempest.common.waiters] snapshot ab59be09-3a20-4c9f-944c-03b08ff7e186 reached available after waiting for 1.293540 seconds 2021-08-27 04:32:49,586 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186/action 0.292s 2021-08-27 04:32:49,586 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2244e157-2789-4aec-b9c5-ed63b32d52b1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2244e157-2789-4aec-b9c5-ed63b32d52b1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186/action'} Body: b'' 2021-08-27 04:32:49,620 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.032s 2021-08-27 04:32:49,620 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1292e3f2-0b89-41aa-9cae-fec378ccf849', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1292e3f2-0b89-41aa-9cae-fec378ccf849', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:48.000000", "updated_at": "2021-08-27T04:32:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "error", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:49,624 116003 INFO [tempest.common.waiters] snapshot ab59be09-3a20-4c9f-944c-03b08ff7e186 reached error after waiting for 0.624558 seconds 2021-08-27 04:32:49,956 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186/action 0.331s 2021-08-27 04:32:49,956 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- d78b36a5-f998-446d-8455-1400c6e33286', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d78b36a5-f998-446d-8455-1400c6e33286', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186/action'} Body: b'' 2021-08-27 04:32:50,003 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.047s 2021-08-27 04:32:50,007 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b2e521fe-e500-4073-80b3-94e79c7ae77d', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b2e521fe-e500-4073-80b3-94e79c7ae77d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"snapshot": {"id": "ab59be09-3a20-4c9f-944c-03b08ff7e186", "created_at": "2021-08-27T04:32:48.000000", "updated_at": "2021-08-27T04:32:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1748187396", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:51,030 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186 0.018s 2021-08-27 04:32:51,030 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-26e5bc74-0c20-4b3b-9462-b03f0c72901e', 'x-openstack-request-id': 'req-26e5bc74-0c20-4b3b-9462-b03f0c72901e', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/ab59be09-3a20-4c9f-944c-03b08ff7e186'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot ab59be09-3a20-4c9f-944c-03b08ff7e186 could not be found."}}' 2021-08-27 04:32:51,065 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.034s 2021-08-27 04:32:51,065 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-92aefe08-1428-4262-9bdf-652d66207815', 'x-openstack-request-id': 'req-92aefe08-1428-4262-9bdf-652d66207815', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:51,998 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots 0.930s 2021-08-27 04:32:51,998 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "name": "tempest-SnapshotsActionsTest-Snapshot-484827445"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a7e99a27-61a5-44fb-bfb1-728b3d8da487', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a7e99a27-61a5-44fb-bfb1-728b3d8da487', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.428464", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-27 04:32:52,037 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.036s 2021-08-27 04:32:52,038 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3a034b0e-bbe2-432e-be84-2cdba0dedebf', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3a034b0e-bbe2-432e-be84-2cdba0dedebf', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:53,066 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.023s 2021-08-27 04:32:53,066 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5c6836d3-61a2-4686-897a-bd891a2cba44', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5c6836d3-61a2-4686-897a-bd891a2cba44', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-27 04:32:54,091 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.021s 2021-08-27 04:32:54,092 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8342643f-9849-462c-bd18-ca6ae0f871d8', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8342643f-9849-462c-bd18-ca6ae0f871d8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": "2021-08-27T04:32:53.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:54,094 116003 INFO [tempest.common.waiters] snapshot bee341de-160a-49bc-a13b-3e822a000858 reached available after waiting for 2.094787 seconds 2021-08-27 04:32:54,345 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/bee341de-160a-49bc-a13b-3e822a000858/action 0.250s 2021-08-27 04:32:54,350 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-f6c81904-ad15-4946-a356-348b9f4b1de1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f6c81904-ad15-4946-a356-348b9f4b1de1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/bee341de-160a-49bc-a13b-3e822a000858/action'} Body: b'' 2021-08-27 04:32:54,375 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.024s 2021-08-27 04:32:54,375 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9476a14d-d097-4131-acc7-d6f813c8b2f9', 'content-length': '573', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9476a14d-d097-4131-acc7-d6f813c8b2f9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": "2021-08-27T04:32:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:54,378 116003 INFO [tempest.common.waiters] snapshot bee341de-160a-49bc-a13b-3e822a000858 reached error_deleting after waiting for 0.378290 seconds 2021-08-27 04:32:54,693 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/bee341de-160a-49bc-a13b-3e822a000858/action 0.314s 2021-08-27 04:32:54,702 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-3fdb16c6-ee10-4baf-a2d9-af56f4f96721', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3fdb16c6-ee10-4baf-a2d9-af56f4f96721', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/bee341de-160a-49bc-a13b-3e822a000858/action'} Body: b'' 2021-08-27 04:32:54,730 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.027s 2021-08-27 04:32:54,736 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-99f03075-5df7-43ff-a9e0-0175e25d8333', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-99f03075-5df7-43ff-a9e0-0175e25d8333', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"snapshot": {"id": "bee341de-160a-49bc-a13b-3e822a000858", "created_at": "2021-08-27T04:32:51.000000", "updated_at": "2021-08-27T04:32:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-484827445", "description": null, "volume_id": "47f99a1f-0341-4aab-a764-75b4ca59792d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-47f99a1f-0341-4aab-a764-75b4ca59792d.e55d56d0-a8ed-42f4-ad61-be0f0535ba37.vhdx"}, "os-extended-snapshot-attributes:project_id": "e4618d74642a49e1aea5046d3a57c70f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-27 04:32:55,762 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858 0.021s 2021-08-27 04:32:55,762 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-2435bffe-75bc-4f9e-be06-3b8b11bd99b2', 'x-openstack-request-id': 'req-2435bffe-75bc-4f9e-be06-3b8b11bd99b2', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.69/volume/v3/e4618d74642a49e1aea5046d3a57c70f/snapshots/bee341de-160a-49bc-a13b-3e822a000858'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot bee341de-160a-49bc-a13b-3e822a000858 could not be found."}}' 2021-08-27 04:32:55,797 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.035s 2021-08-27 04:32:55,798 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-e65600e4-3c6f-4dea-930d-e41c49c84b4b', 'x-openstack-request-id': 'req-e65600e4-3c6f-4dea-930d-e41c49c84b4b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status[id-41288afd-d463-485e-8f6e-4eea159413eb] ----------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 85, in test_update_snapshot_status self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset in progress state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-27 04:32:55,836 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_update_snapshot_status): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.035s 2021-08-27 04:32:55,837 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-48b181d7-6302-4afc-9d14-ddf34deab7fb', 'x-openstack-request-id': 'req-48b181d7-6302-4afc-9d14-ddf34deab7fb', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' 2021-08-27 04:32:55,878 116003 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action 0.040s 2021-08-27 04:32:55,882 116003 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 27 Aug 2021 04:32:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '74', 'content-type': 'application/json', 'x-compute-request-id': 'req-07364ef3-a02d-4ef9-8b17-dd041966110a', 'x-openstack-request-id': 'req-07364ef3-a02d-4ef9-8b17-dd041966110a', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.69/volume/v3/be2f09cde64a4e5789c4132b2c5e605a/snapshots/e55d56d0-a8ed-42f4-ad61-be0f0535ba37/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset in progress state"}}' tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) ------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: ((, Bad request Details: {'code': 400, 'message': 'Invalid snapshot: Snapshot status must be available or error and must not be part of a group.'}, ), (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, )) ====== Totals ====== Ran: 231 tests in 607.2897 sec. - Passed: 214 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 7 Sum of execute time for each test: 2054.9517 sec. ============== Worker Balance ============== - Worker 0 (22 tests) => 0:09:41.641523 - Worker 1 (25 tests) => 0:02:47.632253 - Worker 2 (25 tests) => 0:08:09.796315 - Worker 3 (30 tests) => 0:03:29.096858 - Worker 4 (46 tests) => 0:03:21.038349 - Worker 5 (32 tests) => 0:06:09.781797 - Worker 6 (29 tests) => 0:03:20.488340 - Worker 7 (22 tests) => 0:08:58.043002 tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status[id-3e13ca2f-48ea-49f3-ae1a-488e9180d535] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status[id-41288afd-d463-485e-8f6e-4eea159413eb] tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) ~ Exit code: 1