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@0d2d3adcb1dced2653073555960da3de469f037b#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 :) {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [1.749476s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.274725s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.015043s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [1.871388s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.014692s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.023625s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.869829s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.226814s] ... ok {3} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.261636s] ... ok {3} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.102025s] ... ok {4} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [3.313088s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.171707s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.388236s] ... ok {4} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [2.202456s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [1.522876s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.229250s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.454368s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.324339s] ... ok {4} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.632486s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [13.026127s] ... ok {1} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [2.288774s] ... ok {4} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [2.776795s] ... ok {2} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [15.983215s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.068616s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.024236s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.129472s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.025574s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.040536s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.049167s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.042988s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.017015s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.019547s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.109339s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.063917s] ... ok {2} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [17.103712s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [4.397159s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [9.340576s] ... ok {3} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.342133s] ... ok {2} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [8.347569s] ... ok {3} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.039762s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.032743s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.025903s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [9.515230s] ... ok {7} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [51.995207s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [1.962939s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.026858s] ... ok {1} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [1.996177s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.228444s] ... ok {1} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.514235s] ... ok {1} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.432860s] ... ok {3} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.661671s] ... ok {3} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.014279s] ... ok {3} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.024195s] ... ok {3} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.017772s] ... ok {1} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.294780s] ... ok {2} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {2} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.589492s] ... ok {2} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.767033s] ... ok {2} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {2} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {3} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.374350s] ... ok {3} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.287227s] ... ok {1} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [3.050984s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [26.464956s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [2.923770s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.159705s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.076143s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.225243s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [2.921955s] ... ok {3} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [6.926655s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [2.677893s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [2.816292s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [2.441100s] ... ok {3} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [6.198087s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [19.945823s] ... ok {4} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.010807s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [1.205171s] ... ok {4} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.193303s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.313521s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.016224s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.022436s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.023717s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.023653s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.016477s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.011185s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.011630s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.021117s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008371s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.021872s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.021953s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.008752s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.075205s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.096098s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.132159s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.082702s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.150971s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.022091s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.023035s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.014162s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.022483s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.023707s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.020465s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.013336s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.010918s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.024135s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.012682s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.022384s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.022121s] ... ok {4} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.049938s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [35.007856s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [19.818126s] ... ok {4} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [2.090509s] ... ok {4} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [26.479993s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [23.558867s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.233735s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.206031s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.220435s] ... ok {6} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [34.259640s] ... ok {7} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [23.213520s] ... ok {1} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [40.822032s] ... ok {1} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [6.961834s] ... 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_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.482336s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.141458s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.125607s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.121816s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.019931s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.028614s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.143978s] ... ok {1} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [7.186595s] ... ok {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.222668s] ... ok {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [2.431976s] ... 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-30 07:43:45,599 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots 0.136s 2021-08-30 07:43:45,599 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907"}} Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5542f5a7-29ea-489a-af30-35b62ccf6ee4', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5542f5a7-29ea-489a-af30-35b62ccf6ee4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:45.534315", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-30 07:43:45,635 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.033s 2021-08-30 07:43:45,636 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1f68bb46-1e63-4a73-a416-7035d6dc3740', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1f68bb46-1e63-4a73-a416-7035d6dc3740', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:46.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-30 07:43:46,660 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.021s 2021-08-30 07:43:46,662 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a11ab9ad-d470-4f4b-b4f9-0dde930b770e', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a11ab9ad-d470-4f4b-b4f9-0dde930b770e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:46.000000", "updated_at": "2021-08-30T07:43:46.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "available", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:46,665 115473 INFO [tempest.common.waiters] snapshot b0452a65-2434-4991-a25a-892995b410bd reached available after waiting for 1.665116 seconds 2021-08-30 07:43:46,725 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/b0452a65-2434-4991-a25a-892995b410bd/action 0.060s 2021-08-30 07:43:46,725 115473 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': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-6207c701-5691-4fdb-90d6-5fdcfcb0b535', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6207c701-5691-4fdb-90d6-5fdcfcb0b535', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/b0452a65-2434-4991-a25a-892995b410bd/action'} Body: b'' 2021-08-30 07:43:46,747 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.021s 2021-08-30 07:43:46,747 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8b369b1e-d345-4ed8-9dac-32aafd349567', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8b369b1e-d345-4ed8-9dac-32aafd349567', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:46.000000", "updated_at": "2021-08-30T07:43:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:46,750 115473 INFO [tempest.common.waiters] snapshot b0452a65-2434-4991-a25a-892995b410bd reached creating after waiting for 0.750414 seconds 2021-08-30 07:43:46,800 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/b0452a65-2434-4991-a25a-892995b410bd/action 0.049s 2021-08-30 07:43:46,800 115473 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': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-53e76c14-08c9-4028-b5a0-6f0c81366fb3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-53e76c14-08c9-4028-b5a0-6f0c81366fb3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/b0452a65-2434-4991-a25a-892995b410bd/action'} Body: b'' 2021-08-30 07:43:46,824 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.023s 2021-08-30 07:43:46,824 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3cc70d67-7bd3-4d94-aa90-95fe6f49fb61', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3cc70d67-7bd3-4d94-aa90-95fe6f49fb61', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:46.000000", "updated_at": "2021-08-30T07:43:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:47,846 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.017s 2021-08-30 07:43:47,846 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:47 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-fed6364e-dbc6-4e42-b09c-75d586703a91', 'x-openstack-request-id': 'req-fed6364e-dbc6-4e42-b09c-75d586703a91', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot b0452a65-2434-4991-a25a-892995b410bd could not be found."}}' 2021-08-30 07:43:47,877 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action 0.030s 2021-08-30 07:43:47,878 115473 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': 'Mon, 30 Aug 2021 07:43:47 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-f569521e-34b4-4516-ad85-253c11ff3092', 'x-openstack-request-id': 'req-f569521e-34b4-4516-ad85 -253c11ff3092', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [2.410233s] ... 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-30 07:43:48,029 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots 0.132s 2021-08-30 07:43:48,029 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "name": "tempest-SnapshotsActionsTest-Snapshot-235415364"}} Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-31c446b2-db96-4535-8985-a6b219cd8ea4', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-31c446b2-db96-4535-8985-a6b219cd8ea4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:47.969883", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-30 07:43:48,057 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.024s 2021-08-30 07:43:48,057 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c515092d-672f-491b-908b-13ea7027b7a9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c515092d-672f-491b-908b-13ea7027b7a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-30 07:43:49,082 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.021s 2021-08-30 07:43:49,083 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-54d01c78-4c50-4f65-8160-b54cac5adad3', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-54d01c78-4c50-4f65-8160-b54cac5adad3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:48.000000", "updated_at": "2021-08-30T07:43:48.000000", " name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "available", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:49,085 115473 INFO [tempest.common.waiters] snapshot be59025a-7794-4842-8c43-0c8aa74adbd6 reached available after waiting for 1.085737 seconds 2021-08-30 07:43:49,150 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6/action 0.064s 2021-08-30 07:43:49,151 115473 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': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-dba5d0a3-2706-475c-bbd9-a0fbd6f8aebc', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dba5d0a3-2706-475c-bbd9-a0fbd6f8aebc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6/action'} Body: b'' 2021-08-30 07:43:49,173 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.022s 2021-08-30 07:43:49,173 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c64904b8-bb0c-4808-a1c1-2d19d4d4055e', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c64904b8-bb0c-4808-a1c1-2d19d4d4055e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:48.000000", "updated_at": "2021-08-30T07:43:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:49,176 115473 INFO [tempest.common.waiters] snapshot be59025a-7794-4842-8c43-0c8aa74adbd6 reached deleting after waiting for 0.176276 seconds 2021-08-30 07:43:49,225 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6/action 0.048s 2021-08-30 07:43:49,225 115473 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': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-comp ute-request-id': 'req-f9307223-ab01-4b88-bd4f-af4ec914f1f2', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f9307223-ab01-4b88-bd4f-af4ec914f1f2', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6/action'} Body: b'' 2021-08-30 07:43:49,248 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.022s 2021-08-30 07:43:49,248 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6f0443ee-8051-4ea1-b8ad-734e15e9346a', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6f0443ee-8051-4ea1-b8ad-734e15e9346a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:48.000000", "updated_at": "2021-08-30T07:43:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:50,269 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.017s 2021-08-30 07:43:50,270 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:50 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-7a1d1053-54f3-44cc-8e9b-653876a01272', 'x-openstack-request-id': 'req-7a1d1053-54f3-44cc-8e9b-653876a01272', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot be59025a-7794-4842-8c43-0c8aa74adbd6 could not be found."}}' 2021-08-30 07:43:50,305 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action 0.034s 2021-08-30 07:43:50,305 115473 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': 'Mon, 30 Aug 2021 07:43:50 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-bf41aae8-151d-4846-8346-6621482d9e8b', 'x-openstack-request-id': 'req-bf41aae8-151d-4846-8346-66214 82d9e8b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [2.437000s] ... 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-30 07:43:50,442 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots 0.135s 2021-08-30 07:43:50,443 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000"}} Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e0efc0d5-3de1-4e7a-9221-f99e8c8fe2c5', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e0efc0d5-3de1-4e7a-9221-f99e8c8fe2c5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.386645", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-30 07:43:50,469 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.024s 2021-08-30 07:43:50,469 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-695d72b7-a4f5-4f95-852a-e17ec605b808', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-695d72b7-a4f5-4f95-852a-e17ec605b808', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-30 07:43:51,502 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.030s 2021-08-30 07:43:51,503 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-26d2a657-f2d0-4a15-a568-e66a7b3f6f4d', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-26d2a657-f2d0-4a15-a568-e66a7b3f6f4d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.000000", "updated_at": "2021-08-30T07:43:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "available", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:51,505 115473 INFO [tempest.common.waiters] snapshot a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 reached available after waiting for 1.505621 seconds 2021-08-30 07:43:51,569 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1/action 0.063s 2021-08-30 07:43:51,569 115473 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': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-021d63b8-6670-4d1a-8b4b-8d57c4999894', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-021d63b8-6670-4d1a-8b4b-8d57c4999894', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1/action'} Body: b'' 2021-08-30 07:43:51,593 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.024s 2021-08-30 07:43:51,594 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4f4f85ad-8bf7-495f-a088-94d13ca643d8', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4f4f85ad-8bf7-495f-a088-94d13ca643d8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.000000", "updated_at": "2021-08-30T07:43:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "error", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:51,596 115473 INFO [tempest.common.waiters] snapshot a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 reached error after waiting for 0.596953 seconds 2021-08-30 07:43:51,651 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1/action 0.054s 2021-08-30 07:43:51,651 115473 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': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- 981e9cec-2480-450f-aaca-2981c6bf85d2', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-981e9cec-2480-450f-aaca-2981c6bf85d2', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1/action'} Body: b'' 2021-08-30 07:43:51,686 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.034s 2021-08-30 07:43:51,687 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-95908d36-b5ff-4286-adcf-f86ca39a4545', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-95908d36-b5ff-4286-adcf-f86ca39a4545', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.000000", "updated_at": "2021-08-30T07:43:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:52,712 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.019s 2021-08-30 07:43:52,712 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-608815b0-a73c-4de6-aace-d89288d3e814', 'x-openstack-request-id': 'req-608815b0-a73c-4de6-aace-d89288d3e814', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 could not be found."}}' 2021-08-30 07:43:52,743 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action 0.030s 2021-08-30 07:43:52,743 115473 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': 'Mon, 30 Aug 2021 07:43:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-63b7a5cb-0385-4a44-8e37-9f21c6f9b2dc', 'x-openstack-request-id': 'req-63b7a5cb-0385-4a44-8e37-9f21c6f9b2dc', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [2.419206s] ... 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-30 07:43:52,878 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots 0.132s 2021-08-30 07:43:52,878 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "name": "tempest-SnapshotsActionsTest-Snapshot-629598349"}} Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c464b282-5d89-48fb-96a7-e769292f98f3', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c464b282-5d89-48fb-96a7-e769292f98f3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:52.823805", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-30 07:43:52,908 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.026s 2021-08-30 07:43:52,908 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-41d42687-7015-401a-ad76-460c5bb6e4ab', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-41d42687-7015-401a-ad76-460c5bb6e4ab', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-30 07:43:53,937 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.023s 2021-08-30 07:43:53,937 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b7e03a39-b68e-476c-adc1-b065591e2599', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b7e03a39-b68e-476c-adc1-b065591e2599', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:53.000000", "updated_at": "2021-08-30T0 7:43:53.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "available", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:53,940 115473 INFO [tempest.common.waiters] snapshot a13832b8-fd0e-4c44-8363-303b3b77d722 reached available after waiting for 1.940245 seconds 2021-08-30 07:43:53,999 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722/action 0.058s 2021-08-30 07:43:53,999 115473 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': 'Mon, 30 Aug 2021 07:43:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-924664c8-5564-46be-8c82-c6ed64324c98', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-924664c8-5564-46be-8c82-c6ed64324c98', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722/action'} Body: b'' 2021-08-30 07:43:54,025 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.026s 2021-08-30 07:43:54,026 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-412c71ae-a6d7-4b6a-909c-c2128a76b76d', 'content-length': '573', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-412c71ae-a6d7-4b6a-909c-c2128a76b76d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:53.000000", "updated_at": "2021-08-30T07:43:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:54,029 115473 INFO [tempest.common.waiters] snapshot a13832b8-fd0e-4c44-8363-303b3b77d722 reached error_deleting after waiting for 0.029015 seconds 2021-08-30 07:43:54,082 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722/action 0.053s 2021-08-30 07:43:54,082 115473 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': 'Mon, 30 Aug 2021 07:4 3:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d6571526-9e95-4940-8d95-2b65856d8bbd', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d6571526-9e95-4940-8d95-2b65856d8bbd', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722/action'} Body: b'' 2021-08-30 07:43:54,110 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.027s 2021-08-30 07:43:54,111 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-989feaf3-086f-4000-b486-a43698aa1439', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-989feaf3-086f-4000-b486-a43698aa1439', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:53.000000", "updated_at": "2021-08-30T07:43:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:55,133 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.017s 2021-08-30 07:43:55,134 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:55 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-f593daf4-7f3f-449f-b898-c2a0ebb7ed7f', 'x-openstack-request-id': 'req-f593daf4-7f3f-449f-b898-c2a0ebb7ed7f', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a13832b8-fd0e-4c44-8363-303b3b77d722 could not be found."}}' 2021-08-30 07:43:55,163 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action 0.029s 2021-08-30 07:43:55,164 115473 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': 'Mon, 30 Aug 2021 07:43:55 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-305aa2c1-2ed2-47d0-b133-0a24c7f35 237', 'x-openstack-request-id': 'req-305aa2c1-2ed2-47d0-b133-0a24c7f35237', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {7} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.229221s] ... ok {7} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.112256s] ... ok {1} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [24.865199s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [3.540177s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [2.712882s] ... ok {4} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [106.959357s] ... ok {4} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [2.389277s] ... ok {7} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [22.001710s] ... ok {7} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [2.706222s] ... ok {4} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [39.316190s] ... ok {4} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [5.050330s] ... ok {6} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [130.865411s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [245.302615s] ... ok {4} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [5.214374s] ... ok {5} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [279.714335s] ... ok {6} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {6} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.233129s] ... ok {6} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.060252s] ... ok {6} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.224002s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.122524s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.022665s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.046795s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.020444s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.066218s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.036728s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.034854s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.023641s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.034600s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.035669s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.036265s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.037014s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.114719s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.102346s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.113755s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.053860s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.015850s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.022788s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.014298s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [2.595545s] ... ok {6} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {5} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [73.746254s] ... ok {5} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [4.265232s] ... ok {5} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [1.603756s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {5} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show [0.257274s] ... ok {5} tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume [5.349980s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [3.196906s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.064281s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.368880s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.047789s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.170885s] ... ok {5} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [3.463264s] ... ok {5} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [2.764691s] ... ok {2} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [313.127293s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [178.420447s] ... ok {0} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.170974s] ... ok {0} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.033004s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.370833s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.037122s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.042171s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [2.721518s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [3.399073s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.050771s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [0.316680s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.014646s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.022695s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.021272s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.022451s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.021902s] ... ok {0} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [1.674705s] ... ok {0} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.168554s] ... ok {0} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [16.805079s] ... ok {0} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [3.941425s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.072086s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.074438s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.079075s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.527917s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.334307s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.323059s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.082496s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.081555s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.084309s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.090376s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.087322s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.075015s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.142164s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.136532s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.142370s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.081283s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.081407s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.082794s] ... ok {0} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [119.113313s] ... ok ============================== Failed 4 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-30 07:43:45,599 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots 0.136s 2021-08-30 07:43:45,599 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907"}} Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5542f5a7-29ea-489a-af30-35b62ccf6ee4', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5542f5a7-29ea-489a-af30-35b62ccf6ee4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:45.534315", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-30 07:43:45,635 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.033s 2021-08-30 07:43:45,636 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1f68bb46-1e63-4a73-a416-7035d6dc3740', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1f68bb46-1e63-4a73-a416-7035d6dc3740', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:46.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-30 07:43:46,660 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.021s 2021-08-30 07:43:46,662 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a11ab9ad-d470-4f4b-b4f9-0dde930b770e', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a11ab9ad-d470-4f4b-b4f9-0dde930b770e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:46.000000", "updated_at": "2021-08-30T07:43:46.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "available", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:46,665 115473 INFO [tempest.common.waiters] snapshot b0452a65-2434-4991-a25a-892995b410bd reached available after waiting for 1.665116 seconds 2021-08-30 07:43:46,725 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/b0452a65-2434-4991-a25a-892995b410bd/action 0.060s 2021-08-30 07:43:46,725 115473 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': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-6207c701-5691-4fdb-90d6-5fdcfcb0b535', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6207c701-5691-4fdb-90d6-5fdcfcb0b535', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/b0452a65-2434-4991-a25a-892995b410bd/action'} Body: b'' 2021-08-30 07:43:46,747 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.021s 2021-08-30 07:43:46,747 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8b369b1e-d345-4ed8-9dac-32aafd349567', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8b369b1e-d345-4ed8-9dac-32aafd349567', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:46.000000", "updated_at": "2021-08-30T07:43:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:46,750 115473 INFO [tempest.common.waiters] snapshot b0452a65-2434-4991-a25a-892995b410bd reached creating after waiting for 0.750414 seconds 2021-08-30 07:43:46,800 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/b0452a65-2434-4991-a25a-892995b410bd/action 0.049s 2021-08-30 07:43:46,800 115473 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': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-53e76c14-08c9-4028-b5a0-6f0c81366fb3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-53e76c14-08c9-4028-b5a0-6f0c81366fb3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/b0452a65-2434-4991-a25a-892995b410bd/action'} Body: b'' 2021-08-30 07:43:46,824 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.023s 2021-08-30 07:43:46,824 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3cc70d67-7bd3-4d94-aa90-95fe6f49fb61', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3cc70d67-7bd3-4d94-aa90-95fe6f49fb61', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"snapshot": {"id": "b0452a65-2434-4991-a25a-892995b410bd", "created_at": "2021-08-30T07:43:46.000000", "updated_at": "2021-08-30T07:43:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1803155907", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:47,846 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd 0.017s 2021-08-30 07:43:47,846 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:47 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-fed6364e-dbc6-4e42-b09c-75d586703a91', 'x-openstack-request-id': 'req-fed6364e-dbc6-4e42-b09c-75d586703a91', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/b0452a65-2434-4991-a25a-892995b410bd'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot b0452a65-2434-4991-a25a-892995b410bd could not be found."}}' 2021-08-30 07:43:47,877 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action 0.030s 2021-08-30 07:43:47,878 115473 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': 'Mon, 30 Aug 2021 07:43:47 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-f569521e-34b4-4516-ad85-253c11ff3092', 'x-openstack-request-id': 'req-f569521e-34b4-4516-ad85 -253c11ff3092', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/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-30 07:43:48,029 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots 0.132s 2021-08-30 07:43:48,029 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "name": "tempest-SnapshotsActionsTest-Snapshot-235415364"}} Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-31c446b2-db96-4535-8985-a6b219cd8ea4', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-31c446b2-db96-4535-8985-a6b219cd8ea4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:47.969883", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-30 07:43:48,057 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.024s 2021-08-30 07:43:48,057 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c515092d-672f-491b-908b-13ea7027b7a9', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c515092d-672f-491b-908b-13ea7027b7a9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:48.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-30 07:43:49,082 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.021s 2021-08-30 07:43:49,083 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-54d01c78-4c50-4f65-8160-b54cac5adad3', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-54d01c78-4c50-4f65-8160-b54cac5adad3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:48.000000", "updated_at": "2021-08-30T07:43:48.000000", " name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "available", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:49,085 115473 INFO [tempest.common.waiters] snapshot be59025a-7794-4842-8c43-0c8aa74adbd6 reached available after waiting for 1.085737 seconds 2021-08-30 07:43:49,150 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6/action 0.064s 2021-08-30 07:43:49,151 115473 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': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-dba5d0a3-2706-475c-bbd9-a0fbd6f8aebc', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dba5d0a3-2706-475c-bbd9-a0fbd6f8aebc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6/action'} Body: b'' 2021-08-30 07:43:49,173 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.022s 2021-08-30 07:43:49,173 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c64904b8-bb0c-4808-a1c1-2d19d4d4055e', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c64904b8-bb0c-4808-a1c1-2d19d4d4055e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:48.000000", "updated_at": "2021-08-30T07:43:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:49,176 115473 INFO [tempest.common.waiters] snapshot be59025a-7794-4842-8c43-0c8aa74adbd6 reached deleting after waiting for 0.176276 seconds 2021-08-30 07:43:49,225 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6/action 0.048s 2021-08-30 07:43:49,225 115473 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': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-comp ute-request-id': 'req-f9307223-ab01-4b88-bd4f-af4ec914f1f2', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f9307223-ab01-4b88-bd4f-af4ec914f1f2', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6/action'} Body: b'' 2021-08-30 07:43:49,248 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.022s 2021-08-30 07:43:49,248 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6f0443ee-8051-4ea1-b8ad-734e15e9346a', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6f0443ee-8051-4ea1-b8ad-734e15e9346a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"snapshot": {"id": "be59025a-7794-4842-8c43-0c8aa74adbd6", "created_at": "2021-08-30T07:43:48.000000", "updated_at": "2021-08-30T07:43:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-235415364", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:50,269 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6 0.017s 2021-08-30 07:43:50,270 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:50 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-7a1d1053-54f3-44cc-8e9b-653876a01272', 'x-openstack-request-id': 'req-7a1d1053-54f3-44cc-8e9b-653876a01272', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/be59025a-7794-4842-8c43-0c8aa74adbd6'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot be59025a-7794-4842-8c43-0c8aa74adbd6 could not be found."}}' 2021-08-30 07:43:50,305 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action 0.034s 2021-08-30 07:43:50,305 115473 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': 'Mon, 30 Aug 2021 07:43:50 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-bf41aae8-151d-4846-8346-6621482d9e8b', 'x-openstack-request-id': 'req-bf41aae8-151d-4846-8346-66214 82d9e8b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/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-30 07:43:50,442 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots 0.135s 2021-08-30 07:43:50,443 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000"}} Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e0efc0d5-3de1-4e7a-9221-f99e8c8fe2c5', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e0efc0d5-3de1-4e7a-9221-f99e8c8fe2c5', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.386645", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-30 07:43:50,469 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.024s 2021-08-30 07:43:50,469 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-695d72b7-a4f5-4f95-852a-e17ec605b808', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-695d72b7-a4f5-4f95-852a-e17ec605b808', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-30 07:43:51,502 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.030s 2021-08-30 07:43:51,503 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-26d2a657-f2d0-4a15-a568-e66a7b3f6f4d', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-26d2a657-f2d0-4a15-a568-e66a7b3f6f4d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.000000", "updated_at": "2021-08-30T07:43:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "available", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:51,505 115473 INFO [tempest.common.waiters] snapshot a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 reached available after waiting for 1.505621 seconds 2021-08-30 07:43:51,569 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1/action 0.063s 2021-08-30 07:43:51,569 115473 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': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-021d63b8-6670-4d1a-8b4b-8d57c4999894', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-021d63b8-6670-4d1a-8b4b-8d57c4999894', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1/action'} Body: b'' 2021-08-30 07:43:51,593 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.024s 2021-08-30 07:43:51,594 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4f4f85ad-8bf7-495f-a088-94d13ca643d8', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4f4f85ad-8bf7-495f-a088-94d13ca643d8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.000000", "updated_at": "2021-08-30T07:43:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "error", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:51,596 115473 INFO [tempest.common.waiters] snapshot a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 reached error after waiting for 0.596953 seconds 2021-08-30 07:43:51,651 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1/action 0.054s 2021-08-30 07:43:51,651 115473 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': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- 981e9cec-2480-450f-aaca-2981c6bf85d2', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-981e9cec-2480-450f-aaca-2981c6bf85d2', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1/action'} Body: b'' 2021-08-30 07:43:51,686 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.034s 2021-08-30 07:43:51,687 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-95908d36-b5ff-4286-adcf-f86ca39a4545', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-95908d36-b5ff-4286-adcf-f86ca39a4545', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"snapshot": {"id": "a4879aaa-1583-445b-99d2-bcd7a3f8e5b1", "created_at": "2021-08-30T07:43:50.000000", "updated_at": "2021-08-30T07:43:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1804198000", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:52,712 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 0.019s 2021-08-30 07:43:52,712 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-608815b0-a73c-4de6-aace-d89288d3e814', 'x-openstack-request-id': 'req-608815b0-a73c-4de6-aace-d89288d3e814', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a4879aaa-1583-445b-99d2-bcd7a3f8e5b1'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a4879aaa-1583-445b-99d2-bcd7a3f8e5b1 could not be found."}}' 2021-08-30 07:43:52,743 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action 0.030s 2021-08-30 07:43:52,743 115473 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': 'Mon, 30 Aug 2021 07:43:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-63b7a5cb-0385-4a44-8e37-9f21c6f9b2dc', 'x-openstack-request-id': 'req-63b7a5cb-0385-4a44-8e37-9f21c6f9b2dc', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/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-30 07:43:52,878 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots 0.132s 2021-08-30 07:43:52,878 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "name": "tempest-SnapshotsActionsTest-Snapshot-629598349"}} Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c464b282-5d89-48fb-96a7-e769292f98f3', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c464b282-5d89-48fb-96a7-e769292f98f3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:52.823805", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-30 07:43:52,908 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.026s 2021-08-30 07:43:52,908 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-41d42687-7015-401a-ad76-460c5bb6e4ab', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-41d42687-7015-401a-ad76-460c5bb6e4ab', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-30 07:43:53,937 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.023s 2021-08-30 07:43:53,937 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b7e03a39-b68e-476c-adc1-b065591e2599', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b7e03a39-b68e-476c-adc1-b065591e2599', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:53.000000", "updated_at": "2021-08-30T0 7:43:53.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "available", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:53,940 115473 INFO [tempest.common.waiters] snapshot a13832b8-fd0e-4c44-8363-303b3b77d722 reached available after waiting for 1.940245 seconds 2021-08-30 07:43:53,999 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722/action 0.058s 2021-08-30 07:43:53,999 115473 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': 'Mon, 30 Aug 2021 07:43:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-924664c8-5564-46be-8c82-c6ed64324c98', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-924664c8-5564-46be-8c82-c6ed64324c98', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722/action'} Body: b'' 2021-08-30 07:43:54,025 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.026s 2021-08-30 07:43:54,026 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-412c71ae-a6d7-4b6a-909c-c2128a76b76d', 'content-length': '573', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-412c71ae-a6d7-4b6a-909c-c2128a76b76d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:53.000000", "updated_at": "2021-08-30T07:43:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:54,029 115473 INFO [tempest.common.waiters] snapshot a13832b8-fd0e-4c44-8363-303b3b77d722 reached error_deleting after waiting for 0.029015 seconds 2021-08-30 07:43:54,082 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722/action 0.053s 2021-08-30 07:43:54,082 115473 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': 'Mon, 30 Aug 2021 07:4 3:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-d6571526-9e95-4940-8d95-2b65856d8bbd', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d6571526-9e95-4940-8d95-2b65856d8bbd', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722/action'} Body: b'' 2021-08-30 07:43:54,110 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.027s 2021-08-30 07:43:54,111 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-989feaf3-086f-4000-b486-a43698aa1439', 'content-length': '567', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-989feaf3-086f-4000-b486-a43698aa1439', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"snapshot": {"id": "a13832b8-fd0e-4c44-8363-303b3b77d722", "created_at": "2021-08-30T07:43:53.000000", "updated_at": "2021-08-30T07:43:54.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-629598349", "description": null, "volume_id": "2335d973-7d9a-44ac-97bd-c89b7bce3c3b", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-2335d973-7d9a-44ac-97bd-c89b7bce3c3b.fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b.vhdx"}, "os-extended-snapshot-attributes:project_id": "0e6050c762e642a9805b9be8dbac700f", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-30 07:43:55,133 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722 0.017s 2021-08-30 07:43:55,134 115473 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Mon, 30 Aug 2021 07:43:55 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-f593daf4-7f3f-449f-b898-c2a0ebb7ed7f', 'x-openstack-request-id': 'req-f593daf4-7f3f-449f-b898-c2a0ebb7ed7f', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.59/volume/v3/0e6050c762e642a9805b9be8dbac700f/snapshots/a13832b8-fd0e-4c44-8363-303b3b77d722'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot a13832b8-fd0e-4c44-8363-303b3b77d722 could not be found."}}' 2021-08-30 07:43:55,163 115473 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action 0.029s 2021-08-30 07:43:55,164 115473 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': 'Mon, 30 Aug 2021 07:43:55 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-305aa2c1-2ed2-47d0-b133-0a24c7f35 237', 'x-openstack-request-id': 'req-305aa2c1-2ed2-47d0-b133-0a24c7f35237', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.59/volume/v3/3ef01835764b470a8757529d739d25eb/snapshots/fa2a6bc4-3af1-4c0b-ac8b-3b4d98292a2b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 230 tests in 658.7417 sec. - Passed: 216 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 2083.6896 sec. ============== Worker Balance ============== - Worker 0 (39 tests) => 0:10:30.066627 - Worker 1 (26 tests) => 0:03:27.524921 - Worker 2 (51 tests) => 0:07:11.787418 - Worker 3 (19 tests) => 0:01:27.756319 - Worker 4 (31 tests) => 0:04:31.446080 - Worker 5 (14 tests) => 0:06:41.870728 - Worker 6 (27 tests) => 0:03:52.437479 - Worker 7 (23 tests) => 0:03:59.312407 tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ~ Exit code: 1