Skip to content

os/exec: TestExtraFiles failures with 'leaked parent file' on freebsd-amd64-race starting 2021-11-05 #49500

@bcmills

Description

@bcmills
Details
--- FAIL: TestExtraFiles (0.52s)
    exec_test.go:705: Run: exit status 1
        --- stdout:
        leaked parent file. fd = 88; want 87
        readlink("/proc/self/fd/87") = "", readlink /proc/self/fd/87: no such file or directory
        USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
        root     read3.exe   8324 text /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   wd /        808966 drwxr-xr-x     512  r
        root     read3.exe   8324 root /             2 drwxr-xr-x     512  r
        root     read3.exe   8324    0 /dev         19 crw-rw-rw-    null  r
        root     read3.exe   8324    1* pipe fffff800060a3758 <-> fffff800060a35f0      0 rw
        root     read3.exe   8324    2* pipe fffff8011e381d48 <-> fffff8011e381be0      0 rw
        root     read3.exe   8324    3 -        723335 -rw-------      12 rw
        root     read3.exe   8324    4 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324    5 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324    6 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324    7 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324    8 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324    9 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   10 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   11 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   12 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   13 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   14 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   15 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   16 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   17 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   18 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   19 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   20 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   21 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   22 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   23 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   24 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   25 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   26 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   27 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   28 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   29 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   30 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   31 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   32 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   33 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   34 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   35 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   36 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   37 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   38 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   39 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   40 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   41 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   42 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   43 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   44 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   45 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   46 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   47 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   48 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   49 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   50 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   51 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   52 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   53 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   54 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   55 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   56 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   57 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   58 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   59 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   60 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   61 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   62 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   63 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   64 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   65 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   66 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   67 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   68 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   69 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   70 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   71 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   72 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   73 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   74 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   75 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   76 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   77 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   78 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   79 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   80 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   81 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   82 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   83 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   84 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   85 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   86 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   87
        root     read3.exe   8324   88 /        883099 -rwxr-xr-x  2047910  r
        root     read3.exe   8324   89* pipe fffff8011e0dc8e8 <-> fffff8011e0dca50      0 rw
        root     read3.exe   8324   90* pipe fffff8011e0dca50 <-> fffff8011e0dc8e8      0 rw
        root     read3.exe   8324   92* pipe fffff80006596be0 <-> fffff80006596d48      0 rw
        --- stderr:
FAIL
FAIL	os/exec	1.446s

greplogs --dashboard -md -l -e 'leaked parent file' --since=2021-01-01

2021-11-10T05:08:25-17980df/freebsd-amd64-race
2021-11-09T19:01:30-f59d36d/freebsd-amd64-race
2021-11-05T22:26:07-d3a80c7/freebsd-amd64-race
2021-11-05T21:28:07-ad6ce55/freebsd-amd64-race
2021-11-05T20:59:32-71559a6/freebsd-amd64-race

(See previously #42431, #25628, #7531, #5073.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-FreeBSDWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.okay-after-beta1Used by release team to mark a release-blocker issue as okay to resolve either before or after beta1release-blocker

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions