tests: test-nova-upgrades.sh: Remove the exit trap
We are already collecting logs as part of the post-run playbook so we don't need to do that as part of the exit trap. This avoid collecting and compressing the logs twice. Change-Id: I03ad2ae6ded9e13052980694d1122169c1374bb0
This commit is contained in:
parent
6b96ce9039
commit
4ff28dc361
@ -66,18 +66,11 @@ function execute_ansible_playbook {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function gate_job_exit_tasks {
|
|
||||||
source "${COMMON_TESTS_PATH}/test-log-collect.sh"
|
|
||||||
}
|
|
||||||
|
|
||||||
## Main ----------------------------------------------------------------------
|
## Main ----------------------------------------------------------------------
|
||||||
|
|
||||||
# Ensure that the Ansible environment is properly prepared
|
# Ensure that the Ansible environment is properly prepared
|
||||||
source "${COMMON_TESTS_PATH}/test-ansible-env-prep.sh"
|
source "${COMMON_TESTS_PATH}/test-ansible-env-prep.sh"
|
||||||
|
|
||||||
# Set gate job exit traps, this is run regardless of exit state when the job finishes.
|
|
||||||
trap gate_job_exit_tasks EXIT
|
|
||||||
|
|
||||||
# Prepare environment for the initial deploy of previous Nova
|
# Prepare environment for the initial deploy of previous Nova
|
||||||
# No upgrading or testing is done yet.
|
# No upgrading or testing is done yet.
|
||||||
export ANSIBLE_LOG_PATH="${ANSIBLE_LOG_DIR}/ansible-execute-nova-install.log"
|
export ANSIBLE_LOG_PATH="${ANSIBLE_LOG_DIR}/ansible-execute-nova-install.log"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user