From f990f0684dc7ca57a463f2d5a18a74e5b9b6bd68 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 11 Jul 2014 16:54:19 +0000 Subject: [PATCH] Collect tox logs from job runs Copy any files from .tox/*/logs into a tox subdirectory of the job log artifact URL. This should enable deeper debugging of the occasional failures we see which appear to be defects in tox or within the system impacting its ability to start the test runner. Change-Id: Id8d5d74d140436f4b05740cbd98249aef7ae51d4 Related-Bug: #1282795 --- .../files/jenkins_job_builder/config/macros.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml index 2a3302cb22..001c3eb66c 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml @@ -437,6 +437,10 @@ source: '**/*subunit_log.txt.gz' keep-hierarchy: false copy-after-failure: true + - target: 'logs/$LOG_PATH/tox' + source: '.tox/*/log/*' + keep-hierarchy: false + copy-after-failure: true - publisher: name: upload-sphinx-draft