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.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.4.0,autopage==0.4.0,Babel==2.9.1,backports.entry-points-selectable==1.1.1,bcrypt==3.2.0,beautifulsoup4==4.10.0,blinker==1.4,boto3==1.20.11,botocore==1.23.11,cachetools==4.2.4,castellan==3.10.0,certifi==2019.11.28,cffi==1.15.0,chardet==3.0.4,charset-normalizer==2.0.7,-e git+http://10.106.1.39/p/openstack/cinder@a9f3cf897e4d9d5731af834d5bb82e0150f910c7#egg=cinder,click==8.0.3,cliff==3.9.0,cmd2==2.3.2,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.0,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.3.0,decorator==5.1.0,defusedxml==0.7.1,distlib==0.3.3,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==2.1.0,dogpile.cache==1.1.4,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.14.1,filelock==3.4.0,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@1db6e66f93535120fdd974fce7e6490063f3c863#egg=glance,glance-store==2.7.0,google-api-core==2.2.2,google-api-python-client==2.31.0,google-auth==2.3.3,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.2,grpcio==1.42.0,httplib2==0.20.2,hyperlink==19.0.0,idna==3.3,importlib-metadata==4.8.2,importlib-resources==5.4.0,incremental==16.10.1,iso8601==1.0.1,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@1e7ecca881a51144d61ae8026e1a77d6669997e2#egg=keystone,keystoneauth1==4.4.0,keystonemiddleware==9.3.0,kombu==5.2.2,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.4,Mako==1.1.6,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.2,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@7619f8c9974dcceeb4f04b43c30564a753c357ec#egg=networking_hyperv,networkx==2.6.3,-e git+https://opendev.org/openstack/neutron@4b1bf15f7bfae842669b61400c5469a6d7269eb6#egg=neutron,neutron-lib==2.17.0,-e git+https://opendev.org/openstack/nova@07dfd853b287dca08b194c50e5218e645142c43f#egg=nova,numpy==1.21.4,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@6d49b6df1d3f62e2003c55509875380148281a79#egg=openstack_placement,openstacksdk==0.59.0,os-brick==5.0.1,os-client-config==2.1.0,os-ken==2.3.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.1,os-traits==2.6.0,os-vif==2.6.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.1.1,oslo.cache==2.8.1,oslo.concurrency==4.5.0,oslo.config==8.7.1,oslo.context==3.4.0,oslo.db==11.1.0,oslo.i18n==5.1.0,oslo.limit==1.4.0,oslo.log==4.6.1,oslo.messaging==12.11.0,oslo.metrics==0.4.0,oslo.middleware==4.5.0,oslo.policy==3.9.0,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.7.0,oslo.upgradecheck==1.4.0,oslo.utils==4.12.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.10.0,osprofiler==3.4.2,ovs==2.16.0,ovsdbapp==1.12.0,packaging==21.3,paramiko==2.8.0,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.8.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.4.0,pluggy==1.0.0,prettytable==2.4.0,prometheus-client==0.12.0,protobuf==3.19.1,psutil==5.8.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.4.0,pyOpenSSL==21.0.0,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,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.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.2.0,python-cinderclient==8.1.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.3.0,python-glanceclient==3.5.0,python-keystoneclient==4.3.0,python-memcached==1.59,python-neutronclient==7.6.0,python-novaclient==17.6.0,python-openstackclient==5.7.0,python-subunit==1.4.0,python-swiftclient==3.12.0,pytz==2021.3,pyudev==0.22.0,PyYAML==6.0,repoze.lru==0.7,requests==2.26.0,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.7.2,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.18,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,sos==4.1,soupsieve==2.3.1,SQLAlchemy==1.4.27,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@d827b852b8435d9818e54cc8f3d4cb1e07a1e178#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.2,-e git+https://opendev.org/openstack/tempest@ad8f599b32e875c438bd49b8d81bfcd9d4eb8ead#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.4,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==4.1.1,urllib3==1.26.7,urwid==2.0.1,vine==5.0.0,virtualenv==20.10.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.8,xmlschema==1.8.2,yappi==1.3.3,zipp==3.6.0,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {5} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.899192s] ... ok {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.416907s] ... ok {7} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.133192s] ... ok {6} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [8.268705s] ... ok {7} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.142125s] ... ok {7} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.485028s] ... ok {7} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.665240s] ... ok {7} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.323874s] ... ok {5} tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume [7.601730s] ... ok {7} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.281267s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [9.546103s] ... ok {4} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [1.282558s] ... ok {6} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [3.427589s] ... ok {5} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {4} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [3.247698s] ... 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-23 10:18:09,970 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots 0.586s 2021-11-23 10:18:09,970 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "name": "tempest-SnapshotsActionsTest-Snapshot-834707642"}} Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f1cbc508-1821-4003-9c98-5fc51252a000', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f1cbc508-1821-4003-9c98-5fc51252a000', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:09.789536", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-23 10:18:10,013 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.040s 2021-11-23 10:18:10,013 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-57b4f32e-4fbf-4e70-91ec-1b61788f33c0', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-57b4f32e-4fbf-4e70-91ec-1b61788f33c0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:10.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-23 10:18:11,080 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.062s 2021-11-23 10:18:11,080 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0ff599c0-5f9a-4fc0-b64e-fd8492101a7f', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0ff599c0-5f9a-4fc0-b64e-fd8492101a7f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:10.000000", "updated_at": "2021-11-23T10:18:10.000000", " name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "available", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:11,083 116797 INFO [tempest.common.waiters] snapshot 99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 reached available after waiting for 1.083384 seconds 2021-11-23 10:18:11,312 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7/action 0.228s 2021-11-23 10:18:11,312 116797 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': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ac69d99c-afa6-48e7-a562-271cd4521ced', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ac69d99c-afa6-48e7-a562-271cd4521ced', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7/action'} Body: b'' 2021-11-23 10:18:11,352 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.039s 2021-11-23 10:18:11,352 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8d3e7df5-d6a6-4a6e-91f9-9f4475959842', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8d3e7df5-d6a6-4a6e-91f9-9f4475959842', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:10.000000", "updated_at": "2021-11-23T10:18:11.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:11,355 116797 INFO [tempest.common.waiters] snapshot 99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 reached creating after waiting for 0.355554 seconds 2021-11-23 10:18:11,459 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7/action 0.103s 2021-11-23 10:18:11,459 116797 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': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-comp ute-request-id': 'req-854502cc-c1d3-4cb7-8f5b-7bbf83b8045d', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-854502cc-c1d3-4cb7-8f5b-7bbf83b8045d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7/action'} Body: b'' 2021-11-23 10:18:11,501 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.041s 2021-11-23 10:18:11,501 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93fb19bb-9551-486e-8f62-89d53cc59099', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93fb19bb-9551-486e-8f62-89d53cc59099', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:10.000000", "updated_at": "2021-11-23T10:18:11.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:12,545 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.039s 2021-11-23 10:18:12,545 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:12 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-b544f9d5-0398-4939-adcb-fddce5bc6f6b', 'x-openstack-request-id': 'req-b544f9d5-0398-4939-adcb-fddce5bc6f6b', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 could not be found."}}' 2021-11-23 10:18:12,629 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action 0.082s 2021-11-23 10:18:12,629 116797 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': 'Tue, 23 Nov 2021 10:18:12 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-f4d95cb0-0a83-4ec9-a480-6edda8c27eee', 'x-openstack-request-id': 'req-f4d95cb0-0a83-4ec9-a480-6edda 8c27eee', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {4} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [3.251071s] ... 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-23 10:18:13,121 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots 0.488s 2021-11-23 10:18:13,122 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833"}} Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7aafabe4-5ae9-4f3d-a6bc-bf53ff8d49ae', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7aafabe4-5ae9-4f3d-a6bc-bf53ff8d49ae', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:12.898908", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-23 10:18:13,195 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.069s 2021-11-23 10:18:13,195 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:13 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1ff22123-217e-4326-8d1c-b1d161bda9cb', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1ff22123-217e-4326-8d1c-b1d161bda9cb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:13.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-23 10:18:14,270 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.071s 2021-11-23 10:18:14,271 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9be304ed-1e6a-4218-a379-7d9ac852a43c', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9be304ed-1e6a-4218-a379-7d9ac852a43c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:13.000000", "updated_at": "2021-11-23T10:18:13.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "available", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:14,273 116797 INFO [tempest.common.waiters] snapshot f0c155ae-38ec-41b7-8089-65af78556b43 reached available after waiting for 1.273667 seconds 2021-11-23 10:18:14,489 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43/action 0.215s 2021-11-23 10:18:14,489 116797 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': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-0627e1da-6d0c-4df5-ae37-2b15c315f29b', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0627e1da-6d0c-4df5-ae37-2b15c315f29b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43/action'} Body: b'' 2021-11-23 10:18:14,579 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.089s 2021-11-23 10:18:14,579 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e6f3b8f5-05cb-4c3f-bbcb-68c883652983', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e6f3b8f5-05cb-4c3f-bbcb-68c883652983', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:13.000000", "updated_at": "2021-11-23T10:18:14.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:14,582 116797 INFO [tempest.common.waiters] snapshot f0c155ae-38ec-41b7-8089-65af78556b43 reached deleting after waiting for 0.582333 seconds 2021-11-23 10:18:14,728 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43/action 0.145s 2021-11-23 10:18:14,728 116797 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': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-3f15deec-1154-409f-8bcf-126cb75b6d33', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3f15deec-1154-409f-8bcf-126cb75b6d33', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43/action'} Body: b'' 2021-11-23 10:18:14,792 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.063s 2021-11-23 10:18:14,792 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-78266fe3-a1d4-4915-893b-006c692de5f2', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-78266fe3-a1d4-4915-893b-006c692de5f2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:13.000000", "updated_at": "2021-11-23T10:18:15.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:15,830 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.034s 2021-11-23 10:18:15,831 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:15 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-a003e621-2c98-4200-9882-3e415e5eaded', 'x-openstack-request-id': 'req-a003e621-2c98-4200-9882-3e415e5eaded', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot f0c155ae-38ec-41b7-8089-65af78556b43 could not be found."}}' 2021-11-23 10:18:15,882 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action 0.051s 2021-11-23 10:18:15,882 116797 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': 'Tue, 23 Nov 2021 10:18:15 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-8cdf01f9-c159-46a1-ae9c-c5751ee49ac6', 'x-openstack-request-id': 'req-8cdf01f9-c159-46a1-ae9c -c5751ee49ac6', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {5} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.952685s] ... ok {5} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.934992s] ... ok {4} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [3.338645s] ... 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-23 10:18:16,168 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots 0.283s 2021-11-23 10:18:16,168 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980"}} Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:15 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8ee1c776-8b88-419a-9a62-0134c31855fd', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8ee1c776-8b88-419a-9a62-0134c31855fd', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.037744", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-23 10:18:16,240 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.068s 2021-11-23 10:18:16,240 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-544ab513-3983-4bed-9fbd-eaa307465060', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-544ab513-3983-4bed-9fbd-eaa307465060', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-23 10:18:17,308 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.064s 2021-11-23 10:18:17,308 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ee48915f-a599-4494-b68d-c0c7b5662e15', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ee48915f-a599-4494-b68d-c0c7b5662e15', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.000000", "updated_at": "2021-11-23T10:18:16.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "available", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:17,311 116797 INFO [tempest.common.waiters] snapshot a948dfc9-89bf-4bd8-b804-b0ce4051f1ba reached available after waiting for 1.311096 seconds 2021-11-23 10:18:17,525 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba/action 0.214s 2021-11-23 10:18:17,525 116797 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': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-f38b2e46-2790-4ebe-b127-81b1e64100f5', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f38b2e46-2790-4ebe-b127-81b1e64100f5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba/action'} Body: b'' 2021-11-23 10:18:17,753 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.227s 2021-11-23 10:18:17,753 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5574500d-3b25-415c-a50c-c9f7f328cdfd', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5574500d-3b25-415c-a50c-c9f7f328cdfd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.000000", "updated_at": "2021-11-23T10:18:17.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "error", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:17,757 116797 INFO [tempest.common.waiters] snapshot a948dfc9-89bf-4bd8-b804-b0ce4051f1ba reached error after waiting for 0.757684 seconds 2021-11-23 10:18:17,976 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba/action 0.218s 2021-11-23 10:18:17,976 116797 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': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- afb5f1fb-f8ee-4482-90d2-e57260c5379a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-afb5f1fb-f8ee-4482-90d2-e57260c5379a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba/action'} Body: b'' 2021-11-23 10:18:18,086 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.109s 2021-11-23 10:18:18,086 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-803ebb46-84a8-4b6b-b795-536a166e6304', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-803ebb46-84a8-4b6b-b795-536a166e6304', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.000000", "updated_at": "2021-11-23T10:18:18.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:19,117 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.027s 2021-11-23 10:18:19,118 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:19 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-435a7f83-a14d-451b-8dd0-9895fb873616', 'x-openstack-request-id': 'req-435a7f83-a14d-451b-8dd0-9895fb873616', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a948dfc9-89bf-4bd8-b804-b0ce4051f1ba could not be found."}}' 2021-11-23 10:18:19,222 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action 0.104s 2021-11-23 10:18:19,222 116797 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': 'Tue, 23 Nov 2021 10:18:19 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-06184a41-521f-4923-a891-0b0425134d04', 'x-openstack-request-id': 'req-06184a41-521f-4923-a891-0b0425134d04', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.628041s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.013557s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.021843s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.091758s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.009721s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.014282s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.064683s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.050249s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.523921s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.371406s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.207104s] ... ok {4} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [2.924238s] ... 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-23 10:18:19,584 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots 0.359s 2021-11-23 10:18:19,584 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200"}} Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:19 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2de7530a-6fd7-4c48-90c5-653093f8bb19', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2de7530a-6fd7-4c48-90c5-653093f8bb19', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.440801", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-23 10:18:19,652 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.065s 2021-11-23 10:18:19,652 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:19 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6245fe81-d1ec-4560-8e73-afeff411079e', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6245fe81-d1ec-4560-8e73-afeff411079e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-23 10:18:20,696 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.039s 2021-11-23 10:18:20,696 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-88a952ab-fe22-4843-864a-b8b4fc64e0da', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-88a952ab-fe22-4843-864a-b8b4fc64e0da', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.000000", "updated_at": "2021-11-2 3T10:18:20.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "available", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:20,699 116797 INFO [tempest.common.waiters] snapshot d189deaa-6336-42e8-9117-ff3e3ae88d11 reached available after waiting for 1.699527 seconds 2021-11-23 10:18:20,820 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11/action 0.120s 2021-11-23 10:18:20,820 116797 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': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-f19a17ae-1ac5-4b05-97bf-0c1066859dc5', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f19a17ae-1ac5-4b05-97bf-0c1066859dc5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11/action'} Body: b'' 2021-11-23 10:18:20,855 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.034s 2021-11-23 10:18:20,856 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f2a47000-c1a5-4e0b-93be-860a904d0da9', 'content-length': '574', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f2a47000-c1a5-4e0b-93be-860a904d0da9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.000000", "updated_at": "2021-11-23T10:18:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:20,859 116797 INFO [tempest.common.waiters] snapshot d189deaa-6336-42e8-9117-ff3e3ae88d11 reached error_deleting after waiting for 0.859474 seconds 2021-11-23 10:18:20,964 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11/action 0.104s 2021-11-23 10:18:20,964 116797 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': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-67c909fe-954b-4f7b-a891-42bf98cb1977', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-67c909fe-954b-4f7b-a891-42bf98cb1977', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11/action'} Body: b'' 2021-11-23 10:18:21,013 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.047s 2021-11-23 10:18:21,013 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-60074a41-df6f-4045-a280-e23bd5e86cea', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-60074a41-df6f-4045-a280-e23bd5e86cea', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.000000", "updated_at": "2021-11-23T10:18:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:22,074 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.057s 2021-11-23 10:18:22,074 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:22 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-392ebb47-731a-402f-8b1c-c1749a39f6c2', 'x-openstack-request-id': 'req-392ebb47-731a-402f-8b1c-c1749a39f6c2', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot d189deaa-6336-42e8-9117-ff3e3ae88d11 could not be found."}}' 2021-11-23 10:18:22,147 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action 0.072s 2021-11-23 10:18:22,148 116797 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': 'Tue, 23 Nov 2021 10:18:22 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-be407dc8-c3c9-4354-9fb5-ee5 5672b0e50', 'x-openstack-request-id': 'req-be407dc8-c3c9-4354-9fb5-ee55672b0e50', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {4} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.327249s] ... ok {7} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {4} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.571561s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [8.481572s] ... ok {3} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.424532s] ... ok {3} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.083072s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [3.283463s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.104462s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.392337s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.079782s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.153327s] ... ok {0} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [48.320260s] ... ok {7} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [10.051765s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [9.527685s] ... ok {3} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [2.114940s] ... ok {3} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.263887s] ... ok {6} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {5} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [19.943856s] ... ok {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.890626s] ... ok {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.541868s] ... ok {3} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.294946s] ... ok {6} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [2.330856s] ... ok {4} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.165002s] ... ok {4} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.339573s] ... ok {7} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [15.585363s] ... ok {3} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.089006s] ... ok {3} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {3} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {6} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.229620s] ... ok {4} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [4.155288s] ... ok {7} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [7.744106s] ... ok {5} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [19.686857s] ... ok {4} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.120345s] ... ok {5} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.256832s] ... ok {5} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.332300s] ... ok {5} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.306768s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.152787s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.184846s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.139150s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.424063s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.232736s] ... ok {7} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [0.665148s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.619131s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.177451s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.179906s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.173427s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.165753s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.130022s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.083278s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.171717s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.214400s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.210814s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.221433s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.120255s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.202895s] ... ok {4} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.368588s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.243295s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.302669s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.021283s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.097104s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.021245s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.020287s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [22.203797s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [1.572051s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.202417s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.011421s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.025928s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.022712s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.023663s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.016379s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.010831s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.011379s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.032354s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008922s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.036983s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.033027s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.010342s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.079412s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.069490s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.064212s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.063474s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.130908s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.022136s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.020646s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.008359s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.022982s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.024009s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.021801s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.011011s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.010814s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.021011s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.011225s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.020930s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.022219s] ... ok {5} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [25.858650s] ... ok {5} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.535048s] ... ok {2} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [26.990565s] ... ok {7} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [19.690543s] ... ok {7} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [2.545199s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [5.208104s] ... ok {7} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [2.505349s] ... ok {7} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [2.525444s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [6.427401s] ... ok {7} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [2.594052s] ... ok {7} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [1.926438s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [23.683059s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.129546s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.054116s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.012995s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.020805s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.014911s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [2.725291s] ... ok {7} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [22.724365s] ... ok {7} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [2.667281s] ... ok {2} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [51.098162s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [3.008760s] ... ok {2} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.141951s] ... ok {2} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.033882s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.312817s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.032079s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.038085s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [2.827557s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [3.321916s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.050915s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [0.537539s] ... ok {2} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [2.852716s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [192.807737s] ... ok {2} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.206367s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [5.010218s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [5.076096s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [3.391569s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [2.611609s] ... ok {2} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [17.455119s] ... ok {2} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [3.723324s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [206.343685s] ... ok {7} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [145.200150s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [69.071504s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.376427s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.107137s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.100531s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.100492s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.023027s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.019996s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.128625s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [147.558408s] ... ok {0} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [1.795551s] ... ok {0} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [1.428584s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.149618s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [0.760412s] ... ok {0} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.022473s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.022315s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.018836s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [1.504332s] ... ok {0} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.020178s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.133364s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.068033s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.219715s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {1} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [27.195179s] ... ok {1} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [15.122065s] ... ok {1} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [16.292432s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [55.467519s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [2.402990s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {1} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [0.353638s] ... ok {1} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.012755s] ... ok {1} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.020181s] ... ok {1} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.019261s] ... ok {1} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.019474s] ... ok {1} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.021042s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.011625s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.011903s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.028354s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.015639s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.023697s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.017638s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.015738s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.010823s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.012428s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.027675s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.027843s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.026476s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.022041s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.047465s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.020588s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.065621s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.034616s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.034610s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.023854s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.036826s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.037591s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.034750s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.033813s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.103888s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.099846s] ... ok {1} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [30.673023s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [5.233695s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [5.492769s] ... ok {1} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [241.319242s] ... ok ============================== Failed 4 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-23 10:18:09,970 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots 0.586s 2021-11-23 10:18:09,970 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "name": "tempest-SnapshotsActionsTest-Snapshot-834707642"}} Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f1cbc508-1821-4003-9c98-5fc51252a000', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f1cbc508-1821-4003-9c98-5fc51252a000', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:09.789536", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-23 10:18:10,013 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.040s 2021-11-23 10:18:10,013 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-57b4f32e-4fbf-4e70-91ec-1b61788f33c0', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-57b4f32e-4fbf-4e70-91ec-1b61788f33c0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:10.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-23 10:18:11,080 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.062s 2021-11-23 10:18:11,080 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0ff599c0-5f9a-4fc0-b64e-fd8492101a7f', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0ff599c0-5f9a-4fc0-b64e-fd8492101a7f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:10.000000", "updated_at": "2021-11-23T10:18:10.000000", " name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "available", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:11,083 116797 INFO [tempest.common.waiters] snapshot 99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 reached available after waiting for 1.083384 seconds 2021-11-23 10:18:11,312 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7/action 0.228s 2021-11-23 10:18:11,312 116797 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': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ac69d99c-afa6-48e7-a562-271cd4521ced', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ac69d99c-afa6-48e7-a562-271cd4521ced', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7/action'} Body: b'' 2021-11-23 10:18:11,352 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.039s 2021-11-23 10:18:11,352 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8d3e7df5-d6a6-4a6e-91f9-9f4475959842', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8d3e7df5-d6a6-4a6e-91f9-9f4475959842', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:10.000000", "updated_at": "2021-11-23T10:18:11.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:11,355 116797 INFO [tempest.common.waiters] snapshot 99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 reached creating after waiting for 0.355554 seconds 2021-11-23 10:18:11,459 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7/action 0.103s 2021-11-23 10:18:11,459 116797 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': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-comp ute-request-id': 'req-854502cc-c1d3-4cb7-8f5b-7bbf83b8045d', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-854502cc-c1d3-4cb7-8f5b-7bbf83b8045d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7/action'} Body: b'' 2021-11-23 10:18:11,501 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.041s 2021-11-23 10:18:11,501 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93fb19bb-9551-486e-8f62-89d53cc59099', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93fb19bb-9551-486e-8f62-89d53cc59099', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"snapshot": {"id": "99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7", "created_at": "2021-11-23T10:18:10.000000", "updated_at": "2021-11-23T10:18:11.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-834707642", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:12,545 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 0.039s 2021-11-23 10:18:12,545 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:12 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-b544f9d5-0398-4939-adcb-fddce5bc6f6b', 'x-openstack-request-id': 'req-b544f9d5-0398-4939-adcb-fddce5bc6f6b', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 99fcb55e-3e6f-4e7b-a4ff-d86ddd081af7 could not be found."}}' 2021-11-23 10:18:12,629 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action 0.082s 2021-11-23 10:18:12,629 116797 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': 'Tue, 23 Nov 2021 10:18:12 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-f4d95cb0-0a83-4ec9-a480-6edda8c27eee', 'x-openstack-request-id': 'req-f4d95cb0-0a83-4ec9-a480-6edda 8c27eee', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/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: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-23 10:18:13,121 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots 0.488s 2021-11-23 10:18:13,122 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833"}} Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7aafabe4-5ae9-4f3d-a6bc-bf53ff8d49ae', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7aafabe4-5ae9-4f3d-a6bc-bf53ff8d49ae', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:12.898908", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-23 10:18:13,195 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.069s 2021-11-23 10:18:13,195 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:13 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1ff22123-217e-4326-8d1c-b1d161bda9cb', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1ff22123-217e-4326-8d1c-b1d161bda9cb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:13.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-23 10:18:14,270 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.071s 2021-11-23 10:18:14,271 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9be304ed-1e6a-4218-a379-7d9ac852a43c', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9be304ed-1e6a-4218-a379-7d9ac852a43c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:13.000000", "updated_at": "2021-11-23T10:18:13.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "available", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:14,273 116797 INFO [tempest.common.waiters] snapshot f0c155ae-38ec-41b7-8089-65af78556b43 reached available after waiting for 1.273667 seconds 2021-11-23 10:18:14,489 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43/action 0.215s 2021-11-23 10:18:14,489 116797 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': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-0627e1da-6d0c-4df5-ae37-2b15c315f29b', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0627e1da-6d0c-4df5-ae37-2b15c315f29b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43/action'} Body: b'' 2021-11-23 10:18:14,579 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.089s 2021-11-23 10:18:14,579 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e6f3b8f5-05cb-4c3f-bbcb-68c883652983', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e6f3b8f5-05cb-4c3f-bbcb-68c883652983', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:13.000000", "updated_at": "2021-11-23T10:18:14.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:14,582 116797 INFO [tempest.common.waiters] snapshot f0c155ae-38ec-41b7-8089-65af78556b43 reached deleting after waiting for 0.582333 seconds 2021-11-23 10:18:14,728 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43/action 0.145s 2021-11-23 10:18:14,728 116797 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': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-3f15deec-1154-409f-8bcf-126cb75b6d33', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3f15deec-1154-409f-8bcf-126cb75b6d33', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43/action'} Body: b'' 2021-11-23 10:18:14,792 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.063s 2021-11-23 10:18:14,792 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-78266fe3-a1d4-4915-893b-006c692de5f2', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-78266fe3-a1d4-4915-893b-006c692de5f2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"snapshot": {"id": "f0c155ae-38ec-41b7-8089-65af78556b43", "created_at": "2021-11-23T10:18:13.000000", "updated_at": "2021-11-23T10:18:15.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1147139833", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:15,830 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43 0.034s 2021-11-23 10:18:15,831 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:15 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-a003e621-2c98-4200-9882-3e415e5eaded', 'x-openstack-request-id': 'req-a003e621-2c98-4200-9882-3e415e5eaded', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/f0c155ae-38ec-41b7-8089-65af78556b43'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot f0c155ae-38ec-41b7-8089-65af78556b43 could not be found."}}' 2021-11-23 10:18:15,882 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action 0.051s 2021-11-23 10:18:15,882 116797 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': 'Tue, 23 Nov 2021 10:18:15 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-8cdf01f9-c159-46a1-ae9c-c5751ee49ac6', 'x-openstack-request-id': 'req-8cdf01f9-c159-46a1-ae9c -c5751ee49ac6', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/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: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-23 10:18:16,168 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots 0.283s 2021-11-23 10:18:16,168 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980"}} Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:15 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8ee1c776-8b88-419a-9a62-0134c31855fd', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8ee1c776-8b88-419a-9a62-0134c31855fd', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.037744", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-23 10:18:16,240 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.068s 2021-11-23 10:18:16,240 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-544ab513-3983-4bed-9fbd-eaa307465060', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-544ab513-3983-4bed-9fbd-eaa307465060', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-23 10:18:17,308 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.064s 2021-11-23 10:18:17,308 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ee48915f-a599-4494-b68d-c0c7b5662e15', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ee48915f-a599-4494-b68d-c0c7b5662e15', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.000000", "updated_at": "2021-11-23T10:18:16.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "available", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:17,311 116797 INFO [tempest.common.waiters] snapshot a948dfc9-89bf-4bd8-b804-b0ce4051f1ba reached available after waiting for 1.311096 seconds 2021-11-23 10:18:17,525 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba/action 0.214s 2021-11-23 10:18:17,525 116797 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': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-f38b2e46-2790-4ebe-b127-81b1e64100f5', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f38b2e46-2790-4ebe-b127-81b1e64100f5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba/action'} Body: b'' 2021-11-23 10:18:17,753 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.227s 2021-11-23 10:18:17,753 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5574500d-3b25-415c-a50c-c9f7f328cdfd', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5574500d-3b25-415c-a50c-c9f7f328cdfd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.000000", "updated_at": "2021-11-23T10:18:17.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "error", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:17,757 116797 INFO [tempest.common.waiters] snapshot a948dfc9-89bf-4bd8-b804-b0ce4051f1ba reached error after waiting for 0.757684 seconds 2021-11-23 10:18:17,976 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba/action 0.218s 2021-11-23 10:18:17,976 116797 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': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- afb5f1fb-f8ee-4482-90d2-e57260c5379a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-afb5f1fb-f8ee-4482-90d2-e57260c5379a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba/action'} Body: b'' 2021-11-23 10:18:18,086 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.109s 2021-11-23 10:18:18,086 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-803ebb46-84a8-4b6b-b795-536a166e6304', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-803ebb46-84a8-4b6b-b795-536a166e6304', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"snapshot": {"id": "a948dfc9-89bf-4bd8-b804-b0ce4051f1ba", "created_at": "2021-11-23T10:18:16.000000", "updated_at": "2021-11-23T10:18:18.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1344449980", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:19,117 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba 0.027s 2021-11-23 10:18:19,118 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:19 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-435a7f83-a14d-451b-8dd0-9895fb873616', 'x-openstack-request-id': 'req-435a7f83-a14d-451b-8dd0-9895fb873616', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/a948dfc9-89bf-4bd8-b804-b0ce4051f1ba'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a948dfc9-89bf-4bd8-b804-b0ce4051f1ba could not be found."}}' 2021-11-23 10:18:19,222 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action 0.104s 2021-11-23 10:18:19,222 116797 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': 'Tue, 23 Nov 2021 10:18:19 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-06184a41-521f-4923-a891-0b0425134d04', 'x-openstack-request-id': 'req-06184a41-521f-4923-a891-0b0425134d04', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/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 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-23 10:18:19,584 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots 0.359s 2021-11-23 10:18:19,584 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200"}} Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:19 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2de7530a-6fd7-4c48-90c5-653093f8bb19', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2de7530a-6fd7-4c48-90c5-653093f8bb19', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.440801", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-23 10:18:19,652 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.065s 2021-11-23 10:18:19,652 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:19 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6245fe81-d1ec-4560-8e73-afeff411079e', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6245fe81-d1ec-4560-8e73-afeff411079e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-23 10:18:20,696 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.039s 2021-11-23 10:18:20,696 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-88a952ab-fe22-4843-864a-b8b4fc64e0da', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-88a952ab-fe22-4843-864a-b8b4fc64e0da', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.000000", "updated_at": "2021-11-2 3T10:18:20.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "available", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:20,699 116797 INFO [tempest.common.waiters] snapshot d189deaa-6336-42e8-9117-ff3e3ae88d11 reached available after waiting for 1.699527 seconds 2021-11-23 10:18:20,820 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11/action 0.120s 2021-11-23 10:18:20,820 116797 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': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-f19a17ae-1ac5-4b05-97bf-0c1066859dc5', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f19a17ae-1ac5-4b05-97bf-0c1066859dc5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11/action'} Body: b'' 2021-11-23 10:18:20,855 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.034s 2021-11-23 10:18:20,856 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f2a47000-c1a5-4e0b-93be-860a904d0da9', 'content-length': '574', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f2a47000-c1a5-4e0b-93be-860a904d0da9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.000000", "updated_at": "2021-11-23T10:18:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:20,859 116797 INFO [tempest.common.waiters] snapshot d189deaa-6336-42e8-9117-ff3e3ae88d11 reached error_deleting after waiting for 0.859474 seconds 2021-11-23 10:18:20,964 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11/action 0.104s 2021-11-23 10:18:20,964 116797 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': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-67c909fe-954b-4f7b-a891-42bf98cb1977', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-67c909fe-954b-4f7b-a891-42bf98cb1977', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11/action'} Body: b'' 2021-11-23 10:18:21,013 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.047s 2021-11-23 10:18:21,013 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-60074a41-df6f-4045-a280-e23bd5e86cea', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-60074a41-df6f-4045-a280-e23bd5e86cea', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"snapshot": {"id": "d189deaa-6336-42e8-9117-ff3e3ae88d11", "created_at": "2021-11-23T10:18:19.000000", "updated_at": "2021-11-23T10:18:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1933666200", "description": null, "volume_id": "d4446d8f-bd72-445f-8122-80c28e88f154", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-d4446d8f-bd72-445f-8122-80c28e88f154.5a69861f-9876-49c7-bd80-3c002433ea1a.vhdx"}, "os-extended-snapshot-attributes:project_id": "59a0826a050d4325b17be5ecfcc1a78b", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-23 10:18:22,074 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11 0.057s 2021-11-23 10:18:22,074 116797 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 23 Nov 2021 10:18:22 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-392ebb47-731a-402f-8b1c-c1749a39f6c2', 'x-openstack-request-id': 'req-392ebb47-731a-402f-8b1c-c1749a39f6c2', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.31/volume/v3/59a0826a050d4325b17be5ecfcc1a78b/snapshots/d189deaa-6336-42e8-9117-ff3e3ae88d11'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot d189deaa-6336-42e8-9117-ff3e3ae88d11 could not be found."}}' 2021-11-23 10:18:22,147 116797 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action 0.072s 2021-11-23 10:18:22,148 116797 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': 'Tue, 23 Nov 2021 10:18:22 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-be407dc8-c3c9-4354-9fb5-ee5 5672b0e50', 'x-openstack-request-id': 'req-be407dc8-c3c9-4354-9fb5-ee55672b0e50', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.31/volume/v3/f1525150461c4b8ca1e6f4712cf98352/snapshots/5a69861f-9876-49c7-bd80-3c002433ea1a/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 233 tests in 709.8941 sec. - Passed: 219 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 1661.7256 sec. ============== Worker Balance ============== - Worker 0 (29 tests) => 0:07:47.971531 - Worker 1 (39 tests) => 0:11:37.554297 - Worker 2 (20 tests) => 0:03:05.639483 - Worker 3 (30 tests) => 0:01:19.292594 - Worker 4 (21 tests) => 0:01:19.793998 - Worker 5 (21 tests) => 0:02:32.022058 - Worker 6 (47 tests) => 0:01:41.493229 - Worker 7 (26 tests) => 0:05:08.334044 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