Bug 240621

Summary: Flakey test case: lib.libc.sys.stat_test.stat_socket
Product: Base System Reporter: Li-Wen Hsu <lwhsu>
Component: testsAssignee: freebsd-testing mailing list <testing>
Status: New ---    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Li-Wen Hsu freebsd_committer 2019-09-17 02:17:12 UTC
This at least started failing from: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/10016/testReport/junit/lib.libc.sys/stat_test/stat_socket/

The some other examples:

Error Message:

/usr/src/contrib/netbsd-tests/lib/libc/sys/t_stat.c:355: Expected errno 36, got 61, in connect(fd, (struct sockaddr *)&addr, sizeof(struct sockaddr_in)) == -1
Comment 1 commit-hook freebsd_committer 2019-09-17 14:08:55 UTC
A commit references this bug:

Author: lwhsu
Date: Tue Sep 17 14:08:09 UTC 2019
New revision: 352448
URL: https://svnweb.freebsd.org/changeset/base/352448

  Temporarily skip flakey test case lib.libc.sys.stat_test.stat_socket

  PR:		240621
  Sponsored by:	The FreeBSD Foundation

Comment 2 Ed Maste freebsd_committer 2019-12-18 16:31:06 UTC
I'm not sure how this test is expected to (consistently) work. It does a O_NONBLOCK connect(2) to and requires that errno is EINPROGRESS.