Mailing List Archive

[master] 862e8cce6 circleci: Only run the test suite on alpine
commit 862e8cce6d066b7a8e0d4fd81d58194df632b832
Author: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Tue Mar 5 07:47:47 2024 +0100

circleci: Only run the test suite on alpine

There appears to be a race condition with distcheck where test-suite.log
is removed and then another attempt at removing it fails:

[...]
test -z "test-suite.log" || rm -f test-suite.log
rm -f libtool config.lt
find . '(' -name '*.gcda' -o -name '*.gcda' ')' -exec rm '{}' ';'
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
find: ./test-suite.log: No such file or directory
[...]

It is unclear which find command is choking on test-suite.log, there
doesn't seem to be a make rule running find and targeting this file.
Could it be the find command listed in the output collecting file names
like test-suite.log and then failing to test it against the -name
filters after it got removed? That would be infortunate for a find
implementation.

Since alpine is not a platform we officially support, and after failing
numerous times to reproduce the link outside of the CI environment, a
simple make check is good enough and it will remove a lot of noise.

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 66144d11c..9ade65a8b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -439,6 +439,7 @@ workflows:
dist: alpine
release: "latest"
extra_conf: --without-contrib
+ make_target: check
- build:
name: build_archlinux
dist: archlinux
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit