WARNING: isolated-tests file /home/ubuntu/isolated-tests.txt does not exist or is empty, no tests will run isolated /opt/stack/tempest ~ Initializing stestr all-plugin create: /opt/stack/tempest/.tox/all-plugin all-plugin installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt all-plugin develop-inst: /opt/stack/tempest all-plugin installed: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,alembic==1.7.1,amqp==5.0.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.4.0,autopage==0.4.0,Babel==2.9.1,backports.entry-points-selectable==1.1.0,bcrypt==3.2.0,beautifulsoup4==4.9.3,blinker==1.4,boto3==1.18.33,botocore==1.21.33,cachetools==4.2.2,castellan==3.9.1,certifi==2021.5.30,cffi==1.14.6,chardet==3.0.4,charset-normalizer==2.0.4,-e git+http://10.106.1.39/p/openstack/cinder@03c938cda550025fbb5b98badbd1df81b5178d40#egg=cinder,click==8.0.1,cliff==3.9.0,cmd2==2.1.2,colorama==0.4.4,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==3.4.8,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.3.0,decorator==5.0.9,defusedxml==0.7.1,distlib==0.3.2,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==1.16.0,dogpile.cache==1.1.4,elementpath==2.2.3,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.31.1,extras==1.0.0,fasteners==0.14.1,filelock==3.0.12,fixtures==3.0.0,Flask==2.0.1,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.0,-e git+https://opendev.org/openstack/glance@ba9a2f14a081e13e432256c2342dbe7a2b87c459#egg=glance,glance-store==2.7.0,google-api-core==2.0.1,google-api-python-client==2.19.0,google-auth==2.0.2,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.1,grpcio==1.39.0,httplib2==0.19.1,hyperlink==19.0.0,idna==3.2,importlib-metadata==1.5.0,importlib-resources==5.2.2,incremental==16.10.1,iso8601==0.1.16,itsdangerous==2.0.1,Jinja2==3.0.1,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.1,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@cf5f1e5651052be52f17beeb400ac433303a9602#egg=keystone,keystoneauth1==4.3.1,keystonemiddleware==9.3.0,kombu==5.1.0,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.3,Mako==1.1.5,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.2,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@2329562d274b953851603f09f59b140b21a898b4#egg=networking_hyperv,networkx==2.6.2,-e git+https://opendev.org/openstack/neutron@b04d4054875ed21fdbbc6f416b94960236e16c03#egg=neutron,neutron-lib==2.15.0,-e git+https://opendev.org/openstack/nova@402fe188b4e7ff76109e8a5ea1f24a5e915eaa09#egg=nova,numpy==1.21.2,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@8b000867ca50ca99877fe8819785918aa6f58764#egg=openstack_placement,openstacksdk==0.59.0,os-brick==5.0.0,os-client-config==2.1.0,os-ken==2.1.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.0,os-traits==2.6.0,os-vif==2.6.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.1.1,oslo.cache==2.8.1,oslo.concurrency==4.4.0,oslo.config==8.7.1,oslo.context==3.3.1,oslo.db==10.0.0,oslo.i18n==5.1.0,oslo.limit==1.4.0,oslo.log==4.6.0,oslo.messaging==12.9.1,oslo.metrics==0.3.0,oslo.middleware==4.4.0,oslo.policy==3.8.2,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.6.0,oslo.upgradecheck==1.4.0,oslo.utils==4.10.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.9.1,osprofiler==3.4.2,ovs==2.13.3,ovsdbapp==1.12.0,packaging==21.0,paramiko==2.7.2,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.6.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.3.0,pluggy==1.0.0,prettytable==0.7.2,prometheus-client==0.11.0,protobuf==3.17.3,psutil==5.8.0,py==1.10.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.20,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.1.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==20.0.1,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,pyroute2==0.6.4,pyroute2.core==0.6.4,pyroute2.ethtool==0.6.4,pyroute2.ipdb==0.6.4,pyroute2.ipset==0.6.4,pyroute2.ndb==0.6.4,pyroute2.nftables==0.6.4,pyroute2.nslink==0.6.4,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.1.0,python-cinderclient==8.1.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.3.0,python-glanceclient==3.5.0,python-keystoneclient==4.2.0,python-memcached==1.59,python-neutronclient==7.6.0,python-novaclient==17.6.0,python-openstackclient==5.6.0,python-subunit==1.4.0,python-swiftclient==3.12.0,pytz==2021.1,pyudev==0.22.0,PyYAML==5.4.1,repoze.lru==0.7,requests==2.26.0,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.7.2,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.18,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.5,six==1.16.0,sortedcontainers==2.1.0,sos==4.1,soupsieve==2.2.1,SQLAlchemy==1.4.23,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.0,stevedore==3.4.0,suds-jurko==0.6,-e git+https://opendev.org/openstack/swift@fb0293538020e2611048ffc00fd1e7f67eb42c73#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.2,-e git+https://opendev.org/openstack/tempest@ad2c3009aed4334a0752679bf984f6c9cea49171#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,toml==0.10.2,tooz==2.9.0,tox==3.24.3,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==3.0.1,urllib3==1.26.6,urwid==2.0.1,vine==5.0.0,virtualenv==20.7.2,voluptuous==0.12.1,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,WebTest==3.0.0,Werkzeug==2.0.1,wrapt==1.12.1,WSME==0.11.0,xattr==0.9.7,xmlschema==1.7.0,yappi==1.3.2,zipp==3.5.0,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {0} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.247365s] ... ok {7} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show [1.124492s] ... ok {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.187917s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [4.460143s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.201773s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.228351s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.529413s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.776636s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.714418s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.766971s] ... ok {2} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.653297s] ... ok {2} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.638401s] ... ok {2} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.476033s] ... ok {7} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [11.721915s] ... ok {4} tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume [9.041741s] ... ok {3} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {7} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [9.687371s] ... ok {4} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.311757s] ... ok {4} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.065148s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [2.121352s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.184030s] ... ok {7} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.181063s] ... ok {7} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [1.516007s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [8.540127s] ... ok {7} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {7} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {4} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.282049s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.494126s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.447806s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.019960s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.041218s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.029147s] ... ok {2} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {2} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.011819s] ... ok {2} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.163451s] ... ok {5} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [49.762682s] ... ok {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.519555s] ... ok {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.365661s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.101766s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.080844s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.101149s] ... ok {4} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.382349s] ... ok {4} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.256972s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.395275s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.167390s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.349462s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.084104s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.101933s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.103399s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.112371s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.094972s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.078973s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.213438s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.175117s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.518700s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.126404s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.088723s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.084452s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [56.112840s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.137611s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.064986s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.014620s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.022473s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.018483s] ... ok {2} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [2.840912s] ... ok {7} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [33.174373s] ... ok {7} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [3.073098s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [32.732800s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [3.324454s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [3.310254s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.049566s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [30.550142s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [3.060235s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [33.215203s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [2.085061s] ... ok {3} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.107850s] ... ok {3} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [6.133146s] ... ok {3} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [6.199902s] ... ok {7} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [37.705607s] ... ok {3} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [3.492721s] ... ok {3} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [2.785737s] ... ok {7} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [3.783779s] ... ok {3} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {7} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [5.840684s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [50.764130s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.398926s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.392403s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [8.177316s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [1.005932s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [58.364537s] ... ok {6} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [5.196061s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.672790s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.173350s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.219681s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.191376s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.024217s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.022931s] ... ok {6} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.214696s] ... ok {6} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.192749s] ... ok {6} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [1.460217s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.594436s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.053178s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.043836s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [3.278179s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [62.288020s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [4.132861s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.098575s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [0.407223s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [64.757378s] ... ok {6} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {6} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.023545s] ... ok {4} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.270947s] ... ok {6} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.021635s] ... ok {6} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.019001s] ... ok {6} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [1.696072s] ... ok {6} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.019822s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [3.622634s] ... ok {5} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [80.382015s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [2.797096s] ... ok {5} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [35.019889s] ... ok {5} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [1.585660s] ... ok {5} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [279.904017s] ... ok {5} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [0.365590s] ... ok {5} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.115333s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [3.058570s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.059279s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.272010s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.044193s] ... ok {5} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.139857s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {2} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [226.360737s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [308.683088s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [65.228367s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [2.374121s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [95.822344s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.117808s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.010806s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.010075s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.037950s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.009399s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.007794s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.037438s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.037615s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [55.190232s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [9.519076s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [5.028476s] ... ok {5} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [5.024018s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [12.491511s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [6.434472s] ... ok {1} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {1} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [2.990842s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [170.806988s] ... ok {1} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [1.546641s] ... ok {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.302446s] ... ok {1} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.499340s] ... ok {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [2.368842s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-07 04:28:00,784 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots 0.118s 2021-09-07 04:28:00,785 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3f5d88d5-513c-4c64-b0c7-1fa0b3537fc8', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3f5d88d5-513c-4c64-b0c7-1fa0b3537fc8', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:00.735554", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:28:00,808 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.021s 2021-09-07 04:28:00,809 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-215d50e6-03d3-4e53-8374-0f5f07fa2ca3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-215d50e6-03d3-4e53-8374-0f5f07fa2ca3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:01.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:28:01,833 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.020s 2021-09-07 04:28:01,833 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-36b955ea-1bdc-4c3f-8e26-88fecb9b528c', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-36b955ea-1bdc-4c3f-8e26-88fecb9b528c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:01.000000", "updated_at": "2021-09-07T04:28:01.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "available", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:01,836 108758 INFO [tempest.common.waiters] snapshot c4faec31-982d-41a1-b143-cbd740047e2e reached available after waiting for 1.836467 seconds 2021-09-07 04:28:01,889 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e/action 0.052s 2021-09-07 04:28:01,889 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-e8e27aa7-4a0b-4ec2-a80d-8ab9b76484d4', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e8e27aa7-4a0b-4ec2-a80d-8ab9b76484d4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e/action'} Body: b'' 2021-09-07 04:28:01,911 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.021s 2021-09-07 04:28:01,911 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-35517c4b-742f-4c61-9600-7184d56fb2ac', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-35517c4b-742f-4c61-9600-7184d56fb2ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:01.000000", "updated_at": "2021-09-07T04:28:02.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:01,915 108758 INFO [tempest.common.waiters] snapshot c4faec31-982d-41a1-b143-cbd740047e2e reached creating after waiting for 0.915270 seconds 2021-09-07 04:28:01,962 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e/action 0.047s 2021-09-07 04:28:01,963 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-4cd70b7b-2239-439a-aa3e-9b43914ae1a1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4cd70b7b-2239-439a-aa3e-9b43914ae1a1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e/action'} Body: b'' 2021-09-07 04:28:01,984 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.021s 2021-09-07 04:28:01,984 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7807f268-bd7c-4eed-83e4-4dfa3a0fab6f', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7807f268-bd7c-4eed-83e4-4dfa3a0fab6f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:01.000000", "updated_at": "2021-09-07T04:28:02.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:03,005 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.017s 2021-09-07 04:28:03,005 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:02 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-865797c4-7e97-4a18-8ba5-f828f3899b96', 'x-openstack-request-id': 'req-865797c4-7e97-4a18-8ba5-f828f3899b96', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot c4faec31-982d-41a1-b143-cbd740047e2e could not be found."}}' 2021-09-07 04:28:03,033 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action 0.027s 2021-09-07 04:28:03,033 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:03 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-87946728-c47b-4bb2-8029-5ac3fe2dd70f', 'x-openstack-request-id': 'req-87946728-c47b-4bb2-8029 -5ac3fe2dd70f', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [2.368403s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-07 04:28:03,153 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots 0.116s 2021-09-07 04:28:03,153 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d30c471c-1eb3-4c30-b5fc-d67e9ec4b607', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d30c471c-1eb3-4c30-b5fc-d67e9ec4b607', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.103338", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:28:03,183 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.026s 2021-09-07 04:28:03,183 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7c5c146c-2fab-4f83-a11e-74bde67b6c29', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7c5c146c-2fab-4f83-a11e-74bde67b6c29', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:28:04,208 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.021s 2021-09-07 04:28:04,208 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-047a03f8-52f1-4950-80fe-0b2f463872aa', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-047a03f8-52f1-4950-80fe-0b2f463872aa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.000000", "updated_at": "2021-09-07T04:28:03.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "available", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:04,211 108758 INFO [tempest.common.waiters] snapshot 9f275eaa-7c7d-407a-800d-72a600edf807 reached available after waiting for 1.211268 seconds 2021-09-07 04:28:04,268 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807/action 0.056s 2021-09-07 04:28:04,268 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8f5d2784-bdfb-47bf-89d4-c433355f471a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8f5d2784-bdfb-47bf-89d4-c433355f471a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807/action'} Body: b'' 2021-09-07 04:28:04,288 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.019s 2021-09-07 04:28:04,288 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fc0f8a3f-6374-4c5c-8618-bf14d3d54040', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fc0f8a3f-6374-4c5c-8618-bf14d3d54040', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.000000", "updated_at": "2021-09-07T04:28:04.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:04,291 108758 INFO [tempest.common.waiters] snapshot 9f275eaa-7c7d-407a-800d-72a600edf807 reached deleting after waiting for 0.291279 seconds 2021-09-07 04:28:04,334 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807/action 0.042s 2021-09-07 04:28:04,334 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-140329eb-d474-4a31-9b32-150500336541', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-140329eb-d474-4a31-9b32-150500336541', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807/action'} Body: b'' 2021-09-07 04:28:04,355 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.020s 2021-09-07 04:28:04,356 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-eb9478eb-189c-4a1c-9570-52d976643aaa', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-eb9478eb-189c-4a1c-9570-52d976643aaa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.000000", "updated_at": "2021-09-07T04:28:04.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:05,377 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.017s 2021-09-07 04:28:05,377 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:05 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-ccb09b73-24c0-435d-b396-beb3c9b8b001', 'x-openstack-request-id': 'req-ccb09b73-24c0-435d-b396-beb3c9b8b001', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 9f275eaa-7c7d-407a-800d-72a600edf807 could not be found."}}' 2021-09-07 04:28:05,403 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action 0.025s 2021-09-07 04:28:05,404 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:05 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-ae79cd41-bb78-4302-9413-53488f6bb9ce', 'x-openstack-request-id': 'req-ae79cd41-bb78-4302-9413 -53488f6bb9ce', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [2.368008s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-07 04:28:05,518 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots 0.112s 2021-09-07 04:28:05,519 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d1b88e8f-cb55-4233-8cf6-c043ec5aee30', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d1b88e8f-cb55-4233-8cf6-c043ec5aee30', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.470682", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:28:05,543 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.022s 2021-09-07 04:28:05,544 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ce6611d0-02e5-4f75-b6bd-f7a822972b6f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ce6611d0-02e5-4f75-b6bd-f7a822972b6f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:28:06,567 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.020s 2021-09-07 04:28:06,568 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cf077597-94c1-4c1b-8fcc-0985ff4c0fb7', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cf077597-94c1-4c1b-8fcc-0985ff4c0fb7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.000000", "updated_at": "2021-09-07T04:28:06.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "available", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:06,571 108758 INFO [tempest.common.waiters] snapshot 08be15ac-f2a1-4599-989a-5f401db9508e reached available after waiting for 1.571043 seconds 2021-09-07 04:28:06,626 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e/action 0.054s 2021-09-07 04:28:06,626 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-4219a063-7e76-4d0f-902f-8c57bafa3667', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4219a063-7e76-4d0f-902f-8c57bafa3667', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e/action'} Body: b'' 2021-09-07 04:28:06,646 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.020s 2021-09-07 04:28:06,647 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-45308bc3-2043-4be0-8544-77b068b41fa4', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-45308bc3-2043-4be0-8544-77b068b41fa4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.000000", "updated_at": "2021-09-07T04:28:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "error", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:06,650 108758 INFO [tempest.common.waiters] snapshot 08be15ac-f2a1-4599-989a-5f401db9508e reached error after waiting for 0.650697 seconds 2021-09-07 04:28:06,698 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e/action 0.047s 2021-09-07 04:28:06,698 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- 3f74fc3a-8c96-4850-a662-a3528a34c087', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3f74fc3a-8c96-4850-a662-a3528a34c087', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e/action'} Body: b'' 2021-09-07 04:28:06,720 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.021s 2021-09-07 04:28:06,720 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8b7ee189-644c-48cb-8240-bb00131e4d48', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8b7ee189-644c-48cb-8240-bb00131e4d48', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.000000", "updated_at": "2021-09-07T04:28:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:07,740 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.016s 2021-09-07 04:28:07,741 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:07 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-152a72b7-d4e3-469f-ac16-0a62cf8f08f4', 'x-openstack-request-id': 'req-152a72b7-d4e3-469f-ac16-0a62cf8f08f4', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 08be15ac-f2a1-4599-989a-5f401db9508e could not be found."}}' 2021-09-07 04:28:07,772 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action 0.030s 2021-09-07 04:28:07,772 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:07 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-dcfa58d2-3f60-4468-951c-2033e7082276', 'x-openstack-request-id': 'req-dcfa58d2-3f60-4468-951c-2033e7082276', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [2.455416s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-07 04:28:07,906 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots 0.131s 2021-09-07 04:28:07,907 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8509d146-9994-4ae9-bb8a-6d34f80f7624', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8509d146-9994-4ae9-bb8a-6d34f80f7624', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:07.853977", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:28:07,935 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.026s 2021-09-07 04:28:07,936 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-86118dbd-57b1-420d-a5fd-6cfb0a5c9b59', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-86118dbd-57b1-420d-a5fd-6cfb0a5c9b59', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:08.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:28:08,962 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.023s 2021-09-07 04:28:08,963 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f038d197-090a-4423-bd01-919d2083b7e2', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f038d197-090a-4423-bd01-919d2083b7e2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:08.000000", "updated_at": "2021-09-0 7T04:28:08.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "available", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:08,965 108758 INFO [tempest.common.waiters] snapshot bc20fe44-ddab-4631-8810-a7b7a8497dcf reached available after waiting for 1.965556 seconds 2021-09-07 04:28:09,058 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf/action 0.093s 2021-09-07 04:28:09,059 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-1b6183ea-e09c-4b7b-9932-ecb8e262e983', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1b6183ea-e09c-4b7b-9932-ecb8e262e983', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf/action'} Body: b'' 2021-09-07 04:28:09,086 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.027s 2021-09-07 04:28:09,087 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-016a39fd-5b5e-4721-a137-097c4114d7fa', 'content-length': '574', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-016a39fd-5b5e-4721-a137-097c4114d7fa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:08.000000", "updated_at": "2021-09-07T04:28:09.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:09,089 108758 INFO [tempest.common.waiters] snapshot bc20fe44-ddab-4631-8810-a7b7a8497dcf reached error_deleting after waiting for 0.089623 seconds 2021-09-07 04:28:09,151 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf/action 0.061s 2021-09-07 04:28:09,151 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-19c5b52a-8cfd-42d1-b743-99afb7897f85', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-19c5b52a-8cfd-42d1-b743-99afb7897f85', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf/action'} Body: b'' 2021-09-07 04:28:09,174 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.022s 2021-09-07 04:28:09,175 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d419d2c7-16eb-4692-b7d2-eb36125e2985', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d419d2c7-16eb-4692-b7d2-eb36125e2985', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:08.000000", "updated_at": "2021-09-07T04:28:09.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:10,195 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.017s 2021-09-07 04:28:10,196 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-ed3195d8-c013-4d1f-af99-5f1bd8b41bf7', 'x-openstack-request-id': 'req-ed3195d8-c013-4d1f-af99-5f1bd8b41bf7', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot bc20fe44-ddab-4631-8810-a7b7a8497dcf could not be found."}}' 2021-09-07 04:28:10,229 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action 0.032s 2021-09-07 04:28:10,229 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:10 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-9e635c40-8e9a-4604-8b68-281 91007e7d7', 'x-openstack-request-id': 'req-9e635c40-8e9a-4604-8b68-28191007e7d7', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.211175s] ... ok {3} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [344.438363s] ... ok {0} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.143076s] ... ok {0} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.029812s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.016409s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.020919s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.022597s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.022111s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.021663s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [13.945081s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [1.128864s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.252753s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.012180s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.021649s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.026066s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.021736s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.011216s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.011224s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.011822s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.024505s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.010822s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.025460s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.019676s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.008182s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.085250s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.074770s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.064954s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.064277s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.124198s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.025002s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.021858s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.007957s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.020938s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.023597s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.020333s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.011763s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.016457s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.159661s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.022593s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.012121s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.023843s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.022671s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.079685s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.234824s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.013187s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.012964s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.031429s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.016637s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.025752s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.016980s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.019895s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.011992s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.010689s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.028223s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.031594s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.029647s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.023416s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.047143s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.020790s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.065577s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.032124s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.035324s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.023500s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.035665s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.034151s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.036229s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.036013s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.106780s] ... ok {1} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.102544s] ... ok {0} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.209027s] ... ok {0} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.044051s] ... ok ============================== Failed 4 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-07 04:28:00,784 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots 0.118s 2021-09-07 04:28:00,785 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3f5d88d5-513c-4c64-b0c7-1fa0b3537fc8', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3f5d88d5-513c-4c64-b0c7-1fa0b3537fc8', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:00.735554", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:28:00,808 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.021s 2021-09-07 04:28:00,809 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-215d50e6-03d3-4e53-8374-0f5f07fa2ca3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-215d50e6-03d3-4e53-8374-0f5f07fa2ca3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:01.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:28:01,833 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.020s 2021-09-07 04:28:01,833 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-36b955ea-1bdc-4c3f-8e26-88fecb9b528c', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-36b955ea-1bdc-4c3f-8e26-88fecb9b528c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:01.000000", "updated_at": "2021-09-07T04:28:01.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "available", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:01,836 108758 INFO [tempest.common.waiters] snapshot c4faec31-982d-41a1-b143-cbd740047e2e reached available after waiting for 1.836467 seconds 2021-09-07 04:28:01,889 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e/action 0.052s 2021-09-07 04:28:01,889 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-e8e27aa7-4a0b-4ec2-a80d-8ab9b76484d4', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e8e27aa7-4a0b-4ec2-a80d-8ab9b76484d4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e/action'} Body: b'' 2021-09-07 04:28:01,911 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.021s 2021-09-07 04:28:01,911 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-35517c4b-742f-4c61-9600-7184d56fb2ac', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-35517c4b-742f-4c61-9600-7184d56fb2ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:01.000000", "updated_at": "2021-09-07T04:28:02.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:01,915 108758 INFO [tempest.common.waiters] snapshot c4faec31-982d-41a1-b143-cbd740047e2e reached creating after waiting for 0.915270 seconds 2021-09-07 04:28:01,962 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e/action 0.047s 2021-09-07 04:28:01,963 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-4cd70b7b-2239-439a-aa3e-9b43914ae1a1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4cd70b7b-2239-439a-aa3e-9b43914ae1a1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e/action'} Body: b'' 2021-09-07 04:28:01,984 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.021s 2021-09-07 04:28:01,984 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7807f268-bd7c-4eed-83e4-4dfa3a0fab6f', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7807f268-bd7c-4eed-83e4-4dfa3a0fab6f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"snapshot": {"id": "c4faec31-982d-41a1-b143-cbd740047e2e", "created_at": "2021-09-07T04:28:01.000000", "updated_at": "2021-09-07T04:28:02.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1769252556", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:03,005 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e 0.017s 2021-09-07 04:28:03,005 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:02 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-865797c4-7e97-4a18-8ba5-f828f3899b96', 'x-openstack-request-id': 'req-865797c4-7e97-4a18-8ba5-f828f3899b96', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/c4faec31-982d-41a1-b143-cbd740047e2e'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot c4faec31-982d-41a1-b143-cbd740047e2e could not be found."}}' 2021-09-07 04:28:03,033 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action 0.027s 2021-09-07 04:28:03,033 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:03 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-87946728-c47b-4bb2-8029-5ac3fe2dd70f', 'x-openstack-request-id': 'req-87946728-c47b-4bb2-8029 -5ac3fe2dd70f', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-07 04:28:03,153 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots 0.116s 2021-09-07 04:28:03,153 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d30c471c-1eb3-4c30-b5fc-d67e9ec4b607', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d30c471c-1eb3-4c30-b5fc-d67e9ec4b607', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.103338", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:28:03,183 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.026s 2021-09-07 04:28:03,183 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7c5c146c-2fab-4f83-a11e-74bde67b6c29', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7c5c146c-2fab-4f83-a11e-74bde67b6c29', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:28:04,208 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.021s 2021-09-07 04:28:04,208 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-047a03f8-52f1-4950-80fe-0b2f463872aa', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-047a03f8-52f1-4950-80fe-0b2f463872aa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.000000", "updated_at": "2021-09-07T04:28:03.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "available", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:04,211 108758 INFO [tempest.common.waiters] snapshot 9f275eaa-7c7d-407a-800d-72a600edf807 reached available after waiting for 1.211268 seconds 2021-09-07 04:28:04,268 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807/action 0.056s 2021-09-07 04:28:04,268 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8f5d2784-bdfb-47bf-89d4-c433355f471a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8f5d2784-bdfb-47bf-89d4-c433355f471a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807/action'} Body: b'' 2021-09-07 04:28:04,288 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.019s 2021-09-07 04:28:04,288 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fc0f8a3f-6374-4c5c-8618-bf14d3d54040', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fc0f8a3f-6374-4c5c-8618-bf14d3d54040', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.000000", "updated_at": "2021-09-07T04:28:04.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:04,291 108758 INFO [tempest.common.waiters] snapshot 9f275eaa-7c7d-407a-800d-72a600edf807 reached deleting after waiting for 0.291279 seconds 2021-09-07 04:28:04,334 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807/action 0.042s 2021-09-07 04:28:04,334 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-140329eb-d474-4a31-9b32-150500336541', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-140329eb-d474-4a31-9b32-150500336541', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807/action'} Body: b'' 2021-09-07 04:28:04,355 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.020s 2021-09-07 04:28:04,356 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-eb9478eb-189c-4a1c-9570-52d976643aaa', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-eb9478eb-189c-4a1c-9570-52d976643aaa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"snapshot": {"id": "9f275eaa-7c7d-407a-800d-72a600edf807", "created_at": "2021-09-07T04:28:03.000000", "updated_at": "2021-09-07T04:28:04.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1218727676", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:05,377 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807 0.017s 2021-09-07 04:28:05,377 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:05 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-ccb09b73-24c0-435d-b396-beb3c9b8b001', 'x-openstack-request-id': 'req-ccb09b73-24c0-435d-b396-beb3c9b8b001', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/9f275eaa-7c7d-407a-800d-72a600edf807'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 9f275eaa-7c7d-407a-800d-72a600edf807 could not be found."}}' 2021-09-07 04:28:05,403 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action 0.025s 2021-09-07 04:28:05,404 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:05 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-ae79cd41-bb78-4302-9413-53488f6bb9ce', 'x-openstack-request-id': 'req-ae79cd41-bb78-4302-9413 -53488f6bb9ce', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-07 04:28:05,518 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots 0.112s 2021-09-07 04:28:05,519 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d1b88e8f-cb55-4233-8cf6-c043ec5aee30', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d1b88e8f-cb55-4233-8cf6-c043ec5aee30', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.470682", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:28:05,543 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.022s 2021-09-07 04:28:05,544 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ce6611d0-02e5-4f75-b6bd-f7a822972b6f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ce6611d0-02e5-4f75-b6bd-f7a822972b6f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:28:06,567 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.020s 2021-09-07 04:28:06,568 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cf077597-94c1-4c1b-8fcc-0985ff4c0fb7', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cf077597-94c1-4c1b-8fcc-0985ff4c0fb7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.000000", "updated_at": "2021-09-07T04:28:06.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "available", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:06,571 108758 INFO [tempest.common.waiters] snapshot 08be15ac-f2a1-4599-989a-5f401db9508e reached available after waiting for 1.571043 seconds 2021-09-07 04:28:06,626 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e/action 0.054s 2021-09-07 04:28:06,626 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-4219a063-7e76-4d0f-902f-8c57bafa3667', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4219a063-7e76-4d0f-902f-8c57bafa3667', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e/action'} Body: b'' 2021-09-07 04:28:06,646 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.020s 2021-09-07 04:28:06,647 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-45308bc3-2043-4be0-8544-77b068b41fa4', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-45308bc3-2043-4be0-8544-77b068b41fa4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.000000", "updated_at": "2021-09-07T04:28:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "error", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:06,650 108758 INFO [tempest.common.waiters] snapshot 08be15ac-f2a1-4599-989a-5f401db9508e reached error after waiting for 0.650697 seconds 2021-09-07 04:28:06,698 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e/action 0.047s 2021-09-07 04:28:06,698 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- 3f74fc3a-8c96-4850-a662-a3528a34c087', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3f74fc3a-8c96-4850-a662-a3528a34c087', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e/action'} Body: b'' 2021-09-07 04:28:06,720 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.021s 2021-09-07 04:28:06,720 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:06 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8b7ee189-644c-48cb-8240-bb00131e4d48', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8b7ee189-644c-48cb-8240-bb00131e4d48', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"snapshot": {"id": "08be15ac-f2a1-4599-989a-5f401db9508e", "created_at": "2021-09-07T04:28:05.000000", "updated_at": "2021-09-07T04:28:07.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1697120775", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:07,740 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e 0.016s 2021-09-07 04:28:07,741 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:07 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-152a72b7-d4e3-469f-ac16-0a62cf8f08f4', 'x-openstack-request-id': 'req-152a72b7-d4e3-469f-ac16-0a62cf8f08f4', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/08be15ac-f2a1-4599-989a-5f401db9508e'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 08be15ac-f2a1-4599-989a-5f401db9508e could not be found."}}' 2021-09-07 04:28:07,772 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action 0.030s 2021-09-07 04:28:07,772 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:07 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-dcfa58d2-3f60-4468-951c-2033e7082276', 'x-openstack-request-id': 'req-dcfa58d2-3f60-4468-951c-2033e7082276', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-07 04:28:07,906 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots 0.131s 2021-09-07 04:28:07,907 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8509d146-9994-4ae9-bb8a-6d34f80f7624', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8509d146-9994-4ae9-bb8a-6d34f80f7624', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:07.853977", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-07 04:28:07,935 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.026s 2021-09-07 04:28:07,936 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-86118dbd-57b1-420d-a5fd-6cfb0a5c9b59', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-86118dbd-57b1-420d-a5fd-6cfb0a5c9b59', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:08.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-07 04:28:08,962 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.023s 2021-09-07 04:28:08,963 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f038d197-090a-4423-bd01-919d2083b7e2', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f038d197-090a-4423-bd01-919d2083b7e2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:08.000000", "updated_at": "2021-09-0 7T04:28:08.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "available", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:08,965 108758 INFO [tempest.common.waiters] snapshot bc20fe44-ddab-4631-8810-a7b7a8497dcf reached available after waiting for 1.965556 seconds 2021-09-07 04:28:09,058 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf/action 0.093s 2021-09-07 04:28:09,059 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-1b6183ea-e09c-4b7b-9932-ecb8e262e983', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1b6183ea-e09c-4b7b-9932-ecb8e262e983', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf/action'} Body: b'' 2021-09-07 04:28:09,086 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.027s 2021-09-07 04:28:09,087 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-016a39fd-5b5e-4721-a137-097c4114d7fa', 'content-length': '574', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-016a39fd-5b5e-4721-a137-097c4114d7fa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:08.000000", "updated_at": "2021-09-07T04:28:09.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:09,089 108758 INFO [tempest.common.waiters] snapshot bc20fe44-ddab-4631-8810-a7b7a8497dcf reached error_deleting after waiting for 0.089623 seconds 2021-09-07 04:28:09,151 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf/action 0.061s 2021-09-07 04:28:09,151 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-19c5b52a-8cfd-42d1-b743-99afb7897f85', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-19c5b52a-8cfd-42d1-b743-99afb7897f85', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf/action'} Body: b'' 2021-09-07 04:28:09,174 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.022s 2021-09-07 04:28:09,175 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d419d2c7-16eb-4692-b7d2-eb36125e2985', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d419d2c7-16eb-4692-b7d2-eb36125e2985', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"snapshot": {"id": "bc20fe44-ddab-4631-8810-a7b7a8497dcf", "created_at": "2021-09-07T04:28:08.000000", "updated_at": "2021-09-07T04:28:09.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1044452210", "description": null, "volume_id": "f78fcc56-4f10-43dd-b936-51178865a943", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-f78fcc56-4f10-43dd-b936-51178865a943.5069df87-43bf-4237-9c84-3903a8344c1c.vhdx"}, "os-extended-snapshot-attributes:project_id": "68fec4cc76604d56aab2f7311f510961", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-07 04:28:10,195 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf 0.017s 2021-09-07 04:28:10,196 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-ed3195d8-c013-4d1f-af99-5f1bd8b41bf7', 'x-openstack-request-id': 'req-ed3195d8-c013-4d1f-af99-5f1bd8b41bf7', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/68fec4cc76604d56aab2f7311f510961/snapshots/bc20fe44-ddab-4631-8810-a7b7a8497dcf'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot bc20fe44-ddab-4631-8810-a7b7a8497dcf could not be found."}}' 2021-09-07 04:28:10,229 108758 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action 0.032s 2021-09-07 04:28:10,229 108758 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 07 Sep 2021 04:28:10 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-9e635c40-8e9a-4604-8b68-281 91007e7d7', 'x-openstack-request-id': 'req-9e635c40-8e9a-4604-8b68-28191007e7d7', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/bec4192699024a04acf79f65f2076284/snapshots/5069df87-43bf-4237-9c84-3903a8344c1c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 232 tests in 527.2607 sec. - Passed: 218 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 2400.3184 sec. ============== Worker Balance ============== - Worker 0 (33 tests) => 0:08:47.260667 - Worker 1 (62 tests) => 0:08:13.761749 - Worker 2 (39 tests) => 0:05:08.980432 - Worker 3 (21 tests) => 0:07:59.190293 - Worker 4 (17 tests) => 0:03:33.842608 - Worker 5 (18 tests) => 0:07:23.948010 - Worker 6 (28 tests) => 0:03:42.642149 - Worker 7 (14 tests) => 0:03:27.743127 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