golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.21k stars 17.7k forks source link

os/signal: TestSignalTrace is flaky on openbsd/arm64 #70460

Open 4a6f656c opened 1 day ago

4a6f656c commented 1 day ago

The os/signal.TestSignalTrace is flaky on openbsd/arm64:

https://build.golang.org/log/5a334b71cd825842917d59f362ca9c211da82ec9

https://build.golang.org/log/2c4c9b74d2a13ab71e0a00d8430fbf367a4a96e1

This appears to be a signal being lost - it's not currently clear when this issue started, or where the problem exists (and it may well be a kernel related issue). The failure can be reproduced by running os/signal.TestSignalTrace in a loop on an Apple M1 or Apple M2. Running another competing workload (such as a build) will speed up the test failure.

This test should be skipped until it can be diagnosed further.

gabyhelp commented 1 day ago

Related Issues

Related Code Changes

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

gopherbot commented 1 day ago

Change https://go.dev/cl/630036 mentions this issue: os/signal: skip TestSignalTrace on openbsd/arm64

dmitshur commented 1 day ago

CC @golang/openbsd.