golang / go

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

runtime: SIGILL on netbsd-arm64 #66926

Open gopherbot opened 2 months ago

gopherbot commented 2 months ago
#!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 commented 2 months ago

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

mknyszek commented 2 months ago

CC @golang/netbsd

randall77 commented 2 months ago

That instruction is:

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

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

gopherbot commented 3 weeks ago

Found new dashboard test flakes for:

#!watchflakes
default <- builder ~ `netbsd-arm64` && mode == "build" && `SIGILL: illegal instruction`
2024-06-20 20:57 x_tools-gotip-netbsd-arm64 tools@dfdfa49f go@20b79fd5 [build] (log) [I2024-06-21T13:53:10.316176Z 10591 0 sink.go:276] SinkServer: warm-up started [I2024-06-21T13:53:10.318162Z 10591 0 sink.go:346] SinkServer: starting HTTP server... [I2024-06-21T13:53:10.319067Z 10591 0 sink.go:281] SinkServer: warm-up ended [I2024-06-21T13:53:10.319567Z 10591 0 cmd_stream.go:487] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "-dump-json" "/home/swarming/.swarming/w/ir/x/w/go.testjson" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "-timeout=20m0s" "./..."] ok golang.org/x/tools/benchmark/parse 0.016s ok golang.org/x/tools/blog 0.020s ok golang.org/x/tools/cmd/benchcmp 0.011s ok golang.org/x/tools/cmd/bisect 0.609s ok golang.org/x/tools/cmd/bundle 1.620s ok golang.org/x/tools/cmd/callgraph 44.623s ... r24 0xe2bfcc603993e366 r25 0x12443560108 r26 0x4000db4790 r27 0xd13000 r28 0x4001466fc0 r29 0x4000db4808 lr 0x208fec sp 0x4000db4810 pc 0x209000 fault 0x209000

watchflakes

gopherbot commented 3 weeks ago

Found new dashboard test flakes for:

#!watchflakes
default <- builder ~ `netbsd-arm64` && mode == "build" && `SIGILL: illegal instruction`
2024-06-24 14:56 x_tools-go1.21-netbsd-arm64 tools@f06ed92a release-branch.go1.21@74ac37e9 [build] (log) [I2024-06-24T15:43:30.778643Z 19256 0 sink.go:276] SinkServer: warm-up started [I2024-06-24T15:43:30.779976Z 19256 0 sink.go:346] SinkServer: starting HTTP server... [I2024-06-24T15:43:30.781568Z 19256 0 sink.go:281] SinkServer: warm-up ended [I2024-06-24T15:43:30.782058Z 19256 0 cmd_stream.go:487] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "-dump-json" "/home/swarming/.swarming/w/ir/x/w/go.testjson" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "-timeout=20m0s" "./..."] ok golang.org/x/tools/benchmark/parse 0.015s ok golang.org/x/tools/blog 0.019s ok golang.org/x/tools/cmd/benchcmp 0.011s ok golang.org/x/tools/cmd/bisect 0.339s ok golang.org/x/tools/cmd/bundle 1.538s ok golang.org/x/tools/cmd/callgraph 55.405s ... r24 0xf40988e86d4c9f32 r25 0x2b3485875a0 r26 0x4000612790 r27 0xd13000 r28 0x4000864700 r29 0x4000612808 lr 0x208fec sp 0x4000612810 pc 0x2090c0 fault 0x2090c0

watchflakes

gopherbot commented 2 weeks ago

Found new dashboard test flakes for:

#!watchflakes
default <- builder ~ `netbsd-arm64` && mode == "build" && `SIGILL: illegal instruction`
2024-06-27 18:14 x_tools-gotip-netbsd-arm64 tools@72edac2f go@ea537cca [build] (log) [I2024-06-27T23:23:26.176282Z 5695 0 sink.go:276] SinkServer: warm-up started [I2024-06-27T23:23:26.176380Z 5695 0 sink.go:346] SinkServer: starting HTTP server... [I2024-06-27T23:23:26.179046Z 5695 0 sink.go:281] SinkServer: warm-up ended [I2024-06-27T23:23:26.179628Z 5695 0 cmd_stream.go:487] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "-dump-json" "/home/swarming/.swarming/w/ir/x/w/go.testjson" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "-timeout=20m0s" "./..."] ok golang.org/x/tools/benchmark/parse 0.109s ok golang.org/x/tools/blog 0.020s ok golang.org/x/tools/cmd/benchcmp 0.017s ok golang.org/x/tools/cmd/bisect 0.447s ok golang.org/x/tools/cmd/bundle 1.265s ok golang.org/x/tools/cmd/callgraph 42.227s ... r24 0x33af1aa370e4de3c r25 0x1cbf6a4e23d r26 0x4000881790 r27 0xd13000 r28 0x4000103880 r29 0x4000881808 lr 0x208fec sp 0x4000881810 pc 0x209000 fault 0x209000

watchflakes

gopherbot commented 2 weeks ago

Found new dashboard test flakes for:

#!watchflakes
default <- builder ~ `netbsd-arm64` && mode == "build" && `SIGILL: illegal instruction`
2024-06-28 16:11 x_tools-go1.21-netbsd-arm64 tools@799a4718 release-branch.go1.21@c9be6ae7 [build] (log) [I2024-06-28T17:36:31.291988Z 13174 0 sink.go:276] SinkServer: warm-up started [I2024-06-28T17:36:31.292214Z 13174 0 sink.go:346] SinkServer: starting HTTP server... [I2024-06-28T17:36:31.295056Z 13174 0 sink.go:281] SinkServer: warm-up ended [I2024-06-28T17:36:31.295604Z 13174 0 cmd_stream.go:487] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "-dump-json" "/home/swarming/.swarming/w/ir/x/w/go.testjson" "--" "/home/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "-timeout=20m0s" "./..."] ok golang.org/x/tools/benchmark/parse 0.012s ok golang.org/x/tools/blog 0.022s ok golang.org/x/tools/cmd/benchcmp 0.043s ok golang.org/x/tools/cmd/bisect 0.339s ok golang.org/x/tools/cmd/bundle 1.054s ok golang.org/x/tools/cmd/callgraph 38.739s ... r24 0x8148ca1454cfb316 r25 0x136ee678e07 r26 0x4000dba790 r27 0xd13000 r28 0x40005bce00 r29 0x4000dba808 lr 0x208fec sp 0x4000dba810 pc 0x2090ac fault 0x2090ac

watchflakes