bc1781085b
Currently, the standard error and output streams of the child commands invoked by 'meson test' are redirected to a separate log file. When the tests fail, it's difficult, or maybe even impossible, to access this file from the Zuul CI, and all that can be seen is something like: 1/7 shellcheck src/go-build-wrapper OK 0.04s 2/7 shellcheck profile.d/toolbox.sh FAIL 0.06s exit status 1 >>> MALLOC_PERTURB_=241 /usr/bin/shellcheck --shell=sh /home/zuul-worker/src/github.com/containers/toolbox/builddir/../profile.d/toolbox.sh 3/7 go fmt FAIL 0.05s exit status 1 >>> MALLOC_PERTURB_=209 /usr/bin/python3 /home/zuul-worker/src/github.com/containers/toolbox/src/meson_go_fmt.py /home/zuul-worker/src/github.com/containers/toolbox/src 4/7 codespell FAIL 0.31s exit status 65 >>> MALLOC_PERTURB_=180 /usr/bin/codespell --check-filenames --check-hidden --context 3 --exclude-file /home/zuul-worker/src/github.com/containers/toolbox/.codespellexcludefile --skip /home/zuul-worker/src/github.com/containers/toolbox/builddir --skip /home/zuul-worker/src/github.com/containers/toolbox/.git --skip /home/zuul-worker/src/github.com/containers/toolbox/test/system/libs/bats-assert --skip /home/zuul-worker/src/github.com/containers/toolbox/test/system/libs/bats-support /home/zuul-worker/src/github.com/containers/toolbox 5/7 shellcheck toolbox (deprecated) FAIL 1.09s exit status 1 >>> MALLOC_PERTURB_=233 /usr/bin/shellcheck /home/zuul-worker/src/github.com/containers/toolbox/builddir/../toolbox 6/7 go test OK 1.89s 7/7 go vet OK 17.60s This doesn't have enough information to understand what caused the tests to fail on non-interactive CI environments. Not redirecting the standard error and output streams of the child commands invoked by 'meson test' will readily reveal more details about the test failures and remove the need to find the log file created by Meson. https://github.com/containers/toolbox/pull/1171 |
||
---|---|---|
.. | ||
build.yaml | ||
dependencies.yaml | ||
setup-env-migration-path-for-coreos-toolbox.yaml | ||
setup-env.yaml | ||
system-test.yaml | ||
unit-test.yaml |