WARNING: isolated-tests file /home/ubuntu/isolated-tests.txt does not exist or is empty, no tests will run isolated /opt/stack/tempest ~ Initializing stestr all-plugin create: /opt/stack/tempest/.tox/all-plugin all-plugin installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt all-plugin develop-inst: /opt/stack/tempest all-plugin installed: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,alembic==1.7.6,amqp==5.0.9,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.4.0,Automat==0.8.0,automaton==2.5.0,autopage==0.5.0,bcrypt==3.2.0,beautifulsoup4==4.10.0,blinker==1.4,boto3==1.21.7,botocore==1.24.7,cachetools==5.0.0,castellan==3.10.1,certifi==2019.11.28,cffi==1.15.0,chardet==3.0.4,charset-normalizer==2.0.12,-e git+http://10.106.1.39/p/openstack/cinder@2d128879bb895424b29bf730de4875c50c167bf0#egg=cinder,click==8.0.4,cliff==3.10.1,cmd2==2.4.0,colorama==0.4.3,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==36.0.1,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.4.0,decorator==5.1.1,defusedxml==0.7.1,distlib==0.3.4,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==2.1.0,dogpile.cache==1.1.5,elementpath==2.4.0,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.1,eventlet==0.33.0,extras==1.0.0,fasteners==0.17.3,filelock==3.6.0,fixtures==3.0.0,Flask==2.0.3,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.0,-e git+https://opendev.org/openstack/glance@d4119be0543bdaefe78fc11e16c3a01b55aa9e3a#egg=glance,glance-store==3.0.0,google-api-core==2.5.0,google-api-python-client==2.38.0,google-auth==2.6.0,google-auth-httplib2==0.1.0,googleapis-common-protos==1.55.0,greenlet==1.1.2,grpcio==1.44.0,httplib2==0.20.4,hyperlink==19.0.0,idna==3.3,importlib-metadata==4.11.1,importlib-resources==5.4.0,incremental==16.10.1,iso8601==1.0.2,itsdangerous==2.1.0,Jinja2==3.0.3,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.2,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@a3fc9e7c3845387644f0661a6c6c0fd316b6c9ee#egg=keystone,keystoneauth1==4.4.0,keystonemiddleware==9.4.0,kombu==5.2.3,language-selector==0.1,lazr.uri==1.0.3,logutils==0.3.5,lxml==4.8.0,Mako==1.1.6,MarkupSafe==2.1.0,microversion-parse==1.0.1,more-itertools==4.2.0,msgpack==1.0.3,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@7619f8c9974dcceeb4f04b43c30564a753c357ec#egg=networking_hyperv,networkx==2.6.3,-e git+https://opendev.org/openstack/neutron@6a571f8068e863a90929358b4fb13b02ebc4f3ce#egg=neutron,neutron-lib==2.20.0,-e git+https://opendev.org/openstack/nova@395789ef28a849e7ce50f278eb95d7e86b2c0099#egg=nova,numpy==1.22.2,oauth2client==4.1.3,oauthlib==3.2.0,-e git+https://opendev.org/openstack/placement.git@ff0f2dda7755dfee15af353348bd121e0965fa8c#egg=openstack_placement,openstacksdk==0.61.0,os-brick==5.2.0,os-client-config==2.1.0,os-ken==2.3.1,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.1,os-traits==2.7.0,os-vif==2.7.1,os-win==5.6.0,osc-lib==2.5.0,osc-placement==3.2.0,oslo.cache==2.10.1,oslo.concurrency==4.5.0,oslo.config==8.8.0,oslo.context==3.4.0,oslo.db==11.2.0,oslo.i18n==5.1.0,oslo.limit==1.5.0,oslo.log==4.6.1,oslo.messaging==12.13.0,oslo.metrics==0.4.0,oslo.middleware==4.5.1,oslo.policy==3.11.0,oslo.privsep==2.7.0,oslo.reports==2.3.0,oslo.rootwrap==6.3.1,oslo.serialization==4.3.0,oslo.service==2.8.0,oslo.upgradecheck==1.5.0,oslo.utils==4.12.2,oslo.versionedobjects==2.6.0,oslo.vmware==3.10.0,osprofiler==3.4.2,ovs==2.16.0,ovsdbapp==1.15.1,packaging==21.3,paramiko==2.8.1,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.8.1,pcp==5.0,pecan==1.4.1,pexpect==4.6.0,platformdirs==2.5.1,pluggy==1.0.0,prettytable==3.1.1,prometheus-client==0.13.1,protobuf==3.19.4,psutil==5.9.0,py==1.11.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.21,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.3.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.5.0,pyOpenSSL==22.0.0,pyparsing==3.0.7,pyperclip==1.8.2,pyroute2==0.6.7,pyroute2.core==0.6.7,pyroute2.ethtool==0.6.7,pyroute2.ipdb==0.6.7,pyroute2.ipset==0.6.7,pyroute2.ndb==0.6.7,pyroute2.nftables==0.6.7,pyroute2.nslink==0.6.7,pyrsistent==0.15.5,pysaml2==7.1.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.3.0,python-cinderclient==8.3.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.5.0,python-glanceclient==3.6.0,python-keystoneclient==4.4.0,python-memcached==1.59,python-neutronclient==7.8.0,python-novaclient==17.7.0,python-openstackclient==5.7.0,python-subunit==1.4.0,python-swiftclient==3.13.1,pytz==2021.3,pyudev==0.23.2,PyYAML==6.0,repoze.lru==0.7,requests==2.27.1,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.8,rtslib-fb==2.1.74,s3transfer==0.5.2,scrypt==0.8.20,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,sos==4.1,soupsieve==2.3.1,SQLAlchemy==1.4.31,sqlalchemy-migrate==0.13.0,sqlparse==0.4.2,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.1,stevedore==3.5.0,suds-community==1.0.0,-e git+https://opendev.org/openstack/swift@3ff3076ce6648937993e90334b7a9f532b06806c#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.4,-e git+https://opendev.org/openstack/tempest@af19ff41410f4eab0c5074fbeb3e402087d77dc0#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,toml==0.10.2,tooz==2.10.1,tox==3.24.5,ufw==0.36,unattended-upgrades==0.1,uritemplate==4.1.1,urllib3==1.26.8,urwid==2.0.1,vine==5.0.0,virtualenv==20.13.2,voluptuous==0.12.2,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,WebTest==3.0.0,Werkzeug==2.0.3,wrapt==1.13.3,WSME==0.11.0,xattr==0.9.9,xmlschema==1.9.2,yappi==1.3.3,zipp==3.7.0,zope.interface==4.7.1,zstd==1.5.1.0 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {5} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {7} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [2.084368s] ... ok {6} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [2.506515s] ... ok {5} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [8.098483s] ... ok {2} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [15.617086s] ... ok {6} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {7} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.374275s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [9.073322s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.475346s] ... ok {7} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.221642s] ... ok {7} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.050717s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.985874s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.051896s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.396612s] ... ok {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.698525s] ... ok {2} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.374279s] ... ok {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.548323s] ... ok {2} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.141118s] ... ok {2} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.301351s] ... ok {2} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.108705s] ... ok {5} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.568143s] ... ok {2} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.281743s] ... ok {2} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.115267s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.188273s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.252325s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.023808s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.072538s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.016104s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.013125s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.060789s] ... ok {2} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.071753s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.030776s] ... ok {7} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [4.905477s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.079655s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.038781s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.275677s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.067483s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.154708s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.024223s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.020759s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [3.083843s] ... ok {7} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.023044s] ... ok {5} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [1.225399s] ... ok {5} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.147737s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [15.218632s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.508198s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.229758s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.650376s] ... ok {6} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.526973s] ... ok {7} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.305567s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [12.153086s] ... ok {6} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.017282s] ... ok {6} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.409811s] ... ok {3} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [79.401407s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [4.281627s] ... ok {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [82.657981s] ... ok {6} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [1.434636s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [4.481455s] ... ok {6} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [1.463009s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.591957s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [6.981476s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [11.227098s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [6.970202s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [7.363413s] ... ok {7} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [7.824638s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [11.308977s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [12.547866s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.036977s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.072134s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.025668s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.094625s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.059733s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.048606s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.054032s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.050156s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.060966s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.047058s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.052608s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [9.276109s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.192434s] ... ok {6} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.473483s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [6.502036s] ... ok {2} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.531857s] ... ok {5} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [6.382046s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.212436s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.406789s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_types_negative.py", line 55, in test_create_volume_with_private_volume_type self.assertRaises(lib_exc.NotFound, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/api/volume/base.py", line 126, in create_volume volume = cls.volumes_client.create_volume(**kwargs)['volume'] File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid volume type: Cannot find requested VolumeType: '26a1134a-24e8-49fa-a7f5-0878fdf8f9e2'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:42:23,339 124586 INFO [tempest.lib.common.rest_client] Request (VolumeTypesNegativeTest:test_create_volume_with_private_volume_type): 200 POST http://10.222.0.60/volume/v3/cdd7c21898854bb3a33988345800d7f8/types 0.182s 2022-03-02 11:42:23,340 124586 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesNegativeTest-volume-type-1370660791", "os-volume-type-access:is_public": false}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:42:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fbefb95b-42cd-4d0f-879d-39403b5e033b', 'content-length': '231', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fbefb95b-42cd-4d0f-879d-39403b5e033b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.60/volume/v3/cdd7c21898854bb3a33988345800d7f8/types'} Body: b'{"volume_type": {"id": "26a1134a-24e8-49fa-a7f5-0878fdf8f9e2", "name": "tempest-VolumeTypesNegativeTest-volume-type-1370660791", "is_public": false, "extra_specs": {}, "description": null, "os-volume-type-access:is_public": false}}' 2022-03-02 11:42:23,549 124586 INFO [tempest.lib.common.rest_client] Request (VolumeTypesNegativeTest:test_create_volume_with_private_volume_type): 400 POST http://10.222.0.60/volume/v3/f8617de9636d411485cf422fac75fb1b/volumes 0.206s 2022-03-02 11:42:23,550 124586 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"volume_type": "26a1134a-24e8-49fa-a7f5-0878fdf8f9e2", "size": 1, "name": "tempest-VolumeTypesNegativeTest-Volume-1324526089"}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:42:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '137', 'content-type': 'application/json', 'x-compute-request-id': 'req-bb8346aa-e02c-492c-b6a8-d659d5365c48', 'x-openstack-request-id': 'req-bb8346aa-e02c-492c-b6a8-d659d5365c48', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/f8617de9636d411485cf422fac75fb1b/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume type: Cannot find requested VolumeType: \'26a1134a-24e8-49fa-a7f5-0878fdf8f9e2\'"}}' {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.014051s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.132372s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.020734s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.016716s] ... ok {5} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.738734s] ... ok {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [60.723006s] ... ok {2} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.080015s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [9.331120s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [17.293096s] ... ok {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [49.678711s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [39.444505s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {3} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [52.320251s] ... ok {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.107782s] ... ok {4} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.067723s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [1.033299s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.040227s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.038908s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [3.365250s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [4.896130s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.048335s] ... ok {4} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.025016s] ... ok {4} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.771116s] ... ok {4} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.539264s] ... ok {4} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [2.974504s] ... ok {3} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [67.667644s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [78.734521s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [5.960376s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [310.243010s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [29.047258s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [320.226427s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [2.717725s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [2.195258s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.016606s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.038067s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py", line 113, in test_create_volume_with_nonexistent_snapshot_id self.assertRaises(lib_exc.NotFound, self.volumes_client.create_volume, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid snapshot: Cannot find requested Snapshot: '59a7e758-7785-4b37-b3ff-c24b07bf3ad9'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:45:40,984 124591 INFO [tempest.lib.common.rest_client] Request (VolumesNegativeTest:test_create_volume_with_nonexistent_snapshot_id): 400 POST http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes 0.024s 2022-03-02 11:45:40,985 124591 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "snapshot_id": "59a7e758-7785-4b37-b3ff-c24b07bf3ad9"}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:45:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '132', 'content-type': 'application/json', 'x-compute-request-id': 'req-98313545-a0c5-47ba-8d33-ecf91f3aafe2', 'x-openstack-request-id': 'req-98313545-a0c5-47ba-8d33-ecf91f3aafe2', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid snapshot: Cannot find requested Snapshot: \'59a7e758-7785-4b37-b3ff-c24b07bf3ad9\'"}}' {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.044029s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py", line 121, in test_create_volume_with_nonexistent_source_volid self.assertRaises(lib_exc.NotFound, self.volumes_client.create_volume, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid volume: Cannot find requested Volume: '3f6ddd9e-f58a-4b37-89bc-881c466f99ed'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:45:41,042 124591 INFO [tempest.lib.common.rest_client] Request (VolumesNegativeTest:test_create_volume_with_nonexistent_source_volid): 400 POST http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes 0.041s 2022-03-02 11:45:41,043 124591 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "source_volid": "3f6ddd9e-f58a-4b37-89bc-881c466f99ed"}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:45:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '128', 'content-type': 'application/json', 'x-compute-request-id': 'req-2747b19f-8c74-4d4d-a95d-ec95b7f09bb9', 'x-openstack-request-id': 'req-2747b19f-8c74-4d4d-a95d-ec95b7f09bb9', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume: Cannot find requested Volume: \'3f6ddd9e-f58a-4b37-89bc-881c466f99ed\'"}}' {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.036359s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py", line 105, in test_create_volume_with_nonexistent_volume_type self.assertRaises(lib_exc.NotFound, self.volumes_client.create_volume, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid volume type: Cannot find requested VolumeType: '78bc1f2c-caaf-4c41-9b6b-06c2d3b8105f'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:45:41,080 124591 INFO [tempest.lib.common.rest_client] Request (VolumesNegativeTest:test_create_volume_with_nonexistent_volume_type): 400 POST http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes 0.033s 2022-03-02 11:45:41,081 124591 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "volume_type": "78bc1f2c-caaf-4c41-9b6b-06c2d3b8105f"}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:45:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '137', 'content-type': 'application/json', 'x-compute-request-id': 'req-020d9778-fe8d-4f4f-9577-fcf17519d733', 'x-openstack-request-id': 'req-020d9778-fe8d-4f4f-9577-fcf17519d733', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume type: Cannot find requested VolumeType: \'78bc1f2c-caaf-4c41-9b6b-06c2d3b8105f\'"}}' {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.022027s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.022140s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.019775s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.051332s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.013937s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.040306s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.034433s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.027630s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.109590s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.086933s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.149805s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.079978s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.403998s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.030051s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.030953s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.013490s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.050315s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.025622s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.035300s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.014790s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.020342s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.041823s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.016353s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.034051s] ... ok {4} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.042779s] ... ok {3} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [2.468207s] ... ok {4} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.153943s] ... ok {4} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.080807s] ... ok {4} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.014541s] ... ok {4} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.025188s] ... ok {4} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.066413s] ... ok {3} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {3} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.241254s] ... ok {4} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [6.628898s] ... ok {3} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [2.097359s] ... ok {3} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [0.502127s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_type_access.py", line 39, in test_volume_type_access_add self.assertRaises(lib_exc.NotFound, self.volumes_client.create_volume, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid volume type: Cannot find requested VolumeType: '6b5d6190-4fbf-4817-8020-6078ac44a862'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:46:02,644 124589 INFO [tempest.lib.common.rest_client] Request (VolumeTypesAccessTest:test_volume_type_access_add): 200 POST http://10.222.0.60/volume/v3/98cb701901624354b84805fa876a58eb/types 0.288s 2022-03-02 11:46:02,644 124589 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesAccessTest-volume-type-1391352727", "os-volume-type-access:is_public": false}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:46:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dcabb08b-8d39-4f3e-8945-d042a4072180', 'content-length': '229', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dcabb08b-8d39-4f3e-8945-d042a4072180', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.60/volume/v3/98cb701901624354b84805fa876a58eb/types'} Body: b'{"volume_type": {"id": "6b5d6190-4fbf-4817-8020-6078ac44a862", "name": "tempest-VolumeTypesAccessTest-volume-type-1391352727", "is_public": false, "extra_specs": {}, "description": null, "os-volume-type-access:is_public": false}}' 2022-03-02 11:46:02,839 124589 INFO [tempest.lib.common.rest_client] Request (VolumeTypesAccessTest:test_volume_type_access_add): 400 POST http://10.222.0.60/volume/v3/1f94c299219a438faa7baa06cc721be2/volumes 0.191s 2022-03-02 11:46:02,840 124589 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"volume_type": "6b5d6190-4fbf-4817-8020-6078ac44a862", "size": 1}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:46:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '137', 'content-type': 'application/json', 'x-compute-request-id': 'req-523b054e-a396-4c40-97ad-92d7473a5367', 'x-openstack-request-id': 'req-523b054e-a396-4c40-97ad-92d7473a5367', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/1f94c299219a438faa7baa06cc721be2/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume type: Cannot find requested VolumeType: \'6b5d6190-4fbf-4817-8020-6078ac44a862\'"}}' {3} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.651028s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [58.636604s] ... ok {3} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [17.223955s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [12.659927s] ... ok {3} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [12.525083s] ... ok {6} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [234.776839s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [9.134759s] ... ok {0} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [89.153641s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [19.956752s] ... ok {0} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [22.099984s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.358334s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.379135s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.369564s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [17.926171s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [26.099663s] ... ok {3} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [23.012126s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [9.892848s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.902867s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.255149s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.279889s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.278794s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.027137s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.031821s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.306385s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.140464s] ... ok {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [178.196592s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [1.867560s] ... ok {0} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [2.255451s] ... ok {1} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status [16.245153s] ... ok {0} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.161167s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [12.269942s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.013634s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.012678s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.033297s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.020371s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.034792s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.019265s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.018938s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.019992s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.016268s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.037906s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.038560s] ... ok {1} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.037896s] ... ok {1} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {0} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [25.060249s] ... ok {0} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [7.494308s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [20.180540s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [7.815579s] ... ok {1} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.123179s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.067859s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.066550s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.094086s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.351419s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.167604s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.486249s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.070539s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.088348s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.092579s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.090199s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.090540s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.075287s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.149340s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.140287s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.138089s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.106663s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.096038s] ... ok {1} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.090458s] ... ok {1} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {5} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [501.788074s] ... ok {0} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [271.073565s] ... ok ============================== Failed 5 tests - output below: ============================== tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type[id-8c09f849-f225-4d78-ba87-bffd9a5e0c6f,negative] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_types_negative.py", line 55, in test_create_volume_with_private_volume_type self.assertRaises(lib_exc.NotFound, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/api/volume/base.py", line 126, in create_volume volume = cls.volumes_client.create_volume(**kwargs)['volume'] File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid volume type: Cannot find requested VolumeType: '26a1134a-24e8-49fa-a7f5-0878fdf8f9e2'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:42:23,339 124586 INFO [tempest.lib.common.rest_client] Request (VolumeTypesNegativeTest:test_create_volume_with_private_volume_type): 200 POST http://10.222.0.60/volume/v3/cdd7c21898854bb3a33988345800d7f8/types 0.182s 2022-03-02 11:42:23,340 124586 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesNegativeTest-volume-type-1370660791", "os-volume-type-access:is_public": false}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:42:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fbefb95b-42cd-4d0f-879d-39403b5e033b', 'content-length': '231', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fbefb95b-42cd-4d0f-879d-39403b5e033b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.60/volume/v3/cdd7c21898854bb3a33988345800d7f8/types'} Body: b'{"volume_type": {"id": "26a1134a-24e8-49fa-a7f5-0878fdf8f9e2", "name": "tempest-VolumeTypesNegativeTest-volume-type-1370660791", "is_public": false, "extra_specs": {}, "description": null, "os-volume-type-access:is_public": false}}' 2022-03-02 11:42:23,549 124586 INFO [tempest.lib.common.rest_client] Request (VolumeTypesNegativeTest:test_create_volume_with_private_volume_type): 400 POST http://10.222.0.60/volume/v3/f8617de9636d411485cf422fac75fb1b/volumes 0.206s 2022-03-02 11:42:23,550 124586 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"volume_type": "26a1134a-24e8-49fa-a7f5-0878fdf8f9e2", "size": 1, "name": "tempest-VolumeTypesNegativeTest-Volume-1324526089"}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:42:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '137', 'content-type': 'application/json', 'x-compute-request-id': 'req-bb8346aa-e02c-492c-b6a8-d659d5365c48', 'x-openstack-request-id': 'req-bb8346aa-e02c-492c-b6a8-d659d5365c48', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/f8617de9636d411485cf422fac75fb1b/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume type: Cannot find requested VolumeType: \'26a1134a-24e8-49fa-a7f5-0878fdf8f9e2\'"}}' tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id[id-0c36f6ae-4604-4017-b0a9-34fdc63096f9,negative] -------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py", line 113, in test_create_volume_with_nonexistent_snapshot_id self.assertRaises(lib_exc.NotFound, self.volumes_client.create_volume, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid snapshot: Cannot find requested Snapshot: '59a7e758-7785-4b37-b3ff-c24b07bf3ad9'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:45:40,984 124591 INFO [tempest.lib.common.rest_client] Request (VolumesNegativeTest:test_create_volume_with_nonexistent_snapshot_id): 400 POST http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes 0.024s 2022-03-02 11:45:40,985 124591 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "snapshot_id": "59a7e758-7785-4b37-b3ff-c24b07bf3ad9"}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:45:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '132', 'content-type': 'application/json', 'x-compute-request-id': 'req-98313545-a0c5-47ba-8d33-ecf91f3aafe2', 'x-openstack-request-id': 'req-98313545-a0c5-47ba-8d33-ecf91f3aafe2', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid snapshot: Cannot find requested Snapshot: \'59a7e758-7785-4b37-b3ff-c24b07bf3ad9\'"}}' tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid[id-47c73e08-4be8-45bb-bfdf-0c4e79b88344,negative] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py", line 121, in test_create_volume_with_nonexistent_source_volid self.assertRaises(lib_exc.NotFound, self.volumes_client.create_volume, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid volume: Cannot find requested Volume: '3f6ddd9e-f58a-4b37-89bc-881c466f99ed'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:45:41,042 124591 INFO [tempest.lib.common.rest_client] Request (VolumesNegativeTest:test_create_volume_with_nonexistent_source_volid): 400 POST http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes 0.041s 2022-03-02 11:45:41,043 124591 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "source_volid": "3f6ddd9e-f58a-4b37-89bc-881c466f99ed"}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:45:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '128', 'content-type': 'application/json', 'x-compute-request-id': 'req-2747b19f-8c74-4d4d-a95d-ec95b7f09bb9', 'x-openstack-request-id': 'req-2747b19f-8c74-4d4d-a95d-ec95b7f09bb9', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume: Cannot find requested Volume: \'3f6ddd9e-f58a-4b37-89bc-881c466f99ed\'"}}' tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type[id-10254ed8-3849-454e-862e-3ab8e6aa01d2,negative] -------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py", line 105, in test_create_volume_with_nonexistent_volume_type self.assertRaises(lib_exc.NotFound, self.volumes_client.create_volume, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid volume type: Cannot find requested VolumeType: '78bc1f2c-caaf-4c41-9b6b-06c2d3b8105f'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:45:41,080 124591 INFO [tempest.lib.common.rest_client] Request (VolumesNegativeTest:test_create_volume_with_nonexistent_volume_type): 400 POST http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes 0.033s 2022-03-02 11:45:41,081 124591 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "volume_type": "78bc1f2c-caaf-4c41-9b6b-06c2d3b8105f"}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:45:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '137', 'content-type': 'application/json', 'x-compute-request-id': 'req-020d9778-fe8d-4f4f-9577-fcf17519d733', 'x-openstack-request-id': 'req-020d9778-fe8d-4f4f-9577-fcf17519d733', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/19d144dc650f4152870db2fbba84a720/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume type: Cannot find requested VolumeType: \'78bc1f2c-caaf-4c41-9b6b-06c2d3b8105f\'"}}' tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add[id-d4dd0027-835f-4554-a6e5-50903fb79184] ------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_type_access.py", line 39, in test_volume_type_access_add self.assertRaises(lib_exc.NotFound, self.volumes_client.create_volume, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 478, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 530, in _matchHelper mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 457, in match reraise(*matchee) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/compat.py", line 27, in reraise raise exc_obj.with_traceback(exc_tb) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 1039, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 100, in create_volume resp, body = self.post('volumes', 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/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( 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': "Invalid volume type: Cannot find requested VolumeType: '6b5d6190-4fbf-4817-8020-6078ac44a862'"} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-03-02 11:46:02,644 124589 INFO [tempest.lib.common.rest_client] Request (VolumeTypesAccessTest:test_volume_type_access_add): 200 POST http://10.222.0.60/volume/v3/98cb701901624354b84805fa876a58eb/types 0.288s 2022-03-02 11:46:02,644 124589 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesAccessTest-volume-type-1391352727", "os-volume-type-access:is_public": false}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:46:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dcabb08b-8d39-4f3e-8945-d042a4072180', 'content-length': '229', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dcabb08b-8d39-4f3e-8945-d042a4072180', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.60/volume/v3/98cb701901624354b84805fa876a58eb/types'} Body: b'{"volume_type": {"id": "6b5d6190-4fbf-4817-8020-6078ac44a862", "name": "tempest-VolumeTypesAccessTest-volume-type-1391352727", "is_public": false, "extra_specs": {}, "description": null, "os-volume-type-access:is_public": false}}' 2022-03-02 11:46:02,839 124589 INFO [tempest.lib.common.rest_client] Request (VolumeTypesAccessTest:test_volume_type_access_add): 400 POST http://10.222.0.60/volume/v3/1f94c299219a438faa7baa06cc721be2/volumes 0.191s 2022-03-02 11:46:02,840 124589 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"volume_type": "6b5d6190-4fbf-4817-8020-6078ac44a862", "size": 1}} Response - Headers: {'date': 'Wed, 02 Mar 2022 11:46:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '137', 'content-type': 'application/json', 'x-compute-request-id': 'req-523b054e-a396-4c40-97ad-92d7473a5367', 'x-openstack-request-id': 'req-523b054e-a396-4c40-97ad-92d7473a5367', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.60/volume/v3/1f94c299219a438faa7baa06cc721be2/volumes'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume type: Cannot find requested VolumeType: \'6b5d6190-4fbf-4817-8020-6078ac44a862\'"}}' ====== Totals ====== Ran: 232 tests in 866.7553 sec. - Passed: 218 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 5 Sum of execute time for each test: 3031.6861 sec. ============== Worker Balance ============== - Worker 0 (20 tests) => 0:14:10.088792 - Worker 1 (39 tests) => 0:09:48.666259 - Worker 2 (39 tests) => 0:06:41.460556 - Worker 3 (18 tests) => 0:07:52.364069 - Worker 4 (54 tests) => 0:05:45.506075 - Worker 5 (20 tests) => 0:11:29.890176 - Worker 6 (26 tests) => 0:06:34.163671 - Worker 7 (16 tests) => 0:01:42.123678 tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type[id-8c09f849-f225-4d78-ba87-bffd9a5e0c6f,negative] tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id[id-0c36f6ae-4604-4017-b0a9-34fdc63096f9,negative] tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid[id-47c73e08-4be8-45bb-bfdf-0c4e79b88344,negative] tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type[id-10254ed8-3849-454e-862e-3ab8e6aa01d2,negative] tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add[id-d4dd0027-835f-4554-a6e5-50903fb79184] ~ Exit code: 1