Skip to content

os/signal: fixedbugs/issue21576.go flake on linux-ppc64le-power9osu builder #34836

@bcmills

Description

@bcmills

From the linux-ppc64le-power9osu builder (https://build.golang.org/log/8415a2011de6d02d89ecb3587ca3ac2735d86b3d):

# go run run.go -- fixedbugs/issue21576.go
exit status 1
2019/10/10 03:23:05 Unmatched error message "fatal error: all goroutines are asleep - deadlock!":
in
exit status 1

FAIL	fixedbugs/issue21576.go	8.596s

In #21576 (comment), @odeke-em notes:

Too low of a deadline and it could become a flake during tests, too high of
a deadline and it could stall building the Go tree and running other tests.
5seconds is a heuristic that I thought was a decently good enough time for
go run to have successfully started.

Does that explain this failure?

Would it be possible to code the test in a way that does not depend on timing? (What is the harm in having a higher timeout, assuming that the test has not regressed?)

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.TestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions