WARNING: isolated-tests file /home/ubuntu/isolated-tests.txt does not exist or is empty, no tests will run isolated /opt/stack/tempest ~ Initializing stestr all-plugin create: /opt/stack/tempest/.tox/all-plugin all-plugin installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt all-plugin develop-inst: /opt/stack/tempest all-plugin installed: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,alembic==1.6.5,amqp==5.0.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.3.0,Babel==2.9.1,backports.entry-points-selectable==1.1.0,bcrypt==3.2.0,beautifulsoup4==4.9.3,blinker==1.4,boto3==1.18.16,botocore==1.21.16,cachetools==4.2.2,castellan==3.9.0,certifi==2021.5.30,cffi==1.14.6,chardet==3.0.4,charset-normalizer==2.0.4,-e git+http://10.106.1.39/p/openstack/cinder@73ffac62d052719d877c6d596ddc3b76fff72a9a#egg=cinder,click==8.0.1,cliff==3.8.0,cmd2==2.1.2,colorama==0.4.4,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==3.4.7,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.2.0,decorator==5.0.9,defusedxml==0.7.1,distlib==0.3.2,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==1.16.0,dogpile.cache==1.1.3,elementpath==2.2.3,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.31.1,extras==1.0.0,fasteners==0.14.1,filelock==3.0.12,fixtures==3.0.0,Flask==2.0.1,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.3.0,-e git+https://opendev.org/openstack/glance@284189222923f60bd883dd95ff0354b80850a4ce#egg=glance,glance-store==2.6.0,google-api-core==1.31.1,google-api-python-client==2.15.0,google-auth==1.34.0,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.1,grpcio==1.39.0,httplib2==0.19.1,hyperlink==19.0.0,idna==3.2,importlib-metadata==1.5.0,importlib-resources==5.2.2,incremental==16.10.1,iso8601==0.1.16,itsdangerous==2.0.1,Jinja2==3.0.1,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.1,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@d1c7759f487612d6069ac076ad314e572a71ed24#egg=keystone,keystoneauth1==4.3.1,keystonemiddleware==9.3.0,kombu==5.1.0,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.3,Mako==1.1.4,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.2,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@2329562d274b953851603f09f59b140b21a898b4#egg=networking_hyperv,networkx==2.6.2,-e git+https://opendev.org/openstack/neutron@4c2cdba9d57380f770f6bc8670cc2d1464845616#egg=neutron,neutron-lib==2.13.0,-e git+https://opendev.org/openstack/nova@84b61790763f91e12eebb96d955e2f83abc00d56#egg=nova,numpy==1.21.1,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@36aba336b15a913a3d8bc3d5441fbb4c6feb38c5#egg=openstack_placement,openstacksdk==0.58.0,os-brick==4.4.0,os-client-config==2.1.0,os-ken==2.0.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.0,os-traits==2.5.0,os-vif==2.5.0,os-win==5.4.0,os-xenapi==0.3.4,osc-lib==2.4.1,osc-placement==3.0.1,oslo.cache==2.8.1,oslo.concurrency==4.4.0,oslo.config==8.7.1,oslo.context==3.3.0,oslo.db==10.0.0,oslo.i18n==5.0.1,oslo.limit==1.4.0,oslo.log==4.6.0,oslo.messaging==12.8.0,oslo.middleware==4.3.0,oslo.policy==3.8.1,oslo.privsep==2.6.0,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.1.0,oslo.service==2.6.0,oslo.upgradecheck==1.4.0,oslo.utils==4.9.2,oslo.versionedobjects==2.4.0,oslo.vmware==3.9.0,osprofiler==3.4.1,ovs==2.13.3,ovsdbapp==1.11.0,packaging==21.0,paramiko==2.7.2,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.6.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.2.0,pluggy==0.13.1,prettytable==0.7.2,protobuf==3.17.3,psutil==5.8.0,py==1.10.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.20,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.1.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==20.0.1,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,pyroute2==0.6.4,pyroute2.core==0.6.4,pyroute2.ethtool==0.6.4,pyroute2.ipdb==0.6.4,pyroute2.ipset==0.6.4,pyroute2.ndb==0.6.4,pyroute2.nftables==0.6.4,pyroute2.nslink==0.6.4,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.1.0,python-cinderclient==8.0.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.3.0,python-editor==1.0.4,python-glanceclient==3.4.0,python-keystoneclient==4.2.0,python-memcached==1.59,python-neutronclient==7.5.0,python-novaclient==17.5.0,python-openstackclient==5.5.0,python-subunit==1.4.0,python-swiftclient==3.12.0,pytz==2021.1,pyudev==0.22.0,PyYAML==5.4.1,repoze.lru==0.7,requests==2.26.0,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.7.2,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.18,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.3,six==1.16.0,sortedcontainers==2.1.0,sos==4.1,soupsieve==2.2.1,SQLAlchemy==1.4.22,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.0,stevedore==3.3.0,suds-jurko==0.6,-e git+https://opendev.org/openstack/swift@901d2e15b7fa7c7a923b885cd4d369d063357075#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.1,-e git+https://opendev.org/openstack/tempest@87ce9a8daca580fc933de662e96b81589a757473#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,toml==0.10.2,tooz==2.9.0,tox==3.24.1,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==3.0.1,urllib3==1.26.6,urwid==2.0.1,vine==5.0.0,virtualenv==20.7.0,voluptuous==0.12.1,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,WebTest==2.0.35,Werkzeug==2.0.1,wrapt==1.12.1,WSME==0.11.0,xattr==0.9.7,xmlschema==1.7.0,yappi==1.3.2,zipp==3.5.0,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {4} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {3} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [3.937854s] ... ok {5} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {6} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.297390s] ... ok {6} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.321761s] ... ok {6} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.746059s] ... ok {6} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.215999s] ... ok {6} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.858632s] ... ok {6} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.189046s] ... ok {5} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.235016s] ... ok {4} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [10.367312s] ... ok {7} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [12.232935s] ... ok {6} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show [0.908806s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [11.821646s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.188993s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.099307s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.025134s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [2.053411s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.030648s] ... ok {4} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [4.502801s] ... ok {7} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [16.467429s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [3.598436s] ... ok {3} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [10.234514s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.767892s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.010780s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.018555s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.016479s] ... ok {7} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [8.705372s] ... ok {5} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.488756s] ... ok {5} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.083645s] ... ok {3} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.296729s] ... ok {6} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.295071s] ... ok {3} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [1.470579s] ... ok {6} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [1.911024s] ... ok {1} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [43.397887s] ... ok {7} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.336533s] ... ok {7} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.036205s] ... ok {7} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {5} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.060540s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.490697s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.036467s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.057274s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.512058s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.316119s] ... ok {3} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.401273s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [2.661493s] ... ok {7} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [1.220879s] ... ok {7} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.408168s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [5.163039s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.126755s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [0.592995s] ... ok {7} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.014377s] ... ok {7} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.218579s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.336284s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.157625s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.479478s] ... ok {3} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {6} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [21.416342s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [3.229797s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [4.411327s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [3.839653s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [2.649626s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [2.777279s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [19.121911s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [2.938664s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [2.791395s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [1.532174s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.756625s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.016250s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.057314s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.040012s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.028473s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.012794s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.011827s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.011088s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.029091s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.010163s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.027913s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.026258s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.009382s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.081992s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.081665s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.212268s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.177227s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.058811s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.016382s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.074281s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.027538s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.019067s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [2.931992s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.203294s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.304806s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.133246s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.022274s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.227807s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.038003s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.025160s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.011917s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.016659s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.027719s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.012726s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.025429s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.022878s] ... ok {4} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [2.257804s] ... ok {6} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.628228s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [3.009745s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.029074s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.069902s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.031312s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.082353s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.041082s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.044015s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.048072s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.044707s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.043792s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.042314s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.037131s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.107045s] ... ok {5} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.107432s] ... ok {3} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [24.441883s] ... ok {4} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [2.002621s] ... ok {3} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [3.211932s] ... ok {4} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.206624s] ... ok {2} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [26.255965s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.075919s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.066347s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.076933s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.349235s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.157824s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.303604s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.062048s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.079405s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.077890s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.083722s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.089597s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.072702s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.135224s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.131369s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.135262s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.085950s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.087923s] ... ok {4} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.080919s] ... ok {3} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [28.431171s] ... ok {3} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [3.862651s] ... ok {2} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [39.853691s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [5.516020s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [6.489365s] ... ok {3} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [20.452874s] ... ok {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [37.446688s] ... ok {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [15.226526s] ... ok {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [16.386827s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [178.498462s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [233.522889s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.422763s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.138512s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.132815s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.112824s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.019806s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.020618s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.131907s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.012604s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.020806s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.022317s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.020342s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.022401s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [1.675348s] ... ok {2} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.165508s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [14.004564s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [14.108715s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.182255s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.183562s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.198084s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [17.458173s] ... ok {2} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {2} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.129885s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [74.982426s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.179474s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.012976s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.014030s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.058099s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.009874s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.009858s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.060166s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.048446s] ... ok {0} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.012449s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.011804s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.027710s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.017087s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.021595s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.017924s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.017687s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.013711s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.013441s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.029632s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.029599s] ... ok {0} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.124032s] ... ok {0} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.207507s] ... ok {7} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [272.486069s] ... ok {0} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [5.263788s] ... ok {0} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [5.381066s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [165.415896s] ... ok {1} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [5.164463s] ... ok {1} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.076317s] ... ok {1} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.036232s] ... ok {1} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [0.347686s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.150999s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:39,045 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.097s 2021-08-10 07:57:39,046 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-444b02a8-146f-41d1-884d-636f2f9cf21b', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-444b02a8-146f-41d1-884d-636f2f9cf21b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'' 2021-08-10 07:57:39,067 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c 0.020s 2021-08-10 07:57:39,067 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1799dc4e-9dca-4679-8c73-8e51a380815e', 'content-length': '531', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1799dc4e-9dca-4679-8c73-8e51a380815e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c'} Body: b'{"snapshot": {"id": "18d111f2-4e81-4bbe-9897-41d05623582c", "created_at": "2021-08-10T07:57:38.000000", "updated_at": "2021-08-10T07:57:39.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2114981303", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:39,070 114604 INFO [tempest.common.waiters] snapshot 18d111f2-4e81-4bbe-9897-41d05623582c reached creating after waiting for 0.070057 seconds 2021-08-10 07:57:39,097 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.027s 2021-08-10 07:57:39,097 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-cbd05021-3500-48ca-a55d-ee53182feb3d', 'x-openstack-request-id': 'req-cbd05021-3500-48ca-a55d-ee53182feb3d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [2.365002s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:39,215 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots 0.114s 2021-08-10 07:57:39,215 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fd5ca641-6140-4ffc-bb9c-24b804614a15', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fd5ca641-6140-4ffc-bb9c-24b804614a15', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.166808", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 07:57:39,244 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.027s 2021-08-10 07:57:39,245 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1ab102c1-1eb9-40fb-99f7-c3937550c255', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1ab102c1-1eb9-40fb-99f7-c3937550c255', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 07:57:40,269 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.021s 2021-08-10 07:57:40,270 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-151acf07-8269-42c4-861e-c5442a301a6f', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-151acf07-8269-42c4-861e-c5442a301a6f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.000000", "updated_at": "2021-08-10T07:57:39.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "available", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:40,272 114604 INFO [tempest.common.waiters] snapshot bcc52f35-8d3c-485f-880b-e113ccce22fa reached available after waiting for 1.272609 seconds 2021-08-10 07:57:40,323 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa/action 0.051s 2021-08-10 07:57:40,324 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ff2284df-87c7-477f-9ab0-079b45be9ca8', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ff2284df-87c7-477f-9ab0-079b45be9ca8', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa/action'} Body: b'' 2021-08-10 07:57:40,344 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.020s 2021-08-10 07:57:40,344 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e60978fb-51b3-4054-bdc6-d366e70329e8', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e60978fb-51b3-4054-bdc6-d366e70329e8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.000000", "updated_at": "2021-08-10T07:57:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:40,347 114604 INFO [tempest.common.waiters] snapshot bcc52f35-8d3c-485f-880b-e113ccce22fa reached creating after waiting for 0.347892 seconds 2021-08-10 07:57:40,394 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa/action 0.046s 2021-08-10 07:57:40,394 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-6cf1d4db-53d0-4fdc-8787-8cac72c8d1c7', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6cf1d4db-53d0-4fdc-8787-8cac72c8d1c7', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa/action'} Body: b'' 2021-08-10 07:57:40,415 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.020s 2021-08-10 07:57:40,416 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d6edb516-f824-48ce-a947-52ff03f1c182', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d6edb516-f824-48ce-a947-52ff03f1c182', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.000000", "updated_at": "2021-08-10T07:57:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:41,435 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.016s 2021-08-10 07:57:41,436 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:41 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-a9e90ffc-d091-45af-a727-8026dbcd933d', 'x-openstack-request-id': 'req-a9e90ffc-d091-45af-a727-8026dbcd933d', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot bcc52f35-8d3c-485f-880b-e113ccce22fa could not be found."}}' 2021-08-10 07:57:41,464 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.027s 2021-08-10 07:57:41,464 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-3932f192-47bc-424f-80d6-843524037e17', 'x-openstack-request-id': 'req-3932f192-47bc-424f-80d6 -843524037e17', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [2.366181s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:41,578 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots 0.111s 2021-08-10 07:57:41,579 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fe32248d-4eab-400b-aa15-45c0687ae2dc', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fe32248d-4eab-400b-aa15-45c0687ae2dc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:41.532002", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 07:57:41,604 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.023s 2021-08-10 07:57:41,605 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d3f1a70c-bf5f-4916-a2b5-eeab52095f0f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d3f1a70c-bf5f-4916-a2b5-eeab52095f0f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:42.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 07:57:42,629 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.020s 2021-08-10 07:57:42,630 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a2cbd1a7-e93f-42ad-8c5d-e50bdfbb2d5c', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a2cbd1a7-e93f-42ad-8c5d-e50bdfbb2d5c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:42.000000", "updated_at": "2021-08-10T07:57:42.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "available", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:42,632 114604 INFO [tempest.common.waiters] snapshot 0f0e3416-2e21-4122-bdf7-6fb2f5a266ec reached available after waiting for 1.632760 seconds 2021-08-10 07:57:42,690 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec/action 0.057s 2021-08-10 07:57:42,691 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-1f4704ef-4af1-4105-90e2-cd153505ef1e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1f4704ef-4af1-4105-90e2-cd153505ef1e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec/action'} Body: b'' 2021-08-10 07:57:42,712 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.021s 2021-08-10 07:57:42,713 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7134cf7b-eba6-4c86-a05a-06f40ca0887a', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7134cf7b-eba6-4c86-a05a-06f40ca0887a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:42.000000", "updated_at": "2021-08-10T07:57:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:42,715 114604 INFO [tempest.common.waiters] snapshot 0f0e3416-2e21-4122-bdf7-6fb2f5a266ec reached deleting after waiting for 0.715585 seconds 2021-08-10 07:57:42,760 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec/action 0.044s 2021-08-10 07:57:42,760 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-88935c12-e2d8-4c01-a647-08cb057b5dc3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-88935c12-e2d8-4c01-a647-08cb057b5dc3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec/action'} Body: b'' 2021-08-10 07:57:42,781 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.021s 2021-08-10 07:57:42,782 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5e687b98-cd18-4a45-a054-53e5f5ed51fd', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5e687b98-cd18-4a45-a054-53e5f5ed51fd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:42.000000", "updated_at": "2021-08-10T07:57:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:43,803 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.017s 2021-08-10 07:57:43,803 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:43 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-33aef45f-82de-41e0-a6e9-db9f31d380d0', 'x-openstack-request-id': 'req-33aef45f-82de-41e0-a6e9-db9f31d380d0', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 0f0e3416-2e21-4122-bdf7-6fb2f5a266ec could not be found."}}' 2021-08-10 07:57:43,831 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.027s 2021-08-10 07:57:43,831 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-73c1078a-83dc-4491-818d-ebada4ec802d', 'x-openstack-request-id': 'req-73c1078a-83dc-4491-818d -ebada4ec802d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [2.365721s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:43,951 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots 0.117s 2021-08-10 07:57:43,951 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-518fce7b-d300-443f-addc-907f1475ac03', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-518fce7b-d300-443f-addc-907f1475ac03', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:43.900614", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 07:57:43,975 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.020s 2021-08-10 07:57:43,975 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f3109e7c-857e-425f-a822-ba5b18bd57b2', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f3109e7c-857e-425f-a822-ba5b18bd57b2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 07:57:45,000 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.021s 2021-08-10 07:57:45,001 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0d07f907-d022-4ced-9b3d-de181a7e0515', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0d07f907-d022-4ced-9b3d-de181a7e0515', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:44.000000", "updated_at": "2021-08-10T07:57:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "available", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:45,004 114604 INFO [tempest.common.waiters] snapshot 221495b3-486c-4d72-9756-a6490db19b43 reached available after waiting for 2.003997 seconds 2021-08-10 07:57:45,056 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/221495b3-486c-4d72-9756-a6490db19b43/action 0.051s 2021-08-10 07:57:45,056 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-e86183f9-cd72-46c6-a091-2593d974cb1a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e86183f9-cd72-46c6-a091-2593d974cb1a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/221495b3-486c-4d72-9756-a6490db19b43/action'} Body: b'' 2021-08-10 07:57:45,076 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.020s 2021-08-10 07:57:45,077 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2e2d2d8a-0f35-4bdd-b260-533627aad4b0', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2e2d2d8a-0f35-4bdd-b260-533627aad4b0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:44.000000", "updated_at": "2021-08-10T07:57:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "error", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:45,080 114604 INFO [tempest.common.waiters] snapshot 221495b3-486c-4d72-9756-a6490db19b43 reached error after waiting for 0.080516 seconds 2021-08-10 07:57:45,127 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/221495b3-486c-4d72-9756-a6490db19b43/action 0.046s 2021-08-10 07:57:45,128 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- 26e5d6e3-0847-4805-b3b2-1c04c02ec54a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-26e5d6e3-0847-4805-b3b2-1c04c02ec54a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/221495b3-486c-4d72-9756-a6490db19b43/action'} Body: b'' 2021-08-10 07:57:45,150 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.022s 2021-08-10 07:57:45,151 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-662919d4-7a70-4f08-8958-810d1ab12819', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-662919d4-7a70-4f08-8958-810d1ab12819', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:44.000000", "updated_at": "2021-08-10T07:57:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:46,171 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.016s 2021-08-10 07:57:46,171 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:46 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-f66c75be-a8d3-4cce-ad27-0b50ecc0b57e', 'x-openstack-request-id': 'req-f66c75be-a8d3-4cce-ad27-0b50ecc0b57e', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 221495b3-486c-4d72-9756-a6490db19b43 could not be found."}}' 2021-08-10 07:57:46,198 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.026s 2021-08-10 07:57:46,198 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-1e64737c-123c-4827-ab5c-3044a1e8dc5d', 'x-openstack-request-id': 'req-1e64737c-123c-4827-ab5c-3044a1e8dc5d', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [2.364586s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:46,314 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots 0.114s 2021-08-10 07:57:46,315 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-816482c2-a2d6-4e99-95b4-e3d8b4edba3f', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-816482c2-a2d6-4e99-95b4-e3d8b4edba3f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.266930", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 07:57:46,339 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.021s 2021-08-10 07:57:46,340 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-60bed8cb-712b-435a-86f3-535664bb72f3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-60bed8cb-712b-435a-86f3-535664bb72f3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 07:57:47,365 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.022s 2021-08-10 07:57:47,366 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d972c554-1d28-450c-93af-6622cb224c75', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d972c554-1d28-450c-93af-6622cb224c75', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.000000", "updated_at": "2021-08-1 0T07:57:46.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "available", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:47,368 114604 INFO [tempest.common.waiters] snapshot 65de8593-3084-4377-a0ae-3c7c612b4126 reached available after waiting for 1.368857 seconds 2021-08-10 07:57:47,422 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126/action 0.052s 2021-08-10 07:57:47,422 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-3031e385-828d-43b0-bf37-f1a2e721eccc', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3031e385-828d-43b0-bf37-f1a2e721eccc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126/action'} Body: b'' 2021-08-10 07:57:47,442 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.020s 2021-08-10 07:57:47,443 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e08aaa8-2c78-4d77-bebe-4a0e79b99744', 'content-length': '574', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e08aaa8-2c78-4d77-bebe-4a0e79b99744', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.000000", "updated_at": "2021-08-10T07:57:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:47,445 114604 INFO [tempest.common.waiters] snapshot 65de8593-3084-4377-a0ae-3c7c612b4126 reached error_deleting after waiting for 0.445594 seconds 2021-08-10 07:57:47,491 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126/action 0.045s 2021-08-10 07:57:47,492 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-4d8707ab-c8f5-42c5-9b8f-b6377ea2fcd2', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4d8707ab-c8f5-42c5-9b8f-b6377ea2fcd2', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126/action'} Body: b'' 2021-08-10 07:57:47,514 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.022s 2021-08-10 07:57:47,515 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2a73ce17-0e40-4d1e-8a97-40379344a3e9', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2a73ce17-0e40-4d1e-8a97-40379344a3e9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.000000", "updated_at": "2021-08-10T07:57:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:48,536 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.017s 2021-08-10 07:57:48,537 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:48 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-61b89a4a-1e4e-4438-bc7d-ba5f935fbd09', 'x-openstack-request-id': 'req-61b89a4a-1e4e-4438-bc7d-ba5f935fbd09', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 65de8593-3084-4377-a0ae-3c7c612b4126 could not be found."}}' 2021-08-10 07:57:48,564 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.026s 2021-08-10 07:57:48,564 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-20319252-13a4-4e12-97fe-eca ed5935237', 'x-openstack-request-id': 'req-20319252-13a4-4e12-97fe-ecaed5935237', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.059243s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 85, in test_update_snapshot_status self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:48,595 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_update_snapshot_status): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.028s 2021-08-10 07:57:48,596 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:48 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-c462b919-ae2f-41ea-9549-971cada95f9f', 'x-openstack-request-id': 'req-c462b919-ae2f-41ea-9549-971cada95f9f', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' 2021-08-10 07:57:48,624 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.027s 2021-08-10 07:57:48,624 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-e71c21f4-6197-47b7-973b-75dde0389fd9', 'x-openstack-request-id': 'req-e71c21f4-6197-47b7-973b-75dde0389fd9', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [50.145585s] ... ok {1} tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) [0.000000s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: ((, Bad request Details: {'code': 400, 'message': 'Invalid snapshot: Snapshot status must be available or error and must not be part of a group.'}, ), (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, )) {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [2.397465s] ... ok {1} tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume [5.314408s] ... ok {1} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [2.968343s] ... ok {1} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.054349s] ... ok {1} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.290171s] ... ok {1} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.041922s] ... ok {1} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.118696s] ... ok {1} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.295691s] ... ok {1} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.195817s] ... ok {2} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [135.451044s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [30.450837s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [5.103347s] ... ok {0} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [5.080151s] ... ok {0} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported ============================== Failed 7 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status[id-3e13ca2f-48ea-49f3-ae1a-488e9180d535] ---------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:39,045 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.097s 2021-08-10 07:57:39,046 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-444b02a8-146f-41d1-884d-636f2f9cf21b', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-444b02a8-146f-41d1-884d-636f2f9cf21b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'' 2021-08-10 07:57:39,067 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_reset_snapshot_status): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c 0.020s 2021-08-10 07:57:39,067 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1799dc4e-9dca-4679-8c73-8e51a380815e', 'content-length': '531', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1799dc4e-9dca-4679-8c73-8e51a380815e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c'} Body: b'{"snapshot": {"id": "18d111f2-4e81-4bbe-9897-41d05623582c", "created_at": "2021-08-10T07:57:38.000000", "updated_at": "2021-08-10T07:57:39.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-2114981303", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:39,070 114604 INFO [tempest.common.waiters] snapshot 18d111f2-4e81-4bbe-9897-41d05623582c reached creating after waiting for 0.070057 seconds 2021-08-10 07:57:39,097 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.027s 2021-08-10 07:57:39,097 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-cbd05021-3500-48ca-a55d-ee53182feb3d', 'x-openstack-request-id': 'req-cbd05021-3500-48ca-a55d-ee53182feb3d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:39,215 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots 0.114s 2021-08-10 07:57:39,215 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fd5ca641-6140-4ffc-bb9c-24b804614a15', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fd5ca641-6140-4ffc-bb9c-24b804614a15', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.166808", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 07:57:39,244 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.027s 2021-08-10 07:57:39,245 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1ab102c1-1eb9-40fb-99f7-c3937550c255', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1ab102c1-1eb9-40fb-99f7-c3937550c255', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 07:57:40,269 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.021s 2021-08-10 07:57:40,270 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-151acf07-8269-42c4-861e-c5442a301a6f', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-151acf07-8269-42c4-861e-c5442a301a6f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.000000", "updated_at": "2021-08-10T07:57:39.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "available", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:40,272 114604 INFO [tempest.common.waiters] snapshot bcc52f35-8d3c-485f-880b-e113ccce22fa reached available after waiting for 1.272609 seconds 2021-08-10 07:57:40,323 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa/action 0.051s 2021-08-10 07:57:40,324 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-ff2284df-87c7-477f-9ab0-079b45be9ca8', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ff2284df-87c7-477f-9ab0-079b45be9ca8', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa/action'} Body: b'' 2021-08-10 07:57:40,344 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.020s 2021-08-10 07:57:40,344 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e60978fb-51b3-4054-bdc6-d366e70329e8', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e60978fb-51b3-4054-bdc6-d366e70329e8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.000000", "updated_at": "2021-08-10T07:57:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:40,347 114604 INFO [tempest.common.waiters] snapshot bcc52f35-8d3c-485f-880b-e113ccce22fa reached creating after waiting for 0.347892 seconds 2021-08-10 07:57:40,394 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa/action 0.046s 2021-08-10 07:57:40,394 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-6cf1d4db-53d0-4fdc-8787-8cac72c8d1c7', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6cf1d4db-53d0-4fdc-8787-8cac72c8d1c7', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa/action'} Body: b'' 2021-08-10 07:57:40,415 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.020s 2021-08-10 07:57:40,416 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d6edb516-f824-48ce-a947-52ff03f1c182', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d6edb516-f824-48ce-a947-52ff03f1c182', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"snapshot": {"id": "bcc52f35-8d3c-485f-880b-e113ccce22fa", "created_at": "2021-08-10T07:57:39.000000", "updated_at": "2021-08-10T07:57:40.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1625116479", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:41,435 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa 0.016s 2021-08-10 07:57:41,436 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:41 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-a9e90ffc-d091-45af-a727-8026dbcd933d', 'x-openstack-request-id': 'req-a9e90ffc-d091-45af-a727-8026dbcd933d', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/bcc52f35-8d3c-485f-880b-e113ccce22fa'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot bcc52f35-8d3c-485f-880b-e113ccce22fa could not be found."}}' 2021-08-10 07:57:41,464 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.027s 2021-08-10 07:57:41,464 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-3932f192-47bc-424f-80d6-843524037e17', 'x-openstack-request-id': 'req-3932f192-47bc-424f-80d6 -843524037e17', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:41,578 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots 0.111s 2021-08-10 07:57:41,579 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fe32248d-4eab-400b-aa15-45c0687ae2dc', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fe32248d-4eab-400b-aa15-45c0687ae2dc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:41.532002", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 07:57:41,604 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.023s 2021-08-10 07:57:41,605 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d3f1a70c-bf5f-4916-a2b5-eeab52095f0f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d3f1a70c-bf5f-4916-a2b5-eeab52095f0f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:42.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 07:57:42,629 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.020s 2021-08-10 07:57:42,630 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a2cbd1a7-e93f-42ad-8c5d-e50bdfbb2d5c', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a2cbd1a7-e93f-42ad-8c5d-e50bdfbb2d5c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:42.000000", "updated_at": "2021-08-10T07:57:42.000000" , "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "available", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:42,632 114604 INFO [tempest.common.waiters] snapshot 0f0e3416-2e21-4122-bdf7-6fb2f5a266ec reached available after waiting for 1.632760 seconds 2021-08-10 07:57:42,690 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec/action 0.057s 2021-08-10 07:57:42,691 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "deleting"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-1f4704ef-4af1-4105-90e2-cd153505ef1e', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1f4704ef-4af1-4105-90e2-cd153505ef1e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec/action'} Body: b'' 2021-08-10 07:57:42,712 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.021s 2021-08-10 07:57:42,713 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7134cf7b-eba6-4c86-a05a-06f40ca0887a', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7134cf7b-eba6-4c86-a05a-06f40ca0887a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:42.000000", "updated_at": "2021-08-10T07:57:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:42,715 114604 INFO [tempest.common.waiters] snapshot 0f0e3416-2e21-4122-bdf7-6fb2f5a266ec reached deleting after waiting for 0.715585 seconds 2021-08-10 07:57:42,760 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec/action 0.044s 2021-08-10 07:57:42,760 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x -compute-request-id': 'req-88935c12-e2d8-4c01-a647-08cb057b5dc3', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-88935c12-e2d8-4c01-a647-08cb057b5dc3', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec/action'} Body: b'' 2021-08-10 07:57:42,781 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.021s 2021-08-10 07:57:42,782 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5e687b98-cd18-4a45-a054-53e5f5ed51fd', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5e687b98-cd18-4a45-a054-53e5f5ed51fd', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"snapshot": {"id": "0f0e3416-2e21-4122-bdf7-6fb2f5a266ec", "created_at": "2021-08-10T07:57:42.000000", "updated_at": "2021-08-10T07:57:43.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1614074887", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:43,803 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec 0.017s 2021-08-10 07:57:43,803 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:43 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-33aef45f-82de-41e0-a6e9-db9f31d380d0', 'x-openstack-request-id': 'req-33aef45f-82de-41e0-a6e9-db9f31d380d0', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/0f0e3416-2e21-4122-bdf7-6fb2f5a266ec'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 0f0e3416-2e21-4122-bdf7-6fb2f5a266ec could not be found."}}' 2021-08-10 07:57:43,831 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.027s 2021-08-10 07:57:43,831 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-73c1078a-83dc-4491-818d-ebada4ec802d', 'x-openstack-request-id': 'req-73c1078a-83dc-4491-818d -ebada4ec802d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:43,951 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots 0.117s 2021-08-10 07:57:43,951 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-518fce7b-d300-443f-addc-907f1475ac03', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-518fce7b-d300-443f-addc-907f1475ac03', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:43.900614", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 07:57:43,975 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.020s 2021-08-10 07:57:43,975 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f3109e7c-857e-425f-a822-ba5b18bd57b2', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f3109e7c-857e-425f-a822-ba5b18bd57b2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 07:57:45,000 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.021s 2021-08-10 07:57:45,001 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0d07f907-d022-4ced-9b3d-de181a7e0515', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0d07f907-d022-4ced-9b3d-de181a7e0515', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:44.000000", "updated_at": "2021-08-10T07:57:44.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "available", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:45,004 114604 INFO [tempest.common.waiters] snapshot 221495b3-486c-4d72-9756-a6490db19b43 reached available after waiting for 2.003997 seconds 2021-08-10 07:57:45,056 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/221495b3-486c-4d72-9756-a6490db19b43/action 0.051s 2021-08-10 07:57:45,056 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-e86183f9-cd72-46c6-a091-2593d974cb1a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e86183f9-cd72-46c6-a091-2593d974cb1a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/221495b3-486c-4d72-9756-a6490db19b43/action'} Body: b'' 2021-08-10 07:57:45,076 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.020s 2021-08-10 07:57:45,077 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2e2d2d8a-0f35-4bdd-b260-533627aad4b0', 'content-length': '565', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2e2d2d8a-0f35-4bdd-b260-533627aad4b0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:44.000000", "updated_at": "2021-08-10T07:57:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "error", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:45,080 114604 INFO [tempest.common.waiters] snapshot 221495b3-486c-4d72-9756-a6490db19b43 reached error after waiting for 0.080516 seconds 2021-08-10 07:57:45,127 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/221495b3-486c-4d72-9756-a6490db19b43/action 0.046s 2021-08-10 07:57:45,128 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req- 26e5d6e3-0847-4805-b3b2-1c04c02ec54a', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-26e5d6e3-0847-4805-b3b2-1c04c02ec54a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/221495b3-486c-4d72-9756-a6490db19b43/action'} Body: b'' 2021-08-10 07:57:45,150 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.022s 2021-08-10 07:57:45,151 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-662919d4-7a70-4f08-8958-810d1ab12819', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-662919d4-7a70-4f08-8958-810d1ab12819', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"snapshot": {"id": "221495b3-486c-4d72-9756-a6490db19b43", "created_at": "2021-08-10T07:57:44.000000", "updated_at": "2021-08-10T07:57:45.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1553578658", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:46,171 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43 0.016s 2021-08-10 07:57:46,171 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:46 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-f66c75be-a8d3-4cce-ad27-0b50ecc0b57e', 'x-openstack-request-id': 'req-f66c75be-a8d3-4cce-ad27-0b50ecc0b57e', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/221495b3-486c-4d72-9756-a6490db19b43'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 221495b3-486c-4d72-9756-a6490db19b43 could not be found."}}' 2021-08-10 07:57:46,198 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.026s 2021-08-10 07:57:46,198 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-1e64737c-123c-4827-ab5c-3044a1e8dc5d', 'x-openstack-request-id': 'req-1e64737c-123c-4827-ab5c-3044a1e8dc5d', 'connection': 'cl ose', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:46,314 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots 0.114s 2021-08-10 07:57:46,315 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-816482c2-a2d6-4e99-95b4-e3d8b4edba3f', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-816482c2-a2d6-4e99-95b4-e3d8b4edba3f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.266930", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}}}' 2021-08-10 07:57:46,339 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.021s 2021-08-10 07:57:46,340 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-60bed8cb-712b-435a-86f3-535664bb72f3', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-60bed8cb-712b-435a-86f3-535664bb72f3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-08-10 07:57:47,365 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.022s 2021-08-10 07:57:47,366 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d972c554-1d28-450c-93af-6622cb224c75', 'content-length': '569', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d972c554-1d28-450c-93af-6622cb224c75', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.000000", "updated_at": "2021-08-1 0T07:57:46.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "available", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:47,368 114604 INFO [tempest.common.waiters] snapshot 65de8593-3084-4377-a0ae-3c7c612b4126 reached available after waiting for 1.368857 seconds 2021-08-10 07:57:47,422 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126/action 0.052s 2021-08-10 07:57:47,422 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "error_deleting"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-3031e385-828d-43b0-bf37-f1a2e721eccc', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3031e385-828d-43b0-bf37-f1a2e721eccc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126/action'} Body: b'' 2021-08-10 07:57:47,442 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.020s 2021-08-10 07:57:47,443 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e08aaa8-2c78-4d77-bebe-4a0e79b99744', 'content-length': '574', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e08aaa8-2c78-4d77-bebe-4a0e79b99744', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.000000", "updated_at": "2021-08-10T07:57:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "error_deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:47,445 114604 INFO [tempest.common.waiters] snapshot 65de8593-3084-4377-a0ae-3c7c612b4126 reached error_deleting after waiting for 0.445594 seconds 2021-08-10 07:57:47,491 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126/action 0.045s 2021-08-10 07:57:47,492 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-force_delete": {}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-4d8707ab-c8f5-42c5-9b8f-b6377ea2fcd2', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4d8707ab-c8f5-42c5-9b8f-b6377ea2fcd2', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126/action'} Body: b'' 2021-08-10 07:57:47,514 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.022s 2021-08-10 07:57:47,515 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2a73ce17-0e40-4d1e-8a97-40379344a3e9', 'content-length': '568', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2a73ce17-0e40-4d1e-8a97-40379344a3e9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"snapshot": {"id": "65de8593-3084-4377-a0ae-3c7c612b4126", "created_at": "2021-08-10T07:57:46.000000", "updated_at": "2021-08-10T07:57:47.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1484581680", "description": null, "volume_id": "3499c107-db9b-4134-bb30-2394be56f825", "status": "deleting", "size": 1, "metadata": {"backing_file": "volume-3499c107-db9b-4134-bb30-2394be56f825.18d111f2-4e81-4bbe-9897-41d05623582c.vhdx"}, "os-extended-snapshot-attributes:project_id": "312eb4ed108e4298b0974c6e061acac4", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-08-10 07:57:48,536 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126 0.017s 2021-08-10 07:57:48,537 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:48 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-61b89a4a-1e4e-4438-bc7d-ba5f935fbd09', 'x-openstack-request-id': 'req-61b89a4a-1e4e-4438-bc7d-ba5f935fbd09', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.20/volume/v3/312eb4ed108e4298b0974c6e061acac4/snapshots/65de8593-3084-4377-a0ae-3c7c612b4126'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 65de8593-3084-4377-a0ae-3c7c612b4126 could not be found."}}' 2021-08-10 07:57:48,564 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.026s 2021-08-10 07:57:48,564 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-20319252-13a4-4e12-97fe-eca ed5935237', 'x-openstack-request-id': 'req-20319252-13a4-4e12-97fe-ecaed5935237', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status[id-41288afd-d463-485e-8f6e-4eea159413eb] ----------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 85, in test_update_snapshot_status self.admin_snapshots_client.reset_snapshot_status( File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'cannot reset running state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-08-10 07:57:48,595 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_update_snapshot_status): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.028s 2021-08-10 07:57:48,596 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "creating"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:48 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-c462b919-ae2f-41ea-9549-971cada95f9f', 'x-openstack-request-id': 'req-c462b919-ae2f-41ea-9549-971cada95f9f', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' 2021-08-10 07:57:48,624 114604 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action 0.027s 2021-08-10 07:57:48,624 114604 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-reset_status": {"status": "available"}} Response - Headers: {'date': 'Tue, 10 Aug 2021 07:57:48 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '70', 'content-type': 'application/json', 'x-compute-request-id': 'req-e71c21f4-6197-47b7-973b-75dde0389fd9', 'x-openstack-request-id': 'req-e71c21f4-6197-47b7-973b-75dde0389fd9', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.20/volume/v3/a60fd49c1b36407cae5649c58fd96210/snapshots/18d111f2-4e81-4bbe-9897-41d05623582c/action'} Body: b'{"badRequest": {"code": 400, "message": "cannot reset running state"}}' tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) ------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: ((, Bad request Details: {'code': 400, 'message': 'Invalid snapshot: Snapshot status must be available or error and must not be part of a group.'}, ), (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, )) ====== Totals ====== Ran: 231 tests in 488.0405 sec. - Passed: 214 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 7 Sum of execute time for each test: 1702.3589 sec. ============== Worker Balance ============== - Worker 0 (33 tests) => 0:07:53.241641 - Worker 1 (22 tests) => 0:07:31.907253 - Worker 2 (28 tests) => 0:06:32.338795 - Worker 3 (19 tests) => 0:02:52.090639 - Worker 4 (33 tests) => 0:01:52.514212 - Worker 5 (56 tests) => 0:01:27.133886 - Worker 6 (21 tests) => 0:01:14.864088 - Worker 7 (19 tests) => 0:06:10.674394 tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status[id-3e13ca2f-48ea-49f3-ae1a-488e9180d535] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status[id-41288afd-d463-485e-8f6e-4eea159413eb] tearDownClass (tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest) ~ Exit code: 1