From 5a6d2571c0f1f6efeffbb6fdf5ff6e74f6ad46de Mon Sep 17 00:00:00 2001 From: Jamo Luhrsen Date: Mon, 18 Jun 2018 12:52:34 -0700 Subject: [PATCH] Rename collect_logs() -> collect_netvirt_logs() Since we moved collect_logs() from the openstack deploy script to the common_functions lib, it loses the context that it's openstack/netvirt related log collections. Changing it's name will make it more clear for others that may see it and find it useful (or not). Change-Id: I3eca09cdf512960481fc576207b486dfd27615b6 Signed-off-by: Jamo Luhrsen --- jjb/integration/common-functions.sh | 4 ++-- jjb/integration/integration-macros.yaml | 4 ++-- jjb/integration/integration-templates.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jjb/integration/common-functions.sh b/jjb/integration/common-functions.sh index 23edc1224..051377f03 100644 --- a/jjb/integration/common-functions.sh +++ b/jjb/integration/common-functions.sh @@ -225,7 +225,7 @@ EOF fi # if [ "${OPENSTACK_BRANCH}" = "stable/queens" ]; then } -function collect_logs() { +function collect_netvirt_logs() { set +e # We do not want to create red dot just because something went wrong while fetching logs. cat > extra_debug.sh << EOF @@ -408,4 +408,4 @@ EOF else echo "tempest results not found in ${DEVSTACK_TEMPEST_DIR}/${TESTREPO}/0" fi -} # collect_logs() +} # collect_netvirt_logs() diff --git a/jjb/integration/integration-macros.yaml b/jjb/integration/integration-macros.yaml index 776d7d539..36479f2fd 100644 --- a/jjb/integration/integration-macros.yaml +++ b/jjb/integration/integration-macros.yaml @@ -587,7 +587,7 @@ mark-unstable-if-failed: true - publisher: - name: integration-csit-collect-logs + name: integration-csit-collect-netvirt-logs publishers: - postbuildscript: builders: @@ -604,5 +604,5 @@ - shell: | #!/bin/bash source /tmp/common-functions.sh ${BUNDLEFOLDER} - collect_logs + collect_netvirt_logs mark-unstable-if-failed: true diff --git a/jjb/integration/integration-templates.yaml b/jjb/integration/integration-templates.yaml index 9e484b185..633782d27 100644 --- a/jjb/integration/integration-templates.yaml +++ b/jjb/integration/integration-templates.yaml @@ -1010,7 +1010,7 @@ - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' - - integration-csit-collect-logs + - integration-csit-collect-netvirt-logs - integration-csit-archive-build - integration-csit-run-postscript - releng-openstack-stack-delete @@ -1221,7 +1221,7 @@ - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' - - integration-csit-collect-logs + - integration-csit-collect-netvirt-logs - integration-csit-archive-build - integration-csit-run-postscript - releng-openstack-stack-delete -- 2.36.6