NetBSD-Bugs archive

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

misc/57510: Automated test case sockaddr_un_local_peereid fails intermittently on some architectures



>Number:         57510
>Category:       misc
>Synopsis:       Automated test case sockaddr_un_local_peereid fails intermittently on some architectures
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 06 20:35:01 +0000 2023
>Originator:     Jim Spath
>Release:        
>Organization:
>Environment:
>Description:
This test case fails intermittently on some architectures I tested but not all.
Several tests were chosen from the full test suite after observing inconsistent pass/fail results over many runs.
Tests were run periodically from cron, timed to avoid overlapping runs while completing as many attempts as feasible based on the system speed.

The set being reported in July 2023 includes failure rates in the one-percent ranges, to be followed by other tests that fail more frequently.

The results for systems used:

amd64 1506 0
Pi3 271 0
Pi4 790 1
Pi0W 590 7
Pi02W 887 1
i386 (Intel Atom) 708 2


Example failure message:

tps-count: 1
tp-start: 1687227556.434611, net/net/t_unix, 1
tc-start: 1687227556.434684, sockaddr_un_local_peereid
tc-so:peercred(client) euid=0 egid=0 pid=12155
tc-se:FATAL ERROR: Cannot create results file '/tmp/atf-run.l1idz9/tcr': Permission denied
tc-se:*** Check failed: /usr/src/tests/net/net/t_unix.c:316: getpeername
tc-end: 1687227556.457657, sockaddr_un_local_peereid, failed, /usr/src/tests/net/net/t_unix.c:445: test(true, true, false, 100): Socket is not connected
tp-end: 1687227556.459422, net/net/t_unix
info: time.end, Tue Jun 20 02:19:16 UTC 2023


Example pass message:

tps-count: 1
tp-start: 1687249157.314719, net/net/t_unix, 1
tc-start: 1687249157.314792, sockaddr_un_local_peereid
tc-so:peer: client socket length: 2
tc-so:peer: client family 1
tc-so:peer: client len 2
tc-so:peer: socket name: 
tc-so:peercred(server) euid=666 egid=999 pid=11841
tc-so:peercred(client) euid=0 egid=0 pid=8084
tc-se:FATAL ERROR: Cannot create results file '/tmp/atf-run.tctDbV/tcr': Permission denied
tc-so:sock: client socket length: 102
tc-so:sock: client family 1
tc-so:sock: client len 102
tc-so:sock: socket name: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
tc-end: 1687249157.336195, sockaddr_un_local_peereid, passed
tp-end: 1687249157.336821, net/net/t_unix
info: time.end, Tue Jun 20 08:19:17 UTC 2023



>How-To-Repeat:
$ atf-run net/net/t_unix:sockaddr_un_local_peereid

>Fix:
unknown



Home | Main Index | Thread Index | Old Index