NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/56499: v7fs_renamerace_cycle test case randomly fails

>Number:         56499
>Category:       kern
>Synopsis:       v7fs_renamerace_cycle test case randomly fails
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 15 11:05:00 +0000 2021
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current
System: NetBSD
Architecture: x86_64
Machine: amd64

When I run the ATF tests on real amd64 hardware, the
v7fs_renamerace_cycle test case fails with the error message
"Test program received signal 14" in roughly 1 out of every 30 runs.
The log output from a recent failure is here:

Signal 14 is a SIGALRM, which presumably comes from this piece of
code in src/tests/fs/vfs/t_renamerace.c:

        pthread_join(pt_rmdir, NULL);
        pthread_join(pt_rename1, NULL);
        pthread_join(pt_rename2, NULL);

The problem still occurs if I change the alarm(1) to alarm(10), so
this appears to be a deadlock of some sort rather than just the
timeout being too short.



Home | Main Index | Thread Index | Old Index