Most recently: https://ci.freebsd.org/job/FreeBSD-main-amd64-test/24090/console 10:15:02 bin/cp/cp_test:matching_srctgt_link -> passed [0.034s] 10:15:02 bin/cp/cp_test:matching_srctgt_nonexistent -> passed [0.034s] 10:15:02 bin/cp/cp_test:recursive_link_Hflag -> passed [0.031s] 10:15:02 bin/cp/cp_test:recursive_link_Lflag -> *** /usr/src/contrib/kyua/utils/process/executor.cpp:779: Invariant check failed: PID 39046 already in all_exec_handles; not properly cleaned up or reused too fast 10:15:02 *** Fatal signal 6 received 10:15:02 *** Log file is /.kyua/logs/kyua.20230831-145331.log 10:15:02 *** Please report this problem to kyua-discuss@googlegroups.com detailing what you were doing before the crash happened; if possible, include the log file mentioned above 10:15:02 pid 790 (kyua), jid 0, uid 0: exited on signal 6 (core dumped) Lately it looks like 1 out of every ~5 runs suffers from the same problem. It doesn't appear to be triggered by any specific tests. It looks like kyua is invoked with a plain "kyua test", i.e., no parallelism.
Apparently https://github.com/freebsd/kyua/pull/9 might fix this.
^Triage: canonicalize assignment.
The latest vendor import of contrib/kyua brought in the patch from github.
I have committed the vendor import. We still need to add two files in the build hook. Will submit a patch in an hour.
(In reply to Muhammad Moinur Rahman from comment #4) Thank you.
Looks like the build fails with the new files. ld: error: duplicate symbol: main >>> defined at main.cpp:48 (/root/Projects/FreeBSD/src/contrib/kyua/main.cpp:48) >>> main.o:(main) >>> defined at executor_pid_test.cpp:181 (/root/Projects/FreeBSD/src/contrib/kyua/utils/process/executor_pid_test.cpp:181) >>> utils/process/executor_pid_test.o:(.text+0x590) c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Let me check.
(In reply to Muhammad Moinur Rahman from comment #6) Yes, that's a test file which is supposed to be compiled from usr.bin/kyua/tests. In particular, we have to integrate the full kyua test suite. I'm happy to work on that BTW, it's probably going to be a bit tedious.