[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/10] .gitlab-ci.d: export meson testlog.txt as an artifact
From: |
Kevin Wolf |
Subject: |
[PULL 05/10] .gitlab-ci.d: export meson testlog.txt as an artifact |
Date: |
Thu, 12 May 2022 17:33:56 +0200 |
From: Daniel P. Berrangé <berrange@redhat.com>
When running 'make check' we only get a summary of progress on the
console. Fortunately meson/ninja have saved the raw test output to a
logfile. Exposing this log will make it easier to debug failures that
happen in CI.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220509124134.867431-3-berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
.gitlab-ci.d/buildtest-template.yml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.d/buildtest-template.yml
b/.gitlab-ci.d/buildtest-template.yml
index 2c7980a4f6..dc6d67aacf 100644
--- a/.gitlab-ci.d/buildtest-template.yml
+++ b/.gitlab-ci.d/buildtest-template.yml
@@ -26,7 +26,7 @@
make -j"$JOBS" $MAKE_CHECK_ARGS ;
fi
-.native_test_job_template:
+.common_test_job_template:
stage: test
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
script:
@@ -37,8 +37,16 @@
# Avoid recompiling by hiding ninja with NINJA=":"
- make NINJA=":" $MAKE_CHECK_ARGS
+.native_test_job_template:
+ extends: .common_test_job_template
+ artifacts:
+ name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+ expire_in: 7 days
+ paths:
+ - build/meson-logs/testlog.txt
+
.avocado_test_job_template:
- extends: .native_test_job_template
+ extends: .common_test_job_template
cache:
key: "${CI_JOB_NAME}-cache"
paths:
--
2.35.3
- [PULL 00/10] Block layer patches, Kevin Wolf, 2022/05/12
- [PULL 06/10] hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507), Kevin Wolf, 2022/05/12
- [PULL 01/10] coroutine: Rename qemu_coroutine_inc/dec_pool_size(), Kevin Wolf, 2022/05/12
- [PULL 05/10] .gitlab-ci.d: export meson testlog.txt as an artifact,
Kevin Wolf <=
- [PULL 10/10] qemu-iotests: inline common.config into common.rc, Kevin Wolf, 2022/05/12
- [PULL 02/10] coroutine: Revert to constant batch size, Kevin Wolf, 2022/05/12
- [PULL 08/10] qemu-nbd: Pass max connections to blockdev layer, Kevin Wolf, 2022/05/12
- [PULL 03/10] iotests/testrunner: Flush after run_test(), Kevin Wolf, 2022/05/12
- [PULL 04/10] tests/qemu-iotests: print intent to run a test in TAP mode, Kevin Wolf, 2022/05/12
- [PULL 09/10] nbd/server: Allow MULTI_CONN for shared writable exports, Kevin Wolf, 2022/05/12
- [PULL 07/10] tests/qtest/fdc-test: Add a regression test for CVE-2021-3507, Kevin Wolf, 2022/05/12
- Re: [PULL 00/10] Block layer patches, Richard Henderson, 2022/05/12