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.6.5,amqp==5.0.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.3.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.16,botocore==1.21.16,cachetools==4.2.2,castellan==3.9.0,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@73ffac62d052719d877c6d596ddc3b76fff72a9a#egg=cinder,click==8.0.1,cliff==3.8.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.7,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.2.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.3,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.3.0,-e git+https://opendev.org/openstack/glance@284189222923f60bd883dd95ff0354b80850a4ce#egg=glance,glance-store==2.6.0,google-api-core==1.31.1,google-api-python-client==2.15.0,google-auth==1.34.0,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@d1c7759f487612d6069ac076ad314e572a71ed24#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.4,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@4c2cdba9d57380f770f6bc8670cc2d1464845616#egg=neutron,neutron-lib==2.13.0,-e git+https://opendev.org/openstack/nova@84b61790763f91e12eebb96d955e2f83abc00d56#egg=nova,numpy==1.21.1,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@36aba336b15a913a3d8bc3d5441fbb4c6feb38c5#egg=openstack_placement,openstacksdk==0.58.0,os-brick==4.4.0,os-client-config==2.1.0,os-ken==2.0.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.0,os-traits==2.5.0,os-vif==2.5.0,os-win==5.4.0,os-xenapi==0.3.4,osc-lib==2.4.1,osc-placement==3.0.1,oslo.cache==2.8.1,oslo.concurrency==4.4.0,oslo.config==8.7.1,oslo.context==3.3.0,oslo.db==10.0.0,oslo.i18n==5.0.1,oslo.limit==1.4.0,oslo.log==4.6.0,oslo.messaging==12.8.0,oslo.middleware==4.3.0,oslo.policy==3.8.1,oslo.privsep==2.6.0,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.1.0,oslo.service==2.6.0,oslo.upgradecheck==1.4.0,oslo.utils==4.9.2,oslo.versionedobjects==2.4.0,oslo.vmware==3.9.0,osprofiler==3.4.1,ovs==2.13.3,ovsdbapp==1.11.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.2.0,pluggy==0.13.1,prettytable==0.7.2,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.0.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.3.0,python-editor==1.0.4,python-glanceclient==3.4.0,python-keystoneclient==4.2.0,python-memcached==1.59,python-neutronclient==7.5.0,python-novaclient==17.5.0,python-openstackclient==5.5.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.3,six==1.16.0,sortedcontainers==2.1.0,sos==4.1,soupsieve==2.2.1,SQLAlchemy==1.4.22,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.0,stevedore==3.3.0,suds-jurko==0.6,-e git+https://opendev.org/openstack/swift@901d2e15b7fa7c7a923b885cd4d369d063357075#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.1,-e git+https://opendev.org/openstack/tempest@87ce9a8daca580fc933de662e96b81589a757473#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.1,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.0,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==2.0.35,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 :) {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.557514s] ... ok {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.391943s] ... ok {6} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [1.771069s] ... ok {0} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [15.927923s] ... ok {4} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [3.697643s] ... ok {4} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [3.262444s] ... ok {7} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [20.907879s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [12.000797s] ... ok {7} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.162355s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.158535s] ... ok {4} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.240211s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.978048s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.463215s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.277627s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.103917s] ... ok {7} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [2.583455s] ... ok {7} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.662103s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.025385s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.024855s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.021219s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [12.713702s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [2.271507s] ... ok {4} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.020365s] ... ok {0} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [5.249051s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.012941s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.012784s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.063449s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.017983s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.030658s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.016322s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.017764s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.011917s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.011724s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.028963s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.029843s] ... ok {4} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.110462s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.416014s] ... 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:01:47,620 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.315s 2021-08-10 08:01:47,620 108835 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, 10 Aug 2021 08:01:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d4c31075-2c5b-4789-8da0-57d6846045c4', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d4c31075-2c5b-4789-8da0-57d6846045c4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'' 2021-08-10 08:01:47,682 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614 0.061s 2021-08-10 08:01:47,682 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-040a7eca-a3b2-4829-b799-87688ba280f8', 'content-length': '463', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-040a7eca-a3b2-4829-b799-87688ba280f8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614'} Body: b'{"snapshot": {"id": "f1735c8d-a5ba-4eae-8c7b-b513b38cc614", "created_at": "2021-08-10T08:01:43.000000", "updated_at": "2021-08-10T08:01:48.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-81423418", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:47,685 108835 INFO [tempest.common.waiters] snapshot f1735c8d-a5ba-4eae-8c7b-b513b38cc614 reached creating after waiting for 0.685202 seconds 2021-08-10 08:01:47,716 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.030s 2021-08-10 08:01:47,719 108835 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, 10 Aug 2021 08:01:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-3494a864-b454-4b85-b625-20595e75c82c', 'x-openstack-request-id': 'req-3494a864-b454-4b85-b625-20595e75c82c', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {4} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {0} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [5.548334s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [10.724877s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [6.531206s] ... 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:01:48,166 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots 0.445s 2021-08-10 08:01:48,167 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "name": "tempest-SnapshotsActionsTest-Snapshot-985593134"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8c8b17f1-95eb-49d9-ab52-19a76d67cbe0', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8c8b17f1-95eb-49d9-ab52-19a76d67cbe0', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:47.952253", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 08:01:48,231 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.061s 2021-08-10 08:01:48,232 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0f8d2dcd-c3dd-4cb7-b63d-71d322f4d1d7', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0f8d2dcd-c3dd-4cb7-b63d-71d322f4d1d7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:49,256 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.021s 2021-08-10 08:01:49,257 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b419a675-e1d8-403e-a331-55f77425a4b5', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b419a675-e1d8-403e-a331-55f77425a4b5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:50,532 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.271s 2021-08-10 08:01:50,533 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a83bdb13-b060-49f4-a41b-e7c1b68306b3', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a83bdb13-b060-49f4-a41b-e7c1b68306b3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:51,597 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.060s 2021-08-10 08:01:51,597 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cd622e85-a418-41b2-acce-c06f0385ea71', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cd622e85-a418-41b2-acce-c06f0385ea71', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:52,623 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.021s 2021-08-10 08:01:52,624 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e206ff82-9142-4eba-a4d6-439148c30ace', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e2 06ff82-9142-4eba-a4d6-439148c30ace', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": "2021-08-10T08:01:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:52,626 108835 INFO [tempest.common.waiters] snapshot 7a342439-2350-47c3-bc24-e763a4f7fb21 reached available after waiting for 4.626680 seconds 2021-08-10 08:01:52,775 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21/action 0.148s 2021-08-10 08:01:52,775 108835 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, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c8038458-62b6-450c-bb27-ff8f5dd294d8', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c8038458-62b6-450c-bb27-ff8f5dd294d8', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21/action'} Body: b'' 2021-08-10 08:01:52,797 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.022s 2021-08-10 08:01:52,798 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e239bd1f-efb1-436d-8de9-a0720f73d4af', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e239bd1f-efb1-436d-8de9-a0720f73d4af', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": "2021-08-10T08:01:53.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:52,800 108835 INFO [tempest.common.waiters] snapshot 7a342439-2350-47c3-bc24-e763a4f7fb21 reached creating after waiting for 0.800929 seconds 2021-08-10 08:01:52,955 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21/action 0.154s 2021-08-10 08:01:52,955 108835 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, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-4e329122-f86f-4872-a774-e975636a7f8f', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4e329122-f86f-4872-a774-e975636a7f8f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21/action'} Body: b'' 2021-08-10 08:01:52,977 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.021s 2021-08-10 08:01:52,977 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-db5e7b72-1fc1-4a12-8170-85e9cc1ba31e', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-db5e7b72-1fc1-4a12-8170-85e9cc1ba31e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": "2021-08-10T08:01:53.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:54,212 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.231s 2021-08-10 08:01:54,212 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01: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-7bd8ce90-67fa-4745-ab69-d1830781c16f', 'x-openstack-request-id': 'req-7bd8ce90-67fa-4745-ab69-d1830781c16f', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 7a342439-2350-47c3-bc24-e763a4f7fb21 could not be found."}}' 2021-08-10 08:01:54,248 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.035s 2021-08-10 08:01:54,252 108835 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, 10 Aug 2021 08:01:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-d8a4a407-b26e-4c8d-8498-d53b377b8d 90', 'x-openstack-request-id': 'req-d8a4a407-b26e-4c8d-8498-d53b377b8d90', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.245892s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.130495s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.489634s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [7.078689s] ... ok {4} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [11.210387s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [7.380368s] ... 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:01:54,695 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots 0.440s 2021-08-10 08:01:54,695 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "name": "tempest-SnapshotsActionsTest-Snapshot-921861907"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5e987807-9f54-4f8d-a046-0abb72c2c905', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5e987807-9f54-4f8d-a046-0abb72c2c905', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.426281", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 08:01:54,720 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.023s 2021-08-10 08:01:54,721 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7caeb093-6c33-4a5f-aa41-f67e51c0b8a9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7caeb093-6c33-4a5f-aa41-f67e51c0b8a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:55,746 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.021s 2021-08-10 08:01:55,746 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ae0af9e5-2fa6-42f2-a4dc-21c08785b9ed', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ae0af9e5-2fa6-42f2-a4dc-21c08785b9ed', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:56,770 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.020s 2021-08-10 08:01:56,770 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-299a334a-fa50-46b6-87f9-13b2b6b086a9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-299a334a-fa50-46b6-87f9-13b2b6b086a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:57,793 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.020s 2021-08-10 08:01:57,794 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9c8cc485-9d69-4b6b-8e15-54cc53d6e32b', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9c8cc485-9d69-4b6b-8e15-54cc53d6e32b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:58,818 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.020s 2021-08-10 08:01:58,819 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dfaf5834-a34f-4785-8f4a-284f3114417d', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-df af5834-a34f-4785-8f4a-284f3114417d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:59,852 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.029s 2021-08-10 08:01:59,852 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f99ce37d-ead9-4791-84a4-2599950ca72a', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f99ce37d-ead9-4791-84a4-2599950ca72a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": "2021-08-10T08:01:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:59,855 108835 INFO [tempest.common.waiters] snapshot 0cbe0d4d-68f5-46f4-a515-7de5a4495e3d reached available after waiting for 5.855389 seconds 2021-08-10 08:02:00,055 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d/action 0.200s 2021-08-10 08:02:00,056 108835 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, 10 Aug 2021 08:01:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-703f97e5-9e50-4142-b000-3d4dad466ba6', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-703f97e5-9e50-4142-b000-3d4dad466ba6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d/action'} Body: b'' 2021-08-10 08:02:00,077 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.020s 2021-08-10 08:02:00,077 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request- id': 'req-f115f2c2-9466-48fe-941f-68aff363b63b', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f115f2c2-9466-48fe-941f-68aff363b63b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": "2021-08-10T08:02:00.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:00,080 108835 INFO [tempest.common.waiters] snapshot 0cbe0d4d-68f5-46f4-a515-7de5a4495e3d reached deleting after waiting for 0.080212 seconds 2021-08-10 08:02:00,150 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d/action 0.070s 2021-08-10 08:02:00,151 108835 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, 10 Aug 2021 08:02:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-19a61a4f-5e52-412f-879e-e49829090c23', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-19a61a4f-5e52-412f-879e-e49829090c23', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d/action'} Body: b'' 2021-08-10 08:02:00,177 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.026s 2021-08-10 08:02:00,178 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fdc34a0c-506d-41a3-8780-79e7ae6772b9', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fdc34a0c-506d-41a3-8780-79e7ae6772b9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": "2021-08-10T08:02:00.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:01,265 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.081s 2021-08-10 08:02:01,265 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:01 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-d4a80f44-f860-44e7-b339-264d111ec9b9', 'x-openstack-request-id': 'req-d4a80f44-f860-44e7-b339-264d111ec9b9', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 0cbe0d4d-68f5-46f4-a515-7de5a4495e3d could not be found."}}' 2021-08-10 08:02:01,633 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.367s 2021-08-10 08:02:01,633 108835 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, 10 Aug 2021 08:02:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-f3d974e3-c190-48ff-82f0-8158b0d84ed3', 'x-openstack-request-id': 'req-f3d974e3-c190-48ff-82f0-8158b0d84ed3', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {0} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.337002s] ... ok {0} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.026149s] ... ok {0} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.016730s] ... ok {0} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.014784s] ... ok {5} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [68.995318s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [9.390690s] ... 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:02:02,373 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots 0.737s 2021-08-10 08:02:02,373 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-851774fd-04d4-41b0-b1ca-be3e2726c4a1', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-851774fd-04d4-41b0-b1ca-be3e2726c4a1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.078436", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 08:02:02,400 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.023s 2021-08-10 08:02:02,404 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0be6598f-8aef-49e2-85bb-2a89c948e4ba', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0be6598f-8aef-49e2-85bb-2a89c948e4ba', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:03,436 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.027s 2021-08-10 08:02:03,439 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b6b2b7cb-e356-4dfe-aa0a-52a6190ca6da', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b6b2b7cb-e356-4dfe-aa0a-52a6190ca6da', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": null, "name": "tempest-SnapshotsActio nsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:04,481 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.038s 2021-08-10 08:02:04,481 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-439a5479-eec9-4fcf-a11a-49849ac8a529', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-439a5479-eec9-4fcf-a11a-49849ac8a529', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:05,513 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.027s 2021-08-10 08:02:05,514 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a985d3f2-ae23-465c-931a-352ba57f50b2', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a985d3f2-ae23-465c-931a-352ba57f50b2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:06,538 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.021s 2021-08-10 08:02:06,539 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-abbd3551-2a93-4659-b63a-b8a46ab1a43a', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-abbd3551-2a93- 4659-b63a-b8a46ab1a43a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:06.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:06,541 108835 INFO [tempest.common.waiters] snapshot 53b16b15-4efd-4622-92f1-06f68db4d98a reached available after waiting for 4.541875 seconds 2021-08-10 08:02:06,701 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a/action 0.154s 2021-08-10 08:02:06,701 108835 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, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-4f6dfa86-23b7-44e4-a85e-ddf234ec6142', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4f6dfa86-23b7-44e4-a85e-ddf234ec6142', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a/action'} Body: b'' 2021-08-10 08:02:06,723 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.021s 2021-08-10 08:02:06,723 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a098e270-b10c-4fbc-94c3-68e3f5815587', 'content-length': '462', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a098e270-b10c-4fbc-94c3-68e3f5815587', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:06,726 108835 INFO [tempest.common.waiters] snapshot 53b16b15-4efd-4622-92f1-06f68db4d98a reached error after waiting for 0.726465 seconds 2021-08-10 08:02:06,848 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a/action 0.121s 2021-08-10 08:02:06,848 108835 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, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2f41a33f-994c-4f02-aaf3-651a796227f1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2f41a33f-994c-4f02-aaf3-651a796227f1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a/action'} Body: b'' 2021-08-10 08:02:06,875 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.027s 2021-08-10 08:02:06,875 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fdd3e08f-5fe8-4c8b-90d8-1a6a37ab0c37', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fdd3e08f-5fe8-4c8b-90d8-1a6a37ab0c37', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:07,906 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.027s 2021-08-10 08:02:07,907 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f607015e-b135-48af-a2a8-322d1c656a39', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f607015e-b135-48af-a2a8-322d1c656a39', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:08,930 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.020s 2021-08-10 08:02:08,930 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-416c372e-d649-4158-978d-8d1800811c54', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-416c372e-d649-4158-978d-8d1800811c54', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:09,956 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.022s 2021-08-10 08:02:09,957 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4035c54f-3f84-407d-b22a-37f57e621235', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4035c54f-3f84-407d-b22a-37f57e621235', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:10,991 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.031s 2021-08-10 08:02:10,993 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:10 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-bd753213-c631-4c3d-9f8e-5162c12fa95a', 'x-openstack-request-id': 'req-bd753213-c631-4c3d-9f8e-5162c12fa95a', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 53b16b15-4efd-4622-92f1-06f68db4d98a could not be found."}}' 2021-08-10 08:02:11,025 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.031s 2021-08-10 08:02:11,025 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'A ccept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-f8de967d-ba53-4ead-a180-e37413b9da25', 'x-openstack-request-id': 'req-f8de967d-ba53-4ead-a180-e37413b9da25', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {5} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {7} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [10.626591s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [7.269213s] ... 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:02:11,489 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots 0.461s 2021-08-10 08:02:11,489 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "name": "tempest-SnapshotsActionsTest-Snapshot-949786897"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-541bc0ac-4b3b-4981-875a-2a73a6ba52f6', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-541bc0ac-4b3b-4981-875a-2a73a6ba52f6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.231882", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 08:02:11,595 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.103s 2021-08-10 08:02:11,595 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-426c4634-9000-4e4e-ac00-9cb52d21b852', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-426c4634-9000-4e4e-ac00-9cb52d21b852', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:13,110 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.511s 2021-08-10 08:02:13,110 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-68df0347-15ff-4ac6-9910-3157c54344d0', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-68df0347-15ff-4ac6-9910-3157c54344d0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:14,136 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.022s 2021-08-10 08:02:14,136 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-384502d2-3ce5-4065-9522-69508f34e86a', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-384502d2-3ce5-4065-9522-69508f34e86a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:15,166 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.025s 2021-08-10 08:02:15,166 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:15 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-13ad33bd-965b-4a78-bca0-21816c0edb3b', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-13ad33bd-965b-4a78-bca0-21816c0edb3b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:16,209 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.039s 2021-08-10 08:02:16,210 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-02747d0c-81f5-4506-8440-be79d9b052b4', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-02747d0c-81f5-4506-8440-be79d9b052b4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": "2021-08-10T08:02:15.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:16,214 108835 INFO [tempest.common.waiters] snapshot e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 reached available after waiting for 5.214662 seconds 2021-08-10 08:02:16,434 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555/action 0.219s 2021-08-10 08:02:16,435 108835 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, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-505ff387-cf49-455f-a246-97e7ec51cbcc', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-505ff387-cf49-455f-a246-97e7ec51cbcc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555/action'} Body: b'' 2021-08-10 08:02:16,506 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.070s 2021-08-10 08:02:16,507 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a21aa3e7-ac56-4ccf-b024-3cb73911297e', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a21aa3e7-ac56-4ccf-b024-3cb73911297e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": "2021-08-10T08:02:16.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:16,509 108835 INFO [tempest.common.waiters] snapshot e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 reached error_deleting after waiting for 0.509543 seconds 2021-08-10 08:02:16,822 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555/action 0.312s 2021-08-10 08:02:16,822 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'C ontent-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c5888b8d-e7ad-484b-b9c0-c36ded5a0034', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c5888b8d-e7ad-484b-b9c0-c36ded5a0034', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555/action'} Body: b'' 2021-08-10 08:02:17,006 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.183s 2021-08-10 08:02:17,006 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ac2c2fb3-2674-45bd-b90c-d112ac8b7599', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ac2c2fb3-2674-45bd-b90c-d112ac8b7599', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": "2021-08-10T08:02:17.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:18,208 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.198s 2021-08-10 08:02:18,208 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:18 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-a7597609-c1ac-4ecb-b01c-c44f0d44fa56', 'x-openstack-request-id': 'req-a7597609-c1ac-4ecb-b01c-c44f0d44fa56', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 could not be found."}}' 2021-08-10 08:02:18,292 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.083s 2021-08-10 08:02:18,296 108835 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, 10 Aug 2021 08:02:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-df4b7e3c-a49f-4bad-bd92-4e0800949fd5', 'x-openstack-request-id': 'req-df4b7e3c-a49f-4bad-bd92-4e0800949fd5', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.069859s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 85, in test_update_snapshot_status self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:02:18,329 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_update_snapshot_status): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.030s 2021-08-10 08:02:18,329 108835 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, 10 Aug 2021 08:02:18 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-d5e417c3-36e9-40fe-a5ab-f7031b0c93d3', 'x-openstack-request-id': 'req-d5e417c3-36e9-40fe-a5ab-f7031b0c93d3', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' 2021-08-10 08:02:18,366 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.036s 2021-08-10 08:02:18,367 108835 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, 10 Aug 2021 08:02:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-0ae99783-993d-4034-9b62-6ea844263592', 'x-openstack-request-id': 'req-0ae99783-993d-4034-9b62-6ea844263592', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {4} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [19.124794s] ... ok {0} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [2.547710s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [4.189739s] ... ok {6} tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) [0.000000s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: ((, Bad request Details: {'code': 400, 'message': 'Invalid snapshot: Snapshot status must be available or error and must not be part of a group.'}, ), (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, )) {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [93.274524s] ... ok {7} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [4.038967s] ... ok {6} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.707832s] ... ok {6} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.057973s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.111604s] ... ok {0} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.715742s] ... ok {0} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.623272s] ... ok {0} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.699660s] ... ok {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [36.411917s] ... ok {0} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.404323s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.046828s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.063946s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.035619s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.100219s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.046868s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.144267s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.187896s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.071267s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.270094s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.197466s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [11.308767s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.255722s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.354708s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.560768s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [3.520306s] ... ok {4} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [43.160791s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.253705s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [3.227969s] ... ok {6} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [2.342733s] ... ok {6} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [56.056913s] ... ok {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [38.158035s] ... ok {6} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [24.388610s] ... ok {6} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [7.521355s] ... ok {6} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.131948s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.016333s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.011799s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.038568s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.010665s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.008946s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.038864s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.037597s] ... ok {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [36.498098s] ... ok {1} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [15.246713s] ... ok {2} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {2} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show [0.562791s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.835525s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.032527s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.039145s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [3.126258s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [23.551453s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [5.171173s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.051343s] ... ok {2} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.197883s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.012870s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.020077s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.020869s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.027753s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.022471s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [13.221923s] ... ok {2} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.051015s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.911813s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.247114s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.263410s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.260518s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.021307s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.021818s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.258923s] ... ok {1} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.119504s] ... ok {1} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.027816s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [13.747252s] ... ok {3} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [259.268011s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [10.367545s] ... ok {1} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.421517s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [15.107407s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [1.391548s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.425336s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.010274s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.020012s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.022288s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.019504s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.010747s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.011060s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.010413s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.020606s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008569s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.022448s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.020972s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.007828s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.068615s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.069678s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.062989s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.060863s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.264015s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.020698s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.023703s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.008026s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.020256s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.021220s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.019771s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.009897s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.012643s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.022620s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.010090s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.018829s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.020543s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [17.182904s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {5} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [226.685992s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [17.852407s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.339011s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.339290s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.401864s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [27.029318s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.067817s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.062592s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.073758s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.332980s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.159161s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.278367s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.062740s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.076065s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.080464s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.082656s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.230853s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.225530s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.131531s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.129936s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.136673s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.082497s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.080016s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.081167s] ... ok {3} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [105.784126s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [71.995145s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [5.823999s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.325614s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.490979s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.352444s] ... ok {3} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {3} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [3.798607s] ... ok {3} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.146993s] ... ok {3} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.526120s] ... ok {3} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.039205s] ... ok {3} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.272721s] ... ok {3} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.110578s] ... ok {3} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.009652s] ... ok {3} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.108158s] ... ok {3} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {3} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.108601s] ... ok {3} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.052198s] ... ok {3} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.011321s] ... ok {3} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.019596s] ... ok {3} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.013237s] ... ok {3} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [7.287556s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [48.735381s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [9.588945s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [11.510461s] ... ok {5} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [186.014403s] ... ok {5} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [1.859348s] ... ok {5} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.122229s] ... ok {5} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [1.637927s] ... ok {5} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [24.453765s] ... ok {5} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [6.265011s] ... ok {5} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [124.196429s] ... ok {3} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [267.999692s] ... ok {5} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [407.934402s] ... ok ============================== Failed 7 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status[id-3e13ca2f-48ea-49f3-ae1a-488e9180d535] ---------------------------------------------------------------------------------------------------------------------------------------- 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:01:47,620 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.315s 2021-08-10 08:01:47,620 108835 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, 10 Aug 2021 08:01:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d4c31075-2c5b-4789-8da0-57d6846045c4', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d4c31075-2c5b-4789-8da0-57d6846045c4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'' 2021-08-10 08:01:47,682 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614 0.061s 2021-08-10 08:01:47,682 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-040a7eca-a3b2-4829-b799-87688ba280f8', 'content-length': '463', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-040a7eca-a3b2-4829-b799-87688ba280f8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614'} Body: b'{"snapshot": {"id": "f1735c8d-a5ba-4eae-8c7b-b513b38cc614", "created_at": "2021-08-10T08:01:43.000000", "updated_at": "2021-08-10T08:01:48.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-81423418", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:47,685 108835 INFO [tempest.common.waiters] snapshot f1735c8d-a5ba-4eae-8c7b-b513b38cc614 reached creating after waiting for 0.685202 seconds 2021-08-10 08:01:47,716 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.030s 2021-08-10 08:01:47,719 108835 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, 10 Aug 2021 08:01:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-3494a864-b454-4b85-b625-20595e75c82c', 'x-openstack-request-id': 'req-3494a864-b454-4b85-b625-20595e75c82c', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:01:48,166 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots 0.445s 2021-08-10 08:01:48,167 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "name": "tempest-SnapshotsActionsTest-Snapshot-985593134"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8c8b17f1-95eb-49d9-ab52-19a76d67cbe0', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8c8b17f1-95eb-49d9-ab52-19a76d67cbe0', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:47.952253", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 08:01:48,231 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.061s 2021-08-10 08:01:48,232 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0f8d2dcd-c3dd-4cb7-b63d-71d322f4d1d7', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0f8d2dcd-c3dd-4cb7-b63d-71d322f4d1d7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:49,256 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.021s 2021-08-10 08:01:49,257 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b419a675-e1d8-403e-a331-55f77425a4b5', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b419a675-e1d8-403e-a331-55f77425a4b5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:50,532 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.271s 2021-08-10 08:01:50,533 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a83bdb13-b060-49f4-a41b-e7c1b68306b3', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a83bdb13-b060-49f4-a41b-e7c1b68306b3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:51,597 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.060s 2021-08-10 08:01:51,597 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cd622e85-a418-41b2-acce-c06f0385ea71', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cd622e85-a418-41b2-acce-c06f0385ea71', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:52,623 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.021s 2021-08-10 08:01:52,624 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e206ff82-9142-4eba-a4d6-439148c30ace', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e2 06ff82-9142-4eba-a4d6-439148c30ace', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": "2021-08-10T08:01:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:52,626 108835 INFO [tempest.common.waiters] snapshot 7a342439-2350-47c3-bc24-e763a4f7fb21 reached available after waiting for 4.626680 seconds 2021-08-10 08:01:52,775 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21/action 0.148s 2021-08-10 08:01:52,775 108835 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, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c8038458-62b6-450c-bb27-ff8f5dd294d8', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c8038458-62b6-450c-bb27-ff8f5dd294d8', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21/action'} Body: b'' 2021-08-10 08:01:52,797 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.022s 2021-08-10 08:01:52,798 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e239bd1f-efb1-436d-8de9-a0720f73d4af', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e239bd1f-efb1-436d-8de9-a0720f73d4af', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": "2021-08-10T08:01:53.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:52,800 108835 INFO [tempest.common.waiters] snapshot 7a342439-2350-47c3-bc24-e763a4f7fb21 reached creating after waiting for 0.800929 seconds 2021-08-10 08:01:52,955 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21/action 0.154s 2021-08-10 08:01:52,955 108835 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, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-4e329122-f86f-4872-a774-e975636a7f8f', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4e329122-f86f-4872-a774-e975636a7f8f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21/action'} Body: b'' 2021-08-10 08:01:52,977 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.021s 2021-08-10 08:01:52,977 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-db5e7b72-1fc1-4a12-8170-85e9cc1ba31e', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-db5e7b72-1fc1-4a12-8170-85e9cc1ba31e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"snapshot": {"id": "7a342439-2350-47c3-bc24-e763a4f7fb21", "created_at": "2021-08-10T08:01:48.000000", "updated_at": "2021-08-10T08:01:53.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-985593134", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:54,212 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21 0.231s 2021-08-10 08:01:54,212 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01: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-7bd8ce90-67fa-4745-ab69-d1830781c16f', 'x-openstack-request-id': 'req-7bd8ce90-67fa-4745-ab69-d1830781c16f', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/7a342439-2350-47c3-bc24-e763a4f7fb21'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 7a342439-2350-47c3-bc24-e763a4f7fb21 could not be found."}}' 2021-08-10 08:01:54,248 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.035s 2021-08-10 08:01:54,252 108835 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, 10 Aug 2021 08:01:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-d8a4a407-b26e-4c8d-8498-d53b377b8d 90', 'x-openstack-request-id': 'req-d8a4a407-b26e-4c8d-8498-d53b377b8d90', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:01:54,695 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots 0.440s 2021-08-10 08:01:54,695 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "name": "tempest-SnapshotsActionsTest-Snapshot-921861907"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5e987807-9f54-4f8d-a046-0abb72c2c905', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5e987807-9f54-4f8d-a046-0abb72c2c905', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.426281", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 08:01:54,720 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.023s 2021-08-10 08:01:54,721 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7caeb093-6c33-4a5f-aa41-f67e51c0b8a9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7caeb093-6c33-4a5f-aa41-f67e51c0b8a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:55,746 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.021s 2021-08-10 08:01:55,746 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ae0af9e5-2fa6-42f2-a4dc-21c08785b9ed', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ae0af9e5-2fa6-42f2-a4dc-21c08785b9ed', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:56,770 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.020s 2021-08-10 08:01:56,770 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-299a334a-fa50-46b6-87f9-13b2b6b086a9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-299a334a-fa50-46b6-87f9-13b2b6b086a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:57,793 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.020s 2021-08-10 08:01:57,794 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9c8cc485-9d69-4b6b-8e15-54cc53d6e32b', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9c8cc485-9d69-4b6b-8e15-54cc53d6e32b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:58,818 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.020s 2021-08-10 08:01:58,819 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dfaf5834-a34f-4785-8f4a-284f3114417d', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-df af5834-a34f-4785-8f4a-284f3114417d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:01:59,852 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.029s 2021-08-10 08:01:59,852 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:01:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f99ce37d-ead9-4791-84a4-2599950ca72a', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f99ce37d-ead9-4791-84a4-2599950ca72a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": "2021-08-10T08:01:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:01:59,855 108835 INFO [tempest.common.waiters] snapshot 0cbe0d4d-68f5-46f4-a515-7de5a4495e3d reached available after waiting for 5.855389 seconds 2021-08-10 08:02:00,055 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d/action 0.200s 2021-08-10 08:02:00,056 108835 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, 10 Aug 2021 08:01:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-703f97e5-9e50-4142-b000-3d4dad466ba6', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-703f97e5-9e50-4142-b000-3d4dad466ba6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d/action'} Body: b'' 2021-08-10 08:02:00,077 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.020s 2021-08-10 08:02:00,077 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request- id': 'req-f115f2c2-9466-48fe-941f-68aff363b63b', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f115f2c2-9466-48fe-941f-68aff363b63b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": "2021-08-10T08:02:00.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:00,080 108835 INFO [tempest.common.waiters] snapshot 0cbe0d4d-68f5-46f4-a515-7de5a4495e3d reached deleting after waiting for 0.080212 seconds 2021-08-10 08:02:00,150 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d/action 0.070s 2021-08-10 08:02:00,151 108835 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, 10 Aug 2021 08:02:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-19a61a4f-5e52-412f-879e-e49829090c23', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-19a61a4f-5e52-412f-879e-e49829090c23', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d/action'} Body: b'' 2021-08-10 08:02:00,177 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.026s 2021-08-10 08:02:00,178 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fdc34a0c-506d-41a3-8780-79e7ae6772b9', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fdc34a0c-506d-41a3-8780-79e7ae6772b9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"snapshot": {"id": "0cbe0d4d-68f5-46f4-a515-7de5a4495e3d", "created_at": "2021-08-10T08:01:54.000000", "updated_at": "2021-08-10T08:02:00.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-921861907", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:01,265 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d 0.081s 2021-08-10 08:02:01,265 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:01 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-d4a80f44-f860-44e7-b339-264d111ec9b9', 'x-openstack-request-id': 'req-d4a80f44-f860-44e7-b339-264d111ec9b9', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/0cbe0d4d-68f5-46f4-a515-7de5a4495e3d'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 0cbe0d4d-68f5-46f4-a515-7de5a4495e3d could not be found."}}' 2021-08-10 08:02:01,633 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.367s 2021-08-10 08:02:01,633 108835 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, 10 Aug 2021 08:02:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-f3d974e3-c190-48ff-82f0-8158b0d84ed3', 'x-openstack-request-id': 'req-f3d974e3-c190-48ff-82f0-8158b0d84ed3', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:02:02,373 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots 0.737s 2021-08-10 08:02:02,373 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-851774fd-04d4-41b0-b1ca-be3e2726c4a1', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-851774fd-04d4-41b0-b1ca-be3e2726c4a1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.078436", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 08:02:02,400 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.023s 2021-08-10 08:02:02,404 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0be6598f-8aef-49e2-85bb-2a89c948e4ba', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0be6598f-8aef-49e2-85bb-2a89c948e4ba', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:03,436 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.027s 2021-08-10 08:02:03,439 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b6b2b7cb-e356-4dfe-aa0a-52a6190ca6da', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b6b2b7cb-e356-4dfe-aa0a-52a6190ca6da', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": null, "name": "tempest-SnapshotsActio nsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:04,481 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.038s 2021-08-10 08:02:04,481 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-439a5479-eec9-4fcf-a11a-49849ac8a529', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-439a5479-eec9-4fcf-a11a-49849ac8a529', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:05,513 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.027s 2021-08-10 08:02:05,514 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a985d3f2-ae23-465c-931a-352ba57f50b2', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a985d3f2-ae23-465c-931a-352ba57f50b2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:06,538 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.021s 2021-08-10 08:02:06,539 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-abbd3551-2a93-4659-b63a-b8a46ab1a43a', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-abbd3551-2a93- 4659-b63a-b8a46ab1a43a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:06.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:06,541 108835 INFO [tempest.common.waiters] snapshot 53b16b15-4efd-4622-92f1-06f68db4d98a reached available after waiting for 4.541875 seconds 2021-08-10 08:02:06,701 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a/action 0.154s 2021-08-10 08:02:06,701 108835 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, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-4f6dfa86-23b7-44e4-a85e-ddf234ec6142', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4f6dfa86-23b7-44e4-a85e-ddf234ec6142', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a/action'} Body: b'' 2021-08-10 08:02:06,723 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.021s 2021-08-10 08:02:06,723 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a098e270-b10c-4fbc-94c3-68e3f5815587', 'content-length': '462', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a098e270-b10c-4fbc-94c3-68e3f5815587', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:06,726 108835 INFO [tempest.common.waiters] snapshot 53b16b15-4efd-4622-92f1-06f68db4d98a reached error after waiting for 0.726465 seconds 2021-08-10 08:02:06,848 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a/action 0.121s 2021-08-10 08:02:06,848 108835 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, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2f41a33f-994c-4f02-aaf3-651a796227f1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2f41a33f-994c-4f02-aaf3-651a796227f1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a/action'} Body: b'' 2021-08-10 08:02:06,875 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.027s 2021-08-10 08:02:06,875 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fdd3e08f-5fe8-4c8b-90d8-1a6a37ab0c37', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fdd3e08f-5fe8-4c8b-90d8-1a6a37ab0c37', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:07,906 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.027s 2021-08-10 08:02:07,907 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f607015e-b135-48af-a2a8-322d1c656a39', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f607015e-b135-48af-a2a8-322d1c656a39', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:08,930 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.020s 2021-08-10 08:02:08,930 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-416c372e-d649-4158-978d-8d1800811c54', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-416c372e-d649-4158-978d-8d1800811c54', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:09,956 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.022s 2021-08-10 08:02:09,957 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4035c54f-3f84-407d-b22a-37f57e621235', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4035c54f-3f84-407d-b22a-37f57e621235', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"snapshot": {"id": "53b16b15-4efd-4622-92f1-06f68db4d98a", "created_at": "2021-08-10T08:02:02.000000", "updated_at": "2021-08-10T08:02:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1741435556", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:10,991 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a 0.031s 2021-08-10 08:02:10,993 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:10 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-bd753213-c631-4c3d-9f8e-5162c12fa95a', 'x-openstack-request-id': 'req-bd753213-c631-4c3d-9f8e-5162c12fa95a', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/53b16b15-4efd-4622-92f1-06f68db4d98a'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 53b16b15-4efd-4622-92f1-06f68db4d98a could not be found."}}' 2021-08-10 08:02:11,025 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.031s 2021-08-10 08:02:11,025 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'A ccept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-f8de967d-ba53-4ead-a180-e37413b9da25', 'x-openstack-request-id': 'req-f8de967d-ba53-4ead-a180-e37413b9da25', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running 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 running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:02:11,489 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots 0.461s 2021-08-10 08:02:11,489 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "name": "tempest-SnapshotsActionsTest-Snapshot-949786897"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-541bc0ac-4b3b-4981-875a-2a73a6ba52f6', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-541bc0ac-4b3b-4981-875a-2a73a6ba52f6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.231882", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 08:02:11,595 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.103s 2021-08-10 08:02:11,595 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-426c4634-9000-4e4e-ac00-9cb52d21b852', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-426c4634-9000-4e4e-ac00-9cb52d21b852', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:13,110 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.511s 2021-08-10 08:02:13,110 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-68df0347-15ff-4ac6-9910-3157c54344d0', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-68df0347-15ff-4ac6-9910-3157c54344d0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:14,136 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.022s 2021-08-10 08:02:14,136 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-384502d2-3ce5-4065-9522-69508f34e86a', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-384502d2-3ce5-4065-9522-69508f34e86a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:15,166 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.025s 2021-08-10 08:02:15,166 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:15 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-13ad33bd-965b-4a78-bca0-21816c0edb3b', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-13ad33bd-965b-4a78-bca0-21816c0edb3b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 08:02:16,209 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.039s 2021-08-10 08:02:16,210 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-02747d0c-81f5-4506-8440-be79d9b052b4', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-02747d0c-81f5-4506-8440-be79d9b052b4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": "2021-08-10T08:02:15.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:16,214 108835 INFO [tempest.common.waiters] snapshot e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 reached available after waiting for 5.214662 seconds 2021-08-10 08:02:16,434 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555/action 0.219s 2021-08-10 08:02:16,435 108835 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, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-505ff387-cf49-455f-a246-97e7ec51cbcc', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-505ff387-cf49-455f-a246-97e7ec51cbcc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555/action'} Body: b'' 2021-08-10 08:02:16,506 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.070s 2021-08-10 08:02:16,507 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a21aa3e7-ac56-4ccf-b024-3cb73911297e', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a21aa3e7-ac56-4ccf-b024-3cb73911297e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": "2021-08-10T08:02:16.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:16,509 108835 INFO [tempest.common.waiters] snapshot e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 reached error_deleting after waiting for 0.509543 seconds 2021-08-10 08:02:16,822 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555/action 0.312s 2021-08-10 08:02:16,822 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'C ontent-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-c5888b8d-e7ad-484b-b9c0-c36ded5a0034', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c5888b8d-e7ad-484b-b9c0-c36ded5a0034', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555/action'} Body: b'' 2021-08-10 08:02:17,006 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.183s 2021-08-10 08:02:17,006 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ac2c2fb3-2674-45bd-b90c-d112ac8b7599', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ac2c2fb3-2674-45bd-b90c-d112ac8b7599', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"snapshot": {"id": "e5d5d776-c0a6-4e70-8d53-f1c6f9e66555", "created_at": "2021-08-10T08:02:11.000000", "updated_at": "2021-08-10T08:02:17.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-949786897", "description": null, "volume_id": "3b1eee54-b3b5-41bf-b0a1-699739d295fe", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "268b1c39cecf495fb1c1e40e86f4b7c0", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 08:02:18,208 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 0.198s 2021-08-10 08:02:18,208 108835 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 08:02:18 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-a7597609-c1ac-4ecb-b01c-c44f0d44fa56', 'x-openstack-request-id': 'req-a7597609-c1ac-4ecb-b01c-c44f0d44fa56', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.24/volume/v3/268b1c39cecf495fb1c1e40e86f4b7c0/snapshots/e5d5d776-c0a6-4e70-8d53-f1c6f9e66555'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot e5d5d776-c0a6-4e70-8d53-f1c6f9e66555 could not be found."}}' 2021-08-10 08:02:18,292 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.083s 2021-08-10 08:02:18,296 108835 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, 10 Aug 2021 08:02:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-df4b7e3c-a49f-4bad-bd92-4e0800949fd5', 'x-openstack-request-id': 'req-df4b7e3c-a49f-4bad-bd92-4e0800949fd5', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status[id-41288afd-d463-485e-8f6e-4eea159413eb] ----------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 85, in test_update_snapshot_status self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 08:02:18,329 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_update_snapshot_status): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.030s 2021-08-10 08:02:18,329 108835 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, 10 Aug 2021 08:02:18 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-d5e417c3-36e9-40fe-a5ab-f7031b0c93d3', 'x-openstack-request-id': 'req-d5e417c3-36e9-40fe-a5ab-f7031b0c93d3', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' 2021-08-10 08:02:18,366 108835 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action 0.036s 2021-08-10 08:02:18,367 108835 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, 10 Aug 2021 08:02:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-0ae99783-993d-4034-9b62-6ea844263592', 'x-openstack-request-id': 'req-0ae99783-993d-4034-9b62-6ea844263592', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.24/volume/v3/aea45a750f6d4934802b4f9a3c219dd0/snapshots/f1735c8d-a5ba-4eae-8c7b-b513b38cc614/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) ------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: ((, Bad request Details: {'code': 400, 'message': 'Invalid snapshot: Snapshot status must be available or error and must not be part of a group.'}, ), (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, )) ====== Totals ====== Ran: 230 tests in 1121.6560 sec. - Passed: 213 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 7 Sum of execute time for each test: 2574.0889 sec. ============== Worker Balance ============== - Worker 0 (21 tests) => 0:01:58.433746 - Worker 1 (48 tests) => 0:04:43.584643 - Worker 2 (58 tests) => 0:07:34.523877 - Worker 3 (22 tests) => 0:11:36.306228 - Worker 4 (26 tests) => 0:02:04.967379 - Worker 5 (11 tests) => 0:18:38.384283 - Worker 6 (21 tests) => 0:02:55.365370 - Worker 7 (23 tests) => 0:02:02.521732 tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status[id-3e13ca2f-48ea-49f3-ae1a-488e9180d535] 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] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status[id-41288afd-d463-485e-8f6e-4eea159413eb] tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) ~ Exit code: 1