Skip to content

time: TestTicker flaky with a short Duration on darwin-arm64-corellium builder #35692

Closed
@bcmills

Description

@bcmills
#!watchflakes
post <- pkg == "time" && test == "TestTicker" && `\d+ .+ ticks took .+, expected`

time.TestTicker is consistently failing on the darwin-arm64-corellium builder (https://build.golang.org/log/ae40104c94a528ac4e0295ddf4d3fb34620250df):

--- FAIL: TestTicker (2.39s)
    tick_test.go:63: saw 5 errors
    tick_test.go:25: 10 20ms ticks took 535.802667ms, expected [160ms,240ms]
    tick_test.go:25: 10 20ms ticks took 388.628375ms, expected [160ms,240ms]
    tick_test.go:25: 10 20ms ticks took 461.014083ms, expected [160ms,240ms]
    tick_test.go:25: 10 20ms ticks took 459.991375ms, expected [160ms,240ms]
    tick_test.go:25: 10 20ms ticks took 539.964292ms, expected [160ms,240ms]
FAIL
FAIL	time	6.615s

It's not obvious to me whether that's due to a bug in TestTicker, a bug in the timer support on that platform, or just a really overloaded builder.

CC @ianlancetaylor @bradfitz

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.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.help wantedmobileAndroid, iOS, and x/mobile

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions