WARNING: isolated-tests file /home/ubuntu/isolated-tests.txt does not exist or is empty, no tests will run isolated /opt/stack/tempest ~ Initializing stestr all-plugin create: /opt/stack/tempest/.tox/all-plugin all-plugin installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt all-plugin develop-inst: /opt/stack/tempest all-plugin installed: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,alembic==1.6.5,amqp==5.0.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.4.0,autopage==0.4.0,Babel==2.9.1,backports.entry-points-selectable==1.1.0,bcrypt==3.2.0,beautifulsoup4==4.9.3,blinker==1.4,boto3==1.18.31,botocore==1.21.31,cachetools==4.2.2,castellan==3.9.1,certifi==2021.5.30,cffi==1.14.6,chardet==3.0.4,charset-normalizer==2.0.4,-e git+http://10.106.1.39/p/openstack/cinder@a52564ac6238844382492accdbf0d8bfb902a808#egg=cinder,click==8.0.1,cliff==3.9.0,cmd2==2.1.2,colorama==0.4.4,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==3.4.8,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.2.0,decorator==5.0.9,defusedxml==0.7.1,distlib==0.3.2,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==1.16.0,dogpile.cache==1.1.3,elementpath==2.2.3,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.31.1,extras==1.0.0,fasteners==0.14.1,filelock==3.0.12,fixtures==3.0.0,Flask==2.0.1,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.3.0,-e git+https://opendev.org/openstack/glance@25e60aea8e2fe11937e4b4d94e89c35cbb43940e#egg=glance,glance-store==2.7.0,google-api-core==2.0.0,google-api-python-client==2.18.0,google-auth==2.0.1,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.1,grpcio==1.39.0,httplib2==0.19.1,hyperlink==19.0.0,idna==3.2,importlib-metadata==1.5.0,importlib-resources==5.2.2,incremental==16.10.1,iso8601==0.1.16,itsdangerous==2.0.1,Jinja2==3.0.1,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.1,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@cf5f1e5651052be52f17beeb400ac433303a9602#egg=keystone,keystoneauth1==4.3.1,keystonemiddleware==9.3.0,kombu==5.1.0,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.3,Mako==1.1.5,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.2,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@2329562d274b953851603f09f59b140b21a898b4#egg=networking_hyperv,networkx==2.6.2,-e git+https://opendev.org/openstack/neutron@7e5e6d4929aca442059d6ec1df3ab4405b6b8df9#egg=neutron,neutron-lib==2.15.0,-e git+https://opendev.org/openstack/nova@e81211318a29c5f07ee2b9c753dbab041ee01c21#egg=nova,numpy==1.21.2,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@8db5d027c361fae644bfe3b3b9c8cfe8285efa66#egg=openstack_placement,openstacksdk==0.59.0,os-brick==5.0.0,os-client-config==2.1.0,os-ken==2.1.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.0,os-traits==2.6.0,os-vif==2.6.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.0.1,oslo.cache==2.8.1,oslo.concurrency==4.4.0,oslo.config==8.7.1,oslo.context==3.3.1,oslo.db==10.0.0,oslo.i18n==5.0.1,oslo.limit==1.4.0,oslo.log==4.6.0,oslo.messaging==12.9.1,oslo.metrics==0.3.0,oslo.middleware==4.4.0,oslo.policy==3.8.2,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.6.0,oslo.upgradecheck==1.4.0,oslo.utils==4.10.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.9.1,osprofiler==3.4.1,ovs==2.13.3,ovsdbapp==1.12.0,packaging==21.0,paramiko==2.7.2,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.6.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.2.0,pluggy==0.13.1,prettytable==0.7.2,prometheus-client==0.11.0,protobuf==3.17.3,psutil==5.8.0,py==1.10.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.20,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.1.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==20.0.1,pyparsing==2.4.7,pyperclip==1.8.2,pypowervm==1.1.26,pyroute2==0.6.4,pyroute2.core==0.6.4,pyroute2.ethtool==0.6.4,pyroute2.ipdb==0.6.4,pyroute2.ipset==0.6.4,pyroute2.ndb==0.6.4,pyroute2.nftables==0.6.4,pyroute2.nslink==0.6.4,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.1.0,python-cinderclient==8.0.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.3.0,python-editor==1.0.4,python-glanceclient==3.4.0,python-keystoneclient==4.2.0,python-memcached==1.59,python-neutronclient==7.5.0,python-novaclient==17.5.0,python-openstackclient==5.5.0,python-subunit==1.4.0,python-swiftclient==3.12.0,pytz==2021.1,pyudev==0.22.0,PyYAML==5.4.1,repoze.lru==0.7,requests==2.26.0,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.7.2,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.18,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.5,six==1.16.0,sortedcontainers==2.1.0,sos==4.1,soupsieve==2.2.1,SQLAlchemy==1.4.23,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.0,stevedore==3.4.0,suds-jurko==0.6,-e git+https://opendev.org/openstack/swift@fb0293538020e2611048ffc00fd1e7f67eb42c73#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@3026475d1836f3a3e5a5aefe65110bef787e4d50#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,toml==0.10.2,tooz==2.9.0,tox==3.24.3,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==3.0.1,urllib3==1.26.6,urwid==2.0.1,vine==5.0.0,virtualenv==20.7.2,voluptuous==0.12.1,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,WebTest==3.0.0,Werkzeug==2.0.1,wrapt==1.12.1,WSME==0.11.0,xattr==0.9.7,xmlschema==1.7.0,yappi==1.3.2,zipp==3.5.0,zope.interface==4.7.1,zstd==1.5.0.2,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {2} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {7} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.320290s] ... ok {7} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.052729s] ... ok {2} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [1.464781s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [1.683644s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.594394s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.487440s] ... ok {7} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.831511s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.866386s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.023821s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.028220s] ... ok {2} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.467096s] ... ok {7} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.648215s] ... ok {3} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [16.384358s] ... ok {7} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.973355s] ... ok {2} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.980350s] ... ok {3} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {2} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [2.194021s] ... ok {7} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [4.245746s] ... ok {3} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.229580s] ... ok {2} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.357097s] ... ok {3} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [2.703902s] ... ok {2} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.378645s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.046709s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.201807s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.033846s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.025462s] ... ok {7} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.025313s] ... ok {2} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.648894s] ... ok {2} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.121427s] ... ok {7} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.872400s] ... ok {7} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.713026s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [4.320854s] ... ok {7} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.220727s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [5.548880s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [3.224114s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.780690s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [4.367594s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [4.366859s] ... ok {4} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [68.273494s] ... ok {3} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [3.557806s] ... ok {4} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [2.479195s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.156938s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.012980s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.015119s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.037564s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.009303s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.012349s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.047273s] ... ok {4} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.044148s] ... ok {4} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.537942s] ... ok {4} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.057539s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [35.962813s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [103.303242s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [1.499207s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.419165s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.010503s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.019289s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.022118s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.020531s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.014231s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.010546s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.018835s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.021876s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008640s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.021969s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.021674s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.009044s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.080903s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.076826s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.076535s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.065770s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.251463s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.059939s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.022729s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.009884s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.022223s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.022235s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.027091s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.010734s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.014177s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.041152s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.010729s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.021438s] ... ok {2} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.021073s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [4.923888s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.125881s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.602142s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.038915s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.217137s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.114149s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.216848s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.010662s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.014887s] ... ok {4} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.013921s] ... ok {3} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.404088s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.022827s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.049347s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.019690s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.066540s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.037209s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.035848s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.034190s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.036181s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.059006s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.117433s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.035767s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.538348s] ... ok {2} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.081406s] ... ok {3} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.009552s] ... ok {3} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.116018s] ... ok {4} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [3.282881s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [61.458358s] ... ok {5} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [59.510053s] ... ok {4} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [29.043516s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [136.588572s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [20.420804s] ... ok {3} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [85.164256s] ... ok {4} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [34.482608s] ... ok {3} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [10.800818s] ... ok {6} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [76.639672s] ... ok {5} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [71.334193s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [69.590187s] ... ok {3} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [44.718104s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [19.801783s] ... ok {3} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [19.215958s] ... ok {6} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [24.405655s] ... ok {5} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [21.175381s] ... ok {6} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.117265s] ... ok {6} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.772356s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [19.253172s] ... ok {6} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.513285s] ... ok {5} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [18.287825s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.066267s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.077695s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.087108s] ... ok {6} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.354021s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.161653s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.304064s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.064773s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.084170s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.113182s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.101841s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.085115s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.233870s] ... ok {5} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.199447s] ... ok {5} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.136396s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.310098s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.152607s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.132958s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.084379s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.091376s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.238638s] ... ok {6} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.984025s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.027990s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.036781s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.032646s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [2.307486s] ... ok {5} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.026269s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [7.003513s] ... ok {5} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.122107s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.216973s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.086818s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.023256s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.031060s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.046098s] ... ok {5} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [9.576645s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [17.430869s] ... ok {6} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [45.431267s] ... ok {6} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [490.280204s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [510.373181s] ... ok {5} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [242.997357s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [138.680498s] ... ok {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.325808s] ... ok {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [7.827517s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-01 05:09:36,049 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots 0.333s 2021-09-01 05:09:36,050 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148"}} Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-03bc9d5d-ead7-44d9-b37a-1fc3a51f6fed', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-03bc9d5d-ead7-44d9-b37a-1fc3a51f6fed', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:35.857314", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-01 05:09:36,075 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.022s 2021-09-01 05:09:36,075 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-080b2982-4ab5-4580-af49-288848da9a18', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-080b2982-4ab5-4580-af49-288848da9a18', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:37,100 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.021s 2021-09-01 05:09:37,101 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3c7efbb1-60f5-4411-bab0-28f40efa1016', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3c7efbb1-60f5-4411-bab0-28f40efa1016', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:38,140 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.023s 2021-09-01 05:09:38,140 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-df6ec13a-0efa-4555-af1e-fd38d53899aa', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-df6ec13a-0efa-4555-af1e-fd38d53899aa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:39,165 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.020s 2021-09-01 05:09:39,166 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c33c5f7f-03f8-4ca3-bbd6-5dd4edfbc65f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c33c5f7f-03f8-4ca3-bbd6-5dd4edfbc65f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:40,189 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.020s 2021-09-01 05:09:40,189 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-33bfc113-d922-4d7c-83dd-8f2b6b5ffa27', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-33bfc113-d922-4d7c-83dd-8f2b6b5ffa27', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:41,214 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.021s 2021-09-01 05:09:41,214 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2726380f-d055-4011-9457-cda093f92f2a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2726380f-d055-4011-9457-cda093f92f2a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:42,238 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.021s 2021-09-01 05:09:42,238 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-80032c8e-2906-48c7-b1e9-d7e3c5c39518', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-80032c8e-2906-48c7-b1e9-d7e3c5c39518', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": "2021-09-01T05:09:41.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:42,240 126511 INFO [tempest.common.waiters] snapshot dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 reached available after waiting for 6.240955 seconds 2021-09-01 05:09:42,341 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/dbb2d6cd-1c8 e-4c8c-ba05-bae6aac26a14/action 0.100s 2021-09-01 05:09:42,341 126511 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': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-b3ea14d9-edd8-490b-a20e-841f27fa2b6d', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b3ea14d9-edd8-490b-a20e-841f27fa2b6d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14/action'} Body: b'' 2021-09-01 05:09:42,363 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.021s 2021-09-01 05:09:42,363 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f4947534-bf18-4921-be0d-3fb2c84557fe', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f4947534-bf18-4921-be0d-3fb2c84557fe', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": "2021-09-01T05:09:42.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:42,366 126511 INFO [tempest.common.waiters] snapshot dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 reached creating after waiting for 0.366051 seconds 2021-09-01 05:09:42,454 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14/action 0.088s 2021-09-01 05:09:42,454 126511 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': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-984478a1-2673-480b-b3d4-cad5fdc4563f', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-984478a1-2673-480b-b3d4-cad5fdc4563f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14/action'} Body: b'' 2021-09-01 05:09:42,477 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.022s 2021-09-01 05:09:42,477 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} B ody: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b858780c-344c-46f6-bf4e-7fbacdf21045', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b858780c-344c-46f6-bf4e-7fbacdf21045', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": "2021-09-01T05:09:42.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:43,497 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.016s 2021-09-01 05:09:43,497 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09: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-3376cf5d-2dcd-400b-9446-cbfa00f2ddbf', 'x-openstack-request-id': 'req-3376cf5d-2dcd-400b-9446-cbfa00f2ddbf', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 could not be found."}}' 2021-09-01 05:09:43,541 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action 0.043s 2021-09-01 05:09:43,541 126511 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': 'Wed, 01 Sep 2021 05:09:43 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-9c41ce14-32b2-446e-8046-27e511110ae7', 'x-openstack-request-id': 'req-9c41ce14-32b2-446e-8046-27e511110ae7', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [6.816399s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-01 05:09:43,882 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots 0.337s 2021-09-01 05:09:43,882 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "name": "tempest-SnapshotsActionsTest-Snapshot-679939010"}} Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8ed3dab6-4327-4be0-acc9-cd224a99cf72', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8ed3dab6-4327-4be0-acc9-cd224a99cf72', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:43.696569", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-01 05:09:43,906 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:43,906 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ed14f0a3-4d9f-4546-9254-dfefb7060fd7', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ed14f0a3-4d9f-4546-9254-dfefb7060fd7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:44,931 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:44,932 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5625264c-9898-43c8-bb30-224f58599286', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5625264c-9898-43c8-bb30-224f58599286', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:45,956 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:45,957 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-85c57d56-9107-4f47-a40e-4bac787530c6', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-85c57d56-9107-4f47-a40e-4bac787530c6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:46,980 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.020s 2021-09-01 05:09:46,981 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93563304-8924-4d18-8ec7-13d1576e624d', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93563304-8924-4d18-8ec7-13d1576e624d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:48,006 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:48,006 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b6c63767-9b7f-4fbe-9aa1-321a7a6ba651', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b6 c63767-9b7f-4fbe-9aa1-321a7a6ba651', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:49,032 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.022s 2021-09-01 05:09:49,032 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-52304116-adf0-43e7-857c-f83447c84522', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-52304116-adf0-43e7-857c-f83447c84522', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": "2021-09-01T05:09:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:49,035 126511 INFO [tempest.common.waiters] snapshot d0262dba-a2f4-48d5-b99f-e0ea79be3423 reached available after waiting for 6.035074 seconds 2021-09-01 05:09:49,215 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423/action 0.180s 2021-09-01 05:09:49,216 126511 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': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-b31fd1d1-5ea5-4f7b-9430-cdfc8dc5b855', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b31fd1d1-5ea5-4f7b-9430-cdfc8dc5b855', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423/action'} Body: b'' 2021-09-01 05:09:49,239 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.023s 2021-09-01 05:09:49,239 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request- id': 'req-59d9a416-61ae-4841-8487-513ca29fb1d6', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-59d9a416-61ae-4841-8487-513ca29fb1d6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": "2021-09-01T05:09:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:49,242 126511 INFO [tempest.common.waiters] snapshot d0262dba-a2f4-48d5-b99f-e0ea79be3423 reached deleting after waiting for 0.242510 seconds 2021-09-01 05:09:49,289 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423/action 0.046s 2021-09-01 05:09:49,289 126511 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': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-fb0b9f8c-60dd-403f-93b1-af43f0060c09', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fb0b9f8c-60dd-403f-93b1-af43f0060c09', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423/action'} Body: b'' 2021-09-01 05:09:49,311 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:49,311 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2afd5667-ee8a-4a00-9882-14d1ff1883b8', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2afd5667-ee8a-4a00-9882-14d1ff1883b8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": "2021-09-01T05:09:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:50,331 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.016s 2021-09-01 05:09:50,332 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-b55f5906-445e-4713-b735-0c6aaed66df1', 'x-openstack-request-id': 'req-b55f5906-445e-4713-b735-0c6aaed66df1', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot d0262dba-a2f4-48d5-b99f-e0ea79be3423 could not be found."}}' 2021-09-01 05:09:50,359 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action 0.027s 2021-09-01 05:09:50,360 126511 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': 'Wed, 01 Sep 2021 05:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-555f38c9-6fb9-4ecf-a7ab-0e2b49fcf0c0', 'x-openstack-request-id': 'req-555f38c9-6fb9-4ecf-a7ab-0e2b49fcf0c0', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [6.814367s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-01 05:09:50,687 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots 0.325s 2021-09-01 05:09:50,688 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "name": "tempest-SnapshotsActionsTest-Snapshot-54211114"}} Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3014afeb-4187-4d92-bc21-2640b3019a73', 'content-length': '305', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3014afeb-4187-4d92-bc21-2640b3019a73', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:50.525474", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-01 05:09:50,712 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:50,713 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9ee9ff2d-29e7-4092-aed6-80e0d93250c9', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9ee9ff2d-29e7-4092-aed6-80e0d93250c9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:51,737 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:51,738 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ab3517c8-9271-4f84-932a-6ea01b4019e6', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ab3517c8-9271-4f84-932a-6ea01b4019e6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest -Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:52,762 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.020s 2021-09-01 05:09:52,763 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-601a9d4a-5fb2-4101-9626-f289b87912e2', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-601a9d4a-5fb2-4101-9626-f289b87912e2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:53,787 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.020s 2021-09-01 05:09:53,787 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e94e36a-2681-4af5-ab0e-c6721b8fde8d', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e94e36a-2681-4af5-ab0e-c6721b8fde8d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:54,812 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:54,812 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-68c5c52b-d771-4788-b59b-1668db2a7a86', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-68c5c52b-d771-4788-b59b-16 68db2a7a86', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:55,837 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:55,837 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a0e8ffcb-d3e3-491b-8aae-9f5a15a96f63', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a0e8ffcb-d3e3-491b-8aae-9f5a15a96f63', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": "2021-09-01T05:09:55.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:55,840 126511 INFO [tempest.common.waiters] snapshot c7532ff1-04f2-4893-9297-80aaa578077f reached available after waiting for 5.840035 seconds 2021-09-01 05:09:55,968 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f/action 0.122s 2021-09-01 05:09:55,968 126511 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': 'Wed, 01 Sep 2021 05:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-90c7da94-5b01-40c3-b932-0e623918be5d', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-90c7da94-5b01-40c3-b932-0e623918be5d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f/action'} Body: b'' 2021-09-01 05:09:55,990 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:55,990 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-eca1a407-3b25-4b51-a6b5-051b 2f844a36', 'content-length': '460', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-eca1a407-3b25-4b51-a6b5-051b2f844a36', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": "2021-09-01T05:09:56.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:55,993 126511 INFO [tempest.common.waiters] snapshot c7532ff1-04f2-4893-9297-80aaa578077f reached error after waiting for 0.993077 seconds 2021-09-01 05:09:56,105 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f/action 0.112s 2021-09-01 05:09:56,105 126511 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': 'Wed, 01 Sep 2021 05:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-576ce02d-9c52-4ed5-9f88-8d1148fd6b27', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-576ce02d-9c52-4ed5-9f88-8d1148fd6b27', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f/action'} Body: b'' 2021-09-01 05:09:56,127 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:56,127 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-024ed23e-fbac-47e6-b0bd-506b51fcb6ac', 'content-length': '463', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-024ed23e-fbac-47e6-b0bd-506b51fcb6ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": "2021-09-01T05:09:56.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:57,147 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.016s 2021-09-01 05:09:57,148 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'dat e': 'Wed, 01 Sep 2021 05:09:57 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-929d4deb-a72b-453d-8ce3-4d2061f8c309', 'x-openstack-request-id': 'req-929d4deb-a72b-453d-8ce3-4d2061f8c309', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot c7532ff1-04f2-4893-9297-80aaa578077f could not be found."}}' 2021-09-01 05:09:57,175 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action 0.026s 2021-09-01 05:09:57,175 126511 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': 'Wed, 01 Sep 2021 05:09:57 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-61ab49b6-a6e2-448e-8970-a7b54a7c5a25', 'x-openstack-request-id': 'req-61ab49b6-a6e2-448e-8970-a7b54a7c5a25', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [6.785892s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-01 05:09:57,495 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots 0.317s 2021-09-01 05:09:57,495 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "name": "tempest-SnapshotsActionsTest-Snapshot-512294446"}} Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29744bd3-d7c2-4031-b5ea-2b41cb287ca8', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-29744bd3-d7c2-4031-b5ea-2b41cb287ca8', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.303873", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-01 05:09:57,518 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.020s 2021-09-01 05:09:57,518 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2ae76be5-cfee-41dd-831d-9bd78404d5d3', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2ae76be5-cfee-41dd-831d-9bd78404d5d3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:58,543 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.021s 2021-09-01 05:09:58,544 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93d19802-826c-4e71-acac-aef50896b510', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93d19802-826c-4e71-acac-aef50896b510', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:59,568 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.021s 2021-09-01 05:09:59,569 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e75ebb8c-6f84-42d1-8d7c-3401b6d7e61a', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e75ebb8c-6f84-42d1-8d7c-3401b6d7e61a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:10:00,592 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.020s 2021-09-01 05:10:00,592 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4fb6ac03-cfda-48af-bd25-b904e1fbef12', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4fb6ac03-cfda-48af-bd25-b904e1fbef12', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:10:01,616 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.020s 2021-09-01 05:10:01,617 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4705b124-6734-46ae-accf-677f5da4dd62', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-4705b124-6734-46ae-accf-677f5da4dd62', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:10:02,641 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.020s 2021-09-01 05:10:02,641 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8ba779cd-b47e-42c8-9ce0-f6ed30bc40f2', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8ba779cd-b47e-42c8-9ce0-f6ed30bc40f2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": "2021-09-01T05:10:02.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:10:02,644 126511 INFO [tempest.common.waiters] snapshot 32db8a69-e55b-4250-a844-7d07168af1a8 reached available after waiting for 5.644038 seconds 2021-09-01 05:10:02,750 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8/action 0.105s 2021-09-01 05:10:02,750 126511 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': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-a3ff294a-4eb3-402e-bf0f-9e2178c7fea1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a3ff294a-4eb3-402e-bf0f-9e2178c7fea1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8/action'} Body: b'' 2021-09-01 05:10:02,773 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.023s 2021-09-01 05:10:02,774 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubunt u)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a6552dd0-aaed-4635-a7b4-bea517f89959', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a6552dd0-aaed-4635-a7b4-bea517f89959', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": "2021-09-01T05:10:03.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:10:02,776 126511 INFO [tempest.common.waiters] snapshot 32db8a69-e55b-4250-a844-7d07168af1a8 reached error_deleting after waiting for 0.776825 seconds 2021-09-01 05:10:02,893 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8/action 0.116s 2021-09-01 05:10:02,893 126511 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': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2b3513e4-10e1-4b2b-a291-f8ba44e2d8a6', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2b3513e4-10e1-4b2b-a291-f8ba44e2d8a6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8/action'} Body: b'' 2021-09-01 05:10:02,915 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.021s 2021-09-01 05:10:02,915 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-258bb05e-b55d-48d1-9410-6f4b686ea2fb', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-258bb05e-b55d-48d1-9410-6f4b686ea2fb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": "2021-09-01T05:10:03.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:10:03,935 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.016s 2021-09-01 05:10:03,935 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:03 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-e4efb807-1a10-4209-bd82-eaaaea33b56c', 'x-openstack-request-id': 'req-e4efb807-1a10-4209-bd82-eaaaea33b56c', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 32db8a69-e55b-4250-a844-7d07168af1a8 could not be found."}}' 2021-09-01 05:10:03,963 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action 0.027s 2021-09-01 05:10:03,963 126511 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': 'Wed, 01 Sep 2021 05:10:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-f5c8065e-077a-4e83-a275-151059ed13ef', 'x-openstack-request-id': 'req-f5c8065e-077a-4e83-a275-151059ed13ef', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' {0} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.405207s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.817935s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.030600s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.036652s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [3.102742s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [4.702873s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.052752s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.073260s] ... ok {7} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [369.111325s] ... ok {0} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [2.299389s] ... ok {0} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.449990s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.014237s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.011155s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.028334s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.015578s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.023483s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.016850s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.016430s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.011049s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.011303s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.029309s] ... ok {0} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.028231s] ... ok {0} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {0} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.046198s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [250.852308s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.093660s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.092772s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.185754s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.093344s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.188523s] ... ok {1} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.094803s] ... ok {0} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [17.072921s] ... ok {0} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [19.097136s] ... ok {0} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.345793s] ... ok {0} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.261106s] ... ok {0} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.344230s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [20.188023s] ... ok {0} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [23.902055s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [26.036040s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [11.136790s] ... ok {1} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show [0.462618s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [3.530585s] ... ok {1} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {1} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {1} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [5.846609s] ... ok {1} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [3.246226s] ... ok {1} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {0} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [475.768412s] ... ok ============================== Failed 4 tests - output below: ============================== tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-01 05:09:36,049 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots 0.333s 2021-09-01 05:09:36,050 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148"}} Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:35 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-03bc9d5d-ead7-44d9-b37a-1fc3a51f6fed', 'content-length': '307', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-03bc9d5d-ead7-44d9-b37a-1fc3a51f6fed', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:35.857314", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-01 05:09:36,075 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.022s 2021-09-01 05:09:36,075 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:36 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-080b2982-4ab5-4580-af49-288848da9a18', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-080b2982-4ab5-4580-af49-288848da9a18', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:37,100 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.021s 2021-09-01 05:09:37,101 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:37 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3c7efbb1-60f5-4411-bab0-28f40efa1016', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3c7efbb1-60f5-4411-bab0-28f40efa1016', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-Snaps hotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:38,140 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.023s 2021-09-01 05:09:38,140 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-df6ec13a-0efa-4555-af1e-fd38d53899aa', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-df6ec13a-0efa-4555-af1e-fd38d53899aa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:39,165 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.020s 2021-09-01 05:09:39,166 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:39 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c33c5f7f-03f8-4ca3-bbd6-5dd4edfbc65f', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c33c5f7f-03f8-4ca3-bbd6-5dd4edfbc65f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:40,189 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.020s 2021-09-01 05:09:40,189 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-33bfc113-d922-4d7c-83dd-8f2b6b5ffa27', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': ' req-33bfc113-d922-4d7c-83dd-8f2b6b5ffa27', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:41,214 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.021s 2021-09-01 05:09:41,214 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2726380f-d055-4011-9457-cda093f92f2a', 'content-length': '439', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2726380f-d055-4011-9457-cda093f92f2a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:42,238 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.021s 2021-09-01 05:09:42,238 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-80032c8e-2906-48c7-b1e9-d7e3c5c39518', 'content-length': '466', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-80032c8e-2906-48c7-b1e9-d7e3c5c39518', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": "2021-09-01T05:09:41.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:42,240 126511 INFO [tempest.common.waiters] snapshot dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 reached available after waiting for 6.240955 seconds 2021-09-01 05:09:42,341 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/dbb2d6cd-1c8 e-4c8c-ba05-bae6aac26a14/action 0.100s 2021-09-01 05:09:42,341 126511 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': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-b3ea14d9-edd8-490b-a20e-841f27fa2b6d', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b3ea14d9-edd8-490b-a20e-841f27fa2b6d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14/action'} Body: b'' 2021-09-01 05:09:42,363 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.021s 2021-09-01 05:09:42,363 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f4947534-bf18-4921-be0d-3fb2c84557fe', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f4947534-bf18-4921-be0d-3fb2c84557fe', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": "2021-09-01T05:09:42.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:42,366 126511 INFO [tempest.common.waiters] snapshot dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 reached creating after waiting for 0.366051 seconds 2021-09-01 05:09:42,454 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14/action 0.088s 2021-09-01 05:09:42,454 126511 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': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-984478a1-2673-480b-b3d4-cad5fdc4563f', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-984478a1-2673-480b-b3d4-cad5fdc4563f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14/action'} Body: b'' 2021-09-01 05:09:42,477 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.022s 2021-09-01 05:09:42,477 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} B ody: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b858780c-344c-46f6-bf4e-7fbacdf21045', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b858780c-344c-46f6-bf4e-7fbacdf21045', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"snapshot": {"id": "dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14", "created_at": "2021-09-01T05:09:36.000000", "updated_at": "2021-09-01T05:09:42.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-1522023148", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:43,497 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_creating): 404 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 0.016s 2021-09-01 05:09:43,497 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09: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-3376cf5d-2dcd-400b-9446-cbfa00f2ddbf', 'x-openstack-request-id': 'req-3376cf5d-2dcd-400b-9446-cbfa00f2ddbf', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot dbb2d6cd-1c8e-4c8c-ba05-bae6aac26a14 could not be found."}}' 2021-09-01 05:09:43,541 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action 0.043s 2021-09-01 05:09:43,541 126511 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': 'Wed, 01 Sep 2021 05:09:43 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-9c41ce14-32b2-446e-8046-27e511110ae7', 'x-openstack-request-id': 'req-9c41ce14-32b2-446e-8046-27e511110ae7', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-01 05:09:43,882 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots 0.337s 2021-09-01 05:09:43,882 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "name": "tempest-SnapshotsActionsTest-Snapshot-679939010"}} Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8ed3dab6-4327-4be0-acc9-cd224a99cf72', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8ed3dab6-4327-4be0-acc9-cd224a99cf72', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:43.696569", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-01 05:09:43,906 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:43,906 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ed14f0a3-4d9f-4546-9254-dfefb7060fd7', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ed14f0a3-4d9f-4546-9254-dfefb7060fd7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:44,931 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:44,932 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5625264c-9898-43c8-bb30-224f58599286', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5625264c-9898-43c8-bb30-224f58599286', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-Snapshot sActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:45,956 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:45,957 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-85c57d56-9107-4f47-a40e-4bac787530c6', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-85c57d56-9107-4f47-a40e-4bac787530c6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:46,980 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.020s 2021-09-01 05:09:46,981 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93563304-8924-4d18-8ec7-13d1576e624d', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93563304-8924-4d18-8ec7-13d1576e624d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:48,006 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:48,006 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b6c63767-9b7f-4fbe-9aa1-321a7a6ba651', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b6 c63767-9b7f-4fbe-9aa1-321a7a6ba651', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:49,032 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.022s 2021-09-01 05:09:49,032 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-52304116-adf0-43e7-857c-f83447c84522', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-52304116-adf0-43e7-857c-f83447c84522', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": "2021-09-01T05:09:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:49,035 126511 INFO [tempest.common.waiters] snapshot d0262dba-a2f4-48d5-b99f-e0ea79be3423 reached available after waiting for 6.035074 seconds 2021-09-01 05:09:49,215 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423/action 0.180s 2021-09-01 05:09:49,216 126511 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': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-b31fd1d1-5ea5-4f7b-9430-cdfc8dc5b855', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b31fd1d1-5ea5-4f7b-9430-cdfc8dc5b855', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423/action'} Body: b'' 2021-09-01 05:09:49,239 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.023s 2021-09-01 05:09:49,239 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request- id': 'req-59d9a416-61ae-4841-8487-513ca29fb1d6', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-59d9a416-61ae-4841-8487-513ca29fb1d6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": "2021-09-01T05:09:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:49,242 126511 INFO [tempest.common.waiters] snapshot d0262dba-a2f4-48d5-b99f-e0ea79be3423 reached deleting after waiting for 0.242510 seconds 2021-09-01 05:09:49,289 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423/action 0.046s 2021-09-01 05:09:49,289 126511 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': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-fb0b9f8c-60dd-403f-93b1-af43f0060c09', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fb0b9f8c-60dd-403f-93b1-af43f0060c09', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423/action'} Body: b'' 2021-09-01 05:09:49,311 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.021s 2021-09-01 05:09:49,311 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:49 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2afd5667-ee8a-4a00-9882-14d1ff1883b8', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2afd5667-ee8a-4a00-9882-14d1ff1883b8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"snapshot": {"id": "d0262dba-a2f4-48d5-b99f-e0ea79be3423", "created_at": "2021-09-01T05:09:44.000000", "updated_at": "2021-09-01T05:09:49.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-679939010", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:50,331 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_deleting): 404 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423 0.016s 2021-09-01 05:09:50,332 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '111', 'content-type': 'application/json', 'x-compute-request-id': 'req-b55f5906-445e-4713-b735-0c6aaed66df1', 'x-openstack-request-id': 'req-b55f5906-445e-4713-b735-0c6aaed66df1', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/d0262dba-a2f4-48d5-b99f-e0ea79be3423'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot d0262dba-a2f4-48d5-b99f-e0ea79be3423 could not be found."}}' 2021-09-01 05:09:50,359 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action 0.027s 2021-09-01 05:09:50,360 126511 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': 'Wed, 01 Sep 2021 05:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-555f38c9-6fb9-4ecf-a7ab-0e2b49fcf0c0', 'x-openstack-request-id': 'req-555f38c9-6fb9-4ecf-a7ab-0e2b49fcf0c0', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-01 05:09:50,687 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots 0.325s 2021-09-01 05:09:50,688 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "name": "tempest-SnapshotsActionsTest-Snapshot-54211114"}} Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3014afeb-4187-4d92-bc21-2640b3019a73', 'content-length': '305', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3014afeb-4187-4d92-bc21-2640b3019a73', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:50.525474", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-01 05:09:50,712 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:50,713 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9ee9ff2d-29e7-4092-aed6-80e0d93250c9', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9ee9ff2d-29e7-4092-aed6-80e0d93250c9', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:51,737 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:51,738 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ab3517c8-9271-4f84-932a-6ea01b4019e6', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ab3517c8-9271-4f84-932a-6ea01b4019e6', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest -Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:52,762 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.020s 2021-09-01 05:09:52,763 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-601a9d4a-5fb2-4101-9626-f289b87912e2', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-601a9d4a-5fb2-4101-9626-f289b87912e2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:53,787 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.020s 2021-09-01 05:09:53,787 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9e94e36a-2681-4af5-ab0e-c6721b8fde8d', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9e94e36a-2681-4af5-ab0e-c6721b8fde8d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:54,812 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:54,812 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-68c5c52b-d771-4788-b59b-1668db2a7a86', 'content-length': '437', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-68c5c52b-d771-4788-b59b-16 68db2a7a86', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:55,837 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:55,837 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a0e8ffcb-d3e3-491b-8aae-9f5a15a96f63', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a0e8ffcb-d3e3-491b-8aae-9f5a15a96f63', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": "2021-09-01T05:09:55.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:55,840 126511 INFO [tempest.common.waiters] snapshot c7532ff1-04f2-4893-9297-80aaa578077f reached available after waiting for 5.840035 seconds 2021-09-01 05:09:55,968 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f/action 0.122s 2021-09-01 05:09:55,968 126511 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': 'Wed, 01 Sep 2021 05:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-90c7da94-5b01-40c3-b932-0e623918be5d', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-90c7da94-5b01-40c3-b932-0e623918be5d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f/action'} Body: b'' 2021-09-01 05:09:55,990 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:55,990 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-eca1a407-3b25-4b51-a6b5-051b 2f844a36', 'content-length': '460', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-eca1a407-3b25-4b51-a6b5-051b2f844a36', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": "2021-09-01T05:09:56.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "error", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:55,993 126511 INFO [tempest.common.waiters] snapshot c7532ff1-04f2-4893-9297-80aaa578077f reached error after waiting for 0.993077 seconds 2021-09-01 05:09:56,105 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f/action 0.112s 2021-09-01 05:09:56,105 126511 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': 'Wed, 01 Sep 2021 05:09:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-576ce02d-9c52-4ed5-9f88-8d1148fd6b27', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-576ce02d-9c52-4ed5-9f88-8d1148fd6b27', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f/action'} Body: b'' 2021-09-01 05:09:56,127 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.021s 2021-09-01 05:09:56,127 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-024ed23e-fbac-47e6-b0bd-506b51fcb6ac', 'content-length': '463', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-024ed23e-fbac-47e6-b0bd-506b51fcb6ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"snapshot": {"id": "c7532ff1-04f2-4893-9297-80aaa578077f", "created_at": "2021-09-01T05:09:51.000000", "updated_at": "2021-09-01T05:09:56.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-54211114", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:09:57,147 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error): 404 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f 0.016s 2021-09-01 05:09:57,148 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'dat e': 'Wed, 01 Sep 2021 05:09:57 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-929d4deb-a72b-453d-8ce3-4d2061f8c309', 'x-openstack-request-id': 'req-929d4deb-a72b-453d-8ce3-4d2061f8c309', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/c7532ff1-04f2-4893-9297-80aaa578077f'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot c7532ff1-04f2-4893-9297-80aaa578077f could not be found."}}' 2021-09-01 05:09:57,175 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action 0.026s 2021-09-01 05:09:57,175 126511 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': 'Wed, 01 Sep 2021 05:09:57 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-61ab49b6-a6e2-448e-8970-a7b54a7c5a25', 'x-openstack-request-id': 'req-61ab49b6-a6e2-448e-8970-a7b54a7c5a25', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_snapshots_actions.py", line 47, in tearDown self.admin_snapshots_client.reset_snapshot_status(snapshot_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/snapshots_client.py", line 114, in reset_snapshot_status resp, body = self.post('snapshots/%s/action' % snapshot_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Cannot reset-state to same state'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-09-01 05:09:57,495 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots 0.317s 2021-09-01 05:09:57,495 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "name": "tempest-SnapshotsActionsTest-Snapshot-512294446"}} Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29744bd3-d7c2-4031-b5ea-2b41cb287ca8', 'content-length': '306', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-29744bd3-d7c2-4031-b5ea-2b41cb287ca8', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.303873", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}}}' 2021-09-01 05:09:57,518 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.020s 2021-09-01 05:09:57,518 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2ae76be5-cfee-41dd-831d-9bd78404d5d3', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2ae76be5-cfee-41dd-831d-9bd78404d5d3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:58,543 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.021s 2021-09-01 05:09:58,544 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:58 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93d19802-826c-4e71-acac-aef50896b510', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93d19802-826c-4e71-acac-aef50896b510', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:09:59,568 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.021s 2021-09-01 05:09:59,569 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:09:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e75ebb8c-6f84-42d1-8d7c-3401b6d7e61a', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e75ebb8c-6f84-42d1-8d7c-3401b6d7e61a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:10:00,592 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.020s 2021-09-01 05:10:00,592 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4fb6ac03-cfda-48af-bd25-b904e1fbef12', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4fb6ac03-cfda-48af-bd25-b904e1fbef12', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:10:01,616 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.020s 2021-09-01 05:10:01,617 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4705b124-6734-46ae-accf-677f5da4dd62', 'content-length': '438', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version ', 'x-openstack-request-id': 'req-4705b124-6734-46ae-accf-677f5da4dd62', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": null, "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "0%"}}' 2021-09-01 05:10:02,641 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.020s 2021-09-01 05:10:02,641 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8ba779cd-b47e-42c8-9ce0-f6ed30bc40f2', 'content-length': '465', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8ba779cd-b47e-42c8-9ce0-f6ed30bc40f2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": "2021-09-01T05:10:02.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "available", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:10:02,644 126511 INFO [tempest.common.waiters] snapshot 32db8a69-e55b-4250-a844-7d07168af1a8 reached available after waiting for 5.644038 seconds 2021-09-01 05:10:02,750 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8/action 0.105s 2021-09-01 05:10:02,750 126511 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': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-a3ff294a-4eb3-402e-bf0f-9e2178c7fea1', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a3ff294a-4eb3-402e-bf0f-9e2178c7fea1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8/action'} Body: b'' 2021-09-01 05:10:02,773 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.023s 2021-09-01 05:10:02,774 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubunt u)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a6552dd0-aaed-4635-a7b4-bea517f89959', 'content-length': '470', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a6552dd0-aaed-4635-a7b4-bea517f89959', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": "2021-09-01T05:10:03.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "error_deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:10:02,776 126511 INFO [tempest.common.waiters] snapshot 32db8a69-e55b-4250-a844-7d07168af1a8 reached error_deleting after waiting for 0.776825 seconds 2021-09-01 05:10:02,893 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 202 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8/action 0.116s 2021-09-01 05:10:02,893 126511 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': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-compute-request-id': 'req-2b3513e4-10e1-4b2b-a291-f8ba44e2d8a6', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2b3513e4-10e1-4b2b-a291-f8ba44e2d8a6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8/action'} Body: b'' 2021-09-01 05:10:02,915 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 200 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.021s 2021-09-01 05:10:02,915 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-258bb05e-b55d-48d1-9410-6f4b686ea2fb', 'content-length': '464', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-258bb05e-b55d-48d1-9410-6f4b686ea2fb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"snapshot": {"id": "32db8a69-e55b-4250-a844-7d07168af1a8", "created_at": "2021-09-01T05:09:57.000000", "updated_at": "2021-09-01T05:10:03.000000", "name": "tempest-SnapshotsActionsTest-Snapshot-512294446", "description": null, "volume_id": "cb5e1ed5-06bf-47c8-b3fa-483b875bf869", "status": "deleting", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "a87e9af526ba4a4db1bcae7acca2dbc1", "os-extended-snapshot-attributes:progress": "100%"}}' 2021-09-01 05:10:03,935 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:test_snapshot_force_delete_when_snapshot_is_error_deleting): 404 GET http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8 0.016s 2021-09-01 05:10:03,935 126511 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 01 Sep 2021 05:10:03 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-e4efb807-1a10-4209-bd82-eaaaea33b56c', 'x-openstack-request-id': 'req-e4efb807-1a10-4209-bd82-eaaaea33b56c', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.41/volume/v3/a87e9af526ba4a4db1bcae7acca2dbc1/snapshots/32db8a69-e55b-4250-a844-7d07168af1a8'} Body: b'{"itemNotFound": {"code": 404, "message": "Snapshot 32db8a69-e55b-4250-a844-7d07168af1a8 could not be found."}}' 2021-09-01 05:10:03,963 126511 INFO [tempest.lib.common.rest_client] Request (SnapshotsActionsTest:tearDown): 400 POST http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action 0.027s 2021-09-01 05:10:03,963 126511 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': 'Wed, 01 Sep 2021 05:10:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '76', 'content-type': 'application/json', 'x-compute-request-id': 'req-f5c8065e-077a-4e83-a275-151059ed13ef', 'x-openstack-request-id': 'req-f5c8065e-077a-4e83-a275-151059ed13ef', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.41/volume/v3/e616abe3211c416e8785b733cd2fea6d/snapshots/6b8f7080-717e-4e9d-ba86-62cf74785c5f/action'} Body: b'{"badRequest": {"code": 400, "message": "Cannot reset-state to same state"}}' ====== Totals ====== Ran: 230 tests in 1311.3285 sec. - Passed: 216 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 4 Sum of execute time for each test: 3858.9533 sec. ============== Worker Balance ============== - Worker 0 (37 tests) => 0:21:36.822120 - Worker 1 (18 tests) => 0:14:09.536163 - Worker 2 (62 tests) => 0:02:23.571392 - Worker 3 (34 tests) => 0:05:36.864405 - Worker 4 (25 tests) => 0:03:49.289603 - Worker 5 (20 tests) => 0:08:26.159660 - Worker 6 (13 tests) => 0:06:51.024255 - Worker 7 (21 tests) => 0:12:05.278731 tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating[id-05f711b6-e629-4895-8103-7ca069f2073a] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting[id-92ce8597-b992-43a1-8868-6316b22a969e] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error[id-645a4a67-a1eb-4e8e-a547-600abac1525d] tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting[id-bf89080f-8129-465e-9327-b2f922666ba5] ~ Exit code: 1