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.5,amqp==5.0.9,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.4.0,Automat==0.8.0,automaton==2.4.0,autopage==0.4.0,Babel==2.9.1,bcrypt==3.2.0,beautifulsoup4==4.10.0,blinker==1.4,boto3==1.20.37,botocore==1.23.37,cachetools==4.2.4,castellan==3.10.0,certifi==2019.11.28,cffi==1.15.0,chardet==3.0.4,charset-normalizer==2.0.10,-e git+http://10.106.1.39/p/openstack/cinder@ce97052f6c07dc259f4f3313a6e33f573de42519#egg=cinder,click==8.0.3,cliff==3.10.0,cmd2==2.3.3,colorama==0.4.3,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==36.0.1,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.4.0,decorator==5.1.1,defusedxml==0.7.1,distlib==0.3.4,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==2.1.0,dogpile.cache==1.1.4,elementpath==2.4.0,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.33.0,extras==1.0.0,fasteners==0.16.3,filelock==3.4.2,fixtures==3.0.0,Flask==2.0.2,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.0,-e git+https://opendev.org/openstack/glance@464524db0d2d94c45133e8428d045cdea0f0c33e#egg=glance,glance-store==2.7.0,google-api-core==2.4.0,google-api-python-client==2.35.0,google-auth==2.3.3,google-auth-httplib2==0.1.0,googleapis-common-protos==1.54.0,greenlet==1.1.2,grpcio==1.43.0,httplib2==0.20.2,hyperlink==19.0.0,idna==3.3,importlib-metadata==4.10.1,importlib-resources==5.4.0,incremental==16.10.1,iso8601==1.0.2,itsdangerous==2.0.1,Jinja2==3.0.3,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.2,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@c80b183aa5eb78b68e41edae4fccf8a8d831ded1#egg=keystone,keystoneauth1==4.4.0,keystonemiddleware==9.3.0,kombu==5.2.3,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.7.1,Mako==1.1.6,MarkupSafe==2.0.1,microversion-parse==1.0.1,more-itertools==4.2.0,msgpack==1.0.3,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@7619f8c9974dcceeb4f04b43c30564a753c357ec#egg=networking_hyperv,networkx==2.6.3,-e git+https://opendev.org/openstack/neutron@24c802711a939f532842c1d7b95a1afe004e809a#egg=neutron,neutron-lib==2.18.1,-e git+https://opendev.org/openstack/nova@7bb21723171c59b93e28f5d508c2b6df39220f13#egg=nova,numpy==1.22.1,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@d48d22ff24535eb5ae947d60fd87a9afb2e7b45d#egg=openstack_placement,openstacksdk==0.61.0,os-brick==5.1.0,os-client-config==2.1.0,os-ken==2.3.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.1,os-traits==2.6.0,os-vif==2.7.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.1.1,oslo.cache==2.9.0,oslo.concurrency==4.5.0,oslo.config==8.7.1,oslo.context==3.4.0,oslo.db==11.1.0,oslo.i18n==5.1.0,oslo.limit==1.4.0,oslo.log==4.6.1,oslo.messaging==12.11.1,oslo.metrics==0.4.0,oslo.middleware==4.5.0,oslo.policy==3.10.1,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.8.0,oslo.upgradecheck==1.4.0,oslo.utils==4.12.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.10.0,osprofiler==3.4.2,ovs==2.16.0,ovsdbapp==1.14.0,packaging==21.3,paramiko==2.8.1,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.8.0,pcp==5.0,pecan==1.4.1,pexpect==4.6.0,platformdirs==2.4.1,pluggy==1.0.0,prettytable==3.0.0,prometheus-client==0.12.0,protobuf==3.19.3,psutil==5.9.0,py==1.11.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.21,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.3.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.5.0,pyOpenSSL==21.0.0,pyparsing==3.0.6,pyperclip==1.8.2,pypowervm==1.1.27,pyroute2==0.6.5,pyroute2.core==0.6.5,pyroute2.ethtool==0.6.5,pyroute2.ipdb==0.6.5,pyroute2.ipset==0.6.5,pyroute2.ndb==0.6.5,pyroute2.nftables==0.6.5,pyroute2.nslink==0.6.5,pyrsistent==0.15.5,pysaml2==7.1.0,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.2.0,python-cinderclient==8.2.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.4.0,python-glanceclient==3.5.0,python-keystoneclient==4.4.0,python-memcached==1.59,python-neutronclient==7.7.0,python-novaclient==17.6.0,python-openstackclient==5.7.0,python-subunit==1.4.0,python-swiftclient==3.13.0,pytz==2021.3,pyudev==0.22.0,PyYAML==6.0,repoze.lru==0.7,requests==2.27.1,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.8,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.19,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,sos==4.1,soupsieve==2.3.1,SQLAlchemy==1.4.29,sqlalchemy-migrate==0.13.0,sqlparse==0.4.2,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.1,stevedore==3.5.0,suds-community==1.0.0,-e git+https://opendev.org/openstack/swift@8ef530d795df7f0300e761933c916546427a79fe#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.3,-e git+https://opendev.org/openstack/tempest@c545cb1c7c14d36d2bc65a55ec13e0c6cd095425#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.10.0,tox==3.24.5,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==4.1.1,urllib3==1.26.8,urwid==2.0.1,vine==5.0.0,virtualenv==20.13.0,voluptuous==0.12.2,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.2,wrapt==1.13.3,WSME==0.11.0,xattr==0.9.9,xmlschema==1.9.2,yappi==1.3.3,zipp==3.7.0,zope.interface==4.7.1,zstd==1.5.1.0,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.930771s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.014577s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.015808s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.685208s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.020918s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.014283s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.073655s] ... ok {0} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.294336s] ... ok {0} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.055329s] ... ok {1} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.098232s] ... ok {3} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [17.042884s] ... ok {3} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [1.827879s] ... ok {0} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [26.643925s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [32.030067s] ... ok {0} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [4.137945s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [15.315631s] ... ok {0} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [3.396718s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.165284s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [3.336732s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [19.950251s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [41.346120s] ... ok {5} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [80.031070s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.530977s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.659174s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.695421s] ... ok {0} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [1.033365s] ... ok {0} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.119237s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.362499s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.099130s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.379726s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.099427s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [21.945204s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.304007s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.120953s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [5.532371s] ... ok {1} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.168910s] ... ok {1} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.047935s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [112.001951s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [4.841339s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [4.700094s] ... ok {5} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [6.075316s] ... ok {1} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [6.739326s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [4.424886s] ... ok {1} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.158743s] ... ok {4} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [28.421923s] ... ok {0} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.675612s] ... ok {3} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.141911s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status [18.343351s] ... ok {1} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [9.604611s] ... ok {1} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [5.679222s] ... ok {5} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [1.495024s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.069264s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.063332s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.082295s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.402889s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.249523s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.347363s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.082324s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.083216s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.097924s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.112716s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.145675s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.126530s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.213370s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.206350s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.149196s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.086311s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.092511s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.092585s] ... ok {5} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [49.666910s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.174923s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.090985s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.049361s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.027994s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.020802s] ... ok {0} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [12.000891s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [33.122642s] ... ok {0} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {4} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [67.543147s] ... ok {5} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [44.733133s] ... ok {5} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [12.984086s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [51.499944s] ... ok {5} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [3.510131s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.473825s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.547365s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.511300s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [79.248009s] ... ok {4} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {4} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.016176s] ... ok {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.040496s] ... ok {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.041879s] ... ok {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.046118s] ... ok {4} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.042406s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.021338s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.018815s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.037379s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.020075s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.029432s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.021748s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.019841s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.012546s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.013120s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.034681s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.041639s] ... ok {4} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.030395s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [39.721513s] ... ok {3} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.931038s] ... ok {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.739574s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.482849s] ... ok {4} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.056592s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [8.347440s] ... 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-20 12:57:28,403 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots 0.629s 2022-01-20 12:57:28,403 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-735aa776-0e21-4990-9eb2-8ad6ba7cc9b1', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-735aa776-0e21-4990-9eb2-8ad6ba7cc9b1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.199456", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-20 12:57:28,429 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.023s 2022-01-20 12:57:28,429 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6ef94ac5-2b74-485b-81b1-9622953b0976', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6ef94ac5-2b74-485b-81b1-9622953b0976', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:29,457 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.024s 2022-01-20 12:57:29,458 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:29 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b1d8c891-081b-4a84-8e51-56cff86aa465', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b1d8c891-081b-4a84-8e51-56cff86aa465', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:30,481 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.021s 2022-01-20 12:57:30,482 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-04e260c8-e49b-43b9-8a54-7579fc76c1ca', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-04e260c8-e49b-43b9-8a54-7579fc76c1ca', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:31,510 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.024s 2022-01-20 12:57:31,510 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-960b109d-ed01-4943-ad6c-badb775876b3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-960b109d-ed01-4943-ad6c-badb775876b3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:32,536 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.022s 2022-01-20 12:57:32,536 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e1894518-1f54-43d1-827a-50447ed71a84', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-e1894518-1f54-43d1-827a-50447ed71a84', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:33,580 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.040s 2022-01-20 12:57:33,580 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8473a9ea-ff00-4af6-9951-e2ad546767e1', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8473a9ea-ff00-4af6-9951-e2ad546767e1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:34,613 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.028s 2022-01-20 12:57:34,614 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8775233c-d506-4cfb-a530-f98269435495', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8775233c-d506-4cfb-a530-f98269435495', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": "2022-01-20T12:57:34.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:34,616 124153 INFO [tempest.common.waiters] snapshot 52374ffb-1da7-4b38-a139-350fca0e239f reached available after waiting for 6.616731 seconds 2022-01-20 12:57:34,806 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/52374ffb-1da 7-4b38-a139-350fca0e239f/action 0.189s 2022-01-20 12:57:34,806 124153 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': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8aa9bcba-e55d-4d53-9182-c9fe8797aa31', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8aa9bcba-e55d-4d53-9182-c9fe8797aa31', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f/action'} Body: b'' 2022-01-20 12:57:34,829 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.022s 2022-01-20 12:57:34,834 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b5797cca-81cf-4bcd-b549-b6d4fb53613d', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b5797cca-81cf-4bcd-b549-b6d4fb53613d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": "2022-01-20T12:57:35.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:34,837 124153 INFO [tempest.common.waiters] snapshot 52374ffb-1da7-4b38-a139-350fca0e239f reached creating after waiting for 0.837322 seconds 2022-01-20 12:57:34,962 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f/action 0.124s 2022-01-20 12:57:34,962 124153 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': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-9fef71cf-1868-4e4e-ac59-ec85d4a0b380', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9fef71cf-1868-4e4e-ac59-ec85d4a0b380', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f/action'} Body: b'' 2022-01-20 12:57:34,984 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.021s 2022-01-20 12:57:34,984 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} B ody: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-68cb98ae-4676-4419-9e0a-3bcec3bc2484', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-68cb98ae-4676-4419-9e0a-3bcec3bc2484', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": "2022-01-20T12:57:35.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:36,045 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.057s 2022-01-20 12:57:36,046 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:35 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-74a8dae3-3243-498e-b233-0f1b1596b98c', 'x-openstack-request-id': 'req-74a8dae3-3243-498e-b233-0f1b1596b98c', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 52374ffb-1da7-4b38-a139-350fca0e239f could not be found."}}' 2022-01-20 12:57:36,098 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action 0.052s 2022-01-20 12:57:36,099 124153 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': 'Thu, 20 Jan 2022 12:57:36 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-ab364d1e-94c1-453a-a26c-33babf7cae47', 'x-openstack-request-id': 'req-ab364d1e-94c1-453a-a26c-33babf7cae47', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {4} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.122678s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [8.885851s] ... 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-20 12:57:36,463 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots 0.340s 2022-01-20 12:57:36,464 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "name": "tempest-SnapshotsActionsTest-Snapshot-694810010"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a364bd59-7115-4f1c-96cd-131c79213c65', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a364bd59-7115-4f1c-96cd-131c79213c65', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.271245", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-20 12:57:36,491 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.023s 2022-01-20 12:57:36,491 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c5bb5e2e-6877-4294-8360-f64b9a5d2a11', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c5bb5e2e-6877-4294-8360-f64b9a5d2a11', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:37,523 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.028s 2022-01-20 12:57:37,523 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a36eabaa-c510-4717-bf53-d5b0cb606509', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a36eabaa-c510-4717-bf53-d5b0cb606509', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:38,552 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.025s 2022-01-20 12:57:38,553 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2bf58f3c-3332-45ee-8ff9-467f03a9c324', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2bf58f3c-3332-45ee-8ff9-467f03a9c324', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:39,579 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.021s 2022-01-20 12:57:39,579 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8da33676-e620-4d67-8c9d-7e448fce30ad', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8da33676-e620-4d67-8c9d-7e448fce30ad', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:40,626 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.043s 2022-01-20 12:57:40,626 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7027e17d-afbf-4c01-8124-43889df70c26', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-70 27e17d-afbf-4c01-8124-43889df70c26', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:41,666 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.034s 2022-01-20 12:57:41,666 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2e4102a8-fcc2-4b55-9aa5-f235580478a5', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2e4102a8-fcc2-4b55-9aa5-f235580478a5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:42,691 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.022s 2022-01-20 12:57:42,692 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fe36b164-808f-437b-879c-c0f3f3b45e77', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fe36b164-808f-437b-879c-c0f3f3b45e77', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:43,717 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.022s 2022-01-20 12:57:43,718 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-To ken': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0ad7ff16-e500-479b-8b3c-b16a9ee97b5a', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0ad7ff16-e500-479b-8b3c-b16a9ee97b5a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": "2022-01-20T12:57:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:43,720 124153 INFO [tempest.common.waiters] snapshot 8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 reached available after waiting for 7.720445 seconds 2022-01-20 12:57:43,850 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05/action 0.129s 2022-01-20 12:57:43,850 124153 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': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-fe123c1f-05e0-43ef-af83-4d4b5580413c', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fe123c1f-05e0-43ef-af83-4d4b5580413c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05/action'} Body: b'' 2022-01-20 12:57:43,873 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.022s 2022-01-20 12:57:43,873 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-11d46f5e-bdde-4790-94cb-7a1b1e31ddf4', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-11d46f5e-bdde-4790-94cb-7a1b1e31ddf4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": "2022-01-20T12:57:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:43,876 124153 INFO [tempest.common.waiters] snapshot 8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 reached deleting after waiting for 0.876331 seconds 2022-01-20 12:57:43,925 124153 INFO [tempest.lib.common.rest_client] Request (S napshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05/action 0.048s 2022-01-20 12:57:43,925 124153 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': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ceb61ff9-9bc9-4cb6-bbb8-280d8ac37c4e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ceb61ff9-9bc9-4cb6-bbb8-280d8ac37c4e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05/action'} Body: b'' 2022-01-20 12:57:43,952 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.026s 2022-01-20 12:57:43,953 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-84bfdbb1-1b2f-4391-9d85-ec05e7b3efc2', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-84bfdbb1-1b2f-4391-9d85-ec05e7b3efc2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": "2022-01-20T12:57:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:44,975 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.018s 2022-01-20 12:57:44,976 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-27e422b8-ccd8-4c41-8a05-17307f06f7a5', 'x-openstack-request-id': 'req-27e422b8-ccd8-4c41-8a05-17307f06f7a5', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 could not be found."}}' 2022-01-20 12:57:45,007 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action 0.031s 2022-01-20 12:57:45,008 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Tok en': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e982f50-972e-440a-8841-45a9d85d3956', 'x-openstack-request-id': 'req-9e982f50-972e-440a-8841-45a9d85d3956', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [8.270107s] ... 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-20 12:57:45,663 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots 0.652s 2022-01-20 12:57:45,663 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-356c76c9-8687-424c-a72b-fe8440cf4526', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-356c76c9-8687-424c-a72b-fe8440cf4526', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.263288", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-20 12:57:45,689 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.023s 2022-01-20 12:57:45,690 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-54df63a5-49f0-4900-b2e2-108b9c060a88', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-54df63a5-49f0-4900-b2e2-108b9c060a88', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:46,717 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.023s 2022-01-20 12:57:46,717 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-64661156-f171-4f39-a2ca-1c1fe1e56068', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-64661156-f171-4f39-a2ca-1c1fe1e56068', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActio nsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:47,744 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.023s 2022-01-20 12:57:47,744 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-44c21f61-2de3-4ba3-a4b4-ee5abc815591', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-44c21f61-2de3-4ba3-a4b4-ee5abc815591', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:48,773 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.025s 2022-01-20 12:57:48,774 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5e2485e0-055f-4e4b-97d4-32bca88c7eef', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5e2485e0-055f-4e4b-97d4-32bca88c7eef', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:49,801 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.023s 2022-01-20 12:57:49,801 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f4025c6b-15d6-4427-924e-65aea4f696bd', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f4025c6b-15d6- 4427-924e-65aea4f696bd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:50,848 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.040s 2022-01-20 12:57:50,848 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bdceaa19-d7cd-45cc-b37e-a97ad178842d', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bdceaa19-d7cd-45cc-b37e-a97ad178842d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:51,879 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.024s 2022-01-20 12:57:51,879 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-71f66739-a49e-405e-8a92-2f08a9269984', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-71f66739-a49e-405e-8a92-2f08a9269984', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": "2022-01-20T12:57:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:51,887 124153 INFO [tempest.common.waiters] snapshot de25f525-5257-4306-b5d8-faa055f17059 reached available after waiting for 6.886952 seconds 2022-01-20 12:57:52,022 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/de25f525-5257-4306-b5d8-faa055f17059/ac tion 0.134s 2022-01-20 12:57:52,023 124153 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': 'Thu, 20 Jan 2022 12:57:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ca6471f5-7c70-410a-aa75-3e2930c0395b', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ca6471f5-7c70-410a-aa75-3e2930c0395b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/de25f525-5257-4306-b5d8-faa055f17059/action'} Body: b'' 2022-01-20 12:57:52,060 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.036s 2022-01-20 12:57:52,061 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5666e35f-b83e-4a1c-a33d-950249493d5b', 'content-length': '462', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5666e35f-b83e-4a1c-a33d-950249493d5b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": "2022-01-20T12:57:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:52,063 124153 INFO [tempest.common.waiters] snapshot de25f525-5257-4306-b5d8-faa055f17059 reached error after waiting for 0.063921 seconds 2022-01-20 12:57:52,204 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/de25f525-5257-4306-b5d8-faa055f17059/action 0.139s 2022-01-20 12:57:52,204 124153 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': 'Thu, 20 Jan 2022 12:57:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-90a29cdd-afb3-4558-8952-0c4130fd53ce', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-90a29cdd-afb3-4558-8952-0c4130fd53ce', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/de25f525-5257-4306-b5d8-faa055f17059/action'} Body: b'' 2022-01-20 12:57:52,229 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.025s 2022-01-20 12:57:52,230 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'T hu, 20 Jan 2022 12:57:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bcf59a80-21ed-44ca-a0a1-a47112aa9d6c', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bcf59a80-21ed-44ca-a0a1-a47112aa9d6c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": "2022-01-20T12:57:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:53,250 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.017s 2022-01-20 12:57:53,251 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-a86403a0-5037-49e4-9ce7-bb6a606fefb0', 'x-openstack-request-id': 'req-a86403a0-5037-49e4-9ce7-bb6a606fefb0', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot de25f525-5257-4306-b5d8-faa055f17059 could not be found."}}' 2022-01-20 12:57:53,279 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action 0.027s 2022-01-20 12:57:53,279 124153 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': 'Thu, 20 Jan 2022 12:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-17ba5888-6494-418f-b6e0-080f6f46a40e', 'x-openstack-request-id': 'req-17ba5888-6494-418f-b6e0-080f6f46a40e', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [6.665523s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 120, in test_snapshot_force_delete_when_snapshot_is_error_deleting self._create_reset_and_force_delete_temp_snapshot('error_deleting') File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 58, in _create_reset_and_force_delete_temp_snapshot self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-20 12:57:53,679 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots 0.397s 2022-01-20 12:57:53,680 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "name": "tempest-SnapshotsActionsTest-Snapshot-820427911"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-989346e3-71f7-43c4-b124-6ab27ba5a700', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-989346e3-71f7-43c4-b124-6ab27ba5a700', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.425102", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-20 12:57:53,708 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.025s 2022-01-20 12:57:53,708 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7fe5298b-6779-461d-b107-3460e0bfbd24', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7fe5298b-6779-461d-b107-3460e0bfbd24', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:54,734 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.022s 2022-01-20 12:57:54,734 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4dae6f19-b8b8-407d-a6c8-a778581e30ac', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4dae6f19-b8b8-407d-a6c8-a778581e30ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:55,763 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.024s 2022-01-20 12:57:55,763 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-02f192a2-13e7-4174-89d9-892da365f125', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-02f192a2-13e7-4174-89d9-892da365f125', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:56,789 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.022s 2022-01-20 12:57:56,789 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7ed0e419-f4ed-4c66-a4aa-53cd51486902', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7ed0e419-f4ed-4c66-a4aa-53cd51486902', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:57,814 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.021s 2022-01-20 12:57:57,814 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-740a3257-ce28-4b5c-a094-9639606431d1', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-740a3257-ce28-4b5c-a094-9639606431d1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:58,842 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.024s 2022-01-20 12:57:58,843 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-72d52045-6256-4bab-83cf-74b925ac60a5', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-72d52045-6256-4bab-83cf-74b925ac60a5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:59,875 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.029s 2022-01-20 12:57:59,876 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dcc16181-f6d6-4f19-a6e5-3aa6c3fe286d', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dcc16181-f6d6-4f19-a6e5-3aa6c3fe286d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": "2022-01-20T12:57:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:59,880 124153 INFO [tempest.common.waiters] snapshot 2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b reached available after waiting for 6.879994 seconds 2022-01-20 12:57:59,911 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 400 POST http://10.222.0.57/volume/v3/cf20463813 6949b09dc9b0036e496af5/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b/action 0.030s 2022-01-20 12:57:59,911 124153 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': 'Thu, 20 Jan 2022 12:57:59 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-90927022-4ed2-4682-a88f-22c0703fcdd6', 'x-openstack-request-id': 'req-90927022-4ed2-4682-a88f-22c0703fcdd6', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' 2022-01-20 12:57:59,945 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action 0.034s 2022-01-20 12:57:59,946 124153 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': 'Thu, 20 Jan 2022 12:57:59 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-515d6f67-99ab-44aa-b8dd-220f36753c37', 'x-openstack-request-id': 'req-515d6f67-99ab-44aa-b8dd-220f36753c37', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.483583s] ... ok {6} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [3.386717s] ... ok {6} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.534867s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.331320s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.150573s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.589188s] ... ok {6} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.009229s] ... ok {6} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.117503s] ... ok {6} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {6} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [36.003800s] ... ok {6} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [21.177571s] ... ok {3} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [125.827189s] ... ok {3} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [12.259418s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [16.017170s] ... ok {7} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [423.264195s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [15.897036s] ... ok {3} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [61.946922s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [40.176425s] ... ok {3} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [10.278341s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [490.501634s] ... ok {3} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [10.200219s] ... ok {1} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [354.641803s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.023866s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.060365s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.021145s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.104540s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.037531s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.043299s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.036105s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.057260s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.059266s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.069347s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.064177s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.154275s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.119137s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [146.017066s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [3.586918s] ... ok {2} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.114339s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.021254s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.022852s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.018786s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [1.879222s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.020124s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.138560s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.197786s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.009935s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.119039s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.016920s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.014556s] ... ok {2} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {2} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [1.978149s] ... ok {7} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [261.718651s] ... ok {7} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [1.997654s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [15.635894s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.936315s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.271096s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.265046s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.231765s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.020534s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.020479s] ... ok {7} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.278328s] ... ok {2} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [9.348844s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.889153s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.031405s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.039521s] ... ok {2} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.824394s] ... ok {2} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.456323s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [3.225707s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [5.042138s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.046960s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.152061s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [3.511553s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.124873s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.518779s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.045494s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.227413s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [5.030169s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.361850s] ... ok {7} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [17.588463s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [1.856117s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.347807s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.010512s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.018266s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.020983s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.020826s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.010891s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.009563s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.009311s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.020043s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.007850s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.021829s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.020057s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.007901s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.069843s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.068418s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.060029s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.058942s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.237034s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.020554s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.020745s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.007907s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.019821s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.021002s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.020724s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.010583s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.010181s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.019876s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.010276s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.021755s] ... ok {7} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.020763s] ... ok {1} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [315.066921s] ... ok {1} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [475.257915s] ... 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: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-20 12:57:28,403 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots 0.629s 2022-01-20 12:57:28,403 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-735aa776-0e21-4990-9eb2-8ad6ba7cc9b1', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-735aa776-0e21-4990-9eb2-8ad6ba7cc9b1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.199456", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-20 12:57:28,429 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.023s 2022-01-20 12:57:28,429 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6ef94ac5-2b74-485b-81b1-9622953b0976', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6ef94ac5-2b74-485b-81b1-9622953b0976', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:29,457 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.024s 2022-01-20 12:57:29,458 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:29 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b1d8c891-081b-4a84-8e51-56cff86aa465', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b1d8c891-081b-4a84-8e51-56cff86aa465', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:30,481 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.021s 2022-01-20 12:57:30,482 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-04e260c8-e49b-43b9-8a54-7579fc76c1ca', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-04e260c8-e49b-43b9-8a54-7579fc76c1ca', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:31,510 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.024s 2022-01-20 12:57:31,510 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-960b109d-ed01-4943-ad6c-badb775876b3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-960b109d-ed01-4943-ad6c-badb775876b3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:32,536 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.022s 2022-01-20 12:57:32,536 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e1894518-1f54-43d1-827a-50447ed71a84', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-e1894518-1f54-43d1-827a-50447ed71a84', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:33,580 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.040s 2022-01-20 12:57:33,580 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8473a9ea-ff00-4af6-9951-e2ad546767e1', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8473a9ea-ff00-4af6-9951-e2ad546767e1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:34,613 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.028s 2022-01-20 12:57:34,614 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8775233c-d506-4cfb-a530-f98269435495', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8775233c-d506-4cfb-a530-f98269435495', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": "2022-01-20T12:57:34.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:34,616 124153 INFO [tempest.common.waiters] snapshot 52374ffb-1da7-4b38-a139-350fca0e239f reached available after waiting for 6.616731 seconds 2022-01-20 12:57:34,806 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/52374ffb-1da 7-4b38-a139-350fca0e239f/action 0.189s 2022-01-20 12:57:34,806 124153 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': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-8aa9bcba-e55d-4d53-9182-c9fe8797aa31', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8aa9bcba-e55d-4d53-9182-c9fe8797aa31', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f/action'} Body: b'' 2022-01-20 12:57:34,829 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.022s 2022-01-20 12:57:34,834 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b5797cca-81cf-4bcd-b549-b6d4fb53613d', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b5797cca-81cf-4bcd-b549-b6d4fb53613d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": "2022-01-20T12:57:35.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:34,837 124153 INFO [tempest.common.waiters] snapshot 52374ffb-1da7-4b38-a139-350fca0e239f reached creating after waiting for 0.837322 seconds 2022-01-20 12:57:34,962 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f/action 0.124s 2022-01-20 12:57:34,962 124153 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': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-9fef71cf-1868-4e4e-ac59-ec85d4a0b380', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9fef71cf-1868-4e4e-ac59-ec85d4a0b380', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f/action'} Body: b'' 2022-01-20 12:57:34,984 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.021s 2022-01-20 12:57:34,984 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} B ody: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-68cb98ae-4676-4419-9e0a-3bcec3bc2484', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-68cb98ae-4676-4419-9e0a-3bcec3bc2484', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"snapshot": {"id": "52374ffb-1da7-4b38-a139-350fca0e239f", "created_at": "2022-01-20T12:57:28.000000", "updated_at": "2022-01-20T12:57:35.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1494373965", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:36,045 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f 0.057s 2022-01-20 12:57:36,046 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:35 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-74a8dae3-3243-498e-b233-0f1b1596b98c', 'x-openstack-request-id': 'req-74a8dae3-3243-498e-b233-0f1b1596b98c', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/52374ffb-1da7-4b38-a139-350fca0e239f'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 52374ffb-1da7-4b38-a139-350fca0e239f could not be found."}}' 2022-01-20 12:57:36,098 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action 0.052s 2022-01-20 12:57:36,099 124153 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': 'Thu, 20 Jan 2022 12:57:36 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-ab364d1e-94c1-453a-a26c-33babf7cae47', 'x-openstack-request-id': 'req-ab364d1e-94c1-453a-a26c-33babf7cae47', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/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: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-20 12:57:36,463 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots 0.340s 2022-01-20 12:57:36,464 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "name": "tempest-SnapshotsActionsTest-Snapshot-694810010"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a364bd59-7115-4f1c-96cd-131c79213c65', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a364bd59-7115-4f1c-96cd-131c79213c65', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.271245", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-20 12:57:36,491 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.023s 2022-01-20 12:57:36,491 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c5bb5e2e-6877-4294-8360-f64b9a5d2a11', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c5bb5e2e-6877-4294-8360-f64b9a5d2a11', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:37,523 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.028s 2022-01-20 12:57:37,523 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a36eabaa-c510-4717-bf53-d5b0cb606509', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a36eabaa-c510-4717-bf53-d5b0cb606509', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:38,552 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.025s 2022-01-20 12:57:38,553 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2bf58f3c-3332-45ee-8ff9-467f03a9c324', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2bf58f3c-3332-45ee-8ff9-467f03a9c324', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:39,579 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.021s 2022-01-20 12:57:39,579 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8da33676-e620-4d67-8c9d-7e448fce30ad', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8da33676-e620-4d67-8c9d-7e448fce30ad', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:40,626 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.043s 2022-01-20 12:57:40,626 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7027e17d-afbf-4c01-8124-43889df70c26', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-70 27e17d-afbf-4c01-8124-43889df70c26', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:41,666 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.034s 2022-01-20 12:57:41,666 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2e4102a8-fcc2-4b55-9aa5-f235580478a5', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2e4102a8-fcc2-4b55-9aa5-f235580478a5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:42,691 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.022s 2022-01-20 12:57:42,692 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fe36b164-808f-437b-879c-c0f3f3b45e77', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fe36b164-808f-437b-879c-c0f3f3b45e77', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:43,717 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.022s 2022-01-20 12:57:43,718 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-To ken': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0ad7ff16-e500-479b-8b3c-b16a9ee97b5a', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0ad7ff16-e500-479b-8b3c-b16a9ee97b5a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": "2022-01-20T12:57:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:43,720 124153 INFO [tempest.common.waiters] snapshot 8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 reached available after waiting for 7.720445 seconds 2022-01-20 12:57:43,850 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05/action 0.129s 2022-01-20 12:57:43,850 124153 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': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-fe123c1f-05e0-43ef-af83-4d4b5580413c', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fe123c1f-05e0-43ef-af83-4d4b5580413c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05/action'} Body: b'' 2022-01-20 12:57:43,873 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.022s 2022-01-20 12:57:43,873 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-11d46f5e-bdde-4790-94cb-7a1b1e31ddf4', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-11d46f5e-bdde-4790-94cb-7a1b1e31ddf4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": "2022-01-20T12:57:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:43,876 124153 INFO [tempest.common.waiters] snapshot 8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 reached deleting after waiting for 0.876331 seconds 2022-01-20 12:57:43,925 124153 INFO [tempest.lib.common.rest_client] Request (S napshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05/action 0.048s 2022-01-20 12:57:43,925 124153 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': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ceb61ff9-9bc9-4cb6-bbb8-280d8ac37c4e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ceb61ff9-9bc9-4cb6-bbb8-280d8ac37c4e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05/action'} Body: b'' 2022-01-20 12:57:43,952 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.026s 2022-01-20 12:57:43,953 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-84bfdbb1-1b2f-4391-9d85-ec05e7b3efc2', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-84bfdbb1-1b2f-4391-9d85-ec05e7b3efc2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"snapshot": {"id": "8b7a67cf-b385-454b-9aba-1d5ad3ff8f05", "created_at": "2022-01-20T12:57:36.000000", "updated_at": "2022-01-20T12:57:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-694810010", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:44,975 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 0.018s 2022-01-20 12:57:44,976 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-27e422b8-ccd8-4c41-8a05-17307f06f7a5', 'x-openstack-request-id': 'req-27e422b8-ccd8-4c41-8a05-17307f06f7a5', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/8b7a67cf-b385-454b-9aba-1d5ad3ff8f05'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 8b7a67cf-b385-454b-9aba-1d5ad3ff8f05 could not be found."}}' 2022-01-20 12:57:45,007 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action 0.031s 2022-01-20 12:57:45,008 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Tok en': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e982f50-972e-440a-8841-45a9d85d3956', 'x-openstack-request-id': 'req-9e982f50-972e-440a-8841-45a9d85d3956', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/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: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-20 12:57:45,663 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots 0.652s 2022-01-20 12:57:45,663 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-356c76c9-8687-424c-a72b-fe8440cf4526', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-356c76c9-8687-424c-a72b-fe8440cf4526', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.263288", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-20 12:57:45,689 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.023s 2022-01-20 12:57:45,690 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-54df63a5-49f0-4900-b2e2-108b9c060a88', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-54df63a5-49f0-4900-b2e2-108b9c060a88', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:46,717 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.023s 2022-01-20 12:57:46,717 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-64661156-f171-4f39-a2ca-1c1fe1e56068', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-64661156-f171-4f39-a2ca-1c1fe1e56068', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActio nsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:47,744 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.023s 2022-01-20 12:57:47,744 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-44c21f61-2de3-4ba3-a4b4-ee5abc815591', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-44c21f61-2de3-4ba3-a4b4-ee5abc815591', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:48,773 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.025s 2022-01-20 12:57:48,774 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5e2485e0-055f-4e4b-97d4-32bca88c7eef', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5e2485e0-055f-4e4b-97d4-32bca88c7eef', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:49,801 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.023s 2022-01-20 12:57:49,801 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f4025c6b-15d6-4427-924e-65aea4f696bd', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f4025c6b-15d6- 4427-924e-65aea4f696bd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:50,848 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.040s 2022-01-20 12:57:50,848 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bdceaa19-d7cd-45cc-b37e-a97ad178842d', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bdceaa19-d7cd-45cc-b37e-a97ad178842d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:51,879 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.024s 2022-01-20 12:57:51,879 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-71f66739-a49e-405e-8a92-2f08a9269984', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-71f66739-a49e-405e-8a92-2f08a9269984', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": "2022-01-20T12:57:51.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:51,887 124153 INFO [tempest.common.waiters] snapshot de25f525-5257-4306-b5d8-faa055f17059 reached available after waiting for 6.886952 seconds 2022-01-20 12:57:52,022 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/de25f525-5257-4306-b5d8-faa055f17059/ac tion 0.134s 2022-01-20 12:57:52,023 124153 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': 'Thu, 20 Jan 2022 12:57:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ca6471f5-7c70-410a-aa75-3e2930c0395b', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ca6471f5-7c70-410a-aa75-3e2930c0395b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/de25f525-5257-4306-b5d8-faa055f17059/action'} Body: b'' 2022-01-20 12:57:52,060 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.036s 2022-01-20 12:57:52,061 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5666e35f-b83e-4a1c-a33d-950249493d5b', 'content-length': '462', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5666e35f-b83e-4a1c-a33d-950249493d5b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": "2022-01-20T12:57:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:52,063 124153 INFO [tempest.common.waiters] snapshot de25f525-5257-4306-b5d8-faa055f17059 reached error after waiting for 0.063921 seconds 2022-01-20 12:57:52,204 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/de25f525-5257-4306-b5d8-faa055f17059/action 0.139s 2022-01-20 12:57:52,204 124153 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': 'Thu, 20 Jan 2022 12:57:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-90a29cdd-afb3-4558-8952-0c4130fd53ce', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-90a29cdd-afb3-4558-8952-0c4130fd53ce', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/de25f525-5257-4306-b5d8-faa055f17059/action'} Body: b'' 2022-01-20 12:57:52,229 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.025s 2022-01-20 12:57:52,230 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'T hu, 20 Jan 2022 12:57:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-bcf59a80-21ed-44ca-a0a1-a47112aa9d6c', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-bcf59a80-21ed-44ca-a0a1-a47112aa9d6c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"snapshot": {"id": "de25f525-5257-4306-b5d8-faa055f17059", "created_at": "2022-01-20T12:57:45.000000", "updated_at": "2022-01-20T12:57:52.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1630764510", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:53,250 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059 0.017s 2022-01-20 12:57:53,251 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-a86403a0-5037-49e4-9ce7-bb6a606fefb0', 'x-openstack-request-id': 'req-a86403a0-5037-49e4-9ce7-bb6a606fefb0', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/de25f525-5257-4306-b5d8-faa055f17059'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot de25f525-5257-4306-b5d8-faa055f17059 could not be found."}}' 2022-01-20 12:57:53,279 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action 0.027s 2022-01-20 12:57:53,279 124153 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': 'Thu, 20 Jan 2022 12:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-17ba5888-6494-418f-b6e0-080f6f46a40e', 'x-openstack-request-id': 'req-17ba5888-6494-418f-b6e0-080f6f46a40e', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/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 120, in test_snapshot_force_delete_when_snapshot_is_error_deleting self._create_reset_and_force_delete_temp_snapshot('error_deleting') File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 58, in _create_reset_and_force_delete_temp_snapshot self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-01-20 12:57:53,679 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots 0.397s 2022-01-20 12:57:53,680 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "name": "tempest-SnapshotsActionsTest-Snapshot-820427911"}} Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-989346e3-71f7-43c4-b124-6ab27ba5a700', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-989346e3-71f7-43c4-b124-6ab27ba5a700', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.425102", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}}}' 2022-01-20 12:57:53,708 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.025s 2022-01-20 12:57:53,708 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7fe5298b-6779-461d-b107-3460e0bfbd24', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7fe5298b-6779-461d-b107-3460e0bfbd24', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:54,734 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.022s 2022-01-20 12:57:54,734 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4dae6f19-b8b8-407d-a6c8-a778581e30ac', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4dae6f19-b8b8-407d-a6c8-a778581e30ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:55,763 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.024s 2022-01-20 12:57:55,763 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-02f192a2-13e7-4174-89d9-892da365f125', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-02f192a2-13e7-4174-89d9-892da365f125', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:56,789 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.022s 2022-01-20 12:57:56,789 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7ed0e419-f4ed-4c66-a4aa-53cd51486902', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7ed0e419-f4ed-4c66-a4aa-53cd51486902', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:57,814 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.021s 2022-01-20 12:57:57,814 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-740a3257-ce28-4b5c-a094-9639606431d1', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-740a3257-ce28-4b5c-a094-9639606431d1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:58,842 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.024s 2022-01-20 12:57:58,843 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-72d52045-6256-4bab-83cf-74b925ac60a5', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-72d52045-6256-4bab-83cf-74b925ac60a5', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-01-20 12:57:59,875 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b 0.029s 2022-01-20 12:57:59,876 124153 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 20 Jan 2022 12:57:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dcc16181-f6d6-4f19-a6e5-3aa6c3fe286d', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dcc16181-f6d6-4f19-a6e5-3aa6c3fe286d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.57/volume/v3/9e5001eac0b94ea78aba233857f48950/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b'} Body: b'{"snapshot": {"id": "2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b", "created_at": "2022-01-20T12:57:53.000000", "updated_at": "2022-01-20T12:57:59.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-820427911", "description": null, "volume_id": "2559a885-01b8-464e-af77-24f8b5792193", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "9e5001eac0b94ea78aba233857f48950", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-01-20 12:57:59,880 124153 INFO [tempest.common.waiters] snapshot 2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b reached available after waiting for 6.879994 seconds 2022-01-20 12:57:59,911 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 400 POST http://10.222.0.57/volume/v3/cf20463813 6949b09dc9b0036e496af5/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b/action 0.030s 2022-01-20 12:57:59,911 124153 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': 'Thu, 20 Jan 2022 12:57:59 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-90927022-4ed2-4682-a88f-22c0703fcdd6', 'x-openstack-request-id': 'req-90927022-4ed2-4682-a88f-22c0703fcdd6', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/2ff2acbc-b62b-48e9-8ad7-bbaa2eb7365b/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' 2022-01-20 12:57:59,945 124153 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action 0.034s 2022-01-20 12:57:59,946 124153 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': 'Thu, 20 Jan 2022 12:57:59 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-515d6f67-99ab-44aa-b8dd-220f36753c37', 'x-openstack-request-id': 'req-515d6f67-99ab-44aa-b8dd-220f36753c37', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.57/volume/v3/cf204638136949b09dc9b0036e496af5/snapshots/ccde75c9-98b2-4472-80fe-81c9e03a7b54/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 232 tests in 1379.3042 sec. - Passed: 219 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 3822.4969 sec. ============== Worker Balance ============== - Worker 0 (35 tests) => 0:03:04.012966 - Worker 1 (20 tests) => 0:22:57.567454 - Worker 2 (21 tests) => 0:11:55.664987 - Worker 3 (38 tests) => 0:09:07.069420 - Worker 4 (25 tests) => 0:03:23.191101 - Worker 5 (14 tests) => 0:03:48.082110 - Worker 6 (22 tests) => 0:08:10.229408 - Worker 7 (57 tests) => 0:12:52.600070 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