WARNING: isolated-tests file /home/ubuntu/isolated-tests.txt does not exist or is empty, no tests will run isolated /opt/stack/tempest ~ Initializing stestr all-plugin create: /opt/stack/tempest/.tox/all-plugin all-plugin installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt all-plugin develop-inst: /opt/stack/tempest all-plugin installed: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,alembic==1.7.5,amqp==5.0.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.4.0,autopage==0.4.0,Babel==2.9.1,backports.entry-points-selectable==1.1.1,bcrypt==3.2.0,beautifulsoup4==4.10.0,blinker==1.4,boto3==1.20.11,botocore==1.23.11,cachetools==4.2.4,castellan==3.10.0,certifi==2019.11.28,cffi==1.15.0,chardet==3.0.4,charset-normalizer==2.0.7,-e git+http://10.106.1.39/p/openstack/cinder@25883cb4a6e6944a9658cf81a93baca235a154ac#egg=cinder,click==8.0.3,cliff==3.9.0,cmd2==2.3.2,colorama==0.4.3,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==36.0.0,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.3.0,decorator==5.1.0,defusedxml==0.7.1,distlib==0.3.3,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==2.1.0,dogpile.cache==1.1.4,elementpath==2.4.0,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.33.0,extras==1.0.0,fasteners==0.14.1,filelock==3.4.0,fixtures==3.0.0,Flask==2.0.2,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.0,-e git+https://opendev.org/openstack/glance@1db6e66f93535120fdd974fce7e6490063f3c863#egg=glance,glance-store==2.7.0,google-api-core==2.2.2,google-api-python-client==2.31.0,google-auth==2.3.3,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.2,grpcio==1.42.0,httplib2==0.20.2,hyperlink==19.0.0,idna==3.3,importlib-metadata==4.8.2,importlib-resources==5.4.0,incremental==16.10.1,iso8601==1.0.1,itsdangerous==2.0.1,Jinja2==3.0.3,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.2,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@1e7ecca881a51144d61ae8026e1a77d6669997e2#egg=keystone,keystoneauth1==4.4.0,keystonemiddleware==9.3.0,kombu==5.2.2,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.4,Mako==1.1.6,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.2,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@7619f8c9974dcceeb4f04b43c30564a753c357ec#egg=networking_hyperv,networkx==2.6.3,-e git+https://opendev.org/openstack/neutron@4b1bf15f7bfae842669b61400c5469a6d7269eb6#egg=neutron,neutron-lib==2.17.0,-e git+https://opendev.org/openstack/nova@8f250f50446ca2d7aa84609d5144088aa4cded78#egg=nova,numpy==1.21.4,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@6d49b6df1d3f62e2003c55509875380148281a79#egg=openstack_placement,openstacksdk==0.59.0,os-brick==5.0.1,os-client-config==2.1.0,os-ken==2.3.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.1,os-traits==2.6.0,os-vif==2.7.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.1.1,oslo.cache==2.8.1,oslo.concurrency==4.5.0,oslo.config==8.7.1,oslo.context==3.4.0,oslo.db==11.1.0,oslo.i18n==5.1.0,oslo.limit==1.4.0,oslo.log==4.6.1,oslo.messaging==12.11.0,oslo.metrics==0.4.0,oslo.middleware==4.5.0,oslo.policy==3.9.0,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.7.0,oslo.upgradecheck==1.4.0,oslo.utils==4.12.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.10.0,osprofiler==3.4.2,ovs==2.16.0,ovsdbapp==1.12.0,packaging==21.3,paramiko==2.8.0,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.8.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.4.0,pluggy==1.0.0,prettytable==2.4.0,prometheus-client==0.12.0,protobuf==3.19.1,psutil==5.8.0,py==1.11.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.21,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.3.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==21.0.0,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,pyroute2==0.6.5,pyroute2.core==0.6.5,pyroute2.ethtool==0.6.5,pyroute2.ipdb==0.6.5,pyroute2.ipset==0.6.5,pyroute2.ndb==0.6.5,pyroute2.nftables==0.6.5,pyroute2.nslink==0.6.5,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.2.0,python-cinderclient==8.1.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.3.0,python-glanceclient==3.5.0,python-keystoneclient==4.3.0,python-memcached==1.59,python-neutronclient==7.7.0,python-novaclient==17.6.0,python-openstackclient==5.7.0,python-subunit==1.4.0,python-swiftclient==3.12.0,pytz==2021.3,pyudev==0.22.0,PyYAML==6.0,repoze.lru==0.7,requests==2.26.0,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.7.2,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.18,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,sos==4.1,soupsieve==2.3.1,SQLAlchemy==1.4.27,sqlalchemy-migrate==0.13.0,sqlparse==0.4.2,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.1,stevedore==3.5.0,suds-community==1.0.0,-e git+https://opendev.org/openstack/swift@4c84f615a100707981d0faa4d7e325135920bada#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.2,-e git+https://opendev.org/openstack/tempest@db4066912b91d9fed410f6c1da8839700706f837#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,toml==0.10.2,tooz==2.10.0,tox==3.24.4,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==4.1.1,urllib3==1.26.7,urwid==2.0.1,vine==5.0.0,virtualenv==20.10.0,voluptuous==0.12.2,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,WebTest==3.0.0,Werkzeug==2.0.2,wrapt==1.13.3,WSME==0.11.0,xattr==0.9.8,xmlschema==1.8.2,yappi==1.3.3,zipp==3.6.0,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {1} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {7} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [1.794996s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.012131s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.013180s] ... ok {1} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.467870s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [1.420727s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.016531s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.010840s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [1.356738s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.427842s] ... ok {5} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [1.597745s] ... ok {5} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.149937s] ... ok {1} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [4.329647s] ... ok {3} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [12.686010s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {1} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.708478s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.436518s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [1.092483s] ... ok {5} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.200800s] ... ok {1} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {1} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.329563s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [5.028949s] ... ok {4} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [16.611175s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [5.421602s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.158041s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.688216s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.052754s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.376452s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [1.040742s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.163835s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.101322s] ... ok {3} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.476057s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.011843s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.012086s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.030124s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.016424s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.023498s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.023052s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.017775s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.012072s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.010981s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.028925s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [9.873744s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.038853s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.036131s] ... ok {3} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [5.856932s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-24 11:15:39,747 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots 0.336s 2021-11-24 11:15:39,748 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888"}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e909ddf8-f1e8-48ff-82c3-6aa8039cd75e', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e909ddf8-f1e8-48ff-82c3-6aa8039cd75e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:39.538644", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-24 11:15:39,775 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.024s 2021-11-24 11:15:39,775 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-94b99e8f-45af-4572-838c-ff2744984a83', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-94b99e8f-45af-4572-838c-ff2744984a83', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:40,801 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.022s 2021-11-24 11:15:40,801 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2920658d-ee12-4ea4-bc98-824a90f895b5', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2920658d-ee12-4ea4-bc98-824a90f895b5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:41,826 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.021s 2021-11-24 11:15:41,826 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-66c81ae2-5c63-4ed7-9b71-dd0f2ba29dcf', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-66c81ae2-5c63-4ed7-9b71-dd0f2ba29dcf', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:42,850 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.020s 2021-11-24 11:15:42,851 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3e864b37-b6b3-4d63-8967-4b9184baba3d', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3e864b37-b6b3-4d63-8967-4b9184baba3d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:43,880 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.025s 2021-11-24 11:15:43,881 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5d3d44dc-b1fc-4460-bd92-a16ce3feb5ac', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-5d3d44dc-b1fc-4460-bd92-a16ce3feb5ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": "2021-11-24T11:15:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:43,883 117417 INFO [tempest.common.waiters] snapshot 7a050d4d-ca9e-46f9-9fde-4ab6ec239293 reached available after waiting for 4.883738 seconds 2021-11-24 11:15:44,021 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293/action 0.130s 2021-11-24 11:15:44,021 117417 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, 24 Nov 2021 11:15:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c019d50a-be2a-40f2-bb6c-12505a8cd7fe', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c019d50a-be2a-40f2-bb6c-12505a8cd7fe', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293/action'} Body: b'' 2021-11-24 11:15:44,043 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.021s 2021-11-24 11:15:44,043 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-705554f1-db7f-44c7-8891-b13d295befb1', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-705554f1-db7f-44c7-8891-b13d295befb1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": "2021-11-24T11:15:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:44,046 117417 INFO [tempest.common.waiters] snapshot 7a050d4d-ca9e-46f9-9fde-4ab6ec239293 reached creating after waiting for 0.046041 seconds 2021-11-24 11:15:44,187 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293/action 0.141s 2021-11-24 11:15:44,187 117417 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, 24 Nov 2021 11:15:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-1831ab94-0d44-41bb-af18-5d0b01078b63', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1831ab94-0d44-41bb-af18-5d0b01078b63', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293/action'} Body: b'' 2021-11-24 11:15:44,212 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.023s 2021-11-24 11:15:44,212 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-96753be9-ebc4-4d21-9e5f-a20bbb2cce3f', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-96753be9-ebc4-4d21-9e5f-a20bbb2cce3f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": "2021-11-24T11:15:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:45,234 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.018s 2021-11-24 11:15:45,234 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:45 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-5a58a343-c405-45d8-80ea-f50fe378b589', 'x-openstack-request-id': 'req-5a58a343-c405-45d8-80ea-f50fe378b589', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 7a050d4d-ca9e-46f9-9fde-4ab6ec239293 could not be found."}}' 2021-11-24 11:15:45,266 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action 0.031s 2021-11-24 11:15:45,266 117417 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, 24 Nov 2021 11:15:45 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-1d38b531-514a-4a77-8413-c 1530ff14a47', 'x-openstack-request-id': 'req-1d38b531-514a-4a77-8413-c1530ff14a47', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {5} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.114072s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [5.937242s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.052197s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.982274s] ... ok {3} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [7.649202s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-24 11:15:45,737 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots 0.467s 2021-11-24 11:15:45,737 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "name": "tempest-SnapshotsActionsTest-Snapshot-63713089"}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b4334bfe-d6c6-4abc-8d04-793a0df49254', 'content-length': '305', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b4334bfe-d6c6-4abc-8d04-793a0df49254', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.459131", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-24 11:15:45,764 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.023s 2021-11-24 11:15:45,764 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-69509c86-cf3f-467e-94c6-09ab10a1e423', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-69509c86-cf3f-467e-94c6-09ab10a1e423', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:46,795 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.027s 2021-11-24 11:15:46,795 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-24b109b8-4242-4cd8-9a03-53226b1b5d1a', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-24b109b8-4242-4cd8-9a03-53226b1b5d1a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsAc tionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:47,849 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.050s 2021-11-24 11:15:47,850 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-db9c98ef-ecc5-454a-863c-fb68dba3c060', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-db9c98ef-ecc5-454a-863c-fb68dba3c060', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:48,921 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.068s 2021-11-24 11:15:48,921 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b33f26e8-4b35-4cf8-9e77-71b66f392cc4', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b33f26e8-4b35-4cf8-9e77-71b66f392cc4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:49,949 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.024s 2021-11-24 11:15:49,950 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-830cb912-3449-4387-811e-d5e925e6507a', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-830cb912 -3449-4387-811e-d5e925e6507a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:50,976 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.022s 2021-11-24 11:15:51,092 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b6ec0c47-7b44-4ca4-8012-401ac4a76e92', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b6ec0c47-7b44-4ca4-8012-401ac4a76e92', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": "2021-11-24T11:15:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:51,095 117417 INFO [tempest.common.waiters] snapshot 578f63a3-c605-4b11-b317-4e26d8f0693e reached available after waiting for 6.095021 seconds 2021-11-24 11:15:51,286 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e/action 0.191s 2021-11-24 11:15:51,287 117417 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, 24 Nov 2021 11:15:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-302042b3-6042-4293-9247-89a2a81e5782', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-302042b3-6042-4293-9247-89a2a81e5782', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e/action'} Body: b'' 2021-11-24 11:15:51,309 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.021s 2021-11-24 11:15:51,315 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 're q-10ef4454-352d-4c4c-b8fc-db65fc5ccd30', 'content-length': '463', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-10ef4454-352d-4c4c-b8fc-db65fc5ccd30', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": "2021-11-24T11:15:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:51,318 117417 INFO [tempest.common.waiters] snapshot 578f63a3-c605-4b11-b317-4e26d8f0693e reached deleting after waiting for 0.318459 seconds 2021-11-24 11:15:51,386 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e/action 0.065s 2021-11-24 11:15:51,387 117417 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, 24 Nov 2021 11:15:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-81bb0bcc-e5d1-4694-a35f-0a38f3a8abb5', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-81bb0bcc-e5d1-4694-a35f-0a38f3a8abb5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e/action'} Body: b'' 2021-11-24 11:15:51,409 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.022s 2021-11-24 11:15:51,410 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7f3007dc-15ed-472a-bba6-b34c9e97df1b', 'content-length': '463', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7f3007dc-15ed-472a-bba6-b34c9e97df1b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": "2021-11-24T11:15:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:52,842 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.429s 2021-11-24 11:15:52,843 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-06b01bea-72f9-4e81-ad85-91981be6e90d', 'x-openstack-request-id': 'req-06b01bea-72f9-4e81-ad85-91981be6e90d', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 578f63a3-c605-4b11-b317-4e26d8f0693e could not be found."}}' 2021-11-24 11:15:52,917 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action 0.074s 2021-11-24 11:15:52,918 117417 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, 24 Nov 2021 11:15:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-b8123d16-670e-47b4-a4ef-e81f1da673fa', 'x-openstack-request-id': 'req-b8123d16-670e-47b4-a4ef-e81f1da673fa', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.028153s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.022871s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.017634s] ... ok {5} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.047929s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [1.811319s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.034704s] ... ok {3} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [7.195163s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-24 11:15:53,438 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots 0.518s 2021-11-24 11:15:53,438 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "name": "tempest-SnapshotsActionsTest-Snapshot-236232101"}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ddaed876-223c-417f-ae37-431e70caf85e', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ddaed876-223c-417f-ae37-431e70caf85e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.132574", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-24 11:15:53,555 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.113s 2021-11-24 11:15:53,555 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f9753682-6e7d-4865-b562-6f7d148d5ffc', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f9753682-6e7d-4865-b562-6f7d148d5ffc', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:54,581 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.022s 2021-11-24 11:15:54,582 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e8b4a016-eb14-4db5-9dff-faebd423a832', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e8b4a016-eb14-4db5-9dff-faebd423a832', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsT est-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:55,607 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.022s 2021-11-24 11:15:55,608 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d5d5d7bf-49f8-44ba-913c-857afac590af', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d5d5d7bf-49f8-44ba-913c-857afac590af', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:56,632 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.021s 2021-11-24 11:15:56,632 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0cf4c147-7186-47d1-921a-33f4c3a41145', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0cf4c147-7186-47d1-921a-33f4c3a41145', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:57,657 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.021s 2021-11-24 11:15:57,657 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-546d708a-6e25-4074-82bc-4e2f36e9dcfe', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-546d708a-6e25-4074-8 2bc-4e2f36e9dcfe', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:58,685 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.023s 2021-11-24 11:15:58,685 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dfdac8ed-d000-493c-b0ed-089f560f9019', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dfdac8ed-d000-493c-b0ed-089f560f9019', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": "2021-11-24T11:15:58.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:58,688 117417 INFO [tempest.common.waiters] snapshot 96bd97f5-8b7e-4c81-b64d-17f246753ea1 reached available after waiting for 5.688749 seconds 2021-11-24 11:15:58,884 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1/action 0.192s 2021-11-24 11:15:58,885 117417 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, 24 Nov 2021 11:15:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-6a485f9d-7b4c-4d68-bb8e-fc59030ab149', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6a485f9d-7b4c-4d68-bb8e-fc59030ab149', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1/action'} Body: b'' 2021-11-24 11:15:58,906 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.020s 2021-11-24 11:15:58,906 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-09bc9120-84a0-4d07-8 386-4560b7b1ff8f', 'content-length': '461', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-09bc9120-84a0-4d07-8386-4560b7b1ff8f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": "2021-11-24T11:15:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:58,910 117417 INFO [tempest.common.waiters] snapshot 96bd97f5-8b7e-4c81-b64d-17f246753ea1 reached error after waiting for 0.910181 seconds 2021-11-24 11:15:59,026 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1/action 0.116s 2021-11-24 11:15:59,027 117417 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, 24 Nov 2021 11:15:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-290d44ea-8712-45dc-b589-bc703e6a90a7', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-290d44ea-8712-45dc-b589-bc703e6a90a7', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1/action'} Body: b'' 2021-11-24 11:15:59,048 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.021s 2021-11-24 11:15:59,048 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b8502d53-dcaa-4194-bf08-9661135599c1', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b8502d53-dcaa-4194-bf08-9661135599c1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": "2021-11-24T11:15:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:16:00,075 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.022s 2021-11-24 11:16:00,076 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Head ers: {'date': 'Wed, 24 Nov 2021 11:16:00 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-74d3590b-a9e1-4acd-aeaf-8719021865aa', 'x-openstack-request-id': 'req-74d3590b-a9e1-4acd-aeaf-8719021865aa', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 96bd97f5-8b7e-4c81-b64d-17f246753ea1 could not be found."}}' 2021-11-24 11:16:00,114 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action 0.037s 2021-11-24 11:16:00,114 117417 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, 24 Nov 2021 11:16:00 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-1d396449-c350-4dd2-9d91-f11408ec0e53', 'x-openstack-request-id': 'req-1d396449-c350-4dd2-9d91-f11408ec0e53', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {1} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.539121s] ... ok {4} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {3} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [6.062995s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-24 11:16:00,666 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots 0.549s 2021-11-24 11:16:00,666 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "name": "tempest-SnapshotsActionsTest-Snapshot-422049681"}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-203ff371-d238-473c-a2a2-3a7e41fac842', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-203ff371-d238-473c-a2a2-3a7e41fac842', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.321804", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-24 11:16:00,696 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.027s 2021-11-24 11:16:00,696 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cd728a74-a9df-44e3-99e3-d957b6720d3c', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cd728a74-a9df-44e3-99e3-d957b6720d3c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:16:01,724 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.023s 2021-11-24 11:16:01,724 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c6c4051f-032c-4d65-8cb2-3e3eebe9ae63', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c6c4051f-032c-4d65-8cb2-3e3eebe9ae63', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:16:02,750 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.023s 2021-11-24 11:16:02,751 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b80f0ed6-badd-401a-8257-097fc7ac243c', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b80f0ed6-badd-401a-8257-097fc7ac243c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:16:03,781 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.026s 2021-11-24 11:16:03,782 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ac537f63-1950-45c3-96e1-6880d53af1bb', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ac537f63-1950-45c3-96e1-6880d53af1bb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:16:04,807 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.021s 2021-11-24 11:16:04,808 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4ef27bb6-773e-4525-8a2f-20b6d7166fe5', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-4ef27bb6-773e-4525-8a2f-20b6d7166fe5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": "2021-11-24T11:16:04.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:16:04,810 117417 INFO [tempest.common.waiters] snapshot f37e048a-4b31-4119-a706-f69b510ad3ff reached available after waiting for 4.810600 seconds 2021-11-24 11:16:04,929 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff/action 0.119s 2021-11-24 11:16:04,930 117417 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, 24 Nov 2021 11:16:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-3539b24a-81da-4dec-add0-628a5761cb26', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3539b24a-81da-4dec-add0-628a5761cb26', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff/action'} Body: b'' 2021-11-24 11:16:04,951 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.020s 2021-11-24 11:16:04,951 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e87a5586-7dff-4d71-8499-13529742e06c', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e87a5586-7dff-4d71-8499-13529742e06c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": "2021-11-24T11:16:05.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:16:04,960 117417 INFO [tempest.common.waiters] snapshot f37e048a-4b31-4119-a706-f69b510ad3ff reached error_deleting after waiting for 0.960018 seconds 2021-11-24 11:16:05,095 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff/action 0.135s 2021-11-24 11:16:05,096 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'C ontent-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-50877707-4272-4219-a97b-a87df2dfffef', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-50877707-4272-4219-a97b-a87df2dfffef', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff/action'} Body: b'' 2021-11-24 11:16:05,120 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.023s 2021-11-24 11:16:05,120 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a2863852-7700-4827-a150-c348e99aa9d9', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a2863852-7700-4827-a150-c348e99aa9d9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": "2021-11-24T11:16:05.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:16:06,142 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.017s 2021-11-24 11:16:06,142 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:06 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-9bb91b9a-2b83-4d9a-b3b8-1f4a3ca88d0c', 'x-openstack-request-id': 'req-9bb91b9a-2b83-4d9a-b3b8-1f4a3ca88d0c', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot f37e048a-4b31-4119-a706-f69b510ad3ff could not be found."}}' 2021-11-24 11:16:06,178 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action 0.034s 2021-11-24 11:16:06,178 117417 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, 24 Nov 2021 11:16:06 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-d17c896e-4214-453b-9b51-fc0307a4314a', 'x-openstack-request-id': 'req-d17c896e-4214-453b-9b51-fc0307a4314a', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {3} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.552602s] ... ok {2} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [66.896638s] ... ok {1} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.013284s] ... ok {1} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.134365s] ... ok {4} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [7.288354s] ... ok {1} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.889445s] ... ok {1} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.519862s] ... ok {3} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.279483s] ... ok {3} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [2.589590s] ... ok {4} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [11.729617s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [81.883885s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.014210s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.023165s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.022127s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.025890s] ... ok {3} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.026745s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [24.378556s] ... ok {3} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [1.945371s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [19.943539s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.476439s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.014106s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.035505s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.027079s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.026343s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.010062s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.011277s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.010162s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.028949s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008026s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.020140s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.019825s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.008125s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.067213s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.072008s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.060739s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.058913s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.224553s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.020390s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.020410s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.009608s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.020743s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.021769s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.025505s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.011435s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.010831s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.030737s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.010743s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.024841s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.021016s] ... ok {3} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [1.069353s] ... ok {3} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.467311s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [39.119384s] ... ok {3} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [7.761951s] ... ok {4} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [45.343180s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [7.802663s] ... ok {3} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.353998s] ... ok {3} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.067424s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.066784s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.103922s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.396427s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.346142s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.465209s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.098473s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.132643s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.095807s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.093361s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.080843s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.072612s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.154994s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.145634s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.144592s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.099761s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.110719s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.101834s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [59.795559s] ... ok {2} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [35.438050s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [60.459583s] ... ok {7} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [0.765329s] ... ok {2} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [53.288815s] ... ok {7} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.417544s] ... ok {7} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.345973s] ... ok {7} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.324171s] ... ok {7} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [5.039321s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [3.349936s] ... ok {2} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [1.944215s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.126477s] ... ok {6} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [258.772921s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [8.767756s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [10.905290s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [1.019850s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.228739s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.258931s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.279454s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.021051s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.019348s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [281.096142s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.318325s] ... ok {2} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.130344s] ... ok {2} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.034547s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [2.299274s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.466328s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.119801s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.192236s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.010230s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.154471s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.016005s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.015092s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [13.669814s] ... ok {4} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [164.640065s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [9.246944s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [101.613043s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.091934s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.091838s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.186960s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.089082s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.183133s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.090872s] ... ok {0} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {6} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [157.929051s] ... ok {0} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [0.524300s] ... ok {0} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [3.809403s] ... ok {0} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {6} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [14.749691s] ... ok {0} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [33.177901s] ... ok {6} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [25.135097s] ... ok {0} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [6.392024s] ... ok {6} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [11.240134s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {6} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.505470s] ... ok {6} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.056930s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [3.417162s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [3.062765s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.030742s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [3.105480s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [2.351696s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [22.685253s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [67.894072s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [5.784154s] ... ok {7} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [287.239581s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [21.335517s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.385714s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.320098s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.300832s] ... ok {6} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [23.258981s] ... ok {6} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.998304s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [45.551743s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.023639s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.045946s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.019818s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.063892s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.031517s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.035361s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.023233s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [15.396559s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.034980s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.035688s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.035653s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.034273s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.107056s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.063520s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [9.029899s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.114432s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.051718s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.013567s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.020836s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.012911s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [6.339143s] ... ok {0} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [393.936493s] ... ok ============================== Failed 4 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-24 11:15:39,747 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots 0.336s 2021-11-24 11:15:39,748 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888"}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e909ddf8-f1e8-48ff-82c3-6aa8039cd75e', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e909ddf8-f1e8-48ff-82c3-6aa8039cd75e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:39.538644", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-24 11:15:39,775 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.024s 2021-11-24 11:15:39,775 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-94b99e8f-45af-4572-838c-ff2744984a83', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-94b99e8f-45af-4572-838c-ff2744984a83', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:40,801 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.022s 2021-11-24 11:15:40,801 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2920658d-ee12-4ea4-bc98-824a90f895b5', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2920658d-ee12-4ea4-bc98-824a90f895b5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:41,826 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.021s 2021-11-24 11:15:41,826 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-66c81ae2-5c63-4ed7-9b71-dd0f2ba29dcf', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-66c81ae2-5c63-4ed7-9b71-dd0f2ba29dcf', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:42,850 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.020s 2021-11-24 11:15:42,851 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3e864b37-b6b3-4d63-8967-4b9184baba3d', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3e864b37-b6b3-4d63-8967-4b9184baba3d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:43,880 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.025s 2021-11-24 11:15:43,881 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5d3d44dc-b1fc-4460-bd92-a16ce3feb5ac', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-5d3d44dc-b1fc-4460-bd92-a16ce3feb5ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": "2021-11-24T11:15:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:43,883 117417 INFO [tempest.common.waiters] snapshot 7a050d4d-ca9e-46f9-9fde-4ab6ec239293 reached available after waiting for 4.883738 seconds 2021-11-24 11:15:44,021 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293/action 0.130s 2021-11-24 11:15:44,021 117417 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, 24 Nov 2021 11:15:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c019d50a-be2a-40f2-bb6c-12505a8cd7fe', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c019d50a-be2a-40f2-bb6c-12505a8cd7fe', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293/action'} Body: b'' 2021-11-24 11:15:44,043 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.021s 2021-11-24 11:15:44,043 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-705554f1-db7f-44c7-8891-b13d295befb1', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-705554f1-db7f-44c7-8891-b13d295befb1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": "2021-11-24T11:15:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:44,046 117417 INFO [tempest.common.waiters] snapshot 7a050d4d-ca9e-46f9-9fde-4ab6ec239293 reached creating after waiting for 0.046041 seconds 2021-11-24 11:15:44,187 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293/action 0.141s 2021-11-24 11:15:44,187 117417 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, 24 Nov 2021 11:15:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-1831ab94-0d44-41bb-af18-5d0b01078b63', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1831ab94-0d44-41bb-af18-5d0b01078b63', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293/action'} Body: b'' 2021-11-24 11:15:44,212 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.023s 2021-11-24 11:15:44,212 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-96753be9-ebc4-4d21-9e5f-a20bbb2cce3f', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-96753be9-ebc4-4d21-9e5f-a20bbb2cce3f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"snapshot": {"id": "7a050d4d-ca9e-46f9-9fde-4ab6ec239293", "created_at": "2021-11-24T11:15:40.000000", "updated_at": "2021-11-24T11:15:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1067881888", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:45,234 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293 0.018s 2021-11-24 11:15:45,234 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:45 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-5a58a343-c405-45d8-80ea-f50fe378b589', 'x-openstack-request-id': 'req-5a58a343-c405-45d8-80ea-f50fe378b589', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/7a050d4d-ca9e-46f9-9fde-4ab6ec239293'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 7a050d4d-ca9e-46f9-9fde-4ab6ec239293 could not be found."}}' 2021-11-24 11:15:45,266 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action 0.031s 2021-11-24 11:15:45,266 117417 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, 24 Nov 2021 11:15:45 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-1d38b531-514a-4a77-8413-c 1530ff14a47', 'x-openstack-request-id': 'req-1d38b531-514a-4a77-8413-c1530ff14a47', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-24 11:15:45,737 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots 0.467s 2021-11-24 11:15:45,737 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "name": "tempest-SnapshotsActionsTest-Snapshot-63713089"}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b4334bfe-d6c6-4abc-8d04-793a0df49254', 'content-length': '305', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b4334bfe-d6c6-4abc-8d04-793a0df49254', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.459131", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-24 11:15:45,764 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.023s 2021-11-24 11:15:45,764 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-69509c86-cf3f-467e-94c6-09ab10a1e423', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-69509c86-cf3f-467e-94c6-09ab10a1e423', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:46,795 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.027s 2021-11-24 11:15:46,795 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-24b109b8-4242-4cd8-9a03-53226b1b5d1a', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-24b109b8-4242-4cd8-9a03-53226b1b5d1a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsAc tionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:47,849 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.050s 2021-11-24 11:15:47,850 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-db9c98ef-ecc5-454a-863c-fb68dba3c060', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-db9c98ef-ecc5-454a-863c-fb68dba3c060', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:48,921 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.068s 2021-11-24 11:15:48,921 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b33f26e8-4b35-4cf8-9e77-71b66f392cc4', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b33f26e8-4b35-4cf8-9e77-71b66f392cc4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:49,949 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.024s 2021-11-24 11:15:49,950 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-830cb912-3449-4387-811e-d5e925e6507a', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-830cb912 -3449-4387-811e-d5e925e6507a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:50,976 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.022s 2021-11-24 11:15:51,092 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b6ec0c47-7b44-4ca4-8012-401ac4a76e92', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b6ec0c47-7b44-4ca4-8012-401ac4a76e92', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": "2021-11-24T11:15:50.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:51,095 117417 INFO [tempest.common.waiters] snapshot 578f63a3-c605-4b11-b317-4e26d8f0693e reached available after waiting for 6.095021 seconds 2021-11-24 11:15:51,286 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e/action 0.191s 2021-11-24 11:15:51,287 117417 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, 24 Nov 2021 11:15:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-302042b3-6042-4293-9247-89a2a81e5782', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-302042b3-6042-4293-9247-89a2a81e5782', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e/action'} Body: b'' 2021-11-24 11:15:51,309 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.021s 2021-11-24 11:15:51,315 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 're q-10ef4454-352d-4c4c-b8fc-db65fc5ccd30', 'content-length': '463', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-10ef4454-352d-4c4c-b8fc-db65fc5ccd30', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": "2021-11-24T11:15:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:51,318 117417 INFO [tempest.common.waiters] snapshot 578f63a3-c605-4b11-b317-4e26d8f0693e reached deleting after waiting for 0.318459 seconds 2021-11-24 11:15:51,386 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e/action 0.065s 2021-11-24 11:15:51,387 117417 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, 24 Nov 2021 11:15:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-81bb0bcc-e5d1-4694-a35f-0a38f3a8abb5', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-81bb0bcc-e5d1-4694-a35f-0a38f3a8abb5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e/action'} Body: b'' 2021-11-24 11:15:51,409 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.022s 2021-11-24 11:15:51,410 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7f3007dc-15ed-472a-bba6-b34c9e97df1b', 'content-length': '463', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7f3007dc-15ed-472a-bba6-b34c9e97df1b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"snapshot": {"id": "578f63a3-c605-4b11-b317-4e26d8f0693e", "created_at": "2021-11-24T11:15:45.000000", "updated_at": "2021-11-24T11:15:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-63713089", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:52,842 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e 0.429s 2021-11-24 11:15:52,843 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-06b01bea-72f9-4e81-ad85-91981be6e90d', 'x-openstack-request-id': 'req-06b01bea-72f9-4e81-ad85-91981be6e90d', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/578f63a3-c605-4b11-b317-4e26d8f0693e'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 578f63a3-c605-4b11-b317-4e26d8f0693e could not be found."}}' 2021-11-24 11:15:52,917 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action 0.074s 2021-11-24 11:15:52,918 117417 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, 24 Nov 2021 11:15:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-b8123d16-670e-47b4-a4ef-e81f1da673fa', 'x-openstack-request-id': 'req-b8123d16-670e-47b4-a4ef-e81f1da673fa', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-24 11:15:53,438 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots 0.518s 2021-11-24 11:15:53,438 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "name": "tempest-SnapshotsActionsTest-Snapshot-236232101"}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ddaed876-223c-417f-ae37-431e70caf85e', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ddaed876-223c-417f-ae37-431e70caf85e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.132574", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-24 11:15:53,555 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.113s 2021-11-24 11:15:53,555 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f9753682-6e7d-4865-b562-6f7d148d5ffc', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f9753682-6e7d-4865-b562-6f7d148d5ffc', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:54,581 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.022s 2021-11-24 11:15:54,582 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e8b4a016-eb14-4db5-9dff-faebd423a832', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e8b4a016-eb14-4db5-9dff-faebd423a832', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsT est-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:55,607 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.022s 2021-11-24 11:15:55,608 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d5d5d7bf-49f8-44ba-913c-857afac590af', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d5d5d7bf-49f8-44ba-913c-857afac590af', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:56,632 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.021s 2021-11-24 11:15:56,632 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0cf4c147-7186-47d1-921a-33f4c3a41145', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0cf4c147-7186-47d1-921a-33f4c3a41145', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:57,657 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.021s 2021-11-24 11:15:57,657 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-546d708a-6e25-4074-82bc-4e2f36e9dcfe', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-546d708a-6e25-4074-8 2bc-4e2f36e9dcfe', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:15:58,685 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.023s 2021-11-24 11:15:58,685 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dfdac8ed-d000-493c-b0ed-089f560f9019', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dfdac8ed-d000-493c-b0ed-089f560f9019', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": "2021-11-24T11:15:58.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:58,688 117417 INFO [tempest.common.waiters] snapshot 96bd97f5-8b7e-4c81-b64d-17f246753ea1 reached available after waiting for 5.688749 seconds 2021-11-24 11:15:58,884 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1/action 0.192s 2021-11-24 11:15:58,885 117417 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, 24 Nov 2021 11:15:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-6a485f9d-7b4c-4d68-bb8e-fc59030ab149', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6a485f9d-7b4c-4d68-bb8e-fc59030ab149', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1/action'} Body: b'' 2021-11-24 11:15:58,906 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.020s 2021-11-24 11:15:58,906 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-09bc9120-84a0-4d07-8 386-4560b7b1ff8f', 'content-length': '461', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-09bc9120-84a0-4d07-8386-4560b7b1ff8f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": "2021-11-24T11:15:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:15:58,910 117417 INFO [tempest.common.waiters] snapshot 96bd97f5-8b7e-4c81-b64d-17f246753ea1 reached error after waiting for 0.910181 seconds 2021-11-24 11:15:59,026 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1/action 0.116s 2021-11-24 11:15:59,027 117417 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, 24 Nov 2021 11:15:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-290d44ea-8712-45dc-b589-bc703e6a90a7', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-290d44ea-8712-45dc-b589-bc703e6a90a7', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1/action'} Body: b'' 2021-11-24 11:15:59,048 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.021s 2021-11-24 11:15:59,048 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:15:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b8502d53-dcaa-4194-bf08-9661135599c1', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b8502d53-dcaa-4194-bf08-9661135599c1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"snapshot": {"id": "96bd97f5-8b7e-4c81-b64d-17f246753ea1", "created_at": "2021-11-24T11:15:53.000000", "updated_at": "2021-11-24T11:15:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-236232101", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:16:00,075 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1 0.022s 2021-11-24 11:16:00,076 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Head ers: {'date': 'Wed, 24 Nov 2021 11:16:00 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-74d3590b-a9e1-4acd-aeaf-8719021865aa', 'x-openstack-request-id': 'req-74d3590b-a9e1-4acd-aeaf-8719021865aa', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/96bd97f5-8b7e-4c81-b64d-17f246753ea1'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 96bd97f5-8b7e-4c81-b64d-17f246753ea1 could not be found."}}' 2021-11-24 11:16:00,114 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action 0.037s 2021-11-24 11:16:00,114 117417 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, 24 Nov 2021 11:16:00 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-1d396449-c350-4dd2-9d91-f11408ec0e53', 'x-openstack-request-id': 'req-1d396449-c350-4dd2-9d91-f11408ec0e53', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-11-24 11:16:00,666 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots 0.549s 2021-11-24 11:16:00,666 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "name": "tempest-SnapshotsActionsTest-Snapshot-422049681"}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-203ff371-d238-473c-a2a2-3a7e41fac842', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-203ff371-d238-473c-a2a2-3a7e41fac842', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.321804", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}}}' 2021-11-24 11:16:00,696 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.027s 2021-11-24 11:16:00,696 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cd728a74-a9df-44e3-99e3-d957b6720d3c', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cd728a74-a9df-44e3-99e3-d957b6720d3c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:16:01,724 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.023s 2021-11-24 11:16:01,724 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c6c4051f-032c-4d65-8cb2-3e3eebe9ae63', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c6c4051f-032c-4d65-8cb2-3e3eebe9ae63', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:16:02,750 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.023s 2021-11-24 11:16:02,751 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b80f0ed6-badd-401a-8257-097fc7ac243c', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b80f0ed6-badd-401a-8257-097fc7ac243c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:16:03,781 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.026s 2021-11-24 11:16:03,782 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ac537f63-1950-45c3-96e1-6880d53af1bb', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ac537f63-1950-45c3-96e1-6880d53af1bb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-11-24 11:16:04,807 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.021s 2021-11-24 11:16:04,808 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4ef27bb6-773e-4525-8a2f-20b6d7166fe5', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-4ef27bb6-773e-4525-8a2f-20b6d7166fe5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": "2021-11-24T11:16:04.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:16:04,810 117417 INFO [tempest.common.waiters] snapshot f37e048a-4b31-4119-a706-f69b510ad3ff reached available after waiting for 4.810600 seconds 2021-11-24 11:16:04,929 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff/action 0.119s 2021-11-24 11:16:04,930 117417 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, 24 Nov 2021 11:16:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-3539b24a-81da-4dec-add0-628a5761cb26', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3539b24a-81da-4dec-add0-628a5761cb26', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff/action'} Body: b'' 2021-11-24 11:16:04,951 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.020s 2021-11-24 11:16:04,951 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e87a5586-7dff-4d71-8499-13529742e06c', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e87a5586-7dff-4d71-8499-13529742e06c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": "2021-11-24T11:16:05.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:16:04,960 117417 INFO [tempest.common.waiters] snapshot f37e048a-4b31-4119-a706-f69b510ad3ff reached error_deleting after waiting for 0.960018 seconds 2021-11-24 11:16:05,095 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff/action 0.135s 2021-11-24 11:16:05,096 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'C ontent-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-50877707-4272-4219-a97b-a87df2dfffef', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-50877707-4272-4219-a97b-a87df2dfffef', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff/action'} Body: b'' 2021-11-24 11:16:05,120 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.023s 2021-11-24 11:16:05,120 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a2863852-7700-4827-a150-c348e99aa9d9', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a2863852-7700-4827-a150-c348e99aa9d9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"snapshot": {"id": "f37e048a-4b31-4119-a706-f69b510ad3ff", "created_at": "2021-11-24T11:16:00.000000", "updated_at": "2021-11-24T11:16:05.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-422049681", "description": null, "volume_id": "5e887e91-0b1c-4324-adbb-3f3ce1b11ab9", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "41b3f97059424cc984df2719bfa86457", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-11-24 11:16:06,142 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff 0.017s 2021-11-24 11:16:06,142 117417 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 24 Nov 2021 11:16:06 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-9bb91b9a-2b83-4d9a-b3b8-1f4a3ca88d0c', 'x-openstack-request-id': 'req-9bb91b9a-2b83-4d9a-b3b8-1f4a3ca88d0c', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.76/volume/v3/41b3f97059424cc984df2719bfa86457/snapshots/f37e048a-4b31-4119-a706-f69b510ad3ff'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot f37e048a-4b31-4119-a706-f69b510ad3ff could not be found."}}' 2021-11-24 11:16:06,178 117417 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action 0.034s 2021-11-24 11:16:06,178 117417 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, 24 Nov 2021 11:16:06 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-d17c896e-4214-453b-9b51-fc0307a4314a', 'x-openstack-request-id': 'req-d17c896e-4214-453b-9b51-fc0307a4314a', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.76/volume/v3/7215c04a378b44c4828b2105d73b6cc8/snapshots/2a30f2b9-3d8d-4925-a690-b4428d2e88ef/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 232 tests in 1053.9289 sec. - Passed: 218 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 2682.9561 sec. ============== Worker Balance ============== - Worker 0 (21 tests) => 0:17:19.139385 - Worker 1 (15 tests) => 0:02:16.385884 - Worker 2 (25 tests) => 0:05:35.318564 - Worker 3 (21 tests) => 0:02:18.017233 - Worker 4 (44 tests) => 0:05:31.885976 - Worker 5 (55 tests) => 0:01:53.157887 - Worker 6 (38 tests) => 0:10:32.288181 - Worker 7 (13 tests) => 0:09:29.581922 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