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

runtime: SIGILL on netbsd-arm64 #66926

Open
gopherbot opened this issue Apr 19, 2024 · 3 comments
Open

runtime: SIGILL on netbsd-arm64 #66926

gopherbot opened this issue Apr 19, 2024 · 3 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

gopherbot commented Apr 19, 2024

#!watchflakes
default <- builder ~ `netbsd-arm64` && mode == "build" && `SIGILL: illegal instruction`

Issue created automatically to collect these failures.

Example (log):

[I2024-04-04T04:20:26.265189Z 20142 0 sink.go:276] SinkServer: warm-up started
[I2024-04-04T04:20:26.265603Z 20142 0 sink.go:346] SinkServer: starting HTTP server...
[I2024-04-04T04:20:26.268325Z 20142 0 sink.go:281] SinkServer: warm-up ended
[I2024-04-04T04:20:26.277641Z 20142 0 cmd_stream.go:473] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "-timeout=20m0s" "./..."]
# golang.org/x/tools/gopls/internal/vulncheck/semver [golang.org/x/tools/gopls/internal/vulncheck/semver.test]
SIGILL: illegal instruction
PC=0x62f0e0 m=0 sigcode=4
instruction bytes: 0x90 0xb 0x40 0xf9 0xff 0x63 0x30 0xeb 0x9 0x9 0x0 0x54 0xfe 0xf 0x1b 0xf8

goroutine 49 gp=0x4000882000 m=0 mp=0x106be80 [running]:
...
Warning: no '=' in invocation-link-artifacts pair: "", ignoring
[I2024-04-04T04:33:06.783858Z 20142 0 cmd_stream.go:469] rdb-stream: the test process terminated
[I2024-04-04T04:33:06.838128Z 20142 0 sink.go:371] SinkServer: shutdown started
[I2024-04-04T04:33:06.838477Z 20142 0 sink.go:349] SinkServer: HTTP server stopped with "http: Server closed"
[I2024-04-04T04:33:06.838555Z 20142 0 sink_server.go:95] SinkServer: draining TestResult channel started
[I2024-04-04T04:33:07.656584Z 20142 0 sink_server.go:97] SinkServer: draining TestResult channel ended
[I2024-04-04T04:33:07.656685Z 20142 0 sink_server.go:99] SinkServer: draining Artifact channel started
[I2024-04-04T04:33:08.248946Z 20142 0 sink_server.go:101] SinkServer: draining Artifact channel ended
[I2024-04-04T04:33:08.249053Z 20142 0 sink.go:374] SinkServer: shutdown completed successfully
[I2024-04-04T04:33:08.249136Z 20142 0 cmd_stream.go:401] rdb-stream: exiting with 1

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 19, 2024
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- builder == "x_tools-go1.22-netbsd-arm64" && repo == "tools" && mode == "build"
2024-04-03 23:06 x_tools-go1.22-netbsd-arm64 tools@c9b0c65f release-branch.go1.22@a65a2bbd [build] (log)
[I2024-04-04T04:20:26.265189Z 20142 0 sink.go:276] SinkServer: warm-up started
[I2024-04-04T04:20:26.265603Z 20142 0 sink.go:346] SinkServer: starting HTTP server...
[I2024-04-04T04:20:26.268325Z 20142 0 sink.go:281] SinkServer: warm-up ended
[I2024-04-04T04:20:26.277641Z 20142 0 cmd_stream.go:473] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "-timeout=20m0s" "./..."]
# golang.org/x/tools/gopls/internal/vulncheck/semver [golang.org/x/tools/gopls/internal/vulncheck/semver.test]
SIGILL: illegal instruction
PC=0x62f0e0 m=0 sigcode=4
instruction bytes: 0x90 0xb 0x40 0xf9 0xff 0x63 0x30 0xeb 0x9 0x9 0x0 0x54 0xfe 0xf 0x1b 0xf8

goroutine 49 gp=0x4000882000 m=0 mp=0x106be80 [running]:
...
Warning: no '=' in invocation-link-artifacts pair: "", ignoring
[I2024-04-04T04:33:06.783858Z 20142 0 cmd_stream.go:469] rdb-stream: the test process terminated
[I2024-04-04T04:33:06.838128Z 20142 0 sink.go:371] SinkServer: shutdown started
[I2024-04-04T04:33:06.838477Z 20142 0 sink.go:349] SinkServer: HTTP server stopped with "http: Server closed"
[I2024-04-04T04:33:06.838555Z 20142 0 sink_server.go:95] SinkServer: draining TestResult channel started
[I2024-04-04T04:33:07.656584Z 20142 0 sink_server.go:97] SinkServer: draining TestResult channel ended
[I2024-04-04T04:33:07.656685Z 20142 0 sink_server.go:99] SinkServer: draining Artifact channel started
[I2024-04-04T04:33:08.248946Z 20142 0 sink_server.go:101] SinkServer: draining Artifact channel ended
[I2024-04-04T04:33:08.249053Z 20142 0 sink.go:374] SinkServer: shutdown completed successfully
[I2024-04-04T04:33:08.249136Z 20142 0 cmd_stream.go:401] rdb-stream: exiting with 1

watchflakes

@cherrymui cherrymui changed the title build: build failure on x_tools-go1.22-netbsd-arm64 runtime: SIGILL on netbsd-arm64 Apr 19, 2024
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Apr 19, 2024
@mknyszek
Copy link
Contributor

mknyszek commented May 8, 2024

CC @golang/netbsd

@randall77
Copy link
Contributor

That instruction is:

1000682cc: f9400b90     ldr     x16, [x28, #16]

Which seems ok to me. Not sure why it would SIGILL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: No status
Development

No branches or pull requests

3 participants