Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite fails with SIGPIPE on *BSD #1326

Open
rdmark opened this issue Jul 27, 2024 · 1 comment
Open

Test suite fails with SIGPIPE on *BSD #1326

rdmark opened this issue Jul 27, 2024 · 1 comment

Comments

@rdmark
Copy link
Member

rdmark commented Jul 27, 2024


  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
@rdmark rdmark changed the title Test 2 fail on OmniOS Test 2 fails with SIGPIPE on OmniOS, FreeBSD, OpenBSD Jul 27, 2024
@rdmark
Copy link
Member Author

rdmark commented Oct 13, 2024

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   

@rdmark rdmark changed the title Test 2 fails with SIGPIPE on OmniOS, FreeBSD, OpenBSD Test suite fails with SIGPIPE on *BSD Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant