Bump tempest version to latest
Update pinning of tempest to the latest version in upstream, fix configuration scripts for it. Change-Id: Ic0671c536a1a41a93ee2e6c43bd7398c4ce09cdd
This commit is contained in:
parent
77cf38c1e2
commit
4fd0e7baba
@ -57,9 +57,9 @@ from tempest.lib.services.compute import servers_client
|
|||||||
from tempest.lib.services.image.v2 import images_client
|
from tempest.lib.services.image.v2 import images_client
|
||||||
from tempest.lib.services.network import networks_client
|
from tempest.lib.services.network import networks_client
|
||||||
from tempest.services.identity.v2.json import identity_client
|
from tempest.services.identity.v2.json import identity_client
|
||||||
from tempest.services.identity.v2.json import roles_client
|
from tempest.lib.services.identity.v2 import roles_client
|
||||||
from tempest.services.identity.v2.json import tenants_client
|
from tempest.lib.services.identity.v2 import tenants_client
|
||||||
from tempest.services.identity.v2.json import users_client
|
from tempest.lib.services.identity.v2 import users_client
|
||||||
from tempest.services.identity.v3.json \
|
from tempest.services.identity.v3.json \
|
||||||
import identity_client as identity_v3_client
|
import identity_client as identity_v3_client
|
||||||
|
|
||||||
@ -513,7 +513,7 @@ def give_role_to_user(tenants_client, roles_client, users_client, username,
|
|||||||
return
|
return
|
||||||
role_id = role_ids[0]
|
role_id = role_ids[0]
|
||||||
try:
|
try:
|
||||||
roles_client.assign_user_role(tenant_id, user_id, role_id)
|
roles_client.create_user_role_on_project(tenant_id, user_id, role_id)
|
||||||
LOG.debug("User '%s' was given the '%s' role in project '%s'",
|
LOG.debug("User '%s' was given the '%s' role in project '%s'",
|
||||||
username, role_name, tenant_name)
|
username, role_name, tenant_name)
|
||||||
except exceptions.Conflict:
|
except exceptions.Conflict:
|
||||||
@ -709,6 +709,7 @@ def create_tempest_networks(clients, conf, has_neutron, public_network_id):
|
|||||||
"Please note that any test that relies on external "
|
"Please note that any test that relies on external "
|
||||||
"connectivity would most likely fail.")
|
"connectivity would most likely fail.")
|
||||||
|
|
||||||
|
if public_network_id is not None:
|
||||||
conf.set('network', 'public_network_id', public_network_id)
|
conf.set('network', 'public_network_id', public_network_id)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
@ -106,6 +106,10 @@ lock_path=/tmp
|
|||||||
# Added in kilo
|
# Added in kilo
|
||||||
bootable=true
|
bootable=true
|
||||||
|
|
||||||
|
# It needs to be true since mitaka
|
||||||
|
# this option expected to be removed after liberty EOL
|
||||||
|
volume_services=true
|
||||||
|
|
||||||
[compute-feature-enabled]
|
[compute-feature-enabled]
|
||||||
# Default deployment does not use shared storage
|
# Default deployment does not use shared storage
|
||||||
live_migration=false
|
live_migration=false
|
||||||
|
@ -147,7 +147,7 @@ TEMPEST_RUN=${TEMPEST_RUN:-""}
|
|||||||
TEMPEST_ARGS=${TEMPEST_ARGS:-"--parallel --subunit"}
|
TEMPEST_ARGS=${TEMPEST_ARGS:-"--parallel --subunit"}
|
||||||
TEMPEST_ADD_CONFIG=${TEMPEST_ADD_CONFIG:-}
|
TEMPEST_ADD_CONFIG=${TEMPEST_ADD_CONFIG:-}
|
||||||
TEMPEST_REGEX=${TEMPEST_REGEX:-"^(?=(.*smoke))(?!(tempest.api.orchestration.stacks|tempest.scenario.test_volume_boot_pattern|tempest.api.telemetry))"}
|
TEMPEST_REGEX=${TEMPEST_REGEX:-"^(?=(.*smoke))(?!(tempest.api.orchestration.stacks|tempest.scenario.test_volume_boot_pattern|tempest.api.telemetry))"}
|
||||||
TEMPEST_PINNED="fb77374ddeeb1642bffa086311d5f281e15142b2"
|
TEMPEST_PINNED="95854ce727846110f3fc2946f3ed48f0ad189a2f"
|
||||||
SSH_OPTIONS=${SSH_OPTIONS:-'-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=Verbose -o PasswordAuthentication=no -o ConnectionAttempts=32'}
|
SSH_OPTIONS=${SSH_OPTIONS:-'-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=Verbose -o PasswordAuthentication=no -o ConnectionAttempts=32'}
|
||||||
export SCRIPTS_DIR=$(dirname ${BASH_SOURCE[0]:-$0})
|
export SCRIPTS_DIR=$(dirname ${BASH_SOURCE[0]:-$0})
|
||||||
OPSTOOLS_REPO_ENABLED=${OPSTOOLS_REPO_ENABLED:-"0"}
|
OPSTOOLS_REPO_ENABLED=${OPSTOOLS_REPO_ENABLED:-"0"}
|
||||||
|
Loading…
Reference in New Issue
Block a user