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.1,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.0,bcrypt==3.2.0,beautifulsoup4==4.9.3,blinker==1.4,boto3==1.18.33,botocore==1.21.33,cachetools==4.2.2,castellan==3.9.1,certifi==2021.5.30,cffi==1.14.6,chardet==3.0.4,charset-normalizer==2.0.4,-e git+http://10.106.1.39/p/openstack/cinder@03c938cda550025fbb5b98badbd1df81b5178d40#egg=cinder,click==8.0.1,cliff==3.9.0,cmd2==2.1.2,colorama==0.4.4,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==3.4.8,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.3.0,decorator==5.0.9,defusedxml==0.7.1,distlib==0.3.2,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==1.16.0,dogpile.cache==1.1.4,elementpath==2.2.3,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.31.1,extras==1.0.0,fasteners==0.14.1,filelock==3.0.12,fixtures==3.0.0,Flask==2.0.1,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.0,-e git+https://opendev.org/openstack/glance@ba9a2f14a081e13e432256c2342dbe7a2b87c459#egg=glance,glance-store==2.7.0,google-api-core==2.0.1,google-api-python-client==2.19.0,google-auth==2.0.2,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.1,grpcio==1.39.0,httplib2==0.19.1,hyperlink==19.0.0,idna==3.2,importlib-metadata==1.5.0,importlib-resources==5.2.2,incremental==16.10.1,iso8601==0.1.16,itsdangerous==2.0.1,Jinja2==3.0.1,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.1,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@cf5f1e5651052be52f17beeb400ac433303a9602#egg=keystone,keystoneauth1==4.3.1,keystonemiddleware==9.3.0,kombu==5.1.0,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.3,Mako==1.1.5,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@2329562d274b953851603f09f59b140b21a898b4#egg=networking_hyperv,networkx==2.6.2,-e git+https://opendev.org/openstack/neutron@b04d4054875ed21fdbbc6f416b94960236e16c03#egg=neutron,neutron-lib==2.15.0,-e git+https://opendev.org/openstack/nova@402fe188b4e7ff76109e8a5ea1f24a5e915eaa09#egg=nova,numpy==1.21.2,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@8b000867ca50ca99877fe8819785918aa6f58764#egg=openstack_placement,openstacksdk==0.59.0,os-brick==5.0.0,os-client-config==2.1.0,os-ken==2.1.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.0,os-traits==2.6.0,os-vif==2.6.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.1.1,oslo.cache==2.8.1,oslo.concurrency==4.4.0,oslo.config==8.7.1,oslo.context==3.3.1,oslo.db==10.0.0,oslo.i18n==5.1.0,oslo.limit==1.4.0,oslo.log==4.6.0,oslo.messaging==12.9.1,oslo.metrics==0.3.0,oslo.middleware==4.4.0,oslo.policy==3.8.2,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.6.0,oslo.upgradecheck==1.4.0,oslo.utils==4.10.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.9.1,osprofiler==3.4.2,ovs==2.13.3,ovsdbapp==1.12.0,packaging==21.0,paramiko==2.7.2,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.6.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.3.0,pluggy==1.0.0,prettytable==0.7.2,prometheus-client==0.11.0,protobuf==3.17.3,psutil==5.8.0,py==1.10.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.20,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.1.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==20.0.1,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,pyroute2==0.6.4,pyroute2.core==0.6.4,pyroute2.ethtool==0.6.4,pyroute2.ipdb==0.6.4,pyroute2.ipset==0.6.4,pyroute2.ndb==0.6.4,pyroute2.nftables==0.6.4,pyroute2.nslink==0.6.4,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.1.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.2.0,python-memcached==1.59,python-neutronclient==7.6.0,python-novaclient==17.6.0,python-openstackclient==5.6.0,python-subunit==1.4.0,python-swiftclient==3.12.0,pytz==2021.1,pyudev==0.22.0,PyYAML==5.4.1,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.5,six==1.16.0,sortedcontainers==2.1.0,sos==4.1,soupsieve==2.2.1,SQLAlchemy==1.4.23,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.0,stevedore==3.4.0,suds-jurko==0.6,-e git+https://opendev.org/openstack/swift@fb0293538020e2611048ffc00fd1e7f67eb42c73#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@ad2c3009aed4334a0752679bf984f6c9cea49171#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.9.0,tox==3.24.3,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==3.0.1,urllib3==1.26.6,urwid==2.0.1,vine==5.0.0,virtualenv==20.7.2,voluptuous==0.12.1,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.1,wrapt==1.12.1,WSME==0.11.0,xattr==0.9.7,xmlschema==1.7.0,yappi==1.3.2,zipp==3.5.0,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {7} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [1.082377s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.014445s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.012434s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.515884s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.016444s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.020960s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.286342s] ... ok {6} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [1.172187s] ... ok {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [1.022752s] ... ok {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.246474s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.110660s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.105272s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.317121s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.112792s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.391315s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.197447s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [1.427902s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.044894s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.057097s] ... ok {1} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [14.606743s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [6.255679s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [4.003871s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [7.568664s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.160492s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [2.277829s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [24.709627s] ... ok {1} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [2.385523s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [1.161839s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.406055s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.323825s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.034012s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.026094s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.346726s] ... ok {1} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show [0.769671s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [14.420981s] ... ok {6} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.677979s] ... ok {4} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [3.183418s] ... ok {6} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.764595s] ... ok {6} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.868674s] ... ok {4} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [1.702333s] ... ok {3} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.121625s] ... ok {3} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.027084s] ... ok {3} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.130844s] ... ok {3} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [3.154500s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [13.437635s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [29.266736s] ... ok {3} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [4.576133s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [7.060321s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [13.764677s] ... ok {6} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [3.417420s] ... ok {3} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.011467s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [3.547077s] ... ok {3} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.128235s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [16.424120s] ... ok {2} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [70.955388s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.695759s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [3.311554s] ... ok {5} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [77.579627s] ... ok {0} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [3.934193s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [5.226336s] ... ok {1} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [3.918789s] ... ok {6} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.058730s] ... ok {3} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [7.852583s] ... ok {1} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [2.409029s] ... ok {0} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {3} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [4.110552s] ... ok {1} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.157506s] ... ok {1} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.072910s] ... ok {1} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.532866s] ... ok {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.561965s] ... ok {1} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [5.194802s] ... ok {1} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.018464s] ... ok {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [5.844560s] ... 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-09-07 04:34:31,713 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots 0.307s 2021-09-07 04:34:31,713 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-77e64a0e-4513-49b9-b4a8-af0633a26c4b', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-77e64a0e-4513-49b9-b4a8-af0633a26c4b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:31.526448", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:34:31,771 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.055s 2021-09-07 04:34:31,774 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7f24b90e-5f34-49f3-9a7b-9b00f6e86ba3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7f24b90e-5f34-49f3-9a7b-9b00f6e86ba3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:32,798 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.021s 2021-09-07 04:34:32,799 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bd6818ce-30e5-4478-a679-3bfe4ee7689a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bd6818ce-30e5-4478-a679-3bfe4ee7689a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:33,824 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.021s 2021-09-07 04:34:33,824 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-27ea6681-879f-45fd-856b-768d62a8cabd', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-27ea6681-879f-45fd-856b-768d62a8cabd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:34,848 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.020s 2021-09-07 04:34:34,849 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b7b7ff81-1814-47f3-82ca-be452ec0afff', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b7b7ff81-1814-47f3-82ca-be452ec0afff', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:35,875 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.022s 2021-09-07 04:34:35,875 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cfb17903-f3da-43ba-b59e-18b663fba2e6', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-cfb17903-f3da-43ba-b59e-18b663fba2e6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": "2021-09-07T04:34:36.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:35,878 115905 INFO [tempest.common.waiters] snapshot de4901c2-6fdf-4010-b945-7c1949bb03dd reached available after waiting for 4.878785 seconds 2021-09-07 04:34:36,005 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd/action 0.126s 2021-09-07 04:34:36,005 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-0c164be2-00a8-4b72-af08-e993d9b18067', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0c164be2-00a8-4b72-af08-e993d9b18067', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd/action'} Body: b'' 2021-09-07 04:34:36,027 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.021s 2021-09-07 04:34:36,027 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f2b56115-1be3-4ead-8d00-388ae274bf13', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f2b56115-1be3-4ead-8d00-388ae274bf13', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": "2021-09-07T04:34:36.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:36,030 115905 INFO [tempest.common.waiters] snapshot de4901c2-6fdf-4010-b945-7c1949bb03dd reached creating after waiting for 0.030515 seconds 2021-09-07 04:34:36,146 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd/action 0.115s 2021-09-07 04:34:36,146 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2a7f728d-76c1-409c-930c-edb08105507f', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2a7f728d-76c1-409c-930c-edb08105507f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd/action'} Body: b'' 2021-09-07 04:34:36,168 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.021s 2021-09-07 04:34:36,168 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-949656eb-6809-49da-aca2-f2495411998e', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-949656eb-6809-49da-aca2-f2495411998e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": "2021-09-07T04:34:36.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:37,190 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.018s 2021-09-07 04:34:37,190 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:37 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-6769fae3-76f3-483f-a3d0-b1491c1a6418', 'x-openstack-request-id': 'req-6769fae3-76f3-483f-a3d0-b1491c1a6418', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot de4901c2-6fdf-4010-b945-7c1949bb03dd could not be found."}}' 2021-09-07 04:34:37,247 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action 0.056s 2021-09-07 04:34:37,247 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:37 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-026118f4-a7b4-4812-9b43-8 20552458c07', 'x-openstack-request-id': 'req-026118f4-a7b4-4812-9b43-820552458c07', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [7.120868s] ... 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-09-07 04:34:37,646 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots 0.394s 2021-09-07 04:34:37,646 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d8c707de-12cb-4f52-b528-794cd184625a', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d8c707de-12cb-4f52-b528-794cd184625a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.416553", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:34:37,679 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.028s 2021-09-07 04:34:37,679 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f93094e3-3a62-4682-a83a-a584be873133', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f93094e3-3a62-4682-a83a-a584be873133', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:38,704 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.021s 2021-09-07 04:34:38,704 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e5a57db-72ac-407f-b659-e2dc917e5d03', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e5a57db-72ac-407f-b659-e2dc917e5d03', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:39,729 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.021s 2021-09-07 04:34:39,729 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e4163d9-e5af-4e57-ba40-f0f6587c9890', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e4163d9-e5af-4e57-ba40-f0f6587c9890', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:40,756 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.023s 2021-09-07 04:34:40,757 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bacaca39-2805-42cc-950a-c9512f68e637', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bacaca39-2805-42cc-950a-c9512f68e637', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:41,782 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.021s 2021-09-07 04:34:41,782 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8fc4c065-088e-4484-b908-1a7d6edeffc3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-8fc4c065-088e-4484-b908-1a7d6edeffc3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:42,807 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.020s 2021-09-07 04:34:42,808 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a85a852d-2013-4b83-a511-f3e6a083c8cb', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a85a852d-2013-4b83-a511-f3e6a083c8cb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": "2021-09-07T04:34:42.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:42,810 115905 INFO [tempest.common.waiters] snapshot 1ef7c903-69ca-45db-ad27-9c20ccddb8e2 reached available after waiting for 5.810578 seconds 2021-09-07 04:34:42,965 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2/action 0.154s 2021-09-07 04:34:42,965 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-19af941a-87d9-4f61-8456-9f9b79f3788e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-19af941a-87d9-4f61-8456-9f9b79f3788e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2/action'} Body: b'' 2021-09-07 04:34:43,035 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.069s 2021-09-07 04:34:43,039 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute- request-id': 'req-43018fc1-404f-47ee-97ec-264a5804ddd8', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-43018fc1-404f-47ee-97ec-264a5804ddd8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": "2021-09-07T04:34:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:43,042 115905 INFO [tempest.common.waiters] snapshot 1ef7c903-69ca-45db-ad27-9c20ccddb8e2 reached deleting after waiting for 0.042410 seconds 2021-09-07 04:34:43,089 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2/action 0.047s 2021-09-07 04:34:43,090 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8fec40d7-d974-4077-a9bf-d39f0d1feeea', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8fec40d7-d974-4077-a9bf-d39f0d1feeea', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2/action'} Body: b'' 2021-09-07 04:34:43,320 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.230s 2021-09-07 04:34:43,321 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7d7ae50e-a38e-41e8-93fb-fe4f73388816', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7d7ae50e-a38e-41e8-93fb-fe4f73388816', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": "2021-09-07T04:34:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:44,341 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.017s 2021-09-07 04:34:44,342 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Toke n': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:44 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-d6526ec8-c7ce-4ba0-a495-96810480a405', 'x-openstack-request-id': 'req-d6526ec8-c7ce-4ba0-a495-96810480a405', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 1ef7c903-69ca-45db-ad27-9c20ccddb8e2 could not be found."}}' 2021-09-07 04:34:44,370 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action 0.027s 2021-09-07 04:34:44,371 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:44 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-99c3c358-9d6a-40d3-95f9-f50efe173ae0', 'x-openstack-request-id': 'req-99c3c358-9d6a-40d3-95f9-f50efe173ae0', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {1} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.553490s] ... ok {1} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.059326s] ... ok {5} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [43.119859s] ... ok {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [9.050822s] ... 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-09-07 04:34:44,810 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots 0.436s 2021-09-07 04:34:44,810 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "name": "tempest-SnapshotsActionsTest-Snapshot-294368946"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d8186160-950c-4081-b77e-23feef82d116', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d8186160-950c-4081-b77e-23feef82d116', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:44.554744", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:34:44,835 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.023s 2021-09-07 04:34:44,836 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-60f97f60-3557-4c9b-bae8-2d399dd082ea', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-60f97f60-3557-4c9b-bae8-2d399dd082ea', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:45,860 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.021s 2021-09-07 04:34:45,861 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c4e462dc-8ef8-468b-8428-62be8a871342', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c4e462dc-8ef8-468b-8428-62be8a871342', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsT est-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:46,886 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.021s 2021-09-07 04:34:46,886 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-52f0333e-8c9b-4741-909b-1cab5786fee0', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-52f0333e-8c9b-4741-909b-1cab5786fee0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:47,910 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.020s 2021-09-07 04:34:47,911 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-64bef5a0-8b07-4cce-a79b-f3ba78959a1c', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-64bef5a0-8b07-4cce-a79b-f3ba78959a1c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:48,937 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.022s 2021-09-07 04:34:48,937 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ba1c9751-9056-4be8-8e5b-003f16f400c2', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ba1c9751-9056-4be8-8 e5b-003f16f400c2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:49,962 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.021s 2021-09-07 04:34:49,962 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5797c8a7-7cc5-4623-a1c9-d64caf0d1cf9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5797c8a7-7cc5-4623-a1c9-d64caf0d1cf9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:50,990 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.025s 2021-09-07 04:34:50,990 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d1dad382-aa60-46f3-9040-81d6cc80318a', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d1dad382-aa60-46f3-9040-81d6cc80318a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:52,026 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.032s 2021-09-07 04:34:52,027 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2aa6253c-7586-4772-aa75-e029127fac97', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2aa6253c-7586-4772-aa75-e029127fac97', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": "2021-09-07T04:34:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:52,030 115905 INFO [tempest.common.waiters] snapshot 4b6b6107-a970-4320-9c19-3431f719956e reached available after waiting for 8.030518 seconds 2021-09-07 04:34:52,155 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/4b6b6107-a970-4320-9c19-3431f719956e/action 0.124s 2021-09-07 04:34:52,156 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-daed02e1-5406-4f31-b472-5dca55814854', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-daed02e1-5406-4f31-b472-5dca55814854', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/4b6b6107-a970-4320-9c19-3431f719956e/action'} Body: b'' 2021-09-07 04:34:52,215 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.059s 2021-09-07 04:34:52,216 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6c8fb4f2-d58a-4b3c-8daf-adb8f6e8c7d9', 'content-length': '461', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6c8fb4f2-d58a-4b3c-8daf-adb8f6e8c7d9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": "2021-09-07T04:34:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:52,219 115905 INFO [tempest.common.waiters] snapshot 4b6b6107-a970-4320-9c19-3431f719956e reached error after waiting for 0.219198 seconds 2021-09-07 04:34:52,326 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_de lete_when_snapshot_is_error): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/4b6b6107-a970-4320-9c19-3431f719956e/action 0.107s 2021-09-07 04:34:52,327 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-cf4cee0a-ce23-4a03-a96d-ae661008ab7a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cf4cee0a-ce23-4a03-a96d-ae661008ab7a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/4b6b6107-a970-4320-9c19-3431f719956e/action'} Body: b'' 2021-09-07 04:34:52,368 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.041s 2021-09-07 04:34:52,368 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ba8218b0-5935-4647-acb8-e115034348a9', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ba8218b0-5935-4647-acb8-e115034348a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": "2021-09-07T04:34:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:53,389 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.017s 2021-09-07 04:34:53,390 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:53 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-064914a8-b841-4eca-a290-b98ac2223705', 'x-openstack-request-id': 'req-064914a8-b841-4eca-a290-b98ac2223705', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 4b6b6107-a970-4320-9c19-3431f719956e could not be found."}}' 2021-09-07 04:34:53,423 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action 0.032s 2021-09-07 04:34:53,423 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:53 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-58843547-7804-41a3-b4ee-41b01e3f8a7c', 'x-openstack-request-id': 'req-58843547-7804-41a3-b4ee-41b01e3f8a7c', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [7.063556s] ... 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-09-07 04:34:53,885 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots 0.459s 2021-09-07 04:34:53,885 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "name": "tempest-SnapshotsActionsTest-Snapshot-979357158"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-21d6ffd6-313b-4170-935f-0e8966df86c0', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-21d6ffd6-313b-4170-935f-0e8966df86c0', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:53.610049", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:34:53,911 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.022s 2021-09-07 04:34:53,912 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f436b03d-401b-4f87-a18a-c07a43ed3f02', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f436b03d-401b-4f87-a18a-c07a43ed3f02', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:54,936 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.021s 2021-09-07 04:34:54,937 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-421312d6-bdc2-47c8-b2e1-3dedb030cdb6', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-421312d6-bdc2-47c8-b2e1-3dedb030cdb6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:55,961 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.020s 2021-09-07 04:34:55,961 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-48c067d2-cf22-4438-9774-430fda3e780d', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-48c067d2-cf22-4438-9774-430fda3e780d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:57,002 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.037s 2021-09-07 04:34:57,002 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-40d52d5e-862d-4336-8732-86594cacd574', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-40d52d5e-862d-4336-8732-86594cacd574', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:58,048 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.042s 2021-09-07 04:34:58,049 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29e4fb2d-717e-46d9-86a7-bf80a08e9398', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-29e4fb2d-717e-46d9-86a7-bf80a08e9398', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:59,073 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.021s 2021-09-07 04:34:59,074 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7ca56860-7630-42e9-8f38-39fa4f08d114', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7ca56860-7630-42e9-8f38-39fa4f08d114', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": "2021-09-07T04:34:58.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:59,077 115905 INFO [tempest.common.waiters] snapshot 40ad3216-3ec0-408c-8ff8-1fe269777885 reached available after waiting for 6.077340 seconds 2021-09-07 04:34:59,194 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885/action 0.117s 2021-09-07 04:34:59,194 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c9f991e2-5e6c-436a-b8fe-f4f3d6f22a05', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c9f991e2-5e6c-436a-b8fe-f4f3d6f22a05', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885/action'} Body: b'' 2021-09-07 04:34:59,218 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.023s 2021-09-07 04:34:59,218 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubunt u)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29c87968-5876-4a21-b066-1c0d125bfb27', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-29c87968-5876-4a21-b066-1c0d125bfb27', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": "2021-09-07T04:34:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:59,221 115905 INFO [tempest.common.waiters] snapshot 40ad3216-3ec0-408c-8ff8-1fe269777885 reached error_deleting after waiting for 0.221008 seconds 2021-09-07 04:34:59,388 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885/action 0.167s 2021-09-07 04:34:59,389 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-18c1c08b-a91a-456d-abf4-e3c031030454', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-18c1c08b-a91a-456d-abf4-e3c031030454', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885/action'} Body: b'' 2021-09-07 04:34:59,435 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.045s 2021-09-07 04:34:59,435 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-70c07ce4-7181-49c4-aab2-6062f6258633', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-70c07ce4-7181-49c4-aab2-6062f6258633', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": "2021-09-07T04:34:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:35:00,460 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.021s 2021-09-07 04:35:00,460 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:35: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-f48a6481-27a5-4322-aa34-92c56c89afd2', 'x-openstack-request-id': 'req-f48a6481-27a5-4322-aa34-92c56c89afd2', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 40ad3216-3ec0-408c-8ff8-1fe269777885 could not be found."}}' 2021-09-07 04:35:00,488 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action 0.027s 2021-09-07 04:35:00,488 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:35: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-d7eacbfc-3440-4756-8ee3-b0afe751f6f6', 'x-openstack-request-id': 'req-d7eacbfc-3440-4756-8ee3-b0afe751f6f6', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.498289s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.011583s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.011244s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.063119s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.015943s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.023508s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.016355s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.017083s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.012563s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.011699s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.028793s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.030019s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.027311s] ... ok {1} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {0} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.129262s] ... ok {4} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.371142s] ... ok {6} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [53.244222s] ... ok {0} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.797323s] ... ok {0} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [1.109411s] ... ok {6} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [19.055438s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.032780s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.070164s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.028831s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.075321s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.039643s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.040951s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.027180s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.043746s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.038369s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.047284s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.046423s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.118527s] ... ok {4} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.078092s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.080807s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.091975s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.094975s] ... ok {3} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [79.570936s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.411125s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.195387s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.417699s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.073868s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.100471s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.100811s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.091090s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.093810s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.105072s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.191362s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.152992s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.166745s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.084122s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.085263s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.087269s] ... ok {5} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [55.781784s] ... ok {3} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [8.473210s] ... ok {0} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {2} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [33.409504s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.273738s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [30.891794s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [11.738386s] ... 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. {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [2.202872s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.010347s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.018719s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.021107s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.020845s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.010855s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.010096s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.012990s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.024478s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008474s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.022054s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.027342s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.008583s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.075362s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.095020s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.063748s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.237909s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.343557s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.021860s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.020507s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.008346s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.022508s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.022780s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.022116s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.010233s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.013472s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.021369s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.012331s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.021577s] ... ok {6} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.020685s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [3.934541s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.202749s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.563000s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.047568s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.242157s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.249199s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.168711s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.493518s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.131881s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.263486s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.012493s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.020104s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.017289s] ... ok {2} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [59.407879s] ... ok {5} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.108889s] ... ok {5} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {5} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.861821s] ... ok {7} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [262.073002s] ... ok {0} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [142.686728s] ... ok {7} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [161.989423s] ... ok {7} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [1.962736s] ... ok {7} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.013663s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.023346s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.020650s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.021185s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.020294s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [180.951525s] ... ok {7} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [13.738747s] ... ok {7} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [9.335810s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [5.149587s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [3.582767s] ... ok {7} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {4} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [300.875916s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [88.514561s] ... ok {2} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.116104s] ... ok {2} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.750279s] ... ok {2} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.406452s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [18.278703s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [18.974465s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.372287s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.342607s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.370588s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [22.265102s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [6.470383s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [10.999349s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [22.236865s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [62.160998s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [5.861128s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [44.258395s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [9.550202s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [9.359599s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.113743s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.055121s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.011795s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.020404s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.012889s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [6.510066s] ... ok {4} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [433.975503s] ... 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-09-07 04:34:31,713 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots 0.307s 2021-09-07 04:34:31,713 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-77e64a0e-4513-49b9-b4a8-af0633a26c4b', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-77e64a0e-4513-49b9-b4a8-af0633a26c4b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:31.526448", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:34:31,771 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.055s 2021-09-07 04:34:31,774 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7f24b90e-5f34-49f3-9a7b-9b00f6e86ba3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7f24b90e-5f34-49f3-9a7b-9b00f6e86ba3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:32,798 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.021s 2021-09-07 04:34:32,799 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bd6818ce-30e5-4478-a679-3bfe4ee7689a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bd6818ce-30e5-4478-a679-3bfe4ee7689a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:33,824 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.021s 2021-09-07 04:34:33,824 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-27ea6681-879f-45fd-856b-768d62a8cabd', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-27ea6681-879f-45fd-856b-768d62a8cabd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:34,848 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.020s 2021-09-07 04:34:34,849 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b7b7ff81-1814-47f3-82ca-be452ec0afff', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b7b7ff81-1814-47f3-82ca-be452ec0afff', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:35,875 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.022s 2021-09-07 04:34:35,875 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cfb17903-f3da-43ba-b59e-18b663fba2e6', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-cfb17903-f3da-43ba-b59e-18b663fba2e6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": "2021-09-07T04:34:36.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:35,878 115905 INFO [tempest.common.waiters] snapshot de4901c2-6fdf-4010-b945-7c1949bb03dd reached available after waiting for 4.878785 seconds 2021-09-07 04:34:36,005 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd/action 0.126s 2021-09-07 04:34:36,005 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-0c164be2-00a8-4b72-af08-e993d9b18067', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0c164be2-00a8-4b72-af08-e993d9b18067', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd/action'} Body: b'' 2021-09-07 04:34:36,027 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.021s 2021-09-07 04:34:36,027 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f2b56115-1be3-4ead-8d00-388ae274bf13', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f2b56115-1be3-4ead-8d00-388ae274bf13', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": "2021-09-07T04:34:36.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:36,030 115905 INFO [tempest.common.waiters] snapshot de4901c2-6fdf-4010-b945-7c1949bb03dd reached creating after waiting for 0.030515 seconds 2021-09-07 04:34:36,146 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd/action 0.115s 2021-09-07 04:34:36,146 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2a7f728d-76c1-409c-930c-edb08105507f', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2a7f728d-76c1-409c-930c-edb08105507f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd/action'} Body: b'' 2021-09-07 04:34:36,168 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.021s 2021-09-07 04:34:36,168 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-949656eb-6809-49da-aca2-f2495411998e', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-949656eb-6809-49da-aca2-f2495411998e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"snapshot": {"id": "de4901c2-6fdf-4010-b945-7c1949bb03dd", "created_at": "2021-09-07T04:34:32.000000", "updated_at": "2021-09-07T04:34:36.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1208478544", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:37,190 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd 0.018s 2021-09-07 04:34:37,190 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:37 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-6769fae3-76f3-483f-a3d0-b1491c1a6418', 'x-openstack-request-id': 'req-6769fae3-76f3-483f-a3d0-b1491c1a6418', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/de4901c2-6fdf-4010-b945-7c1949bb03dd'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot de4901c2-6fdf-4010-b945-7c1949bb03dd could not be found."}}' 2021-09-07 04:34:37,247 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action 0.056s 2021-09-07 04:34:37,247 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:37 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-026118f4-a7b4-4812-9b43-8 20552458c07', 'x-openstack-request-id': 'req-026118f4-a7b4-4812-9b43-820552458c07', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/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-09-07 04:34:37,646 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots 0.394s 2021-09-07 04:34:37,646 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d8c707de-12cb-4f52-b528-794cd184625a', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d8c707de-12cb-4f52-b528-794cd184625a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.416553", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:34:37,679 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.028s 2021-09-07 04:34:37,679 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f93094e3-3a62-4682-a83a-a584be873133', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f93094e3-3a62-4682-a83a-a584be873133', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:38,704 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.021s 2021-09-07 04:34:38,704 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e5a57db-72ac-407f-b659-e2dc917e5d03', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e5a57db-72ac-407f-b659-e2dc917e5d03', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:39,729 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.021s 2021-09-07 04:34:39,729 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e4163d9-e5af-4e57-ba40-f0f6587c9890', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e4163d9-e5af-4e57-ba40-f0f6587c9890', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:40,756 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.023s 2021-09-07 04:34:40,757 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bacaca39-2805-42cc-950a-c9512f68e637', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bacaca39-2805-42cc-950a-c9512f68e637', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:41,782 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.021s 2021-09-07 04:34:41,782 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8fc4c065-088e-4484-b908-1a7d6edeffc3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-8fc4c065-088e-4484-b908-1a7d6edeffc3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:42,807 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.020s 2021-09-07 04:34:42,808 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a85a852d-2013-4b83-a511-f3e6a083c8cb', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a85a852d-2013-4b83-a511-f3e6a083c8cb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": "2021-09-07T04:34:42.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:42,810 115905 INFO [tempest.common.waiters] snapshot 1ef7c903-69ca-45db-ad27-9c20ccddb8e2 reached available after waiting for 5.810578 seconds 2021-09-07 04:34:42,965 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2/action 0.154s 2021-09-07 04:34:42,965 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-19af941a-87d9-4f61-8456-9f9b79f3788e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-19af941a-87d9-4f61-8456-9f9b79f3788e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2/action'} Body: b'' 2021-09-07 04:34:43,035 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.069s 2021-09-07 04:34:43,039 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute- request-id': 'req-43018fc1-404f-47ee-97ec-264a5804ddd8', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-43018fc1-404f-47ee-97ec-264a5804ddd8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": "2021-09-07T04:34:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:43,042 115905 INFO [tempest.common.waiters] snapshot 1ef7c903-69ca-45db-ad27-9c20ccddb8e2 reached deleting after waiting for 0.042410 seconds 2021-09-07 04:34:43,089 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2/action 0.047s 2021-09-07 04:34:43,090 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8fec40d7-d974-4077-a9bf-d39f0d1feeea', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8fec40d7-d974-4077-a9bf-d39f0d1feeea', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2/action'} Body: b'' 2021-09-07 04:34:43,320 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.230s 2021-09-07 04:34:43,321 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7d7ae50e-a38e-41e8-93fb-fe4f73388816', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7d7ae50e-a38e-41e8-93fb-fe4f73388816', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"snapshot": {"id": "1ef7c903-69ca-45db-ad27-9c20ccddb8e2", "created_at": "2021-09-07T04:34:37.000000", "updated_at": "2021-09-07T04:34:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2134484502", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:44,341 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2 0.017s 2021-09-07 04:34:44,342 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Toke n': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:44 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-d6526ec8-c7ce-4ba0-a495-96810480a405', 'x-openstack-request-id': 'req-d6526ec8-c7ce-4ba0-a495-96810480a405', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/1ef7c903-69ca-45db-ad27-9c20ccddb8e2'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 1ef7c903-69ca-45db-ad27-9c20ccddb8e2 could not be found."}}' 2021-09-07 04:34:44,370 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action 0.027s 2021-09-07 04:34:44,371 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:44 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-99c3c358-9d6a-40d3-95f9-f50efe173ae0', 'x-openstack-request-id': 'req-99c3c358-9d6a-40d3-95f9-f50efe173ae0', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/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-09-07 04:34:44,810 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots 0.436s 2021-09-07 04:34:44,810 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "name": "tempest-SnapshotsActionsTest-Snapshot-294368946"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d8186160-950c-4081-b77e-23feef82d116', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d8186160-950c-4081-b77e-23feef82d116', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:44.554744", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:34:44,835 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.023s 2021-09-07 04:34:44,836 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-60f97f60-3557-4c9b-bae8-2d399dd082ea', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-60f97f60-3557-4c9b-bae8-2d399dd082ea', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:45,860 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.021s 2021-09-07 04:34:45,861 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c4e462dc-8ef8-468b-8428-62be8a871342', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c4e462dc-8ef8-468b-8428-62be8a871342', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsT est-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:46,886 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.021s 2021-09-07 04:34:46,886 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-52f0333e-8c9b-4741-909b-1cab5786fee0', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-52f0333e-8c9b-4741-909b-1cab5786fee0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:47,910 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.020s 2021-09-07 04:34:47,911 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-64bef5a0-8b07-4cce-a79b-f3ba78959a1c', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-64bef5a0-8b07-4cce-a79b-f3ba78959a1c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:48,937 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.022s 2021-09-07 04:34:48,937 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ba1c9751-9056-4be8-8e5b-003f16f400c2', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ba1c9751-9056-4be8-8 e5b-003f16f400c2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:49,962 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.021s 2021-09-07 04:34:49,962 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5797c8a7-7cc5-4623-a1c9-d64caf0d1cf9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5797c8a7-7cc5-4623-a1c9-d64caf0d1cf9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:50,990 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.025s 2021-09-07 04:34:50,990 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d1dad382-aa60-46f3-9040-81d6cc80318a', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d1dad382-aa60-46f3-9040-81d6cc80318a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:52,026 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.032s 2021-09-07 04:34:52,027 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2aa6253c-7586-4772-aa75-e029127fac97', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2aa6253c-7586-4772-aa75-e029127fac97', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": "2021-09-07T04:34:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:52,030 115905 INFO [tempest.common.waiters] snapshot 4b6b6107-a970-4320-9c19-3431f719956e reached available after waiting for 8.030518 seconds 2021-09-07 04:34:52,155 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/4b6b6107-a970-4320-9c19-3431f719956e/action 0.124s 2021-09-07 04:34:52,156 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-daed02e1-5406-4f31-b472-5dca55814854', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-daed02e1-5406-4f31-b472-5dca55814854', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/4b6b6107-a970-4320-9c19-3431f719956e/action'} Body: b'' 2021-09-07 04:34:52,215 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.059s 2021-09-07 04:34:52,216 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6c8fb4f2-d58a-4b3c-8daf-adb8f6e8c7d9', 'content-length': '461', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6c8fb4f2-d58a-4b3c-8daf-adb8f6e8c7d9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": "2021-09-07T04:34:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:52,219 115905 INFO [tempest.common.waiters] snapshot 4b6b6107-a970-4320-9c19-3431f719956e reached error after waiting for 0.219198 seconds 2021-09-07 04:34:52,326 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_de lete_when_snapshot_is_error): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/4b6b6107-a970-4320-9c19-3431f719956e/action 0.107s 2021-09-07 04:34:52,327 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-cf4cee0a-ce23-4a03-a96d-ae661008ab7a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cf4cee0a-ce23-4a03-a96d-ae661008ab7a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/4b6b6107-a970-4320-9c19-3431f719956e/action'} Body: b'' 2021-09-07 04:34:52,368 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.041s 2021-09-07 04:34:52,368 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ba8218b0-5935-4647-acb8-e115034348a9', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ba8218b0-5935-4647-acb8-e115034348a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"snapshot": {"id": "4b6b6107-a970-4320-9c19-3431f719956e", "created_at": "2021-09-07T04:34:45.000000", "updated_at": "2021-09-07T04:34:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-294368946", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:53,389 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e 0.017s 2021-09-07 04:34:53,390 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:53 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-064914a8-b841-4eca-a290-b98ac2223705', 'x-openstack-request-id': 'req-064914a8-b841-4eca-a290-b98ac2223705', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/4b6b6107-a970-4320-9c19-3431f719956e'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 4b6b6107-a970-4320-9c19-3431f719956e could not be found."}}' 2021-09-07 04:34:53,423 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action 0.032s 2021-09-07 04:34:53,423 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:53 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-58843547-7804-41a3-b4ee-41b01e3f8a7c', 'x-openstack-request-id': 'req-58843547-7804-41a3-b4ee-41b01e3f8a7c', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/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-09-07 04:34:53,885 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots 0.459s 2021-09-07 04:34:53,885 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "name": "tempest-SnapshotsActionsTest-Snapshot-979357158"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-21d6ffd6-313b-4170-935f-0e8966df86c0', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-21d6ffd6-313b-4170-935f-0e8966df86c0', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:53.610049", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:34:53,911 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.022s 2021-09-07 04:34:53,912 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f436b03d-401b-4f87-a18a-c07a43ed3f02', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f436b03d-401b-4f87-a18a-c07a43ed3f02', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:54,936 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.021s 2021-09-07 04:34:54,937 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-421312d6-bdc2-47c8-b2e1-3dedb030cdb6', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-421312d6-bdc2-47c8-b2e1-3dedb030cdb6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:55,961 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.020s 2021-09-07 04:34:55,961 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-48c067d2-cf22-4438-9774-430fda3e780d', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-48c067d2-cf22-4438-9774-430fda3e780d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:57,002 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.037s 2021-09-07 04:34:57,002 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-40d52d5e-862d-4336-8732-86594cacd574', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-40d52d5e-862d-4336-8732-86594cacd574', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:58,048 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.042s 2021-09-07 04:34:58,049 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29e4fb2d-717e-46d9-86a7-bf80a08e9398', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-29e4fb2d-717e-46d9-86a7-bf80a08e9398', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:34:59,073 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.021s 2021-09-07 04:34:59,074 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7ca56860-7630-42e9-8f38-39fa4f08d114', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7ca56860-7630-42e9-8f38-39fa4f08d114', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": "2021-09-07T04:34:58.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:59,077 115905 INFO [tempest.common.waiters] snapshot 40ad3216-3ec0-408c-8ff8-1fe269777885 reached available after waiting for 6.077340 seconds 2021-09-07 04:34:59,194 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885/action 0.117s 2021-09-07 04:34:59,194 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c9f991e2-5e6c-436a-b8fe-f4f3d6f22a05', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c9f991e2-5e6c-436a-b8fe-f4f3d6f22a05', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885/action'} Body: b'' 2021-09-07 04:34:59,218 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.023s 2021-09-07 04:34:59,218 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubunt u)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29c87968-5876-4a21-b066-1c0d125bfb27', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-29c87968-5876-4a21-b066-1c0d125bfb27', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": "2021-09-07T04:34:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:34:59,221 115905 INFO [tempest.common.waiters] snapshot 40ad3216-3ec0-408c-8ff8-1fe269777885 reached error_deleting after waiting for 0.221008 seconds 2021-09-07 04:34:59,388 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885/action 0.167s 2021-09-07 04:34:59,389 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-18c1c08b-a91a-456d-abf4-e3c031030454', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-18c1c08b-a91a-456d-abf4-e3c031030454', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885/action'} Body: b'' 2021-09-07 04:34:59,435 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.045s 2021-09-07 04:34:59,435 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:34:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-70c07ce4-7181-49c4-aab2-6062f6258633', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-70c07ce4-7181-49c4-aab2-6062f6258633', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"snapshot": {"id": "40ad3216-3ec0-408c-8ff8-1fe269777885", "created_at": "2021-09-07T04:34:54.000000", "updated_at": "2021-09-07T04:34:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-979357158", "description": null, "volume_id": "a20e26e8-f49b-4b9e-8ba6-be290f530eec", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "1b1555be978548cbb2c2f038cc4521bb", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:35:00,460 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885 0.021s 2021-09-07 04:35:00,460 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:35: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-f48a6481-27a5-4322-aa34-92c56c89afd2', 'x-openstack-request-id': 'req-f48a6481-27a5-4322-aa34-92c56c89afd2', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.55/volume/v3/1b1555be978548cbb2c2f038cc4521bb/snapshots/40ad3216-3ec0-408c-8ff8-1fe269777885'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 40ad3216-3ec0-408c-8ff8-1fe269777885 could not be found."}}' 2021-09-07 04:35:00,488 115905 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action 0.027s 2021-09-07 04:35:00,488 115905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:35: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-d7eacbfc-3440-4756-8ee3-b0afe751f6f6', 'x-openstack-request-id': 'req-d7eacbfc-3440-4756-8ee3-b0afe751f6f6', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.55/volume/v3/a31a7c5e5edb4e8e8b0bbf29dd376acc/snapshots/dc3f2421-0020-4ccc-9ce7-f343f24894f5/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 231 tests in 960.7514 sec. - Passed: 217 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 2665.7983 sec. ============== Worker Balance ============== - Worker 0 (34 tests) => 0:05:53.323588 - Worker 1 (27 tests) => 0:02:16.330804 - Worker 2 (29 tests) => 0:13:56.916440 - Worker 3 (19 tests) => 0:03:02.190714 - Worker 4 (32 tests) => 0:15:55.600335 - Worker 5 (20 tests) => 0:04:16.339653 - Worker 6 (55 tests) => 0:03:48.433470 - Worker 7 (15 tests) => 0:08:14.993928 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