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@8531461952168eaf0bd5019dace8154c23c3bfb7#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.1.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.17.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@d7368446e484dc07b613ff5b225b1c3e47700389#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@d0fd4aa30adc883971bd4d87e0540523bded7a38#egg=neutron,neutron-lib==2.18.1,-e git+https://opendev.org/openstack/nova@125a8530ccd42dd1fd11cb883ac088acdd3af062#egg=nova,numpy==1.22.1,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@affb87af23e30520f5cd9eea522e3ae95944cc83#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.7.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.5.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@91c2a5c677329b3f04d5ae16a5cf87b30fff4509#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@8c4b99e26be51272692f51b00a534ee15dcf74d1#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 :) {6} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.884937s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.015473s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.030739s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [1.367075s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.023392s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.011685s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.173374s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.095120s] ... ok {0} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [5.875237s] ... ok {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [1.086104s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.418135s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.140275s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.488578s] ... ok {6} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.967222s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [1.107103s] ... ok {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [3.722995s] ... 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-28 08:06:38,523 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots 0.542s 2022-01-28 08:06:38,523 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ae14255a-2dad-4882-a693-00704406e1da', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ae14255a-2dad-4882-a693-00704406e1da', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.199362", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-28 08:06:38,819 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.293s 2022-01-28 08:06:38,819 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-48f03c8f-9d9b-4dd3-89b6-676ec803708a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-48f03c8f-9d9b-4dd3-89b6-676ec803708a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:39,868 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.044s 2022-01-28 08:06:39,869 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0d844955-56ea-4703-be39-124ab15d7938', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0d844955-56ea-4703-be39-124ab15d7938', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.000000", "updated_at": "2022-01-28T08:06:39.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:39,872 117711 INFO [tempest.common.waiters] snapshot 79f7bcd3-52d6-420d-91c5-6c273758ea27 reached available after waiting for 1.872020 seconds 2022-01-28 08:06:40,195 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27/action 0.323s 2022-01-28 08:06:40,195 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-256f04fc-152c-414e-89ff-b0aa0ad334b5', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-256f04fc-152c-414e-89ff-b0aa0ad334b5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27/action'} Body: b'' 2022-01-28 08:06:40,242 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.046s 2022-01-28 08:06:40,242 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9f0bd266-ef7f-4f18-b47f-6e931ed6c0e7', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9f0bd266-ef7f-4f18-b47f-6e931ed6c0e7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.000000", "updated_at": "2022-01-28T08:06:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:40,246 117711 INFO [tempest.common.waiters] snapshot 79f7bcd3-52d6-420d-91c5-6c273758ea27 reached creating after waiting for 0.246389 seconds 2022-01-28 08:06:40,501 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27/action 0.247s 2022-01-28 08:06:40,502 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-08ba4d25-1030-4a8d-bd5f-169eb6ddd7d6', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-08ba4d25-1030-4a8d-bd5f-169eb6ddd7d6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27/action'} Body: b'' 2022-01-28 08:06:40,557 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.054s 2022-01-28 08:06:40,557 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f6ff3ff1-3a6f-4aec-9806-7338d0d81ad9', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f6ff3ff1-3a6f-4aec-9806-7338d0d81ad9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.000000", "updated_at": "2022-01-28T08:06:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:41,588 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.025s 2022-01-28 08:06:41,588 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-2665a87d-65b6-4c3c-beee-b3e91d779b6c', 'x-openstack-request-id': 'req-2665a87d-65b6-4c3c-beee-b3e91d779b6c', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 79f7bcd3-52d6-420d-91c5-6c273758ea27 could not be found."}}' 2022-01-28 08:06:41,701 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action 0.112s 2022-01-28 08:06:41,702 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:41 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-80621bc8-44fd-4425-ae95-9c60788e001d', 'x-openstack-request-id': 'req-80621bc8-44fd-4425-ae95 -9c60788e001d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [2.080781s] ... ok {0} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.381037s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [1.160565s] ... ok {0} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.102570s] ... ok {6} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [4.733810s] ... ok {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [5.970598s] ... 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-28 08:06:43,086 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots 1.381s 2022-01-28 08:06:43,086 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b25d9ae4-191a-4210-9080-8ab8f9e0d6d9', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b25d9ae4-191a-4210-9080-8ab8f9e0d6d9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:42.590543", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-28 08:06:43,328 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.237s 2022-01-28 08:06:43,328 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9460a938-ead7-4608-8915-fccc3f69f02c', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9460a938-ead7-4608-8915-fccc3f69f02c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:44,389 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.056s 2022-01-28 08:06:44,460 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1b801120-65b6-4522-9bc2-29363e0b0105', 'content-length': '566', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1b801120-65b6-4522-9bc2-29363e0b0105', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": "2022-01-28T08:06:44.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:45,533 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.069s 2022-01-28 08:06:45,533 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ad8cb780-29fc-4f97-98e6-e16f1ecfeb9b', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ad8cb780-29fc-4f97-98e6-e16f1ecfeb9b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": "2022-01-28T08:06:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:45,536 117711 INFO [tempest.common.waiters] snapshot a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 reached available after waiting for 2.536358 seconds 2022-01-28 08:06:46,000 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7/action 0.462s 2022-01-28 08:06:46,001 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c1703c76-5b97-48a7-adae-5205d5561227', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c1703c76-5b97-48a7-adae-5205d5561227', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7/action'} Body: b'' 2022-01-28 08:06:46,099 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.097s 2022-01-28 08:06:46,099 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-73cbea75-893a-4149-a45b-880050caeeb5', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Ver sion', 'x-openstack-request-id': 'req-73cbea75-893a-4149-a45b-880050caeeb5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": "2022-01-28T08:06:46.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:46,102 117711 INFO [tempest.common.waiters] snapshot a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 reached deleting after waiting for 0.102217 seconds 2022-01-28 08:06:46,344 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7/action 0.241s 2022-01-28 08:06:46,344 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8b360c30-2528-4678-9b8a-a0918df1cc71', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8b360c30-2528-4678-9b8a-a0918df1cc71', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7/action'} Body: b'' 2022-01-28 08:06:46,434 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.089s 2022-01-28 08:06:46,502 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b69e31ba-1afc-4d9f-9bf2-36be16b0c25c', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b69e31ba-1afc-4d9f-9bf2-36be16b0c25c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": "2022-01-28T08:06:46.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:47,572 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.067s 2022-01-28 08:06:47,614 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'ap plication/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-acd043ec-9e01-4487-8073-e69a7c254d20', 'x-openstack-request-id': 'req-acd043ec-9e01-4487-8073-e69a7c254d20', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 could not be found."}}' 2022-01-28 08:06:47,674 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action 0.059s 2022-01-28 08:06:47,674 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:47 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-50119e68-c682-462b-9794-0093e7d5d56b', 'x-openstack-request-id': 'req-50119e68-c682-462b-9794-0093e7d5d56b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [4.929769s] ... 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-28 08:06:48,673 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots 0.997s 2022-01-28 08:06:48,674 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c13d93ce-cd0f-4c34-8acd-09b6c0307843', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c13d93ce-cd0f-4c34-8acd-09b6c0307843', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.139049", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-28 08:06:48,931 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.253s 2022-01-28 08:06:48,931 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e6d87edc-d3d0-4336-b2b3-29a7822cfd58', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e6d87edc-d3d0-4336-b2b3-29a7822cfd58', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:49,999 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.064s 2022-01-28 08:06:50,000 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-78e5e67b-1fce-4aac-b16c-cbffca8654a5', 'content-length': '566', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-78e5e67b-1fce-4aac-b16c-cbffca8654a5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": "2022-01-28T08:06:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:51,059 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.056s 2022-01-28 08:06:51,060 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2ea6499a-0f6b-4caa-9674-5ee536645a23', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2ea6499a-0f6b-4caa-9674-5ee536645a23', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": "2022-01-28T08:06:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:51,062 117711 INFO [tempest.common.waiters] snapshot f4aa2b6e-3ab4-4176-a170-ced7f3359d2c reached available after waiting for 3.062825 seconds 2022-01-28 08:06:51,253 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c/action 0.190s 2022-01-28 08:06:51,254 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-94ef1e6d-8af9-4eec-98d5-3579ca1527f3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-94ef1e6d-8af9-4eec-98d5-3579ca1527f3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c/action'} Body: b'' 2022-01-28 08:06:51,292 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.038s 2022-01-28 08:06:51,293 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8973c192-b4b0-4930-94e7-64334057f2bd', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-r equest-id': 'req-8973c192-b4b0-4930-94e7-64334057f2bd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": "2022-01-28T08:06:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "error", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:51,296 117711 INFO [tempest.common.waiters] snapshot f4aa2b6e-3ab4-4176-a170-ced7f3359d2c reached error after waiting for 0.296080 seconds 2022-01-28 08:06:51,482 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c/action 0.185s 2022-01-28 08:06:51,482 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c3185f21-60e7-4976-a2de-84c746a5b3e9', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c3185f21-60e7-4976-a2de-84c746a5b3e9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c/action'} Body: b'' 2022-01-28 08:06:51,519 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.037s 2022-01-28 08:06:51,520 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-edd78151-4fd1-4775-8846-6d2bffe9beab', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-edd78151-4fd1-4775-8846-6d2bffe9beab', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": "2022-01-28T08:06:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:52,553 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.029s 2022-01-28 08:06:52,555 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'applicat ion/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:52 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-5443f77a-e855-4483-b6b3-1baac6247727', 'x-openstack-request-id': 'req-5443f77a-e855-4483-b6b3-1baac6247727', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot f4aa2b6e-3ab4-4176-a170-ced7f3359d2c could not be found."}}' 2022-01-28 08:06:52,605 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action 0.049s 2022-01-28 08:06:52,605 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:52 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-85518729-dcd4-43b4-9fbc-1db89fa41314', 'x-openstack-request-id': 'req-85518729-dcd4-43b4-9fbc-1db89fa41314', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [1.718498s] ... 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-28 08:06:53,128 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots 0.521s 2022-01-28 08:06:53,129 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "name": "tempest-SnapshotsActionsTest-Snapshot-1785982460"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7b313e93-0599-430b-b24c-778e774eed4e', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7b313e93-0599-430b-b24c-778e774eed4e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots'} Body: b'{"snapshot": {"id": "c72b9a1c-9968-43f2-8546-4cc0420c859b", "created_at": "2022-01-28T08:06:52.827782", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1785982460", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-28 08:06:53,187 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b 0.056s 2022-01-28 08:06:53,188 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ecf90fb7-0441-4a5f-94fe-7a3c214396e6', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ecf90fb7-0441-4a5f-94fe-7a3c214396e6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b'} Body: b'{"snapshot": {"id": "c72b9a1c-9968-43f2-8546-4cc0420c859b", "created_at": "2022-01-28T08:06:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1785982460", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:54,252 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b 0.059s 2022-01-28 08:06:54,252 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-18d14082-2317-414f-b2fa-4ddfeddfc149', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-18d14082-2317-414f-b2fa-4ddfeddfc149', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b'} Body: b'{"snapshot": {"id": "c72b9a1c-9968-43f2-8546-4cc0420c859b", "created_at": "2022-01-28T08:06:53.000000", "updated_at": "2022-01-2 8T08:06:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1785982460", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:54,255 117711 INFO [tempest.common.waiters] snapshot c72b9a1c-9968-43f2-8546-4cc0420c859b reached available after waiting for 1.255120 seconds 2022-01-28 08:06:54,289 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b/action 0.033s 2022-01-28 08:06:54,290 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:54 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-1cb0ac1d-1fe3-4476-8d84-4a128b26f272', 'x-openstack-request-id': 'req-1cb0ac1d-1fe3-4476-8d84-4a128b26f272', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to error_deleting"}}' 2022-01-28 08:06:54,324 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action 0.033s 2022-01-28 08:06:54,325 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:54 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-6b00e949-ccf6-4397-8a82-4127feb06cea', 'x-openstack-request-id': 'req-6b00e949-ccf6-4397-8a82-4127feb06cea', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.755782s] ... ok {0} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.919941s] ... ok {4} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {6} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.584673s] ... ok {0} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.675138s] ... ok {6} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.540874s] ... ok {6} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.481568s] ... ok {6} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.125513s] ... ok {4} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [1.501295s] ... ok {0} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.048695s] ... ok {6} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.124344s] ... ok {7} tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume [9.198186s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [4.278432s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.143712s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.941684s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.058558s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.608931s] ... ok {0} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [8.877413s] ... ok {4} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [13.821404s] ... ok {5} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [59.315905s] ... ok {0} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [3.948289s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.723708s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.561738s] ... ok {4} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [2.645147s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [1.405952s] ... ok {4} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.487206s] ... ok {4} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.284869s] ... ok {4} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.296581s] ... ok {4} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.020779s] ... ok {4} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.022363s] ... ok {4} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.462863s] ... ok {3} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [70.753883s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.076402s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.220828s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.088190s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.371711s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.144813s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.194141s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.271641s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.011594s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.324894s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.064478s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.174547s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.075218s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.103554s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.025008s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.123179s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.175592s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.285354s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.103687s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.181985s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.153946s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.153573s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.124959s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.102567s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.093994s] ... ok {4} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.173722s] ... ok {4} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.035002s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [28.124360s] ... ok {7} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.014165s] ... ok {7} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.250576s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [15.717351s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [9.026829s] ... ok {3} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [29.025646s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [9.314492s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [21.684040s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [26.575150s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.385787s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.367718s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.438162s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [27.212593s] ... ok {4} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [33.740209s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [12.221265s] ... ok {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [29.483148s] ... ok {4} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [6.130028s] ... ok {5} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.148348s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [12.022828s] ... ok {5} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [2.984312s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [2.632389s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.016350s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.028146s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.050261s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.025878s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.013653s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.010674s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.010322s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.021827s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.014923s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.027861s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.024318s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.008700s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.106998s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.111252s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.069696s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.072482s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.364586s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.040308s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.045121s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.017576s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.026995s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.024750s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.025305s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.012327s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.024042s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.036739s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.011965s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.030616s] ... ok {0} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.030067s] ... ok {3} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [30.070784s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.016235s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.072175s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.036824s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.044758s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.033300s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.022521s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.030955s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.017571s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.018002s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.040508s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.041661s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.034803s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.129518s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.057359s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.013040s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.021867s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.013979s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [29.908921s] ... ok {6} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [5.479946s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [38.640918s] ... ok {5} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [7.082905s] ... ok {5} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.790865s] ... ok {5} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [39.117091s] ... ok {4} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [25.293892s] ... ok {5} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [3.219146s] ... ok {4} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [6.278371s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {3} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [7.839283s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [1.105613s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.031394s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.039478s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [4.421710s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [6.701366s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.060737s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.645243s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.021828s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.022293s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.018604s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [2.972674s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.021529s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.015934s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.022641s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.023232s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.024756s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.025445s] ... ok {3} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.631979s] ... ok {3} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.056956s] ... ok {3} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [2.088495s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [72.879218s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [2.723997s] ... ok {3} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.348370s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.021951s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.046079s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.019519s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.065147s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.034209s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.033914s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.024413s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.041446s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.033495s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.036550s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.034723s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.105752s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.106623s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [49.351316s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [7.128105s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [7.154543s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [329.132548s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [249.553293s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [128.729986s] ... ok {2} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status [8.777042s] ... ok {2} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [0.442021s] ... ok {2} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {7} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [336.747064s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [2.354114s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.552996s] ... ok {2} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {2} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.662536s] ... ok {2} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.329902s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.107586s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [226.492812s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [8.144676s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [10.358524s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [3.641874s] ... ok {1} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.117250s] ... ok {1} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [3.396875s] ... ok {2} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [198.566134s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [21.213861s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [3.028259s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [3.110993s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.206468s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [2.997871s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [2.538305s] ... ok {1} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [7.107763s] ... ok {1} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [7.293208s] ... ok {1} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported ============================== 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-28 08:06:38,523 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots 0.542s 2022-01-28 08:06:38,523 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ae14255a-2dad-4882-a693-00704406e1da', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ae14255a-2dad-4882-a693-00704406e1da', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.199362", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-28 08:06:38,819 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.293s 2022-01-28 08:06:38,819 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-48f03c8f-9d9b-4dd3-89b6-676ec803708a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-48f03c8f-9d9b-4dd3-89b6-676ec803708a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:39,868 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.044s 2022-01-28 08:06:39,869 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0d844955-56ea-4703-be39-124ab15d7938', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0d844955-56ea-4703-be39-124ab15d7938', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.000000", "updated_at": "2022-01-28T08:06:39.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:39,872 117711 INFO [tempest.common.waiters] snapshot 79f7bcd3-52d6-420d-91c5-6c273758ea27 reached available after waiting for 1.872020 seconds 2022-01-28 08:06:40,195 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27/action 0.323s 2022-01-28 08:06:40,195 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-256f04fc-152c-414e-89ff-b0aa0ad334b5', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-256f04fc-152c-414e-89ff-b0aa0ad334b5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27/action'} Body: b'' 2022-01-28 08:06:40,242 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.046s 2022-01-28 08:06:40,242 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9f0bd266-ef7f-4f18-b47f-6e931ed6c0e7', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9f0bd266-ef7f-4f18-b47f-6e931ed6c0e7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.000000", "updated_at": "2022-01-28T08:06:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:40,246 117711 INFO [tempest.common.waiters] snapshot 79f7bcd3-52d6-420d-91c5-6c273758ea27 reached creating after waiting for 0.246389 seconds 2022-01-28 08:06:40,501 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27/action 0.247s 2022-01-28 08:06:40,502 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-08ba4d25-1030-4a8d-bd5f-169eb6ddd7d6', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-08ba4d25-1030-4a8d-bd5f-169eb6ddd7d6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27/action'} Body: b'' 2022-01-28 08:06:40,557 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.054s 2022-01-28 08:06:40,557 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f6ff3ff1-3a6f-4aec-9806-7338d0d81ad9', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f6ff3ff1-3a6f-4aec-9806-7338d0d81ad9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"snapshot": {"id": "79f7bcd3-52d6-420d-91c5-6c273758ea27", "created_at": "2022-01-28T08:06:38.000000", "updated_at": "2022-01-28T08:06:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1035805405", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:41,588 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27 0.025s 2022-01-28 08:06:41,588 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-2665a87d-65b6-4c3c-beee-b3e91d779b6c', 'x-openstack-request-id': 'req-2665a87d-65b6-4c3c-beee-b3e91d779b6c', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/79f7bcd3-52d6-420d-91c5-6c273758ea27'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 79f7bcd3-52d6-420d-91c5-6c273758ea27 could not be found."}}' 2022-01-28 08:06:41,701 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action 0.112s 2022-01-28 08:06:41,702 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:41 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-80621bc8-44fd-4425-ae95-9c60788e001d', 'x-openstack-request-id': 'req-80621bc8-44fd-4425-ae95 -9c60788e001d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/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-28 08:06:43,086 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots 1.381s 2022-01-28 08:06:43,086 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b25d9ae4-191a-4210-9080-8ab8f9e0d6d9', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b25d9ae4-191a-4210-9080-8ab8f9e0d6d9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:42.590543", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-28 08:06:43,328 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.237s 2022-01-28 08:06:43,328 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9460a938-ead7-4608-8915-fccc3f69f02c', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9460a938-ead7-4608-8915-fccc3f69f02c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:44,389 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.056s 2022-01-28 08:06:44,460 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1b801120-65b6-4522-9bc2-29363e0b0105', 'content-length': '566', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1b801120-65b6-4522-9bc2-29363e0b0105', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": "2022-01-28T08:06:44.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:45,533 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.069s 2022-01-28 08:06:45,533 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ad8cb780-29fc-4f97-98e6-e16f1ecfeb9b', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ad8cb780-29fc-4f97-98e6-e16f1ecfeb9b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": "2022-01-28T08:06:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:45,536 117711 INFO [tempest.common.waiters] snapshot a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 reached available after waiting for 2.536358 seconds 2022-01-28 08:06:46,000 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7/action 0.462s 2022-01-28 08:06:46,001 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c1703c76-5b97-48a7-adae-5205d5561227', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c1703c76-5b97-48a7-adae-5205d5561227', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7/action'} Body: b'' 2022-01-28 08:06:46,099 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.097s 2022-01-28 08:06:46,099 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-73cbea75-893a-4149-a45b-880050caeeb5', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Ver sion', 'x-openstack-request-id': 'req-73cbea75-893a-4149-a45b-880050caeeb5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": "2022-01-28T08:06:46.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:46,102 117711 INFO [tempest.common.waiters] snapshot a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 reached deleting after waiting for 0.102217 seconds 2022-01-28 08:06:46,344 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7/action 0.241s 2022-01-28 08:06:46,344 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8b360c30-2528-4678-9b8a-a0918df1cc71', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8b360c30-2528-4678-9b8a-a0918df1cc71', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7/action'} Body: b'' 2022-01-28 08:06:46,434 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.089s 2022-01-28 08:06:46,502 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b69e31ba-1afc-4d9f-9bf2-36be16b0c25c', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b69e31ba-1afc-4d9f-9bf2-36be16b0c25c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"snapshot": {"id": "a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7", "created_at": "2022-01-28T08:06:43.000000", "updated_at": "2022-01-28T08:06:46.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2113714936", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:47,572 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 0.067s 2022-01-28 08:06:47,614 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'ap plication/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-acd043ec-9e01-4487-8073-e69a7c254d20', 'x-openstack-request-id': 'req-acd043ec-9e01-4487-8073-e69a7c254d20', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a1487ee8-0dbd-4fba-a783-6a0d8b3f0ff7 could not be found."}}' 2022-01-28 08:06:47,674 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action 0.059s 2022-01-28 08:06:47,674 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:47 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-50119e68-c682-462b-9794-0093e7d5d56b', 'x-openstack-request-id': 'req-50119e68-c682-462b-9794-0093e7d5d56b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/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-28 08:06:48,673 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots 0.997s 2022-01-28 08:06:48,674 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c13d93ce-cd0f-4c34-8acd-09b6c0307843', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c13d93ce-cd0f-4c34-8acd-09b6c0307843', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.139049", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-28 08:06:48,931 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.253s 2022-01-28 08:06:48,931 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e6d87edc-d3d0-4336-b2b3-29a7822cfd58', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e6d87edc-d3d0-4336-b2b3-29a7822cfd58', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:49,999 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.064s 2022-01-28 08:06:50,000 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-78e5e67b-1fce-4aac-b16c-cbffca8654a5', 'content-length': '566', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-78e5e67b-1fce-4aac-b16c-cbffca8654a5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": "2022-01-28T08:06:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:51,059 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.056s 2022-01-28 08:06:51,060 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2ea6499a-0f6b-4caa-9674-5ee536645a23', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2ea6499a-0f6b-4caa-9674-5ee536645a23', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": "2022-01-28T08:06:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:51,062 117711 INFO [tempest.common.waiters] snapshot f4aa2b6e-3ab4-4176-a170-ced7f3359d2c reached available after waiting for 3.062825 seconds 2022-01-28 08:06:51,253 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c/action 0.190s 2022-01-28 08:06:51,254 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-94ef1e6d-8af9-4eec-98d5-3579ca1527f3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-94ef1e6d-8af9-4eec-98d5-3579ca1527f3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c/action'} Body: b'' 2022-01-28 08:06:51,292 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.038s 2022-01-28 08:06:51,293 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8973c192-b4b0-4930-94e7-64334057f2bd', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-r equest-id': 'req-8973c192-b4b0-4930-94e7-64334057f2bd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": "2022-01-28T08:06:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "error", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:51,296 117711 INFO [tempest.common.waiters] snapshot f4aa2b6e-3ab4-4176-a170-ced7f3359d2c reached error after waiting for 0.296080 seconds 2022-01-28 08:06:51,482 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c/action 0.185s 2022-01-28 08:06:51,482 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c3185f21-60e7-4976-a2de-84c746a5b3e9', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c3185f21-60e7-4976-a2de-84c746a5b3e9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c/action'} Body: b'' 2022-01-28 08:06:51,519 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.037s 2022-01-28 08:06:51,520 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-edd78151-4fd1-4775-8846-6d2bffe9beab', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-edd78151-4fd1-4775-8846-6d2bffe9beab', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"snapshot": {"id": "f4aa2b6e-3ab4-4176-a170-ced7f3359d2c", "created_at": "2022-01-28T08:06:48.000000", "updated_at": "2022-01-28T08:06:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1306356822", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:52,553 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c 0.029s 2022-01-28 08:06:52,555 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'applicat ion/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:52 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-5443f77a-e855-4483-b6b3-1baac6247727', 'x-openstack-request-id': 'req-5443f77a-e855-4483-b6b3-1baac6247727', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/f4aa2b6e-3ab4-4176-a170-ced7f3359d2c'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot f4aa2b6e-3ab4-4176-a170-ced7f3359d2c could not be found."}}' 2022-01-28 08:06:52,605 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action 0.049s 2022-01-28 08:06:52,605 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:52 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-85518729-dcd4-43b4-9fbc-1db89fa41314', 'x-openstack-request-id': 'req-85518729-dcd4-43b4-9fbc-1db89fa41314', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/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-28 08:06:53,128 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots 0.521s 2022-01-28 08:06:53,129 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "name": "tempest-SnapshotsActionsTest-Snapshot-1785982460"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7b313e93-0599-430b-b24c-778e774eed4e', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7b313e93-0599-430b-b24c-778e774eed4e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots'} Body: b'{"snapshot": {"id": "c72b9a1c-9968-43f2-8546-4cc0420c859b", "created_at": "2022-01-28T08:06:52.827782", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1785982460", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-28 08:06:53,187 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b 0.056s 2022-01-28 08:06:53,188 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ecf90fb7-0441-4a5f-94fe-7a3c214396e6', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ecf90fb7-0441-4a5f-94fe-7a3c214396e6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b'} Body: b'{"snapshot": {"id": "c72b9a1c-9968-43f2-8546-4cc0420c859b", "created_at": "2022-01-28T08:06:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1785982460", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-28 08:06:54,252 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b 0.059s 2022-01-28 08:06:54,252 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-18d14082-2317-414f-b2fa-4ddfeddfc149', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-18d14082-2317-414f-b2fa-4ddfeddfc149', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/faae98161021414fa0b489d9c62665c9/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b'} Body: b'{"snapshot": {"id": "c72b9a1c-9968-43f2-8546-4cc0420c859b", "created_at": "2022-01-28T08:06:53.000000", "updated_at": "2022-01-2 8T08:06:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1785982460", "description": null, "volume_id": "047cf07e-4e54-453d-88ac-f94668c84c3d", "status": "available", "size": 1, "metadata": {"backing_file": "volume-047cf07e-4e54-453d-88ac-f94668c84c3d.e3926f4f-3796-450d-a14b-2380ad4745bf.vhdx"}, "os-extended-snapshot-attributes:project_id": "faae98161021414fa0b489d9c62665c9", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-28 08:06:54,255 117711 INFO [tempest.common.waiters] snapshot c72b9a1c-9968-43f2-8546-4cc0420c859b reached available after waiting for 1.255120 seconds 2022-01-28 08:06:54,289 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b/action 0.033s 2022-01-28 08:06:54,290 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:54 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-1cb0ac1d-1fe3-4476-8d84-4a128b26f272', 'x-openstack-request-id': 'req-1cb0ac1d-1fe3-4476-8d84-4a128b26f272', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/c72b9a1c-9968-43f2-8546-4cc0420c859b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to error_deleting"}}' 2022-01-28 08:06:54,324 117711 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action 0.033s 2022-01-28 08:06:54,325 117711 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Fri, 28 Jan 2022 08:06:54 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-6b00e949-ccf6-4397-8a82-4127feb06cea', 'x-openstack-request-id': 'req-6b00e949-ccf6-4397-8a82-4127feb06cea', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/2d78eee4d7d9480eb6249c39ceb843c8/snapshots/e3926f4f-3796-450d-a14b-2380ad4745bf/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 233 tests in 784.6492 sec. - Passed: 220 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 2412.8713 sec. ============== Worker Balance ============== - Worker 0 (65 tests) => 0:02:22.854581 - Worker 1 (18 tests) => 0:11:31.126027 - Worker 2 (12 tests) => 0:11:54.398362 - Worker 3 (38 tests) => 0:04:25.576003 - Worker 4 (22 tests) => 0:02:36.031726 - Worker 5 (28 tests) => 0:05:06.784554 - Worker 6 (23 tests) => 0:02:25.102284 - Worker 7 (27 tests) => 0:08:12.576095 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