jjb: archive top-level test suite log
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 21 Mar 2023 21:03:45 +0000 (17:03 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 21 Mar 2023 21:03:50 +0000 (17:03 -0400)
Change-Id: Idae0b28eb6b6a69153f9caa98566935275dc2987
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml
jobs/librseq.yaml
jobs/liburcu.yaml
jobs/lttng-tools.yaml
jobs/lttng-ust.yaml
scripts/babeltrace/build.sh
scripts/librseq/build.sh
scripts/liburcu/build.sh
scripts/lttng-tools/build.sh
scripts/lttng-ust/build.sh

index 3c9684fe696af8973a54f6f4f3108c13e5cb2eca..6be2b736fab15d625d468b36b77b2547fb947e42 100644 (file)
               <scm/>
             </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
       - archive: &babeltrace_publisher_archive_defaults
-          artifacts: 'build/**,tap/**'
+          artifacts: 'build/**,tap/**,log/**'
           allow-empty: false
       - workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults
           clean-if:
index 2487843e1ec0cf851c573b5fa5bfac8c1e114e0d..45e41f2f7bcf5c67ca91cb5249979632f610b8bc 100644 (file)
               <scm/>
             </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
       - archive: &librseq_publisher_archive_defaults
-          artifacts: 'build/**,tap/**'
+          artifacts: 'build/**,tap/**,log/**'
           allow-empty: false
       - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
           clean-if:
index abd0878c0ec1c324081675952d77196e90fd859d..e1f5c3992aff49e0ec5697a8b2869d60faae37d0 100644 (file)
               <scm/>
             </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
       - archive: &liburcu_publisher_archive_defaults
-          artifacts: 'build/**,tap/**'
+          artifacts: 'build/**,tap/**,log/**'
           allow-empty: false
       - workspace-cleanup: &liburcu_publisher_workspace_cleanup_defaults
           clean-if:
index d7a0004b7c6569dbafe066e2e72cd81daee1e5c7..53d7fe785e23d7ab855334ed679618f9c8b17843 100644 (file)
             </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
 
       - archive: &lttng-tools_publisher_archive_defaults
-          artifacts: 'build/**,deps/**,tap/**'
+          artifacts: 'build/**,deps/**,tap/**,log/**'
           allow-empty: false
 
       - workspace-cleanup: &lttng-tools_publisher_workspace-cleanup_defaults
index 2362ab288dd7ab239dcfdd2eb1699f3baa828cb2..03cb8a342591c23dcf1933daf0cca33a1c3fc75d 100644 (file)
               <scm/>
             </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
       - archive: &lttng-ust_publisher_archive_defaults
-          artifacts: 'build/**,tap/**'
+          artifacts: 'build/**,tap/**,log/**'
           allow-empty: false
       - workspace-cleanup: &lttng-ust_publisher_workspace-cleanup_defaults
           clean-if:
index 8ab926154bb2cf2dacc373275ce5dc20dae54492..6f2f0f76174e872aef508aa715f263291f300e7b 100755 (executable)
@@ -373,6 +373,9 @@ if [ "$BABELTRACE_RUN_TESTS" = "yes" ]; then
        # Copy tap logs for the jenkins tap parser before cleaning the build dir
        rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
 
+       # Copy the test suites top-level log which includes all tests failures
+       rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
        # The test suite prior to 1.5 did not produce TAP logs
        if verlt "$PACKAGE_VERSION" "1.5"; then
            mkdir -p "$WORKSPACE/tap/no-log"
index d56a399fcdbe9869c88c971b44e24de5ff014c8e..95b770e8326838b6d48cc15d823426ed8d9d2945 100755 (executable)
@@ -265,6 +265,9 @@ set -e
 # Copy tap logs for the jenkins tap parser before cleaning the build dir
 rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
 
+# Copy the test suites top-level log which includes all tests failures
+rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
 # Clean the build directory
 $MAKE clean
 
index 6fe33b5b696449963d4474a7cd2fe8f8af5fe86d..b4cc761e3eef10717d30e49b42c7f5e0f4fd8be0 100755 (executable)
@@ -318,6 +318,9 @@ if [ "$USERSPACE_RCU_RUN_TESTS" = "yes" ]; then
     # Copy tap logs for the jenkins tap parser before cleaning the build dir
     rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
 
+    # Copy the test suites top-level log which includes all tests failures
+    rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
     # The test suite prior to 0.11 did not produce TAP logs
     if verlt "$PACKAGE_VERSION" "0.11"; then
         mkdir -p "$WORKSPACE/tap/no-log"
index c67802a2f4167626af9e738db900817cc6e125b8..fb9703f5e65fed2c5060034b81da42a138b8def6 100755 (executable)
@@ -496,7 +496,12 @@ if [ "$LTTNG_TOOLS_RUN_TESTS" = "yes" ] && [ "$conf" != "no-ust" ]; then
         fi
 
         make --keep-going check || failed_tests=1
+
+        # Copy tap logs for the jenkins tap parser before cleaning the build dir
         rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$TAPDIR"
+
+        # Copy the test suites top-level log which includes all tests failures
+        rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
     else
         cd tests
         mkdir -p "$TAPDIR/unit"
index 44e0183e637f5dd80f891e9e41022d16c3543328..b31f8ff817392bc8b72b8776f0f831ba4fd77689 100755 (executable)
@@ -331,6 +331,9 @@ if [ "$LTTNG_UST_RUN_TESTS" = "yes" ]; then
     # Copy tap logs for the jenkins tap parser before cleaning the build dir
     rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$WORKSPACE/tap"
 
+    # Copy the test suites top-level log which includes all tests failures
+    rsync -a --include 'test-suite.log' --include '*/' --exclude='*' tests/ "$WORKSPACE/log"
+
     # The test suite prior to 2.8 did not produce TAP logs
     if verlt "$PACKAGE_VERSION" "2.8"; then
         mkdir -p "$WORKSPACE/tap/no-log"
This page took 0.028676 seconds and 4 git commands to generate.