Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: remote file server I/O flakiness with "Bad fid" errors on plan9 #70677

Open
millerresearch opened this issue Dec 4, 2024 · 0 comments
Open
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Plan9
Milestone

Comments

@millerresearch
Copy link
Contributor

#!watchflakes
post <- builder ~ `plan9-` && `:  Bad fid`

Intermittent Bad fid errors are observed especially on plan9-arm performing I/O to a remote file server. The most common context is demand-loading pages from a binary hosted on the LUCI swarming front-end (linux) machine:

2024-11-08 14:46 x_tools-go1.23-plan9-arm tools@8a0e08fb release-branch.go1.23@c390a1c2 x/tools/go/callgraph/rta.TestRTA/testdata/multipkgs.txtar ([log](https://ci.chromium.org/b/8731827708724902417))
=== RUN   TestRTA/testdata/multipkgs.txtar
    testfiles.go:141: err: exit status: 'go 65004: 1': stderr: go: error obtaining buildID for go tool asm: exit status: 'asm 65114: i/o error in demand load accessing /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/plan9_arm/asm: Bad fid'
        
--- FAIL: TestRTA/testdata/multipkgs.txtar (3.30s)

But errors can occur in other contexts, for example reading an object file from the build cache (also on the LUCI front-end):

2024-11-19 18:04 go1.23-plan9-arm release-branch.go1.23@777f43ab cmd/link.TestCheckLinkname/badlinkname.go ([log](https://ci.chromium.org/b/8730806350947619521))
=== RUN   TestCheckLinkname/badlinkname.go
=== PAUSE TestCheckLinkname/badlinkname.go
=== CONT  TestCheckLinkname/badlinkname.go
    link_test.go:1454: build failed unexpectedly: exit status: 'go 74201: 1':
        # command-line-arguments
        link: cannot read object file:read /home/swarming/.swarming/w/ir/x/w/gocache/69/6932a64211f8ea57b303c16f21c046f130e2ca4053d7f9f2fa8ca6a5a87ac3be-d: Bad fid
--- FAIL: TestCheckLinkname/badlinkname.go (17.96s)

The fault is almost certainly not a go problem, but is within the plan9 file server: in this case, the variant of exportsrv built in to the drawterm command.

@mknyszek mknyszek added OS-Plan9 NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Dec 4, 2024
@mknyszek mknyszek added this to the Backlog milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Plan9
Projects
None yet
Development

No branches or pull requests

2 participants