Skip to content

pkg/cover: random failures of TestCover #5953

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

Open
a-nogikh opened this issue Apr 17, 2025 · 1 comment
Open

pkg/cover: random failures of TestCover #5953

a-nogikh opened this issue Apr 17, 2025 · 1 comment
Labels

Comments

@a-nogikh
Copy link
Collaborator

It's been observed several times over the last days.

2025-04-17T08:04:19.3806494Z --- FAIL: TestCover (0.07s)
2025-04-17T08:04:19.3806893Z     --- FAIL: TestCover/64_fork (4.12s)
2025-04-17T08:04:19.3807154Z         --- FAIL: TestCover/64_fork/11 (0.12s)
2025-04-17T08:04:19.3807610Z             run_test.go:417: program execution failed: status=ExecFailure err=context closed while waiting the result
2025-04-17T08:04:19.3830099Z ##[error]program execution failed: status=ExecFailure err=context closed while waiting the result
2025-04-17T08:04:19.3837620Z             run_test.go:523: coverage is not supported: call 0 failed with errno 998
2025-04-17T08:04:19.3838634Z ##[error]coverage is not supported: call 0 failed with errno 998
@a-nogikh a-nogikh added the bug label Apr 17, 2025
@a-nogikh
Copy link
Collaborator Author

The first message is somewhat misleading

2025-04-17T08:04:19.3807610Z             run_test.go:417: program execution failed: status=ExecFailure err=context closed while waiting the result
2025-04-17T08:04:19.3830099Z ##[error]program execution failed: status=ExecFailure err=context closed while waiting the result

It's a consequence rather than the reason. The actual reason is that rpcserver.RunLocal() fails with

 2025-04-17T08:04:19.3837620Z             run_test.go:523: coverage is not supported: call 0 failed with errno 998

In other cases I've also observed

            run_test.go:523: coverage is not supported: too many calls in output. slot=64 (errno 9: Bad file descriptor). . process exited with status 67.

err := rpcserver.RunLocal(ctx, cfg)
done()
errc <- err

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant