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.4.0,autopage==0.4.0,Babel==2.9.1,backports.entry-points-selectable==1.1.0,bcrypt==3.2.0,beautifulsoup4==4.9.3,blinker==1.4,boto3==1.18.28,botocore==1.21.28,cachetools==4.2.2,castellan==3.9.1,certifi==2021.5.30,cffi==1.14.6,chardet==3.0.4,charset-normalizer==2.0.4,-e git+http://10.106.1.39/p/openstack/cinder@27b34b8173734b3e5cd2ec3e3b7b5df6670fc193#egg=cinder,click==8.0.1,cliff==3.9.0,cmd2==2.1.2,colorama==0.4.4,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==3.4.8,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.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@869a39d9e55849c7de7b3ee086cea1017d4f60d5#egg=glance,glance-store==2.7.0,google-api-core==2.0.0,google-api-python-client==2.18.0,google-auth==2.0.1,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@f03ff806c157fb0cf14895db3b31294692f544fd#egg=keystone,keystoneauth1==4.3.1,keystonemiddleware==9.3.0,kombu==5.1.0,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.3,Mako==1.1.5,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.2,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@2329562d274b953851603f09f59b140b21a898b4#egg=networking_hyperv,networkx==2.6.2,-e git+https://opendev.org/openstack/neutron@701214481ff1df13b188d7826b44a1c8b51227ea#egg=neutron,neutron-lib==2.15.0,-e git+https://opendev.org/openstack/nova@5e126672e6299d42a8b2c84ab42bda845372ed38#egg=nova,numpy==1.21.2,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@48f31d446be5dd8743392e6d1e45ed8183a9ce1b#egg=openstack_placement,openstacksdk==0.59.0,os-brick==5.0.0,os-client-config==2.1.0,os-ken==2.1.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.0,os-traits==2.6.0,os-vif==2.6.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.0.1,oslo.cache==2.8.1,oslo.concurrency==4.4.0,oslo.config==8.7.1,oslo.context==3.3.1,oslo.db==10.0.0,oslo.i18n==5.0.1,oslo.limit==1.4.0,oslo.log==4.6.0,oslo.messaging==12.9.1,oslo.metrics==0.3.0,oslo.middleware==4.4.0,oslo.policy==3.8.2,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.6.0,oslo.upgradecheck==1.4.0,oslo.utils==4.10.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.9.1,osprofiler==3.4.1,ovs==2.13.3,ovsdbapp==1.12.0,packaging==21.0,paramiko==2.7.2,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.6.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.2.0,pluggy==0.13.1,prettytable==0.7.2,prometheus-client==0.11.0,protobuf==3.17.3,psutil==5.8.0,py==1.10.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.20,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.1.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==20.0.1,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,pyroute2==0.6.4,pyroute2.core==0.6.4,pyroute2.ethtool==0.6.4,pyroute2.ipdb==0.6.4,pyroute2.ipset==0.6.4,pyroute2.ndb==0.6.4,pyroute2.nftables==0.6.4,pyroute2.nslink==0.6.4,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.1.0,python-cinderclient==8.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.5,six==1.16.0,sortedcontainers==2.1.0,sos==4.1,soupsieve==2.2.1,SQLAlchemy==1.4.23,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.0,stevedore==3.4.0,suds-jurko==0.6,-e git+https://opendev.org/openstack/swift@2e55fb43219bc72a0b1774571e6a45fd3af8e7ce#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@61d6c1195cd6601a7d132dde672b723fab3dce03#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,toml==0.10.2,tooz==2.9.0,tox==3.24.3,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==3.0.1,urllib3==1.26.6,urwid==2.0.1,vine==5.0.0,virtualenv==20.7.2,voluptuous==0.12.1,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,WebTest==3.0.0,Werkzeug==2.0.1,wrapt==1.12.1,WSME==0.11.0,xattr==0.9.7,xmlschema==1.7.0,yappi==1.3.2,zipp==3.5.0,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {4} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.471437s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.026469s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.025284s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.089166s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.041407s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.024150s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.329626s] ... ok {1} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [4.197153s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.174321s] ... ok {4} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [1.152034s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.442913s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.209322s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.331789s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.288557s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.685285s] ... ok {0} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.316941s] ... ok {4} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [6.086149s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [22.112570s] ... ok {1} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show [2.262923s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.077177s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.118163s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.208024s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.120423s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.058764s] ... ok {4} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.545288s] ... ok {4} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [3.252649s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.279807s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.182419s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.404205s] ... ok {4} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.819017s] ... ok {4} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.656527s] ... ok {4} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.694504s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [23.460349s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [12.405845s] ... ok {4} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {0} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [4.324510s] ... ok {0} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [5.126329s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [12.608285s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [12.049016s] ... ok {0} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.384147s] ... ok {4} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [2.225737s] ... ok {0} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [3.478057s] ... ok {0} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [2.902921s] ... ok {5} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.265874s] ... ok {4} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.149688s] ... ok {0} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.011544s] ... ok {0} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.350754s] ... ok {2} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [79.574061s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.785412s] ... ok {0} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.078064s] ... ok {5} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.417397s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [8.770513s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-29 08:59:16,450 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots 0.173s 2021-08-29 08:59:16,450 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747"}} Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-72b190a2-dfd5-4b1a-b370-63b8928c1eeb', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-72b190a2-dfd5-4b1a-b370-63b8928c1eeb', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.377122", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-29 08:59:16,484 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.031s 2021-08-29 08:59:16,485 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e09c88ff-8443-46c3-8423-ff86a5b9e2b7', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e09c88ff-8443-46c3-8423-ff86a5b9e2b7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:17,532 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.043s 2021-08-29 08:59:17,533 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ba796846-1a83-4b6e-adad-6df3dbb44b63', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ba796846-1a83-4b6e-adad-6df3dbb44b63', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:18,586 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.047s 2021-08-29 08:59:18,587 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2ce7ac03-754d-415d-8f0a-8c526decbba9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2ce7ac03-754d-415d-8f0a-8c526decbba9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:19,613 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.022s 2021-08-29 08:59:19,613 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:19 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7370f5a3-9541-471f-87c3-75a07f86e013', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7370f5a3-9541-471f-87c3-75a07f86e013', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:20,643 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.025s 2021-08-29 08:59:20,643 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3193bcf7-4ddf-433b-b44c-6fb0032e7a37', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-31 93bcf7-4ddf-433b-b44c-6fb0032e7a37', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:20,646 109177 INFO [tempest.common.waiters] snapshot 3051dbb8-fd6f-486c-98fd-9bd15456a098 reached available after waiting for 4.646910 seconds 2021-08-29 08:59:20,728 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098/action 0.081s 2021-08-29 08:59:20,729 109177 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': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-94aaed71-05f9-4eab-8809-457443f22485', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-94aaed71-05f9-4eab-8809-457443f22485', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098/action'} Body: b'' 2021-08-29 08:59:20,767 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.037s 2021-08-29 08:59:20,767 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f22f47b9-6c56-4b25-94f8-70792b616498', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f22f47b9-6c56-4b25-94f8-70792b616498', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:20,772 109177 INFO [tempest.common.waiters] snapshot 3051dbb8-fd6f-486c-98fd-9bd15456a098 reached creating after waiting for 0.772763 seconds 2021-08-29 08:59:20,836 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098/action 0.062s 2021-08-29 08:59:20,836 109177 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': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-5d3e7cd0-7eae-485d-9a8e-65f3ba7c61fc', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5d3e7cd0-7eae-485d-9a8e-65f3ba7c61fc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098/action'} Body: b'' 2021-08-29 08:59:20,865 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.028s 2021-08-29 08:59:20,866 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b120643b-59a2-417b-befe-5a3c6e7e6b72', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b120643b-59a2-417b-befe-5a3c6e7e6b72', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:21,901 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.032s 2021-08-29 08:59:21,902 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-47e5ed05-c21f-4b91-937c-492a8e8342f3', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-47e5ed05-c21f-4b91-937c-492a8e8342f3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:22,932 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.026s 2021-08-29 08:59:22,933 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/jso n', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:22 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3d41e55f-8a86-49cb-b0ff-8d3b1ad63234', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3d41e55f-8a86-49cb-b0ff-8d3b1ad63234', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:23,974 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.034s 2021-08-29 08:59:23,974 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-db430ada-a890-4044-9657-f661cbd74a08', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-db430ada-a890-4044-9657-f661cbd74a08', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:25,011 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.032s 2021-08-29 08:59:25,011 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:24 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-b9d5bfad-58b0-4e20-b9b6-0511ac001f95', 'x-openstack-request-id': 'req-b9d5bfad-58b0-4e20-b9b6-0511ac001f95', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 3051dbb8-fd6f-486c-98fd-9bd15456a098 could not be found."}}' 2021-08-29 08:59:25,044 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action 0.032s 2021-08-29 08:59:25,045 109177 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': 'Sun, 29 Aug 2021 08:59:25 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-83473659-ab4e-4a0d-b827-186c41911e3c', 'x-openstack-request-id': 'req-83473659-ab4e-4a0d-b827-186c41911e3c', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {5} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.070763s] ... ok {0} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [5.089274s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [98.481530s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [8.746188s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-29 08:59:25,219 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots 0.171s 2021-08-29 08:59:25,220 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030"}} Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-00f36653-2590-4833-b5bd-b5a816ab68c3', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-00f36653-2590-4833-b5bd-b5a816ab68c3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.140460", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-29 08:59:25,271 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.048s 2021-08-29 08:59:25,271 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-17dbd18d-9841-48ac-b376-5b5d969d12bd', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-17dbd18d-9841-48ac-b376-5b5d969d12bd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:26,309 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.033s 2021-08-29 08:59:26,309 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:26 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-eec0e323-300e-4210-956b-5f043284528c', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-eec0e323-300e-4210-956b-5f043284528c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:27,357 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.043s 2021-08-29 08:59:27,357 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-65fa58a2-e329-403d-aa82-9a4f61d2bd98', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-65fa58a2-e329-403d-aa82-9a4f61d2bd98', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:28,385 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.023s 2021-08-29 08:59:28,385 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2644fc76-948f-4b2d-8157-d217a1eeea51', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2644fc76-948f-4b2d-8157-d217a1eeea51', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:29,416 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.027s 2021-08-29 08:59:29,416 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:29 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cafc0e48-3c08-48cf-a811-0c363d2c12d7', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-cafc0e48-3c08-48cf-a811-0c363d2c12d7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:30,445 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.022s 2021-08-29 08:59:30,446 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f525ee53-04b9-4508-853a-47fb38e0750a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f525ee53-04b9-4508-853a-47fb38e0750a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:31,483 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.033s 2021-08-29 08:59:31,484 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-806e1a36-48c8-4e15-9d22-b28d4a6067d6', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-806e1a36-48c8-4e15-9d22-b28d4a6067d6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:32,529 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.039s 2021-08-29 08:59:32,529 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', ' X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-df0160b7-d0ed-4266-b325-6e0497cc28e9', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-df0160b7-d0ed-4266-b325-6e0497cc28e9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": "2021-08-29T08:59:32.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:32,534 109177 INFO [tempest.common.waiters] snapshot 28167321-a8bd-4b8a-a649-62d73ef03edd reached available after waiting for 7.534637 seconds 2021-08-29 08:59:32,606 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd/action 0.071s 2021-08-29 08:59:32,607 109177 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': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-9ab2bc86-7aeb-49f0-9c36-fde526801627', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9ab2bc86-7aeb-49f0-9c36-fde526801627', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd/action'} Body: b'' 2021-08-29 08:59:32,631 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.023s 2021-08-29 08:59:32,632 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f29b39f3-fe1f-4c24-b447-df062cf17212', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f29b39f3-fe1f-4c24-b447-df062cf17212', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": "2021-08-29T08:59:33.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:32,634 109177 INFO [tempest.common.waiters] snapshot 28167321-a8bd-4b8a-a649-62d73ef03edd reached deleting after waiting for 0.634903 seconds 2021-08-29 08:59:32,696 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd/action 0.061s 2021-08-29 08:59:32,696 109177 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': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ee94a5f3-afc1-4182-8ad4-165061248ada', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ee94a5f3-afc1-4182-8ad4-165061248ada', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd/action'} Body: b'' 2021-08-29 08:59:32,722 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.025s 2021-08-29 08:59:32,723 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b4474584-69d3-4de2-a865-f7aa57d11613', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b4474584-69d3-4de2-a865-f7aa57d11613', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": "2021-08-29T08:59:33.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:33,749 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.021s 2021-08-29 08:59:33,749 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:33 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-81da0c8a-8e99-42dd-b2f4-12e0dc468548', 'x-openstack-request-id': 'req-81da0c8a-8e99-42dd-b2f4-12e0dc468548', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 28167321-a8bd-4b8a-a649-62d73ef03edd could not be found."}}' 2021-08-29 08:59:33,793 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action 0.043s 2021-08-29 08:59:33,793 109177 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': 'Sun, 29 Aug 2021 08:59:33 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-443e7ae6-50e4-4502-b275-6b096486e7e5', 'x-openstack-request-id': 'req-443e7ae6-50e4-4502-b275-6b096486e7e5', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {2} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [15.382521s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.753858s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.028422s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.078389s] ... ok {5} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.045546s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [6.330304s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-29 08:59:33,981 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots 0.185s 2021-08-29 08:59:33,982 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637"}} Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c85af2d8-691d-483a-829f-f1e631981e58', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c85af2d8-691d-483a-829f-f1e631981e58', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:33.898657", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-29 08:59:34,044 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.057s 2021-08-29 08:59:34,045 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ce9b4a30-ac61-4672-a76b-bc29146de222', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ce9b4a30-ac61-4672-a76b-bc29146de222', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:35,108 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.059s 2021-08-29 08:59:35,109 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-414af99b-818d-4b20-bffa-367b65e048c7', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-414af99b-818d-4b20-bffa-367b65e048c7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": null, "name": "tempest-SnapshotsActio nsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:36,140 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.025s 2021-08-29 08:59:36,141 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-91367d2f-75d8-439f-8d85-0222c10f2b54', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-91367d2f-75d8-439f-8d85-0222c10f2b54', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:37,200 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.053s 2021-08-29 08:59:37,201 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b6d21f69-7eff-4c47-ac07-ac43b69b4b79', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b6d21f69-7eff-4c47-ac07-ac43b69b4b79', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:38,249 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.044s 2021-08-29 08:59:38,250 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-677ece1b-a12f-4061-8b99-6ba0b255bc23', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-677ece1b-a12f- 4061-8b99-6ba0b255bc23', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": "2021-08-29T08:59:37.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:38,254 109177 INFO [tempest.common.waiters] snapshot a619e1ef-31e7-4bde-814e-7e7308f66b3b reached available after waiting for 4.254345 seconds 2021-08-29 08:59:38,391 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b/action 0.136s 2021-08-29 08:59:38,392 109177 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': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2d6899ea-2990-4c89-a248-223e155526ed', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2d6899ea-2990-4c89-a248-223e155526ed', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b/action'} Body: b'' 2021-08-29 08:59:38,462 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.069s 2021-08-29 08:59:38,463 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ec57f979-7005-40fe-8be7-dce0189b8d42', 'content-length': '462', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ec57f979-7005-40fe-8be7-dce0189b8d42', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": "2021-08-29T08:59:38.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:38,468 109177 INFO [tempest.common.waiters] snapshot a619e1ef-31e7-4bde-814e-7e7308f66b3b reached error after waiting for 0.468518 seconds 2021-08-29 08:59:38,618 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b/action 0.149s 2021-08-29 08:59:38,619 109177 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': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-e26b1f26-b58d-4ddb-8238-323f1dc86edd', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e26b1f26-b58d-4ddb-8238-323f1dc86edd', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b/action'} Body: b'' 2021-08-29 08:59:38,685 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.065s 2021-08-29 08:59:38,686 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-459d70fb-94a1-4e9b-be29-3f359634beab', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-459d70fb-94a1-4e9b-be29-3f359634beab', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": "2021-08-29T08:59:39.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:40,011 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.320s 2021-08-29 08:59:40,011 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:39 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-993b2de1-421a-4307-bd84-e30efc489c15', 'x-openstack-request-id': 'req-993b2de1-421a-4307-bd84-e30efc489c15', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a619e1ef-31e7-4bde-814e-7e7308f66b3b could not be found."}}' 2021-08-29 08:59:40,125 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action 0.112s 2021-08-29 08:59:40,125 109177 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': 'Sun, 29 Aug 2021 08:59:40 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-743424a6-c5e7-4798-9d88-8deca8d20c96', 'x-openstack-request-id': 'r eq-743424a6-c5e7-4798-9d88-8deca8d20c96', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {2} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.159523s] ... ok {2} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.180315s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {5} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.515907s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [5.935932s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-29 08:59:40,437 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots 0.305s 2021-08-29 08:59:40,437 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "name": "tempest-SnapshotsActionsTest-Snapshot-523310515"}} Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e17de86b-dcd7-4084-8b43-62f31a85c370', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e17de86b-dcd7-4084-8b43-62f31a85c370', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.340815", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-29 08:59:40,483 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.040s 2021-08-29 08:59:40,484 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-99a5f8e1-7ec4-480a-8eb1-36aeaeb38366', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-99a5f8e1-7ec4-480a-8eb1-36aeaeb38366', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:41,517 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.028s 2021-08-29 08:59:41,517 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ab544505-4aef-4636-8f09-fa4041f215ea', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ab544505-4aef-4636-8f09-fa4041f215ea', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:42,578 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.055s 2021-08-29 08:59:42,578 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-43e12e1f-a910-4108-8796-6f54007d1892', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-43e12e1f-a910-4108-8796-6f54007d1892', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:43,630 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.045s 2021-08-29 08:59:43,631 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-36d5e2ec-43fc-4b29-975d-3270466da8ca', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-36d5e2ec-43fc-4b29-975d-3270466da8ca', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:44,678 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.041s 2021-08-29 08:59:44,678 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-683b2a0f-cf7e-47e4-9bd0-9f28f1470123', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-683b2a0f-cf7e-47e4-9bd0-9f28f1470123', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": "2021-08-29T08:59:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:44,681 109177 INFO [tempest.common.waiters] snapshot 9435a692-a704-4545-946c-23363db01621 reached available after waiting for 4.681196 seconds 2021-08-29 08:59:44,790 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/9435a692-a704-4545-946c-23363db01621/action 0.109s 2021-08-29 08:59:44,791 109177 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': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d75ba6bd-f222-4916-955d-0e6480a56cc3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d75ba6bd-f222-4916-955d-0e6480a56cc3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/9435a692-a704-4545-946c-23363db01621/action'} Body: b'' 2021-08-29 08:59:44,824 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.032s 2021-08-29 08:59:44,824 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-658c25b0-aa99-41ca-91c3-8936bb2a3126', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-658c25b0-aa99-41ca-91c3-8936bb2a3126', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": "2021-08-29T08:59:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:44,828 109177 INFO [tempest.common.waiters] snapshot 9435a692-a704-4545-946c-23363db01621 reached error_deleting after waiting for 0.828548 seconds 2021-08-29 08:59:44,902 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/9435a692-a704-4545-946c-23363db01621/action 0.073s 2021-08-29 08:59:44,903 109177 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': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-e45d77c3-aeac-4568-a4e6-b713df0ff98e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e45d77c3-aeac-4568-a4e6-b713df0ff98e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/9435a692-a704-4545-946c-23363db01621/action'} Body: b'' 2021-08-29 08:59:44,930 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.027s 2021-08-29 08:59:44,930 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-04e0f714-b866-4baa-859e-ce3acff44c1a', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-04e0f714-b866-4baa-859e-ce3acff44c1a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": "2021-08-29T08:59:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:45,989 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.054s 2021-08-29 08:59:45,989 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-8b3630fe-c7ac-4ead-a500-98ef8645d822', 'x-openstack-request-id': 'req-8b3630fe-c7ac-4ead-a500-98ef8645d822', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 9435a692-a704-4545-946c-23363db01621 could not be found."}}' 2021-08-29 08:59:46,065 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action 0.074s 2021-08-29 08:59:46,065 109177 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': 'Sun, 29 Aug 2021 08:59:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-402679f9-6dee-454b-8cf8-e5c372dbfb32', 'x-openstack-request-id': 'req-402679f9-6dee-454b-8cf8-e5c372dbfb32', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.670205s] ... ok {5} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.364132s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.265029s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.221208s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.528879s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.322135s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.023946s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.028849s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.342350s] ... ok {2} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.250654s] ... ok {2} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.043062s] ... ok {1} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.653427s] ... ok {5} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [8.421142s] ... ok {1} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.377317s] ... ok {2} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [4.557688s] ... ok {5} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.066293s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [37.847371s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [6.161974s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [11.664117s] ... ok {3} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [41.447199s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [55.542730s] ... ok {2} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.411910s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [62.670507s] ... ok {2} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {2} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [56.781958s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [14.788520s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.076359s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.081958s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.080956s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.359420s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.187521s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.332585s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.066934s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.089246s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.110963s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.101652s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.099336s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.082640s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.144718s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.165638s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.149309s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.094463s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.118786s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.095468s] ... ok {3} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [67.977606s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [116.298016s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [5.532318s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [11.454129s] ... ok {6} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [2.981275s] ... ok {6} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.237840s] ... ok {6} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {6} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [3.632894s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [2.981038s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [47.325166s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [10.911184s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.025998s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.067275s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.023657s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.085544s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.063335s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.041818s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.029413s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.046134s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.081826s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.130401s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.052975s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.139924s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.170125s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [10.521105s] ... ok {7} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [281.422477s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.169475s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.055197s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.011612s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.021069s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.013851s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [4.867926s] ... ok {7} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [157.219343s] ... ok {3} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [210.652286s] ... ok {7} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.043318s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.026618s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.019524s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [1.598891s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.022598s] ... ok {6} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [147.794984s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [3.063538s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.065952s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.366300s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.046177s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.142918s] ... ok {7} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.137127s] ... ok {7} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [11.423959s] ... ok {7} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [7.360675s] ... ok {7} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {7} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.125853s] ... ok {3} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [101.045943s] ... ok {3} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {3} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [1.727608s] ... ok {3} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [1.513859s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.371240s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.032258s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.040512s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [2.786763s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [3.409528s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.052277s] ... ok {3} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [0.322628s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.014008s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.011362s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.029803s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.017625s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.031159s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.019226s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.025155s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.014731s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.013593s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.031680s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.030958s] ... ok {0} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [284.756205s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [15.608781s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [15.978877s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.226561s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.220744s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.218809s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [20.257283s] ... ok {3} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [22.199593s] ... ok {3} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [5.997004s] ... ok {1} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [441.544167s] ... ok {3} tearDownClass (tempest.api.volume.test_volumes_clone.VolumesCloneTest) [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: (, Resource %(resource_id)s failed to delete and is in ERROR status Details: Volume dcb77cb1-68f2-47cd-b1b3-43ae4db8e92a failed to delete and is in error_deleting status, ) {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [14.983742s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [0.894978s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [0.783802s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.011003s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.021387s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.023174s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.021107s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.010803s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.010900s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.013112s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.020858s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008213s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.021198s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.021387s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.008331s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.072585s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.071741s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.066291s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.065970s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.126364s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.021485s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.022735s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.008750s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.021030s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.028398s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.022908s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.010931s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.016446s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.023884s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.015608s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.027811s] ... ok {3} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.025162s] ... ok ============================== Failed 5 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-29 08:59:16,450 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots 0.173s 2021-08-29 08:59:16,450 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747"}} Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-72b190a2-dfd5-4b1a-b370-63b8928c1eeb', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-72b190a2-dfd5-4b1a-b370-63b8928c1eeb', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.377122", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-29 08:59:16,484 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.031s 2021-08-29 08:59:16,485 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e09c88ff-8443-46c3-8423-ff86a5b9e2b7', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e09c88ff-8443-46c3-8423-ff86a5b9e2b7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:17,532 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.043s 2021-08-29 08:59:17,533 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ba796846-1a83-4b6e-adad-6df3dbb44b63', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ba796846-1a83-4b6e-adad-6df3dbb44b63', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:18,586 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.047s 2021-08-29 08:59:18,587 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2ce7ac03-754d-415d-8f0a-8c526decbba9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2ce7ac03-754d-415d-8f0a-8c526decbba9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:19,613 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.022s 2021-08-29 08:59:19,613 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:19 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7370f5a3-9541-471f-87c3-75a07f86e013', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7370f5a3-9541-471f-87c3-75a07f86e013', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:20,643 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.025s 2021-08-29 08:59:20,643 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3193bcf7-4ddf-433b-b44c-6fb0032e7a37', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-31 93bcf7-4ddf-433b-b44c-6fb0032e7a37', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:20,646 109177 INFO [tempest.common.waiters] snapshot 3051dbb8-fd6f-486c-98fd-9bd15456a098 reached available after waiting for 4.646910 seconds 2021-08-29 08:59:20,728 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098/action 0.081s 2021-08-29 08:59:20,729 109177 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': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-94aaed71-05f9-4eab-8809-457443f22485', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-94aaed71-05f9-4eab-8809-457443f22485', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098/action'} Body: b'' 2021-08-29 08:59:20,767 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.037s 2021-08-29 08:59:20,767 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f22f47b9-6c56-4b25-94f8-70792b616498', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f22f47b9-6c56-4b25-94f8-70792b616498', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:20,772 109177 INFO [tempest.common.waiters] snapshot 3051dbb8-fd6f-486c-98fd-9bd15456a098 reached creating after waiting for 0.772763 seconds 2021-08-29 08:59:20,836 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098/action 0.062s 2021-08-29 08:59:20,836 109177 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': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-5d3e7cd0-7eae-485d-9a8e-65f3ba7c61fc', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5d3e7cd0-7eae-485d-9a8e-65f3ba7c61fc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098/action'} Body: b'' 2021-08-29 08:59:20,865 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.028s 2021-08-29 08:59:20,866 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b120643b-59a2-417b-befe-5a3c6e7e6b72', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b120643b-59a2-417b-befe-5a3c6e7e6b72', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:21,901 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.032s 2021-08-29 08:59:21,902 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-47e5ed05-c21f-4b91-937c-492a8e8342f3', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-47e5ed05-c21f-4b91-937c-492a8e8342f3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:22,932 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.026s 2021-08-29 08:59:22,933 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/jso n', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:22 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3d41e55f-8a86-49cb-b0ff-8d3b1ad63234', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3d41e55f-8a86-49cb-b0ff-8d3b1ad63234', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:23,974 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.034s 2021-08-29 08:59:23,974 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-db430ada-a890-4044-9657-f661cbd74a08', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-db430ada-a890-4044-9657-f661cbd74a08', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"snapshot": {"id": "3051dbb8-fd6f-486c-98fd-9bd15456a098", "created_at": "2021-08-29T08:59:16.000000", "updated_at": "2021-08-29T08:59:21.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-992090747", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:25,011 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098 0.032s 2021-08-29 08:59:25,011 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:24 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-b9d5bfad-58b0-4e20-b9b6-0511ac001f95', 'x-openstack-request-id': 'req-b9d5bfad-58b0-4e20-b9b6-0511ac001f95', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/3051dbb8-fd6f-486c-98fd-9bd15456a098'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 3051dbb8-fd6f-486c-98fd-9bd15456a098 could not be found."}}' 2021-08-29 08:59:25,044 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action 0.032s 2021-08-29 08:59:25,045 109177 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': 'Sun, 29 Aug 2021 08:59:25 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-83473659-ab4e-4a0d-b827-186c41911e3c', 'x-openstack-request-id': 'req-83473659-ab4e-4a0d-b827-186c41911e3c', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-29 08:59:25,219 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots 0.171s 2021-08-29 08:59:25,220 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030"}} Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-00f36653-2590-4833-b5bd-b5a816ab68c3', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-00f36653-2590-4833-b5bd-b5a816ab68c3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.140460", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-29 08:59:25,271 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.048s 2021-08-29 08:59:25,271 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-17dbd18d-9841-48ac-b376-5b5d969d12bd', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-17dbd18d-9841-48ac-b376-5b5d969d12bd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:26,309 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.033s 2021-08-29 08:59:26,309 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:26 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-eec0e323-300e-4210-956b-5f043284528c', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-eec0e323-300e-4210-956b-5f043284528c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:27,357 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.043s 2021-08-29 08:59:27,357 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-65fa58a2-e329-403d-aa82-9a4f61d2bd98', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-65fa58a2-e329-403d-aa82-9a4f61d2bd98', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:28,385 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.023s 2021-08-29 08:59:28,385 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2644fc76-948f-4b2d-8157-d217a1eeea51', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2644fc76-948f-4b2d-8157-d217a1eeea51', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:29,416 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.027s 2021-08-29 08:59:29,416 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:29 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cafc0e48-3c08-48cf-a811-0c363d2c12d7', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-cafc0e48-3c08-48cf-a811-0c363d2c12d7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:30,445 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.022s 2021-08-29 08:59:30,446 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f525ee53-04b9-4508-853a-47fb38e0750a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f525ee53-04b9-4508-853a-47fb38e0750a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:31,483 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.033s 2021-08-29 08:59:31,484 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-806e1a36-48c8-4e15-9d22-b28d4a6067d6', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-806e1a36-48c8-4e15-9d22-b28d4a6067d6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:32,529 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.039s 2021-08-29 08:59:32,529 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', ' X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-df0160b7-d0ed-4266-b325-6e0497cc28e9', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-df0160b7-d0ed-4266-b325-6e0497cc28e9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": "2021-08-29T08:59:32.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:32,534 109177 INFO [tempest.common.waiters] snapshot 28167321-a8bd-4b8a-a649-62d73ef03edd reached available after waiting for 7.534637 seconds 2021-08-29 08:59:32,606 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd/action 0.071s 2021-08-29 08:59:32,607 109177 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': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-9ab2bc86-7aeb-49f0-9c36-fde526801627', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9ab2bc86-7aeb-49f0-9c36-fde526801627', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd/action'} Body: b'' 2021-08-29 08:59:32,631 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.023s 2021-08-29 08:59:32,632 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f29b39f3-fe1f-4c24-b447-df062cf17212', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f29b39f3-fe1f-4c24-b447-df062cf17212', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": "2021-08-29T08:59:33.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:32,634 109177 INFO [tempest.common.waiters] snapshot 28167321-a8bd-4b8a-a649-62d73ef03edd reached deleting after waiting for 0.634903 seconds 2021-08-29 08:59:32,696 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd/action 0.061s 2021-08-29 08:59:32,696 109177 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': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ee94a5f3-afc1-4182-8ad4-165061248ada', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ee94a5f3-afc1-4182-8ad4-165061248ada', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd/action'} Body: b'' 2021-08-29 08:59:32,722 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.025s 2021-08-29 08:59:32,723 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b4474584-69d3-4de2-a865-f7aa57d11613', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b4474584-69d3-4de2-a865-f7aa57d11613', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"snapshot": {"id": "28167321-a8bd-4b8a-a649-62d73ef03edd", "created_at": "2021-08-29T08:59:25.000000", "updated_at": "2021-08-29T08:59:33.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1798075030", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:33,749 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd 0.021s 2021-08-29 08:59:33,749 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:33 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-81da0c8a-8e99-42dd-b2f4-12e0dc468548', 'x-openstack-request-id': 'req-81da0c8a-8e99-42dd-b2f4-12e0dc468548', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/28167321-a8bd-4b8a-a649-62d73ef03edd'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 28167321-a8bd-4b8a-a649-62d73ef03edd could not be found."}}' 2021-08-29 08:59:33,793 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action 0.043s 2021-08-29 08:59:33,793 109177 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': 'Sun, 29 Aug 2021 08:59:33 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-443e7ae6-50e4-4502-b275-6b096486e7e5', 'x-openstack-request-id': 'req-443e7ae6-50e4-4502-b275-6b096486e7e5', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-29 08:59:33,981 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots 0.185s 2021-08-29 08:59:33,982 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637"}} Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c85af2d8-691d-483a-829f-f1e631981e58', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c85af2d8-691d-483a-829f-f1e631981e58', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:33.898657", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-29 08:59:34,044 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.057s 2021-08-29 08:59:34,045 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ce9b4a30-ac61-4672-a76b-bc29146de222', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ce9b4a30-ac61-4672-a76b-bc29146de222', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:35,108 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.059s 2021-08-29 08:59:35,109 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-414af99b-818d-4b20-bffa-367b65e048c7', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-414af99b-818d-4b20-bffa-367b65e048c7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": null, "name": "tempest-SnapshotsActio nsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:36,140 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.025s 2021-08-29 08:59:36,141 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-91367d2f-75d8-439f-8d85-0222c10f2b54', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-91367d2f-75d8-439f-8d85-0222c10f2b54', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:37,200 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.053s 2021-08-29 08:59:37,201 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b6d21f69-7eff-4c47-ac07-ac43b69b4b79', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b6d21f69-7eff-4c47-ac07-ac43b69b4b79', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:38,249 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.044s 2021-08-29 08:59:38,250 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-677ece1b-a12f-4061-8b99-6ba0b255bc23', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-677ece1b-a12f- 4061-8b99-6ba0b255bc23', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": "2021-08-29T08:59:37.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:38,254 109177 INFO [tempest.common.waiters] snapshot a619e1ef-31e7-4bde-814e-7e7308f66b3b reached available after waiting for 4.254345 seconds 2021-08-29 08:59:38,391 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b/action 0.136s 2021-08-29 08:59:38,392 109177 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': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2d6899ea-2990-4c89-a248-223e155526ed', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2d6899ea-2990-4c89-a248-223e155526ed', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b/action'} Body: b'' 2021-08-29 08:59:38,462 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.069s 2021-08-29 08:59:38,463 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ec57f979-7005-40fe-8be7-dce0189b8d42', 'content-length': '462', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ec57f979-7005-40fe-8be7-dce0189b8d42', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": "2021-08-29T08:59:38.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:38,468 109177 INFO [tempest.common.waiters] snapshot a619e1ef-31e7-4bde-814e-7e7308f66b3b reached error after waiting for 0.468518 seconds 2021-08-29 08:59:38,618 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b/action 0.149s 2021-08-29 08:59:38,619 109177 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': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-e26b1f26-b58d-4ddb-8238-323f1dc86edd', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e26b1f26-b58d-4ddb-8238-323f1dc86edd', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b/action'} Body: b'' 2021-08-29 08:59:38,685 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.065s 2021-08-29 08:59:38,686 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-459d70fb-94a1-4e9b-be29-3f359634beab', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-459d70fb-94a1-4e9b-be29-3f359634beab', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"snapshot": {"id": "a619e1ef-31e7-4bde-814e-7e7308f66b3b", "created_at": "2021-08-29T08:59:34.000000", "updated_at": "2021-08-29T08:59:39.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1029300637", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:40,011 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b 0.320s 2021-08-29 08:59:40,011 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:39 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-993b2de1-421a-4307-bd84-e30efc489c15', 'x-openstack-request-id': 'req-993b2de1-421a-4307-bd84-e30efc489c15', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/a619e1ef-31e7-4bde-814e-7e7308f66b3b'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a619e1ef-31e7-4bde-814e-7e7308f66b3b could not be found."}}' 2021-08-29 08:59:40,125 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action 0.112s 2021-08-29 08:59:40,125 109177 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': 'Sun, 29 Aug 2021 08:59:40 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-743424a6-c5e7-4798-9d88-8deca8d20c96', 'x-openstack-request-id': 'r eq-743424a6-c5e7-4798-9d88-8deca8d20c96', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-29 08:59:40,437 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots 0.305s 2021-08-29 08:59:40,437 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "name": "tempest-SnapshotsActionsTest-Snapshot-523310515"}} Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e17de86b-dcd7-4084-8b43-62f31a85c370', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e17de86b-dcd7-4084-8b43-62f31a85c370', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.340815", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-29 08:59:40,483 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.040s 2021-08-29 08:59:40,484 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-99a5f8e1-7ec4-480a-8eb1-36aeaeb38366', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-99a5f8e1-7ec4-480a-8eb1-36aeaeb38366', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:41,517 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.028s 2021-08-29 08:59:41,517 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ab544505-4aef-4636-8f09-fa4041f215ea', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ab544505-4aef-4636-8f09-fa4041f215ea', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:42,578 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.055s 2021-08-29 08:59:42,578 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-43e12e1f-a910-4108-8796-6f54007d1892', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-43e12e1f-a910-4108-8796-6f54007d1892', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:43,630 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.045s 2021-08-29 08:59:43,631 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-36d5e2ec-43fc-4b29-975d-3270466da8ca', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-36d5e2ec-43fc-4b29-975d-3270466da8ca', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-29 08:59:44,678 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.041s 2021-08-29 08:59:44,678 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-683b2a0f-cf7e-47e4-9bd0-9f28f1470123', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-683b2a0f-cf7e-47e4-9bd0-9f28f1470123', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": "2021-08-29T08:59:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:44,681 109177 INFO [tempest.common.waiters] snapshot 9435a692-a704-4545-946c-23363db01621 reached available after waiting for 4.681196 seconds 2021-08-29 08:59:44,790 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/9435a692-a704-4545-946c-23363db01621/action 0.109s 2021-08-29 08:59:44,791 109177 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': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d75ba6bd-f222-4916-955d-0e6480a56cc3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d75ba6bd-f222-4916-955d-0e6480a56cc3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/9435a692-a704-4545-946c-23363db01621/action'} Body: b'' 2021-08-29 08:59:44,824 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.032s 2021-08-29 08:59:44,824 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-658c25b0-aa99-41ca-91c3-8936bb2a3126', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-658c25b0-aa99-41ca-91c3-8936bb2a3126', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": "2021-08-29T08:59:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:44,828 109177 INFO [tempest.common.waiters] snapshot 9435a692-a704-4545-946c-23363db01621 reached error_deleting after waiting for 0.828548 seconds 2021-08-29 08:59:44,902 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/9435a692-a704-4545-946c-23363db01621/action 0.073s 2021-08-29 08:59:44,903 109177 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': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-e45d77c3-aeac-4568-a4e6-b713df0ff98e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e45d77c3-aeac-4568-a4e6-b713df0ff98e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/9435a692-a704-4545-946c-23363db01621/action'} Body: b'' 2021-08-29 08:59:44,930 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.027s 2021-08-29 08:59:44,930 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-04e0f714-b866-4baa-859e-ce3acff44c1a', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-04e0f714-b866-4baa-859e-ce3acff44c1a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"snapshot": {"id": "9435a692-a704-4545-946c-23363db01621", "created_at": "2021-08-29T08:59:40.000000", "updated_at": "2021-08-29T08:59:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-523310515", "description": null, "volume_id": "bf36c37f-e671-422e-a3a9-9bbb67b8b6e5", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "e53d222182704be68d32baf044a4b727", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-29 08:59:45,989 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621 0.054s 2021-08-29 08:59:45,989 109177 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Sun, 29 Aug 2021 08:59:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-8b3630fe-c7ac-4ead-a500-98ef8645d822', 'x-openstack-request-id': 'req-8b3630fe-c7ac-4ead-a500-98ef8645d822', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.45/volume/v3/e53d222182704be68d32baf044a4b727/snapshots/9435a692-a704-4545-946c-23363db01621'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 9435a692-a704-4545-946c-23363db01621 could not be found."}}' 2021-08-29 08:59:46,065 109177 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action 0.074s 2021-08-29 08:59:46,065 109177 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': 'Sun, 29 Aug 2021 08:59:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-402679f9-6dee-454b-8cf8-e5c372dbfb32', 'x-openstack-request-id': 'req-402679f9-6dee-454b-8cf8-e5c372dbfb32', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.45/volume/v3/5e6d0230a687424ba5579d7be435c7c7/snapshots/d0f95665-1a90-4afa-82f6-80738026b195/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tearDownClass (tempest.api.volume.test_volumes_clone.VolumesCloneTest) ---------------------------------------------------------------------- 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: (, Resource %(resource_id)s failed to delete and is in ERROR status Details: Volume dcb77cb1-68f2-47cd-b1b3-43ae4db8e92a failed to delete and is in error_deleting status, ) ====== Totals ====== Ran: 230 tests in 713.1068 sec. - Passed: 215 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 5 Sum of execute time for each test: 2714.3569 sec. ============== Worker Balance ============== - Worker 0 (30 tests) => 0:10:00.017508 - Worker 1 (34 tests) => 0:11:31.721962 - Worker 2 (17 tests) => 0:03:14.674003 - Worker 3 (66 tests) => 0:09:53.421873 - Worker 4 (11 tests) => 0:01:21.691609 - Worker 5 (25 tests) => 0:03:31.994064 - Worker 6 (29 tests) => 0:07:57.238043 - Worker 7 (18 tests) => 0:08:11.224341 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] tearDownClass (tempest.api.volume.test_volumes_clone.VolumesCloneTest) ~ Exit code: 1