netatalk
netatalk copied to clipboard
Integration tests fail with SIGPIPE on *BSD
ninja: Entering directory `/home/runner/work/netatalk/netatalk/build'
[1/9] Compiling C object test/afpd/libafpdtestlib.a.p/_home_runner_work_netatalk_netatalk_etc_afpd_catsearch.c.o
[2/9] Compiling C object test/afpd/libafpdtestlib.a.p/_home_runner_work_netatalk_netatalk_etc_afpd_enumerate.c.o
[3/9] Compiling C object test/afpd/libafpdtestlib.a.p/_home_runner_work_netatalk_netatalk_etc_afpd_directory.c.o
[4/9] Compiling C object test/afpd/libafpdtestlib.a.p/_home_runner_work_netatalk_netatalk_etc_afpd_afp_dsi.c.o
[5/9] Compiling C object test/afpd/libafpdtestlib.a.p/_home_runner_work_netatalk_netatalk_etc_afpd_filedir.c.o
[6/9] Compiling C object test/afpd/libafpdtestlib.a.p/_home_runner_work_netatalk_netatalk_etc_afpd_fork.c.o
[7/9] Compiling C object test/afpd/libafpdtestlib.a.p/_home_runner_work_netatalk_netatalk_etc_afpd_file.c.o
[8/9] Generating test/afpd/afp_dtrace.o with a custom command
[9/9] Linking target test/afpd/afpdtest
1/2 test1 OK 0.03s
2/2 test2 FAIL 0.04s killed by signal 13 SIGPIPE
>>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=91 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 LD_LIBRARY_PATH=/home/runner/work/netatalk/netatalk/build/libatalk /home/runner/work/netatalk/netatalk/build/test/afpd/afpdtest
Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/runner/work/netatalk/netatalk/build/meson-logs/testlog.txt
In the latest main code and latest vmactions runners, this now affects only DragonflyBSD. FreeBSD and OmniOS have started working.
1/2 test prep OK 0.01s
2/2 test suite FAIL 0.02s killed by signal 13 SIGPIPE
>>> LD_LIBRARY_PATH=/home/runner/work/netatalk/netatalk/build/libatalk MALLOC_PERTURB_=32 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /home/runner/work/netatalk/netatalk/build/test/afpd/afpdtest
Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
On OpenBSD a SIGTERM is thrown instead, after a 30s wait.
1/2 test prep OK 0.01s
2/2 test suite TIMEOUT 30.01s killed by signal 15 SIGTERM
>>> LD_LIBRARY_PATH=/home/runner/work/netatalk/netatalk/build/libatalk MALLOC_PERTURB_=21 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /home/runner/work/netatalk/netatalk/build/test/afpd/afpdtest
Ok: 1
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 1
now the tests run fine in a local VM with OpenBSD, however still failing in the vmactions running in GitHub CI
I don't think it's worth the effort troubleshooting further in the CI runner