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.6,amqp==5.0.9,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.4.0,Automat==0.8.0,automaton==2.4.0,autopage==0.5.0,bcrypt==3.2.0,beautifulsoup4==4.10.0,blinker==1.4,boto3==1.21.0,botocore==1.24.0,cachetools==5.0.0,castellan==3.10.0,certifi==2019.11.28,cffi==1.15.0,chardet==3.0.4,charset-normalizer==2.0.12,-e git+http://10.106.1.39/p/openstack/cinder@dce394db53cb95b12f49bd7f87e3fb9d3dabb500#egg=cinder,click==8.0.3,cliff==3.10.0,cmd2==2.3.3,colorama==0.4.3,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==36.0.1,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.4.0,decorator==5.1.1,defusedxml==0.7.1,distlib==0.3.4,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==2.1.0,dogpile.cache==1.1.5,elementpath==2.4.0,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.1,eventlet==0.33.0,extras==1.0.0,fasteners==0.17.3,filelock==3.4.2,fixtures==3.0.0,Flask==2.0.3,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.0,-e git+https://opendev.org/openstack/glance@88c43d47151dfb4818933d4c6b98731a2cc9b529#egg=glance,glance-store==2.7.0,google-api-core==2.5.0,google-api-python-client==2.37.0,google-auth==2.6.0,google-auth-httplib2==0.1.0,googleapis-common-protos==1.54.0,greenlet==1.1.2,grpcio==1.43.0,httplib2==0.20.4,hyperlink==19.0.0,idna==3.3,importlib-metadata==4.11.0,importlib-resources==5.4.0,incremental==16.10.1,iso8601==1.0.2,itsdangerous==2.0.1,Jinja2==3.0.3,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.2,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@86afaa7b1dbde21010c9c61ec0188a9356e14753#egg=keystone,keystoneauth1==4.4.0,keystonemiddleware==9.3.0,kombu==5.2.3,language-selector==0.1,lazr.uri==1.0.3,logutils==0.3.5,lxml==4.7.1,Mako==1.1.6,MarkupSafe==2.0.1,microversion-parse==1.0.1,more-itertools==4.2.0,msgpack==1.0.3,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@7619f8c9974dcceeb4f04b43c30564a753c357ec#egg=networking_hyperv,networkx==2.6.3,-e git+https://opendev.org/openstack/neutron@1df18a885e8af6a55e98d9f56d1c042dcda12db3#egg=neutron,neutron-lib==2.19.0,-e git+https://opendev.org/openstack/nova@b5029890c1c5b1b5153c9ca2fc9a8ea2437f635d#egg=nova,numpy==1.22.2,oauth2client==4.1.3,oauthlib==3.2.0,-e git+https://opendev.org/openstack/placement.git@91b85ba7abf8e89fc565cb5af53c1753d6a98895#egg=openstack_placement,openstacksdk==0.61.0,os-brick==5.1.0,os-client-config==2.1.0,os-ken==2.3.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.1,os-traits==2.7.0,os-vif==2.7.0,os-win==5.5.0,osc-lib==2.4.2,osc-placement==3.1.1,oslo.cache==2.10.0,oslo.concurrency==4.5.0,oslo.config==8.7.1,oslo.context==3.4.0,oslo.db==11.2.0,oslo.i18n==5.1.0,oslo.limit==1.5.0,oslo.log==4.6.1,oslo.messaging==12.12.0,oslo.metrics==0.4.0,oslo.middleware==4.5.0,oslo.policy==3.10.1,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.8.0,oslo.upgradecheck==1.4.0,oslo.utils==4.12.1,oslo.versionedobjects==2.5.0,oslo.vmware==3.10.0,osprofiler==3.4.2,ovs==2.16.0,ovsdbapp==1.15.0,packaging==21.3,paramiko==2.8.1,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.8.1,pcp==5.0,pecan==1.4.1,pexpect==4.6.0,platformdirs==2.5.0,pluggy==1.0.0,prettytable==3.1.0,prometheus-client==0.13.1,protobuf==3.19.4,psutil==5.9.0,py==1.11.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.21,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.3.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.5.0,pyOpenSSL==22.0.0,pyparsing==3.0.7,pyperclip==1.8.2,pyroute2==0.6.5,pyroute2.core==0.6.5,pyroute2.ethtool==0.6.5,pyroute2.ipdb==0.6.5,pyroute2.ipset==0.6.5,pyroute2.ndb==0.6.5,pyroute2.nftables==0.6.5,pyroute2.nslink==0.6.5,pyrsistent==0.15.5,pysaml2==7.1.0,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.2.0,python-cinderclient==8.2.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.4.0,python-glanceclient==3.5.0,python-keystoneclient==4.4.0,python-memcached==1.59,python-neutronclient==7.8.0,python-novaclient==17.6.0,python-openstackclient==5.7.0,python-subunit==1.4.0,python-swiftclient==3.13.0,pytz==2021.3,pyudev==0.23.2,PyYAML==6.0,repoze.lru==0.7,requests==2.27.1,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.8,rtslib-fb==2.1.74,s3transfer==0.5.1,scrypt==0.8.19,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,sos==4.1,soupsieve==2.3.1,SQLAlchemy==1.4.31,sqlalchemy-migrate==0.13.0,sqlparse==0.4.2,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.1,stevedore==3.5.0,suds-community==1.0.0,-e git+https://opendev.org/openstack/swift@713b944eb47f4a5f0e740fd37e9c582c4a42b462#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.4,-e git+https://opendev.org/openstack/tempest@42f6cb522ecf513e05d39f958a01b326135def99#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.1,tox==3.24.5,ufw==0.36,unattended-upgrades==0.1,uritemplate==4.1.1,urllib3==1.26.8,urwid==2.0.1,vine==5.0.0,virtualenv==20.13.1,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.3,wrapt==1.13.3,WSME==0.11.0,xattr==0.9.9,xmlschema==1.9.2,yappi==1.3.3,zipp==3.7.0,zope.interface==4.7.1,zstd==1.5.1.0 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {7} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.101426s] ... ok {7} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.135177s] ... ok {2} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [3.129395s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.172624s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.204642s] ... ok {7} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [1.207576s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.951329s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.305863s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [1.048285s] ... ok {4} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.122233s] ... ok {2} 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.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [1.018957s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.440344s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.055411s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.067832s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.015991s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.704988s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.303591s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.425205s] ... ok {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [1.095331s] ... ok {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [7.984142s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-02-16 15:09:22,197 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots 0.352s 2022-02-16 15:09:22,198 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "name": "tempest-SnapshotsActionsTest-Snapshot-660328159"}} Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a3308d56-8758-4b26-b825-15874bcbd075', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a3308d56-8758-4b26-b825-15874bcbd075', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.085166", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}}}' 2022-02-16 15:09:22,273 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.073s 2022-02-16 15:09:22,274 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:22 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ed7f4211-e700-4086-a55c-257974db11f9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ed7f4211-e700-4086-a55c-257974db11f9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:23,301 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.023s 2022-02-16 15:09:23,301 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d897bb52-5ab9-4f59-8f91-7cdc45b9ab35', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d897bb52-5ab9-4f59-8f91-7cdc45b9ab35', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:24,329 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.024s 2022-02-16 15:09:24,329 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:24 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-06e5aec9-0bd0-4809-b2d4-1c8ab62d92e9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-06e5aec9-0bd0-4809-b2d4-1c8ab62d92e9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:25,353 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.021s 2022-02-16 15:09:25,354 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-61ee4510-129b-435f-91ef-7a5d551a67d4', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-61ee4510-129b-435f-91ef-7a5d551a67d4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:26,377 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.020s 2022-02-16 15:09:26,378 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:26 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-05fb1c73-ef2b-4acb-883d-df374e57ff64', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-05 fb1c73-ef2b-4acb-883d-df374e57ff64', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:27,407 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.026s 2022-02-16 15:09:27,407 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dcad745e-e894-4bb4-8387-bf1fc8c7a717', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dcad745e-e894-4bb4-8387-bf1fc8c7a717', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:28,433 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.022s 2022-02-16 15:09:28,434 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d463d278-a20f-4861-8d43-28f72e617609', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d463d278-a20f-4861-8d43-28f72e617609', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": "2022-02-16T15:09:28.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:28,436 117124 INFO [tempest.common.waiters] snapshot dde109d7-3715-4037-b46f-1c71544b0a08 reached available after waiting for 6.436838 seconds 2022-02-16 15:09:28,528 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/dde109d7-3715-4037-b4 6f-1c71544b0a08/action 0.091s 2022-02-16 15:09:28,529 117124 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': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8f9171ef-be1b-4283-bc43-c16c68b59fc3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8f9171ef-be1b-4283-bc43-c16c68b59fc3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08/action'} Body: b'' 2022-02-16 15:09:28,571 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.042s 2022-02-16 15:09:28,571 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6307bb63-30c8-4698-9077-86786ae99038', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6307bb63-30c8-4698-9077-86786ae99038', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": "2022-02-16T15:09:29.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:28,574 117124 INFO [tempest.common.waiters] snapshot dde109d7-3715-4037-b46f-1c71544b0a08 reached creating after waiting for 0.574379 seconds 2022-02-16 15:09:28,701 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08/action 0.127s 2022-02-16 15:09:28,702 117124 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': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-61fc3bda-ae7d-40dc-a0ee-31e65f9ec852', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-61fc3bda-ae7d-40dc-a0ee-31e65f9ec852', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08/action'} Body: b'' 2022-02-16 15:09:28,760 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.057s 2022-02-16 15:09:28,760 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-48bd6c28-dabc-4fed-a282-5b4f2da0de2f', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-48bd6c28-dabc-4fed-a282-5b4f2da0de2f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": "2022-02-16T15:09:29.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:29,789 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.026s 2022-02-16 15:09:29,789 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:29 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-510fe91f-b4e5-4380-a5b5-fb0eac6f0823', 'x-openstack-request-id': 'req-510fe91f-b4e5-4380-a5b5-fb0eac6f0823', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot dde109d7-3715-4037-b46f-1c71544b0a08 could not be found."}}' 2022-02-16 15:09:29,827 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action 0.036s 2022-02-16 15:09:29,827 117124 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': 'Wed, 16 Feb 2022 15:09:29 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-f6bba4cc-b62d-4e3d-9254-6f2a44ecc4b5', 'x-openstack-request-id': 'req-f6bba4cc-b62d-4e3d-9254-6f2a44ecc4b5', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [12.764209s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-02-16 15:09:30,033 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots 0.202s 2022-02-16 15:09:30,033 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012"}} Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:29 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e9c3ef15-f2ee-4338-b615-e95b9160ffeb', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e9c3ef15-f2ee-4338-b615-e95b9160ffeb', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:29.951811", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}}}' 2022-02-16 15:09:30,077 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.040s 2022-02-16 15:09:30,077 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c5d1f322-ee3a-4c28-aeec-d297b419bcd6', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c5d1f322-ee3a-4c28-aeec-d297b419bcd6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:31,102 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.021s 2022-02-16 15:09:31,102 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-416c549e-b102-4607-8450-83d5e372f235', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-416c549e-b102-4607-8450-83d5e372f235', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:32,126 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.020s 2022-02-16 15:09:32,127 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-58edbcd5-30f8-4f7a-a8b9-5d6d4efddc51', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-58edbcd5-30f8-4f7a-a8b9-5d6d4efddc51', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:33,158 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.025s 2022-02-16 15:09:33,159 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-98f34c01-1216-433c-98be-ffd07f297298', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-98f34c01-1216-433c-98be-ffd07f297298', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:34,186 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.023s 2022-02-16 15:09:34,186 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-db08b9be-de73-404a-96dc-29a4a6bff84c', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-db08b9be-de73-404a-96dc-29a4a6bff84c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:35,214 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.024s 2022-02-16 15:09:35,214 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-125a4920-632b-41b9-b71f-4b620c8d881a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-125a4920-632b-41b9-b71f-4b620c8d881a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:36,238 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.020s 2022-02-16 15:09:36,238 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6e743005-85d2-4ead-b26b-39c52e881322', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6e743005-85d2-4ead-b26b-39c52e881322', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:37,262 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.020s 2022-02-16 15:09:37,263 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', ' X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-720b99f3-32b9-4b72-b578-6f97ce0ca02b', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-720b99f3-32b9-4b72-b578-6f97ce0ca02b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:38,287 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.021s 2022-02-16 15:09:38,288 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b3e5c6db-a56c-4608-8a9f-a78251adf972', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b3e5c6db-a56c-4608-8a9f-a78251adf972', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:39,312 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.020s 2022-02-16 15:09:39,312 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-25158da9-6570-4357-a560-95aa6208ef5b', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-25158da9-6570-4357-a560-95aa6208ef5b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:40,339 117124 INFO [tempest.lib.common.rest_ client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.023s 2022-02-16 15:09:40,340 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e106ee7-be8f-436e-a021-42104cde4df7', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e106ee7-be8f-436e-a021-42104cde4df7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:41,369 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.025s 2022-02-16 15:09:41,369 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-58047ecf-0d1b-4732-8065-196acea3a502', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-58047ecf-0d1b-4732-8065-196acea3a502', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": "2022-02-16T15:09:41.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:41,371 117124 INFO [tempest.common.waiters] snapshot 7be09670-85cd-4193-afd7-a684b5dcb263 reached available after waiting for 11.371965 seconds 2022-02-16 15:09:41,432 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263/action 0.060s 2022-02-16 15:09:41,432 117124 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': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-42d61c6d-fa4d-4253-9f76-71d030094939', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-42d61c6d-fa4d-4253-9f76-71d030094939', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/ volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263/action'} Body: b'' 2022-02-16 15:09:41,458 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.025s 2022-02-16 15:09:41,458 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7801f69f-a3e6-472d-851f-b7b16f4eed13', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7801f69f-a3e6-472d-851f-b7b16f4eed13', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": "2022-02-16T15:09:41.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:41,461 117124 INFO [tempest.common.waiters] snapshot 7be09670-85cd-4193-afd7-a684b5dcb263 reached deleting after waiting for 0.461122 seconds 2022-02-16 15:09:41,518 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263/action 0.057s 2022-02-16 15:09:41,519 117124 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': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-28d49b6f-a99e-4ca1-bda9-83ca793a7fd7', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-28d49b6f-a99e-4ca1-bda9-83ca793a7fd7', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263/action'} Body: b'' 2022-02-16 15:09:41,544 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.024s 2022-02-16 15:09:41,544 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-293cf837-9feb-42b0-ae37-dd12ca6db6ad', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-293cf837-9feb-42b0-ae37-dd12ca6db6ad', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": "2022-02-16T15:09:42.000000", "name": "tempest- SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:42,564 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.017s 2022-02-16 15:09:42,565 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:42 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-47549e41-e9b7-4bda-999b-6897ffe96c03', 'x-openstack-request-id': 'req-47549e41-e9b7-4bda-999b-6897ffe96c03', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 7be09670-85cd-4193-afd7-a684b5dcb263 could not be found."}}' 2022-02-16 15:09:42,593 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action 0.027s 2022-02-16 15:09:42,593 117124 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': 'Wed, 16 Feb 2022 15:09:42 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-1346e8b7-5ee8-451d-96df-5b45c56191b8', 'x-openstack-request-id': 'req-1346e8b7-5ee8-451d-96df-5b45c56191b8', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {4} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status [21.975040s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [21.620566s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.011514s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.011234s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.064349s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.020341s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.023414s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.023001s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.016887s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.013932s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.015704s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.033476s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.029757s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.027102s] ... ok {4} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [8.669525s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-02-16 15:09:42,762 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots 0.166s 2022-02-16 15:09:42,763 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "name": "tempest-SnapshotsActionsTest-Snapshot-233158389"}} Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a39f9777-b631-4719-944c-5c261af42207', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a39f9777-b631-4719-944c-5c261af42207', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:42.700313", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}}}' 2022-02-16 15:09:42,798 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.032s 2022-02-16 15:09:42,798 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d581d9f0-032b-4a83-aa35-8e9fea3f8a3e', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d581d9f0-032b-4a83-aa35-8e9fea3f8a3e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:43,825 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.023s 2022-02-16 15:09:43,826 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cfce18e3-dead-4803-97c7-a2c6d652e83a', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cfce18e3-dead-4803-97c7-a2c6d652e83a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsT est-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:44,851 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.022s 2022-02-16 15:09:44,852 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a91c8bb5-95ac-403f-918d-9cd7d33e9619', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a91c8bb5-95ac-403f-918d-9cd7d33e9619', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:45,877 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.021s 2022-02-16 15:09:45,877 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4db5c532-1a4c-45ca-ba79-e2e771235e06', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4db5c532-1a4c-45ca-ba79-e2e771235e06', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:46,901 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.020s 2022-02-16 15:09:46,901 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3ef4865d-267b-4248-b910-d117604a02c1', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3ef4865d-267b-4248-b 910-d117604a02c1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:47,927 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.021s 2022-02-16 15:09:47,927 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dd56bc04-3804-469b-a1da-4261ec989c98', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dd56bc04-3804-469b-a1da-4261ec989c98', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:48,952 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.020s 2022-02-16 15:09:48,953 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bb3f8e74-0a82-4f1e-8094-acceacd0ef03', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bb3f8e74-0a82-4f1e-8094-acceacd0ef03', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:49,985 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.028s 2022-02-16 15:09:49,985 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7856498b-79dc-4789-9df5-f220924a0285', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7856498b-79dc-4789-9df5-f220924a0285', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": "2022-02-16T15:09:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:49,989 117124 INFO [tempest.common.waiters] snapshot 2d952138-21e6-4508-8bb8-aee607a9f6d0 reached available after waiting for 7.988995 seconds 2022-02-16 15:09:50,070 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0/action 0.081s 2022-02-16 15:09:50,071 117124 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': 'Wed, 16 Feb 2022 15:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-38976ebf-65e5-4f58-bf25-96c638df4e19', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-38976ebf-65e5-4f58-bf25-96c638df4e19', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0/action'} Body: b'' 2022-02-16 15:09:50,093 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.022s 2022-02-16 15:09:50,094 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3639bbe4-7e9f-4bce-8c75-992db7de3380', 'content-length': '461', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3639bbe4-7e9f-4bce-8c75-992db7de3380', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": "2022-02-16T15:09:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:50,096 117124 INFO [tempest.common.waiters] snapshot 2d952138-21e6-4508-8bb8-aee607a9f6d0 reached error after waiting for 0.096822 seconds 2022-02-16 15:09:50,189 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_de lete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0/action 0.092s 2022-02-16 15:09:50,189 117124 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': 'Wed, 16 Feb 2022 15:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d2741a98-29e9-4ec7-bf36-99b17fa2bd2a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d2741a98-29e9-4ec7-bf36-99b17fa2bd2a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0/action'} Body: b'' 2022-02-16 15:09:50,212 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.022s 2022-02-16 15:09:50,212 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e3d431d6-e937-4e4e-950a-f1e7b5751f6f', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e3d431d6-e937-4e4e-950a-f1e7b5751f6f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": "2022-02-16T15:09:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:51,234 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.018s 2022-02-16 15:09:51,235 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-56ea7564-72b7-4b24-b5cf-f65a3ba8704f', 'x-openstack-request-id': 'req-56ea7564-72b7-4b24-b5cf-f65a3ba8704f', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 2d952138-21e6-4508-8bb8-aee607a9f6d0 could not be found."}}' 2022-02-16 15:09:51,264 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action 0.028s 2022-02-16 15:09:51,264 117124 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': 'Wed, 16 Feb 2022 15:09:51 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-7680d11a-0cd1-4676-8a63-36138d782336', 'x-openstack-request-id': 'req-7680d11a-0cd1-4676-8a63-36138d782336', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [6.447493s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 120, in test_snapshot_force_delete_when_snapshot_is_error_deleting self._create_reset_and_force_delete_temp_snapshot('error_deleting') File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 58, in _create_reset_and_force_delete_temp_snapshot self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to error_deleting'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-02-16 15:09:51,413 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots 0.147s 2022-02-16 15:09:51,414 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229"}} Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a8feadb7-e3fa-4913-adbb-fd1a4f3415a3', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a8feadb7-e3fa-4913-adbb-fd1a4f3415a3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.347570", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}}}' 2022-02-16 15:09:51,478 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.062s 2022-02-16 15:09:51,478 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0942655d-82d2-4cfe-9a69-53e4608b1229', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0942655d-82d2-4cfe-9a69-53e4608b1229', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:52,503 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.020s 2022-02-16 15:09:52,503 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a6613ee3-9f47-4ba1-a399-0fa3071eb56f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a6613ee3-9f47-4ba1-a399-0fa3071eb56f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "nam e": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:53,528 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.021s 2022-02-16 15:09:53,528 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d895dbbd-13d0-4bd6-b4aa-3620784f2e0f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d895dbbd-13d0-4bd6-b4aa-3620784f2e0f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:54,559 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.027s 2022-02-16 15:09:54,559 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c40e7cf6-6195-489c-a2f8-783f03072df9', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c40e7cf6-6195-489c-a2f8-783f03072df9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:55,590 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.027s 2022-02-16 15:09:55,591 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dd171923-1d60-45ff-a930-a6912451d963', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-V ersion', 'x-openstack-request-id': 'req-dd171923-1d60-45ff-a930-a6912451d963', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:56,615 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.021s 2022-02-16 15:09:56,616 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1bc3652f-0f1f-4315-86f8-b43c1b65fa1a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1bc3652f-0f1f-4315-86f8-b43c1b65fa1a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:57,641 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.022s 2022-02-16 15:09:57,642 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-739f4117-bcc5-484f-a0bb-178a159c0238', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-739f4117-bcc5-484f-a0bb-178a159c0238', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": "2022-02-16T15:09:57.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:57,644 117124 INFO [tempest.common.waiters] snapshot 8e4dc02d-46b2-4982-a165-e1167fc3db37 reached available after waiting for 6.644706 seconds 2022-02-16 15:09:57,672 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 400 POST http://10.222.0.45/volume/v3/9 7471697e6154c07bd9b037a3bdd623f/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37/action 0.027s 2022-02-16 15:09:57,673 117124 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': 'Wed, 16 Feb 2022 15:09:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '80', 'content-type': 'application/json', 'x-compute-request-id': 'req-83d9a310-5908-4b6a-9410-1b3f4e552140', 'x-openstack-request-id': 'req-83d9a310-5908-4b6a-9410-1b3f4e552140', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to error_deleting"}}' 2022-02-16 15:09:57,712 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action 0.038s 2022-02-16 15:09:57,713 117124 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': 'Wed, 16 Feb 2022 15:09:57 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-14bb692b-0b57-415d-93d2-26df303c12c9', 'x-openstack-request-id': 'req-14bb692b-0b57-415d-93d2-26df303c12c9', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.257182s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [29.668497s] ... ok {4} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [25.961513s] ... ok {7} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.189455s] ... ok {7} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.035784s] ... ok {2} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.126172s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.340543s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.031692s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.045031s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [1.624844s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.169538s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [3.831475s] ... ok {4} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [12.786995s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [3.645826s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.048118s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [0.343224s] ... ok {2} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [3.416816s] ... ok {2} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.076101s] ... ok {2} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.361052s] ... ok {2} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.046768s] ... ok {2} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.139479s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.023508s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.021825s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.019031s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [1.550091s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.020133s] ... ok {4} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [3.620359s] ... ok {7} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {3} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [101.890023s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.143918s] ... ok {4} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [2.871746s] ... ok {3} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {2} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [1.671281s] ... ok {3} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [1.839191s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [108.124281s] ... ok {3} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [1.641092s] ... ok {3} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.232341s] ... ok {3} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [1.513615s] ... ok {2} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.138571s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.258492s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.115138s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.362475s] ... ok {3} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.178930s] ... ok {3} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {3} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.084854s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.095808s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.090907s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.451677s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.248528s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.594164s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.081872s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.173889s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.111631s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.130064s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.090319s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.087986s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.279408s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.234298s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.301606s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.127368s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.137889s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.133081s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [29.068919s] ... ok {0} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [49.156172s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [62.366631s] ... ok {0} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [51.756688s] ... ok {6} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [0.284847s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [11.476597s] ... ok {6} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.696146s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.181166s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.142337s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.171843s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.032663s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.029079s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.182515s] ... ok {6} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.432810s] ... ok {6} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.076379s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.018585s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.031563s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.034643s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.029816s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.031180s] ... ok {0} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.110218s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [2.943529s] ... ok {0} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.355340s] ... ok {0} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.245799s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [5.758657s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [2.594932s] ... ok {0} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.009998s] ... ok {0} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.158678s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [2.670455s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [1.931517s] ... ok {0} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [3.537402s] ... ok {0} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [2.746174s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.022183s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.060499s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.032747s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.073469s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.033344s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.034496s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.023626s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.037658s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.035261s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.046123s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.037959s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.103715s] ... ok {0} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.098850s] ... ok {6} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [45.098402s] ... ok {6} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [11.110227s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [6.198416s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [11.715859s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [29.330788s] ... ok {5} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [387.041804s] ... ok {4} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [312.974857s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [433.523183s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [105.544438s] ... ok {1} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [9.285755s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.121625s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.137494s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.010061s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.049393s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.015305s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.013367s] ... ok {1} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.205947s] ... ok {1} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.301567s] ... ok {1} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.205332s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [15.581805s] ... ok {5} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [233.916725s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [15.495302s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.173046s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.178564s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.176424s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [18.115210s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [22.119074s] ... ok {0} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [375.517372s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [27.020921s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [12.718663s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [35.314738s] ... ok {5} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [2.820124s] ... ok {5} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.235869s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [7.830463s] ... ok {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.209051s] ... ok {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.146679s] ... ok {5} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [2.873333s] ... ok {5} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.483852s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.112004s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.053940s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.010674s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.019856s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.013501s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [7.713805s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [18.791383s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [0.974512s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [0.637971s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.010083s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.018613s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.020952s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.020496s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.009482s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.009862s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.008807s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.019815s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.007534s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.018866s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.020496s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.007571s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.067756s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.067346s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.058249s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.058215s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.118448s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.021027s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.023858s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.008092s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.021267s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.020182s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.021885s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.010053s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.010794s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.021422s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.010583s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.020031s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.020812s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {3} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [611.411063s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [63.066033s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [5.459185s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [44.160092s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [8.029965s] ... ok {1} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [9.057099s] ... ok ============================== Failed 4 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-02-16 15:09:22,197 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots 0.352s 2022-02-16 15:09:22,198 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "name": "tempest-SnapshotsActionsTest-Snapshot-660328159"}} Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a3308d56-8758-4b26-b825-15874bcbd075', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a3308d56-8758-4b26-b825-15874bcbd075', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.085166", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}}}' 2022-02-16 15:09:22,273 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.073s 2022-02-16 15:09:22,274 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:22 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ed7f4211-e700-4086-a55c-257974db11f9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ed7f4211-e700-4086-a55c-257974db11f9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:23,301 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.023s 2022-02-16 15:09:23,301 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d897bb52-5ab9-4f59-8f91-7cdc45b9ab35', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d897bb52-5ab9-4f59-8f91-7cdc45b9ab35', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:24,329 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.024s 2022-02-16 15:09:24,329 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:24 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-06e5aec9-0bd0-4809-b2d4-1c8ab62d92e9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-06e5aec9-0bd0-4809-b2d4-1c8ab62d92e9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:25,353 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.021s 2022-02-16 15:09:25,354 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-61ee4510-129b-435f-91ef-7a5d551a67d4', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-61ee4510-129b-435f-91ef-7a5d551a67d4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:26,377 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.020s 2022-02-16 15:09:26,378 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:26 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-05fb1c73-ef2b-4acb-883d-df374e57ff64', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-05 fb1c73-ef2b-4acb-883d-df374e57ff64', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:27,407 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.026s 2022-02-16 15:09:27,407 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dcad745e-e894-4bb4-8387-bf1fc8c7a717', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dcad745e-e894-4bb4-8387-bf1fc8c7a717', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:28,433 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.022s 2022-02-16 15:09:28,434 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d463d278-a20f-4861-8d43-28f72e617609', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d463d278-a20f-4861-8d43-28f72e617609', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": "2022-02-16T15:09:28.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:28,436 117124 INFO [tempest.common.waiters] snapshot dde109d7-3715-4037-b46f-1c71544b0a08 reached available after waiting for 6.436838 seconds 2022-02-16 15:09:28,528 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/dde109d7-3715-4037-b4 6f-1c71544b0a08/action 0.091s 2022-02-16 15:09:28,529 117124 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': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8f9171ef-be1b-4283-bc43-c16c68b59fc3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8f9171ef-be1b-4283-bc43-c16c68b59fc3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08/action'} Body: b'' 2022-02-16 15:09:28,571 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.042s 2022-02-16 15:09:28,571 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6307bb63-30c8-4698-9077-86786ae99038', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6307bb63-30c8-4698-9077-86786ae99038', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": "2022-02-16T15:09:29.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:28,574 117124 INFO [tempest.common.waiters] snapshot dde109d7-3715-4037-b46f-1c71544b0a08 reached creating after waiting for 0.574379 seconds 2022-02-16 15:09:28,701 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08/action 0.127s 2022-02-16 15:09:28,702 117124 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': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-61fc3bda-ae7d-40dc-a0ee-31e65f9ec852', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-61fc3bda-ae7d-40dc-a0ee-31e65f9ec852', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08/action'} Body: b'' 2022-02-16 15:09:28,760 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.057s 2022-02-16 15:09:28,760 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-48bd6c28-dabc-4fed-a282-5b4f2da0de2f', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-48bd6c28-dabc-4fed-a282-5b4f2da0de2f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"snapshot": {"id": "dde109d7-3715-4037-b46f-1c71544b0a08", "created_at": "2022-02-16T15:09:22.000000", "updated_at": "2022-02-16T15:09:29.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-660328159", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:29,789 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08 0.026s 2022-02-16 15:09:29,789 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:29 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-510fe91f-b4e5-4380-a5b5-fb0eac6f0823', 'x-openstack-request-id': 'req-510fe91f-b4e5-4380-a5b5-fb0eac6f0823', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/dde109d7-3715-4037-b46f-1c71544b0a08'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot dde109d7-3715-4037-b46f-1c71544b0a08 could not be found."}}' 2022-02-16 15:09:29,827 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action 0.036s 2022-02-16 15:09:29,827 117124 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': 'Wed, 16 Feb 2022 15:09:29 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-f6bba4cc-b62d-4e3d-9254-6f2a44ecc4b5', 'x-openstack-request-id': 'req-f6bba4cc-b62d-4e3d-9254-6f2a44ecc4b5', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-02-16 15:09:30,033 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots 0.202s 2022-02-16 15:09:30,033 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012"}} Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:29 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e9c3ef15-f2ee-4338-b615-e95b9160ffeb', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e9c3ef15-f2ee-4338-b615-e95b9160ffeb', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:29.951811", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}}}' 2022-02-16 15:09:30,077 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.040s 2022-02-16 15:09:30,077 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c5d1f322-ee3a-4c28-aeec-d297b419bcd6', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c5d1f322-ee3a-4c28-aeec-d297b419bcd6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:31,102 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.021s 2022-02-16 15:09:31,102 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-416c549e-b102-4607-8450-83d5e372f235', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-416c549e-b102-4607-8450-83d5e372f235', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:32,126 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.020s 2022-02-16 15:09:32,127 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-58edbcd5-30f8-4f7a-a8b9-5d6d4efddc51', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-58edbcd5-30f8-4f7a-a8b9-5d6d4efddc51', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:33,158 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.025s 2022-02-16 15:09:33,159 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-98f34c01-1216-433c-98be-ffd07f297298', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-98f34c01-1216-433c-98be-ffd07f297298', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:34,186 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.023s 2022-02-16 15:09:34,186 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-db08b9be-de73-404a-96dc-29a4a6bff84c', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-db08b9be-de73-404a-96dc-29a4a6bff84c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:35,214 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.024s 2022-02-16 15:09:35,214 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-125a4920-632b-41b9-b71f-4b620c8d881a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-125a4920-632b-41b9-b71f-4b620c8d881a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:36,238 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.020s 2022-02-16 15:09:36,238 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6e743005-85d2-4ead-b26b-39c52e881322', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6e743005-85d2-4ead-b26b-39c52e881322', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:37,262 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.020s 2022-02-16 15:09:37,263 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', ' X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-720b99f3-32b9-4b72-b578-6f97ce0ca02b', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-720b99f3-32b9-4b72-b578-6f97ce0ca02b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:38,287 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.021s 2022-02-16 15:09:38,288 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b3e5c6db-a56c-4608-8a9f-a78251adf972', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b3e5c6db-a56c-4608-8a9f-a78251adf972', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:39,312 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.020s 2022-02-16 15:09:39,312 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-25158da9-6570-4357-a560-95aa6208ef5b', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-25158da9-6570-4357-a560-95aa6208ef5b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:40,339 117124 INFO [tempest.lib.common.rest_ client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.023s 2022-02-16 15:09:40,340 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e106ee7-be8f-436e-a021-42104cde4df7', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e106ee7-be8f-436e-a021-42104cde4df7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:41,369 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.025s 2022-02-16 15:09:41,369 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-58047ecf-0d1b-4732-8065-196acea3a502', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-58047ecf-0d1b-4732-8065-196acea3a502', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": "2022-02-16T15:09:41.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:41,371 117124 INFO [tempest.common.waiters] snapshot 7be09670-85cd-4193-afd7-a684b5dcb263 reached available after waiting for 11.371965 seconds 2022-02-16 15:09:41,432 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263/action 0.060s 2022-02-16 15:09:41,432 117124 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': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-42d61c6d-fa4d-4253-9f76-71d030094939', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-42d61c6d-fa4d-4253-9f76-71d030094939', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/ volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263/action'} Body: b'' 2022-02-16 15:09:41,458 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.025s 2022-02-16 15:09:41,458 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7801f69f-a3e6-472d-851f-b7b16f4eed13', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7801f69f-a3e6-472d-851f-b7b16f4eed13', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": "2022-02-16T15:09:41.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:41,461 117124 INFO [tempest.common.waiters] snapshot 7be09670-85cd-4193-afd7-a684b5dcb263 reached deleting after waiting for 0.461122 seconds 2022-02-16 15:09:41,518 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263/action 0.057s 2022-02-16 15:09:41,519 117124 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': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-28d49b6f-a99e-4ca1-bda9-83ca793a7fd7', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-28d49b6f-a99e-4ca1-bda9-83ca793a7fd7', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263/action'} Body: b'' 2022-02-16 15:09:41,544 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.024s 2022-02-16 15:09:41,544 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-293cf837-9feb-42b0-ae37-dd12ca6db6ad', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-293cf837-9feb-42b0-ae37-dd12ca6db6ad', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"snapshot": {"id": "7be09670-85cd-4193-afd7-a684b5dcb263", "created_at": "2022-02-16T15:09:30.000000", "updated_at": "2022-02-16T15:09:42.000000", "name": "tempest- SnapshotsActionsTest-Snapshot-1172137012", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:42,564 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263 0.017s 2022-02-16 15:09:42,565 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:42 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-47549e41-e9b7-4bda-999b-6897ffe96c03', 'x-openstack-request-id': 'req-47549e41-e9b7-4bda-999b-6897ffe96c03', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/7be09670-85cd-4193-afd7-a684b5dcb263'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 7be09670-85cd-4193-afd7-a684b5dcb263 could not be found."}}' 2022-02-16 15:09:42,593 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action 0.027s 2022-02-16 15:09:42,593 117124 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': 'Wed, 16 Feb 2022 15:09:42 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-1346e8b7-5ee8-451d-96df-5b45c56191b8', 'x-openstack-request-id': 'req-1346e8b7-5ee8-451d-96df-5b45c56191b8', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-02-16 15:09:42,762 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots 0.166s 2022-02-16 15:09:42,763 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "name": "tempest-SnapshotsActionsTest-Snapshot-233158389"}} Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a39f9777-b631-4719-944c-5c261af42207', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a39f9777-b631-4719-944c-5c261af42207', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:42.700313", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}}}' 2022-02-16 15:09:42,798 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.032s 2022-02-16 15:09:42,798 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d581d9f0-032b-4a83-aa35-8e9fea3f8a3e', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d581d9f0-032b-4a83-aa35-8e9fea3f8a3e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:43,825 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.023s 2022-02-16 15:09:43,826 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cfce18e3-dead-4803-97c7-a2c6d652e83a', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cfce18e3-dead-4803-97c7-a2c6d652e83a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsT est-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:44,851 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.022s 2022-02-16 15:09:44,852 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a91c8bb5-95ac-403f-918d-9cd7d33e9619', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a91c8bb5-95ac-403f-918d-9cd7d33e9619', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:45,877 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.021s 2022-02-16 15:09:45,877 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4db5c532-1a4c-45ca-ba79-e2e771235e06', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4db5c532-1a4c-45ca-ba79-e2e771235e06', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:46,901 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.020s 2022-02-16 15:09:46,901 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3ef4865d-267b-4248-b910-d117604a02c1', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3ef4865d-267b-4248-b 910-d117604a02c1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:47,927 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.021s 2022-02-16 15:09:47,927 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dd56bc04-3804-469b-a1da-4261ec989c98', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dd56bc04-3804-469b-a1da-4261ec989c98', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:48,952 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.020s 2022-02-16 15:09:48,953 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bb3f8e74-0a82-4f1e-8094-acceacd0ef03', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bb3f8e74-0a82-4f1e-8094-acceacd0ef03', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:49,985 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.028s 2022-02-16 15:09:49,985 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7856498b-79dc-4789-9df5-f220924a0285', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7856498b-79dc-4789-9df5-f220924a0285', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": "2022-02-16T15:09:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:49,989 117124 INFO [tempest.common.waiters] snapshot 2d952138-21e6-4508-8bb8-aee607a9f6d0 reached available after waiting for 7.988995 seconds 2022-02-16 15:09:50,070 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0/action 0.081s 2022-02-16 15:09:50,071 117124 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': 'Wed, 16 Feb 2022 15:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-38976ebf-65e5-4f58-bf25-96c638df4e19', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-38976ebf-65e5-4f58-bf25-96c638df4e19', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0/action'} Body: b'' 2022-02-16 15:09:50,093 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.022s 2022-02-16 15:09:50,094 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3639bbe4-7e9f-4bce-8c75-992db7de3380', 'content-length': '461', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3639bbe4-7e9f-4bce-8c75-992db7de3380', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": "2022-02-16T15:09:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:50,096 117124 INFO [tempest.common.waiters] snapshot 2d952138-21e6-4508-8bb8-aee607a9f6d0 reached error after waiting for 0.096822 seconds 2022-02-16 15:09:50,189 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_de lete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0/action 0.092s 2022-02-16 15:09:50,189 117124 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': 'Wed, 16 Feb 2022 15:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d2741a98-29e9-4ec7-bf36-99b17fa2bd2a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d2741a98-29e9-4ec7-bf36-99b17fa2bd2a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0/action'} Body: b'' 2022-02-16 15:09:50,212 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.022s 2022-02-16 15:09:50,212 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e3d431d6-e937-4e4e-950a-f1e7b5751f6f', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e3d431d6-e937-4e4e-950a-f1e7b5751f6f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"snapshot": {"id": "2d952138-21e6-4508-8bb8-aee607a9f6d0", "created_at": "2022-02-16T15:09:43.000000", "updated_at": "2022-02-16T15:09:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-233158389", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:51,234 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0 0.018s 2022-02-16 15:09:51,235 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-56ea7564-72b7-4b24-b5cf-f65a3ba8704f', 'x-openstack-request-id': 'req-56ea7564-72b7-4b24-b5cf-f65a3ba8704f', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/2d952138-21e6-4508-8bb8-aee607a9f6d0'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 2d952138-21e6-4508-8bb8-aee607a9f6d0 could not be found."}}' 2022-02-16 15:09:51,264 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action 0.028s 2022-02-16 15:09:51,264 117124 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': 'Wed, 16 Feb 2022 15:09:51 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-7680d11a-0cd1-4676-8a63-36138d782336', 'x-openstack-request-id': 'req-7680d11a-0cd1-4676-8a63-36138d782336', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 120, in test_snapshot_force_delete_when_snapshot_is_error_deleting self._create_reset_and_force_delete_temp_snapshot('error_deleting') File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 58, in _create_reset_and_force_delete_temp_snapshot self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to error_deleting'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-02-16 15:09:51,413 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots 0.147s 2022-02-16 15:09:51,414 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229"}} Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a8feadb7-e3fa-4913-adbb-fd1a4f3415a3', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a8feadb7-e3fa-4913-adbb-fd1a4f3415a3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.347570", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}}}' 2022-02-16 15:09:51,478 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.062s 2022-02-16 15:09:51,478 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0942655d-82d2-4cfe-9a69-53e4608b1229', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0942655d-82d2-4cfe-9a69-53e4608b1229', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:52,503 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.020s 2022-02-16 15:09:52,503 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a6613ee3-9f47-4ba1-a399-0fa3071eb56f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a6613ee3-9f47-4ba1-a399-0fa3071eb56f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "nam e": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:53,528 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.021s 2022-02-16 15:09:53,528 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d895dbbd-13d0-4bd6-b4aa-3620784f2e0f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d895dbbd-13d0-4bd6-b4aa-3620784f2e0f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:54,559 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.027s 2022-02-16 15:09:54,559 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c40e7cf6-6195-489c-a2f8-783f03072df9', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c40e7cf6-6195-489c-a2f8-783f03072df9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:55,590 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.027s 2022-02-16 15:09:55,591 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dd171923-1d60-45ff-a930-a6912451d963', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-V ersion', 'x-openstack-request-id': 'req-dd171923-1d60-45ff-a930-a6912451d963', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:56,615 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.021s 2022-02-16 15:09:56,616 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1bc3652f-0f1f-4315-86f8-b43c1b65fa1a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1bc3652f-0f1f-4315-86f8-b43c1b65fa1a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-02-16 15:09:57,641 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37 0.022s 2022-02-16 15:09:57,642 117124 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 16 Feb 2022 15:09:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-739f4117-bcc5-484f-a0bb-178a159c0238', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-739f4117-bcc5-484f-a0bb-178a159c0238', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/adaa2dabbada42a0a1a1c77d1f58f0e8/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37'} Body: b'{"snapshot": {"id": "8e4dc02d-46b2-4982-a165-e1167fc3db37", "created_at": "2022-02-16T15:09:51.000000", "updated_at": "2022-02-16T15:09:57.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1382346229", "description": null, "volume_id": "8e557c95-84d4-4575-91eb-b24db2d83058", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "adaa2dabbada42a0a1a1c77d1f58f0e8", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-02-16 15:09:57,644 117124 INFO [tempest.common.waiters] snapshot 8e4dc02d-46b2-4982-a165-e1167fc3db37 reached available after waiting for 6.644706 seconds 2022-02-16 15:09:57,672 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 400 POST http://10.222.0.45/volume/v3/9 7471697e6154c07bd9b037a3bdd623f/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37/action 0.027s 2022-02-16 15:09:57,673 117124 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': 'Wed, 16 Feb 2022 15:09:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '80', 'content-type': 'application/json', 'x-compute-request-id': 'req-83d9a310-5908-4b6a-9410-1b3f4e552140', 'x-openstack-request-id': 'req-83d9a310-5908-4b6a-9410-1b3f4e552140', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/8e4dc02d-46b2-4982-a165-e1167fc3db37/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to error_deleting"}}' 2022-02-16 15:09:57,712 117124 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action 0.038s 2022-02-16 15:09:57,713 117124 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': 'Wed, 16 Feb 2022 15:09:57 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-14bb692b-0b57-415d-93d2-26df303c12c9', 'x-openstack-request-id': 'req-14bb692b-0b57-415d-93d2-26df303c12c9', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/97471697e6154c07bd9b037a3bdd623f/snapshots/ed7983e4-e24c-4fe4-b9be-c275894d4bd0/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 232 tests in 882.5119 sec. - Passed: 219 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 3529.0737 sec. ============== Worker Balance ============== - Worker 0 (35 tests) => 0:09:30.776303 - Worker 1 (58 tests) => 0:14:18.932874 - Worker 2 (32 tests) => 0:02:15.685888 - Worker 3 (13 tests) => 0:12:35.287417 - Worker 4 (33 tests) => 0:07:08.463563 - Worker 5 (18 tests) => 0:11:58.179929 - Worker 6 (18 tests) => 0:06:27.166061 - Worker 7 (25 tests) => 0:01:44.882371 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