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.7.5,amqp==5.0.9,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.4.0,Automat==0.8.0,automaton==2.4.0,autopage==0.5.0,Babel==2.9.1,bcrypt==3.2.0,beautifulsoup4==4.10.0,blinker==1.4,boto3==1.20.41,botocore==1.23.41,cachetools==4.2.4,castellan==3.10.0,certifi==2019.11.28,cffi==1.15.0,chardet==3.0.4,charset-normalizer==2.0.10,-e git+http://10.106.1.39/p/openstack/cinder@ee02b2011a74684103a899f0de5ec59b2d4981d3#egg=cinder,click==8.0.3,cliff==3.10.0,cmd2==2.3.3,colorama==0.4.3,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==36.0.1,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.4.0,decorator==5.1.1,defusedxml==0.7.1,distlib==0.3.4,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==2.2.0,dogpile.cache==1.1.5,elementpath==2.4.0,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.33.0,extras==1.0.0,fasteners==0.16.3,filelock==3.4.2,fixtures==3.0.0,Flask==2.0.2,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.0,-e git+https://opendev.org/openstack/glance@e0413eb56ce8ee411570c958921c1a1907e184bf#egg=glance,glance-store==2.7.0,google-api-core==2.4.0,google-api-python-client==2.36.0,google-auth==2.3.3,google-auth-httplib2==0.1.0,googleapis-common-protos==1.54.0,greenlet==1.1.2,grpcio==1.43.0,httplib2==0.20.2,hyperlink==19.0.0,idna==3.3,importlib-metadata==4.10.1,importlib-resources==5.4.0,incremental==16.10.1,iso8601==1.0.2,itsdangerous==2.0.1,Jinja2==3.0.3,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.2,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@c05f3ab54ecc3f4fdc343be9e19e11ada2842658#egg=keystone,keystoneauth1==4.4.0,keystonemiddleware==9.3.0,kombu==5.2.3,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.7.1,Mako==1.1.6,MarkupSafe==2.0.1,microversion-parse==1.0.1,more-itertools==4.2.0,msgpack==1.0.3,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@7619f8c9974dcceeb4f04b43c30564a753c357ec#egg=networking_hyperv,networkx==2.6.3,-e git+https://opendev.org/openstack/neutron@24c802711a939f532842c1d7b95a1afe004e809a#egg=neutron,neutron-lib==2.18.1,-e git+https://opendev.org/openstack/nova@96731a499a43ecec6744e9b047338b967374baed#egg=nova,numpy==1.22.1,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@d48d22ff24535eb5ae947d60fd87a9afb2e7b45d#egg=openstack_placement,openstacksdk==0.61.0,os-brick==5.1.0,os-client-config==2.1.0,os-ken==2.3.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.1,os-traits==2.6.0,os-vif==2.7.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.1.1,oslo.cache==2.9.0,oslo.concurrency==4.5.0,oslo.config==8.7.1,oslo.context==3.4.0,oslo.db==11.1.0,oslo.i18n==5.1.0,oslo.limit==1.4.0,oslo.log==4.6.1,oslo.messaging==12.11.1,oslo.metrics==0.4.0,oslo.middleware==4.5.0,oslo.policy==3.10.1,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.8.0,oslo.upgradecheck==1.4.0,oslo.utils==4.12.1,oslo.versionedobjects==2.5.0,oslo.vmware==3.10.0,osprofiler==3.4.2,ovs==2.16.0,ovsdbapp==1.15.0,packaging==21.3,paramiko==2.8.1,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.8.0,pcp==5.0,pecan==1.4.1,pexpect==4.6.0,platformdirs==2.4.1,pluggy==1.0.0,prettytable==3.0.0,prometheus-client==0.12.0,protobuf==3.19.3,psutil==5.9.0,py==1.11.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.21,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.3.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.5.0,pyOpenSSL==21.0.0,pyparsing==3.0.7,pyperclip==1.8.2,pypowervm==1.1.27,pyroute2==0.6.5,pyroute2.core==0.6.5,pyroute2.ethtool==0.6.5,pyroute2.ipdb==0.6.5,pyroute2.ipset==0.6.5,pyroute2.ndb==0.6.5,pyroute2.nftables==0.6.5,pyroute2.nslink==0.6.5,pyrsistent==0.15.5,pysaml2==7.1.0,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.2.0,python-cinderclient==8.2.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.4.0,python-glanceclient==3.5.0,python-keystoneclient==4.4.0,python-memcached==1.59,python-neutronclient==7.7.0,python-novaclient==17.6.0,python-openstackclient==5.7.0,python-subunit==1.4.0,python-swiftclient==3.13.0,pytz==2021.3,pyudev==0.22.0,PyYAML==6.0,repoze.lru==0.7,requests==2.27.1,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.8,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.19,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,sos==4.1,soupsieve==2.3.1,SQLAlchemy==1.4.31,sqlalchemy-migrate==0.13.0,sqlparse==0.4.2,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.1,stevedore==3.5.0,suds-community==1.0.0,-e git+https://opendev.org/openstack/swift@8ef530d795df7f0300e761933c916546427a79fe#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.3,-e git+https://opendev.org/openstack/tempest@e7ab86a7974ff3d5117538a5adb34bbd8bbf8629#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.10.0,tox==3.24.5,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==4.1.1,urllib3==1.26.8,urwid==2.0.1,vine==5.0.0,virtualenv==20.13.0,voluptuous==0.12.2,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.2,wrapt==1.13.3,WSME==0.11.0,xattr==0.9.9,xmlschema==1.9.2,yappi==1.3.3,zipp==3.7.0,zope.interface==4.7.1,zstd==1.5.1.0,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {2} 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 [0.870426s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [1.874249s] ... ok {2} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [1.392574s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.269949s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.126555s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.012887s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.021192s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.073005s] ... ok {3} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.070900s] ... ok {2} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [1.325076s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.887009s] ... ok {5} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [14.514740s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [1.294264s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [1.150623s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [1.549379s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.377245s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.417927s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.336439s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.026937s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.021313s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.327511s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.391025s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.198675s] ... ok {5} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.640334s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.552066s] ... ok {2} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.135898s] ... ok {2} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.040981s] ... ok {5} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [6.363316s] ... 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-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-24 09:17:43,489 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots 0.508s 2022-01-24 09:17:43,493 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f8d1a4c5-c456-45c4-8b37-a797afc8c209', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f8d1a4c5-c456-45c4-8b37-a797afc8c209', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.237318", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-24 09:17:43,539 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.044s 2022-01-24 09:17:43,540 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-076ab25a-cfb6-4976-8de0-a585ad922d28', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-076ab25a-cfb6-4976-8de0-a585ad922d28', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:44,579 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.035s 2022-01-24 09:17:44,579 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-be2556d5-7aed-4f7e-a463-29f27f0bddbb', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-be2556d5-7aed-4f7e-a463-29f27f0bddbb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": null, "name": "tempest -SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:45,608 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.025s 2022-01-24 09:17:45,609 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-565f41e6-5b8c-48ab-b12a-118c971dc4dd', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-565f41e6-5b8c-48ab-b12a-118c971dc4dd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:46,635 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.021s 2022-01-24 09:17:46,636 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-aa6da7eb-966d-4f76-ab45-6b732af5cb57', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-aa6da7eb-966d-4f76-ab45-6b732af5cb57', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:47,687 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.048s 2022-01-24 09:17:47,688 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6264afd7-123a-46ea-ae60-25bc88a40767', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-req uest-id': 'req-6264afd7-123a-46ea-ae60-25bc88a40767', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": "2022-01-24T09:17:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:47,691 117554 INFO [tempest.common.waiters] snapshot 99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c reached available after waiting for 4.691413 seconds 2022-01-24 09:17:47,877 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c/action 0.182s 2022-01-24 09:17:47,877 117554 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': 'Mon, 24 Jan 2022 09:17:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-42e0d3d9-9418-458b-8efe-a74749fdacf9', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-42e0d3d9-9418-458b-8efe-a74749fdacf9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c/action'} Body: b'' 2022-01-24 09:17:47,984 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.106s 2022-01-24 09:17:47,984 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9cd91686-b995-41a3-8887-22f0dc8a8dc2', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9cd91686-b995-41a3-8887-22f0dc8a8dc2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": "2022-01-24T09:17:48.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:47,989 117554 INFO [tempest.common.waiters] snapshot 99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c reached creating after waiting for 0.989354 seconds 2022-01-24 09:17:48,223 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c/action 0.233s 2022-01-24 09:17:48,223 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'ap plication/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2f5973a2-0f21-4a13-ba73-ac0bf814b384', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2f5973a2-0f21-4a13-ba73-ac0bf814b384', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c/action'} Body: b'' 2022-01-24 09:17:48,268 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.044s 2022-01-24 09:17:48,269 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8f197945-6a4d-4777-8659-2e4cdac2b0de', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8f197945-6a4d-4777-8659-2e4cdac2b0de', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": "2022-01-24T09:17:48.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:49,292 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.019s 2022-01-24 09:17:49,293 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:49 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-af65436c-fe3e-4475-94ec-42b8a982269d', 'x-openstack-request-id': 'req-af65436c-fe3e-4475-94ec-42b8a982269d', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c could not be found."}}' 2022-01-24 09:17:49,341 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action 0.048s 2022-01-24 09:17:49,342 117554 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': 'Mon, 24 Jan 2022 09:17:49 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-ca 4490df-be1d-4b41-a23d-48fe6eb13711', 'x-openstack-request-id': 'req-ca4490df-be1d-4b41-a23d-48fe6eb13711', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {3} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.903830s] ... ok {3} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.566249s] ... ok {2} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.159171s] ... ok {5} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [6.620058s] ... 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-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-24 09:17:49,946 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots 0.601s 2022-01-24 09:17:49,947 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "name": "tempest-SnapshotsActionsTest-Snapshot-315774694"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ef6a3d20-33f9-4ffa-af29-5aef501b6a94', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ef6a3d20-33f9-4ffa-af29-5aef501b6a94', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:49.544894", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-24 09:17:50,037 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.087s 2022-01-24 09:17:50,037 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cfe418e8-b90a-449d-bb3a-ea36d0a479da', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cfe418e8-b90a-449d-bb3a-ea36d0a479da', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:51,108 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.067s 2022-01-24 09:17:51,111 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bfa24f2f-3be9-4385-bca0-635cb2b1bf6c', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bfa24f2f-3be9-4385-bca0-635cb2b1bf6c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": null, "name": "tempest-Sn apshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:52,155 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.038s 2022-01-24 09:17:52,155 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-43c0a8f9-11d9-4c6d-a1b2-c510dbdb09fb', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-43c0a8f9-11d9-4c6d-a1b2-c510dbdb09fb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:53,183 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.024s 2022-01-24 09:17:53,184 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bccba7ad-6dbe-4d86-a116-9723ed465a6d', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bccba7ad-6dbe-4d86-a116-9723ed465a6d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:54,220 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.032s 2022-01-24 09:17:54,221 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a37f9cdf-bd76-4906-9ba0-e86306518c81', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-i d': 'req-a37f9cdf-bd76-4906-9ba0-e86306518c81', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": "2022-01-24T09:17:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:54,224 117554 INFO [tempest.common.waiters] snapshot c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 reached available after waiting for 4.224620 seconds 2022-01-24 09:17:54,500 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091/action 0.274s 2022-01-24 09:17:54,503 117554 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': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d157ee1b-1bfd-4555-b847-72055424f9b9', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d157ee1b-1bfd-4555-b847-72055424f9b9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091/action'} Body: b'' 2022-01-24 09:17:54,543 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.039s 2022-01-24 09:17:54,543 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7629fd1e-4052-4b39-bd8a-f5fe8018b9a9', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7629fd1e-4052-4b39-bd8a-f5fe8018b9a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": "2022-01-24T09:17:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:54,546 117554 INFO [tempest.common.waiters] snapshot c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 reached deleting after waiting for 0.546078 seconds 2022-01-24 09:17:54,854 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091/action 0.307s 2022-01-24 09:17:54,854 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'applicatio n/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-37b75616-c7df-4ad7-978b-3aadaaff5f2b', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-37b75616-c7df-4ad7-978b-3aadaaff5f2b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091/action'} Body: b'' 2022-01-24 09:17:54,897 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.042s 2022-01-24 09:17:54,899 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-65d26b0d-45a6-4f9b-ba25-0a680b5a46e0', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-65d26b0d-45a6-4f9b-ba25-0a680b5a46e0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": "2022-01-24T09:17:55.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:55,927 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.023s 2022-01-24 09:17:55,927 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17: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-7c32ce96-7c5f-46bb-be65-cf688f710075', 'x-openstack-request-id': 'req-7c32ce96-7c5f-46bb-be65-cf688f710075', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 could not be found."}}' 2022-01-24 09:17:55,963 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action 0.035s 2022-01-24 09:17:55,964 117554 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': 'Mon, 24 Jan 2022 09:17: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-a192d48a-e0 79-4119-9d54-ca8ede2985a4', 'x-openstack-request-id': 'req-a192d48a-e079-4119-9d54-ca8ede2985a4', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {2} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [2.622365s] ... ok {3} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [4.041190s] ... ok {5} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [6.292381s] ... 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-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-24 09:17:56,487 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots 0.521s 2022-01-24 09:17:56,487 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "name": "tempest-SnapshotsActionsTest-Snapshot-774613043"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-71ec7dc1-06da-4f38-952b-a9d69225a66d', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-71ec7dc1-06da-4f38-952b-a9d69225a66d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.193708", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-24 09:17:56,518 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.027s 2022-01-24 09:17:56,519 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bf633b4d-6784-4aae-a3a8-92770910dcf5', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bf633b4d-6784-4aae-a3a8-92770910dcf5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:57,545 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.023s 2022-01-24 09:17:57,551 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cd8cbe71-0f91-4df1-8761-33782f78eb73', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cd8cbe71-0f91-4df1-8761-33782f78eb73', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": null, "name": "tempest-SnapshotsAc tionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:58,577 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.023s 2022-01-24 09:17:58,578 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-59c33b9e-6086-4145-b51d-404a483badbb', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-59c33b9e-6086-4145-b51d-404a483badbb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:59,603 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.021s 2022-01-24 09:17:59,603 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7dafdd90-195d-4f1c-bf0f-d5b38c2891ef', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7dafdd90-195d-4f1c-bf0f-d5b38c2891ef', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:00,629 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.021s 2022-01-24 09:18:00,629 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-eaf76b16-794a-41fe-ac32-9cdbf9bf5383', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-eaf76b16- 794a-41fe-ac32-9cdbf9bf5383', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": "2022-01-24T09:18:00.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:18:00,631 117554 INFO [tempest.common.waiters] snapshot a88141a1-eafe-4021-8430-9005c59b7e43 reached available after waiting for 4.631958 seconds 2022-01-24 09:18:00,742 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43/action 0.110s 2022-01-24 09:18:00,742 117554 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': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-421f7c4b-6b72-49f8-afc1-1ecea136daaf', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-421f7c4b-6b72-49f8-afc1-1ecea136daaf', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43/action'} Body: b'' 2022-01-24 09:18:00,769 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.026s 2022-01-24 09:18:00,769 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0cac0f30-d1d8-4d6b-b9b2-c1c1a550c0c5', 'content-length': '461', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0cac0f30-d1d8-4d6b-b9b2-c1c1a550c0c5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": "2022-01-24T09:18:01.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:18:00,772 117554 INFO [tempest.common.waiters] snapshot a88141a1-eafe-4021-8430-9005c59b7e43 reached error after waiting for 0.772504 seconds 2022-01-24 09:18:00,890 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43/action 0.118s 2022-01-24 09:18:00,891 117554 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': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-77226963-e687-4b6a-ad3f-db46a590f462', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-77226963-e687-4b6a-ad3f-db46a590f462', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43/action'} Body: b'' 2022-01-24 09:18:00,920 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.028s 2022-01-24 09:18:00,923 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-15a81f20-1e93-4528-8755-bdfbbe4e0708', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-15a81f20-1e93-4528-8755-bdfbbe4e0708', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": "2022-01-24T09:18:01.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:18:02,045 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.118s 2022-01-24 09:18:02,045 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:01 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-b46c702c-cd80-45cf-9c52-5c66e90ef317', 'x-openstack-request-id': 'req-b46c702c-cd80-45cf-9c52-5c66e90ef317', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a88141a1-eafe-4021-8430-9005c59b7e43 could not be found."}}' 2022-01-24 09:18:02,257 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action 0.211s 2022-01-24 09:18:02,257 117554 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': 'Mon, 24 Jan 2022 09:18:02 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-94e32845-c54c-45b5-bb8e-339303963816', 'x-openstack-r equest-id': 'req-94e32845-c54c-45b5-bb8e-339303963816', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {5} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [6.688982s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 120, in test_snapshot_force_delete_when_snapshot_is_error_deleting self._create_reset_and_force_delete_temp_snapshot('error_deleting') File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 58, in _create_reset_and_force_delete_temp_snapshot 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 error_deleting'} 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-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-24 09:18:03,724 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots 1.459s 2022-01-24 09:18:03,725 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c51d90fa-9cbe-4ce9-8dcd-8ea0380a5903', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c51d90fa-9cbe-4ce9-8dcd-8ea0380a5903', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:02.751118", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-24 09:18:03,753 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.025s 2022-01-24 09:18:03,754 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8a56a4b2-bfbc-4a86-8bfe-4893fb1c7784', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8a56a4b2-bfbc-4a86-8bfe-4893fb1c7784', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:04,779 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.021s 2022-01-24 09:18:04,779 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f5fce784-c9c6-49be-8ad4-7ca5215289c3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f5fce784-c9c6-49be-8ad4-7ca5215289c3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null , "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:05,805 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.021s 2022-01-24 09:18:05,805 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6ef19d97-1816-45a2-bfba-8c6e2f84ffa5', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6ef19d97-1816-45a2-bfba-8c6e2f84ffa5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:06,830 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.021s 2022-01-24 09:18:06,830 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-156f14f3-5b92-4996-851a-490d962934bc', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-156f14f3-5b92-4996-851a-490d962934bc', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:07,854 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.020s 2022-01-24 09:18:07,854 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-36a482eb-bf88-44fd-9ee1-cd8197b1f108', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'Open Stack-API-Version', 'x-openstack-request-id': 'req-36a482eb-bf88-44fd-9ee1-cd8197b1f108', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:08,881 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.023s 2022-01-24 09:18:08,882 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4c459790-903c-4cd6-a05c-8f4e21225e1c', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4c459790-903c-4cd6-a05c-8f4e21225e1c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": "2022-01-24T09:18:08.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:18:08,886 117554 INFO [tempest.common.waiters] snapshot 7408a740-ffa0-4611-840d-5ab1e72bd943 reached available after waiting for 5.886487 seconds 2022-01-24 09:18:08,923 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943/action 0.036s 2022-01-24 09:18:08,923 117554 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': 'Mon, 24 Jan 2022 09:18:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '80', 'content-type': 'application/json', 'x-compute-request-id': 'req-bc25d57b-069b-46e3-b7f6-2f4ea5a95c3a', 'x-openstack-request-id': 'req-bc25d57b-069b-46e3-b7f6-2f4ea5a95c3a', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to error_deleting"}}' 2022-01-24 09:18:08,952 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action 0.028s 2022-01-24 09:18:08,953 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "availa ble"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:08 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-738859df-8b3d-48e9-8536-97463f453d8b', 'x-openstack-request-id': 'req-738859df-8b3d-48e9-8536-97463f453d8b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {5} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.460266s] ... ok {2} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [5.671291s] ... ok {2} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [3.269071s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [8.875823s] ... ok {2} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.290477s] ... ok {5} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.117319s] ... ok {2} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [6.921135s] ... ok {5} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [3.838413s] ... ok {2} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [2.582349s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [13.033552s] ... ok {2} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.017193s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.015456s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.032995s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.016689s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.023407s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.016830s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.030470s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.011807s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.013215s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.032681s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.067270s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.036580s] ... ok {0} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [90.721229s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [90.304537s] ... ok {5} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [2.164449s] ... ok {5} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [18.124344s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [40.388367s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.128178s] ... ok {2} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [1.344464s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.111511s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.093101s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.089269s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.480775s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.213027s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [25.985558s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.297260s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.077187s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.090440s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.088707s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.089477s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.109255s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.076915s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.136300s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.145684s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.165513s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.083197s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.081237s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.085559s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [50.323822s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [11.264402s] ... ok {5} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [42.772327s] ... ok {0} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.592888s] ... ok {5} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [7.919640s] ... ok {0} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [2.373870s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.028364s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.026687s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.022686s] ... ok {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [48.934106s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [2.248708s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.020078s] ... ok {0} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.642631s] ... ok {0} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.059579s] ... ok {0} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.124735s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [52.559803s] ... ok {0} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.155165s] ... ok {0} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.027962s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.048801s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.022169s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.067255s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.033026s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.037790s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.025112s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.041204s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.037942s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.038350s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.079746s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.115269s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.141321s] ... ok {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [58.426726s] ... ok {7} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [2.154962s] ... ok {7} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status [12.260456s] ... ok {7} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {7} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.100830s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.126409s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.210319s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.099537s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.199808s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.116039s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.153225s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.209262s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.010819s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.142909s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.017183s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.015296s] ... ok {7} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.062362s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [10.172924s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [11.670826s] ... ok {1} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [5.463291s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [22.276213s] ... ok {4} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [297.903909s] ... ok {1} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [3.913884s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [21.407184s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.406848s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.326205s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.303632s] ... ok {1} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [30.680618s] ... ok {1} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [7.956888s] ... ok {7} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [25.558194s] ... ok {6} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [339.737674s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [20.334569s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [2.158482s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.510392s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.010611s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.019584s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.024687s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.032604s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.011988s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.017215s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.010680s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.020674s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008478s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.020576s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.019656s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.008207s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.069076s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.067805s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.061367s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.081734s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.284643s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.025474s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.025862s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.012595s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.021687s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.022230s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.021038s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.010732s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.009886s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.021371s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.010104s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.020191s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.020471s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [72.029123s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [5.903671s] ... ok {6} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [115.737545s] ... ok {6} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.074312s] ... ok {6} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.040456s] ... ok {4} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [184.738384s] ... ok {6} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.012827s] ... ok {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.023166s] ... ok {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.020814s] ... ok {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.021466s] ... ok {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.021480s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [5.950873s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.141126s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.568078s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.048983s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.324763s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [15.880719s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [46.694959s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [6.444216s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [1.315036s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.030595s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.038437s] ... ok {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [1.280127s] ... ok {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.519869s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [17.051000s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [3.491771s] ... ok {4} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.607360s] ... ok {4} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.170913s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [5.346640s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.049416s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.188577s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [9.316103s] ... ok {6} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [4.440919s] ... ok {6} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.559661s] ... ok {4} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [13.714488s] ... ok {1} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.201942s] ... ok {1} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.061793s] ... ok {1} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.022819s] ... ok {1} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.028406s] ... ok {1} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.014324s] ... ok {1} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [8.295364s] ... ok {4} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [13.042769s] ... ok {1} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {4} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [5.965902s] ... ok {4} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.504780s] ... ok {3} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [511.841482s] ... ok {4} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [137.043946s] ... ok {6} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [284.590899s] ... ok ============================== Failed 4 tests - output below: ============================== 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-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-24 09:17:43,489 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots 0.508s 2022-01-24 09:17:43,493 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f8d1a4c5-c456-45c4-8b37-a797afc8c209', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f8d1a4c5-c456-45c4-8b37-a797afc8c209', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.237318", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-24 09:17:43,539 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.044s 2022-01-24 09:17:43,540 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-076ab25a-cfb6-4976-8de0-a585ad922d28', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-076ab25a-cfb6-4976-8de0-a585ad922d28', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:44,579 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.035s 2022-01-24 09:17:44,579 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-be2556d5-7aed-4f7e-a463-29f27f0bddbb', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-be2556d5-7aed-4f7e-a463-29f27f0bddbb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": null, "name": "tempest -SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:45,608 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.025s 2022-01-24 09:17:45,609 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-565f41e6-5b8c-48ab-b12a-118c971dc4dd', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-565f41e6-5b8c-48ab-b12a-118c971dc4dd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:46,635 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.021s 2022-01-24 09:17:46,636 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-aa6da7eb-966d-4f76-ab45-6b732af5cb57', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-aa6da7eb-966d-4f76-ab45-6b732af5cb57', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:47,687 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.048s 2022-01-24 09:17:47,688 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6264afd7-123a-46ea-ae60-25bc88a40767', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-req uest-id': 'req-6264afd7-123a-46ea-ae60-25bc88a40767', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": "2022-01-24T09:17:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:47,691 117554 INFO [tempest.common.waiters] snapshot 99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c reached available after waiting for 4.691413 seconds 2022-01-24 09:17:47,877 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c/action 0.182s 2022-01-24 09:17:47,877 117554 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': 'Mon, 24 Jan 2022 09:17:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-42e0d3d9-9418-458b-8efe-a74749fdacf9', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-42e0d3d9-9418-458b-8efe-a74749fdacf9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c/action'} Body: b'' 2022-01-24 09:17:47,984 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.106s 2022-01-24 09:17:47,984 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9cd91686-b995-41a3-8887-22f0dc8a8dc2', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9cd91686-b995-41a3-8887-22f0dc8a8dc2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": "2022-01-24T09:17:48.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:47,989 117554 INFO [tempest.common.waiters] snapshot 99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c reached creating after waiting for 0.989354 seconds 2022-01-24 09:17:48,223 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c/action 0.233s 2022-01-24 09:17:48,223 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'ap plication/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2f5973a2-0f21-4a13-ba73-ac0bf814b384', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2f5973a2-0f21-4a13-ba73-ac0bf814b384', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c/action'} Body: b'' 2022-01-24 09:17:48,268 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.044s 2022-01-24 09:17:48,269 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8f197945-6a4d-4777-8659-2e4cdac2b0de', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8f197945-6a4d-4777-8659-2e4cdac2b0de', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"snapshot": {"id": "99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c", "created_at": "2022-01-24T09:17:43.000000", "updated_at": "2022-01-24T09:17:48.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1116067332", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:49,292 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c 0.019s 2022-01-24 09:17:49,293 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:49 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-af65436c-fe3e-4475-94ec-42b8a982269d', 'x-openstack-request-id': 'req-af65436c-fe3e-4475-94ec-42b8a982269d', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 99f7aa8f-76cd-441b-8c5e-d0a3cece7f7c could not be found."}}' 2022-01-24 09:17:49,341 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action 0.048s 2022-01-24 09:17:49,342 117554 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': 'Mon, 24 Jan 2022 09:17:49 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-ca 4490df-be1d-4b41-a23d-48fe6eb13711', 'x-openstack-request-id': 'req-ca4490df-be1d-4b41-a23d-48fe6eb13711', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same 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-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-24 09:17:49,946 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots 0.601s 2022-01-24 09:17:49,947 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "name": "tempest-SnapshotsActionsTest-Snapshot-315774694"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ef6a3d20-33f9-4ffa-af29-5aef501b6a94', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ef6a3d20-33f9-4ffa-af29-5aef501b6a94', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:49.544894", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-24 09:17:50,037 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.087s 2022-01-24 09:17:50,037 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cfe418e8-b90a-449d-bb3a-ea36d0a479da', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cfe418e8-b90a-449d-bb3a-ea36d0a479da', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:51,108 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.067s 2022-01-24 09:17:51,111 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bfa24f2f-3be9-4385-bca0-635cb2b1bf6c', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bfa24f2f-3be9-4385-bca0-635cb2b1bf6c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": null, "name": "tempest-Sn apshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:52,155 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.038s 2022-01-24 09:17:52,155 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-43c0a8f9-11d9-4c6d-a1b2-c510dbdb09fb', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-43c0a8f9-11d9-4c6d-a1b2-c510dbdb09fb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:53,183 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.024s 2022-01-24 09:17:53,184 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bccba7ad-6dbe-4d86-a116-9723ed465a6d', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bccba7ad-6dbe-4d86-a116-9723ed465a6d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:54,220 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.032s 2022-01-24 09:17:54,221 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a37f9cdf-bd76-4906-9ba0-e86306518c81', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-i d': 'req-a37f9cdf-bd76-4906-9ba0-e86306518c81', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": "2022-01-24T09:17:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:54,224 117554 INFO [tempest.common.waiters] snapshot c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 reached available after waiting for 4.224620 seconds 2022-01-24 09:17:54,500 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091/action 0.274s 2022-01-24 09:17:54,503 117554 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': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d157ee1b-1bfd-4555-b847-72055424f9b9', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d157ee1b-1bfd-4555-b847-72055424f9b9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091/action'} Body: b'' 2022-01-24 09:17:54,543 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.039s 2022-01-24 09:17:54,543 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7629fd1e-4052-4b39-bd8a-f5fe8018b9a9', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7629fd1e-4052-4b39-bd8a-f5fe8018b9a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": "2022-01-24T09:17:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:54,546 117554 INFO [tempest.common.waiters] snapshot c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 reached deleting after waiting for 0.546078 seconds 2022-01-24 09:17:54,854 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091/action 0.307s 2022-01-24 09:17:54,854 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'applicatio n/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-37b75616-c7df-4ad7-978b-3aadaaff5f2b', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-37b75616-c7df-4ad7-978b-3aadaaff5f2b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091/action'} Body: b'' 2022-01-24 09:17:54,897 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.042s 2022-01-24 09:17:54,899 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-65d26b0d-45a6-4f9b-ba25-0a680b5a46e0', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-65d26b0d-45a6-4f9b-ba25-0a680b5a46e0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"snapshot": {"id": "c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091", "created_at": "2022-01-24T09:17:50.000000", "updated_at": "2022-01-24T09:17:55.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-315774694", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:17:55,927 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 0.023s 2022-01-24 09:17:55,927 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17: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-7c32ce96-7c5f-46bb-be65-cf688f710075', 'x-openstack-request-id': 'req-7c32ce96-7c5f-46bb-be65-cf688f710075', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot c81b4d0f-5ed2-4d5a-ae9b-37d09ad60091 could not be found."}}' 2022-01-24 09:17:55,963 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action 0.035s 2022-01-24 09:17:55,964 117554 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': 'Mon, 24 Jan 2022 09:17: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-a192d48a-e0 79-4119-9d54-ca8ede2985a4', 'x-openstack-request-id': 'req-a192d48a-e079-4119-9d54-ca8ede2985a4', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same 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-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-24 09:17:56,487 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots 0.521s 2022-01-24 09:17:56,487 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "name": "tempest-SnapshotsActionsTest-Snapshot-774613043"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-71ec7dc1-06da-4f38-952b-a9d69225a66d', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-71ec7dc1-06da-4f38-952b-a9d69225a66d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.193708", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-24 09:17:56,518 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.027s 2022-01-24 09:17:56,519 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bf633b4d-6784-4aae-a3a8-92770910dcf5', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bf633b4d-6784-4aae-a3a8-92770910dcf5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:57,545 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.023s 2022-01-24 09:17:57,551 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cd8cbe71-0f91-4df1-8761-33782f78eb73', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cd8cbe71-0f91-4df1-8761-33782f78eb73', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": null, "name": "tempest-SnapshotsAc tionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:58,577 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.023s 2022-01-24 09:17:58,578 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-59c33b9e-6086-4145-b51d-404a483badbb', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-59c33b9e-6086-4145-b51d-404a483badbb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:17:59,603 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.021s 2022-01-24 09:17:59,603 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:17:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7dafdd90-195d-4f1c-bf0f-d5b38c2891ef', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7dafdd90-195d-4f1c-bf0f-d5b38c2891ef', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:00,629 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.021s 2022-01-24 09:18:00,629 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-eaf76b16-794a-41fe-ac32-9cdbf9bf5383', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-eaf76b16- 794a-41fe-ac32-9cdbf9bf5383', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": "2022-01-24T09:18:00.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:18:00,631 117554 INFO [tempest.common.waiters] snapshot a88141a1-eafe-4021-8430-9005c59b7e43 reached available after waiting for 4.631958 seconds 2022-01-24 09:18:00,742 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43/action 0.110s 2022-01-24 09:18:00,742 117554 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': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-421f7c4b-6b72-49f8-afc1-1ecea136daaf', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-421f7c4b-6b72-49f8-afc1-1ecea136daaf', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43/action'} Body: b'' 2022-01-24 09:18:00,769 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.026s 2022-01-24 09:18:00,769 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0cac0f30-d1d8-4d6b-b9b2-c1c1a550c0c5', 'content-length': '461', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0cac0f30-d1d8-4d6b-b9b2-c1c1a550c0c5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": "2022-01-24T09:18:01.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:18:00,772 117554 INFO [tempest.common.waiters] snapshot a88141a1-eafe-4021-8430-9005c59b7e43 reached error after waiting for 0.772504 seconds 2022-01-24 09:18:00,890 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43/action 0.118s 2022-01-24 09:18:00,891 117554 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': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-77226963-e687-4b6a-ad3f-db46a590f462', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-77226963-e687-4b6a-ad3f-db46a590f462', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43/action'} Body: b'' 2022-01-24 09:18:00,920 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.028s 2022-01-24 09:18:00,923 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-15a81f20-1e93-4528-8755-bdfbbe4e0708', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-15a81f20-1e93-4528-8755-bdfbbe4e0708', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"snapshot": {"id": "a88141a1-eafe-4021-8430-9005c59b7e43", "created_at": "2022-01-24T09:17:56.000000", "updated_at": "2022-01-24T09:18:01.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-774613043", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:18:02,045 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43 0.118s 2022-01-24 09:18:02,045 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:01 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-b46c702c-cd80-45cf-9c52-5c66e90ef317', 'x-openstack-request-id': 'req-b46c702c-cd80-45cf-9c52-5c66e90ef317', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/a88141a1-eafe-4021-8430-9005c59b7e43'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a88141a1-eafe-4021-8430-9005c59b7e43 could not be found."}}' 2022-01-24 09:18:02,257 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action 0.211s 2022-01-24 09:18:02,257 117554 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': 'Mon, 24 Jan 2022 09:18:02 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-94e32845-c54c-45b5-bb8e-339303963816', 'x-openstack-r equest-id': 'req-94e32845-c54c-45b5-bb8e-339303963816', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same 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 120, in test_snapshot_force_delete_when_snapshot_is_error_deleting self._create_reset_and_force_delete_temp_snapshot('error_deleting') File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 58, in _create_reset_and_force_delete_temp_snapshot 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 error_deleting'} 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-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-24 09:18:03,724 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots 1.459s 2022-01-24 09:18:03,725 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c51d90fa-9cbe-4ce9-8dcd-8ea0380a5903', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c51d90fa-9cbe-4ce9-8dcd-8ea0380a5903', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:02.751118", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-24 09:18:03,753 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.025s 2022-01-24 09:18:03,754 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8a56a4b2-bfbc-4a86-8bfe-4893fb1c7784', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8a56a4b2-bfbc-4a86-8bfe-4893fb1c7784', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:04,779 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.021s 2022-01-24 09:18:04,779 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f5fce784-c9c6-49be-8ad4-7ca5215289c3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f5fce784-c9c6-49be-8ad4-7ca5215289c3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null , "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:05,805 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.021s 2022-01-24 09:18:05,805 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6ef19d97-1816-45a2-bfba-8c6e2f84ffa5', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6ef19d97-1816-45a2-bfba-8c6e2f84ffa5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:06,830 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.021s 2022-01-24 09:18:06,830 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-156f14f3-5b92-4996-851a-490d962934bc', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-156f14f3-5b92-4996-851a-490d962934bc', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:07,854 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.020s 2022-01-24 09:18:07,854 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-36a482eb-bf88-44fd-9ee1-cd8197b1f108', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'Open Stack-API-Version', 'x-openstack-request-id': 'req-36a482eb-bf88-44fd-9ee1-cd8197b1f108', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-24 09:18:08,881 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943 0.023s 2022-01-24 09:18:08,882 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4c459790-903c-4cd6-a05c-8f4e21225e1c', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4c459790-903c-4cd6-a05c-8f4e21225e1c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.113/volume/v3/667d4575b65b4cdd9326491b133623c4/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943'} Body: b'{"snapshot": {"id": "7408a740-ffa0-4611-840d-5ab1e72bd943", "created_at": "2022-01-24T09:18:03.000000", "updated_at": "2022-01-24T09:18:08.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1546130278", "description": null, "volume_id": "15123877-b672-4820-877a-ff65db0dcec5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "667d4575b65b4cdd9326491b133623c4", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-24 09:18:08,886 117554 INFO [tempest.common.waiters] snapshot 7408a740-ffa0-4611-840d-5ab1e72bd943 reached available after waiting for 5.886487 seconds 2022-01-24 09:18:08,923 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943/action 0.036s 2022-01-24 09:18:08,923 117554 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': 'Mon, 24 Jan 2022 09:18:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '80', 'content-type': 'application/json', 'x-compute-request-id': 'req-bc25d57b-069b-46e3-b7f6-2f4ea5a95c3a', 'x-openstack-request-id': 'req-bc25d57b-069b-46e3-b7f6-2f4ea5a95c3a', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/7408a740-ffa0-4611-840d-5ab1e72bd943/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to error_deleting"}}' 2022-01-24 09:18:08,952 117554 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action 0.028s 2022-01-24 09:18:08,953 117554 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "availa ble"}} Response - Headers: {'date': 'Mon, 24 Jan 2022 09:18:08 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-738859df-8b3d-48e9-8536-97463f453d8b', 'x-openstack-request-id': 'req-738859df-8b3d-48e9-8536-97463f453d8b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.113/volume/v3/bb21bb81eba34694bee60c1983a63dc1/snapshots/82414414-7692-4fb6-a068-dedec41eac0d/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 232 tests in 865.5287 sec. - Passed: 219 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 2961.4838 sec. ============== Worker Balance ============== - Worker 0 (29 tests) => 0:03:40.759044 - Worker 1 (59 tests) => 0:07:34.785421 - Worker 2 (21 tests) => 0:02:08.903970 - Worker 3 (40 tests) => 0:11:18.473082 - Worker 4 (21 tests) => 0:12:10.896813 - Worker 5 (25 tests) => 0:02:38.139474 - Worker 6 (17 tests) => 0:14:01.313548 - Worker 7 (20 tests) => 0:05:53.348218 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] ~ Exit code: 1