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: TestCgoToGoCallGoexit failures [consistent failure] #69386

Closed
gopherbot opened this issue Sep 10, 2024 · 5 comments
Closed

runtime: TestCgoToGoCallGoexit failures [consistent failure] #69386

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

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "runtime" && test == "TestCgoToGoCallGoexit"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1267578616/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 257.558698ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1267578616/testprogcgo.exe CgoToGoCallGoexit (1.71543ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.26s)

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 Sep 10, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime" && test == "TestCgoToGoCallGoexit"
2024-09-10 21:10 gotip-linux-amd64-nocgo go@3da4281d runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1267578616/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 257.558698ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1267578616/testprogcgo.exe CgoToGoCallGoexit (1.71543ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.26s)
2024-09-10 21:10 gotip-linux-ppc64_power10 go@3da4281d runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build3080300177/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 347.280024ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build3080300177/testprogcgo.exe CgoToGoCallGoexit (4.911057ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.35s)
2024-09-10 21:10 gotip-linux-ppc64_power8 go@3da4281d runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build704456849/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 719.998402ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build704456849/testprogcgo.exe CgoToGoCallGoexit (8.917854ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.73s)
2024-09-10 21:20 gotip-linux-amd64-nocgo go@fe69121b runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build4222754329/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 263.924692ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build4222754329/testprogcgo.exe CgoToGoCallGoexit (1.87791ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.27s)
2024-09-10 21:20 gotip-linux-ppc64_power10 go@fe69121b runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build3146846277/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 322.906523ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build3146846277/testprogcgo.exe CgoToGoCallGoexit (2.132535ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.33s)
2024-09-10 21:20 gotip-linux-ppc64_power8 go@fe69121b runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build2696559890/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 336.963234ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build2696559890/testprogcgo.exe CgoToGoCallGoexit (3.975977ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.34s)
2024-09-10 21:30 gotip-linux-amd64-nocgo go@d288776d runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1659021367/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 260.347603ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1659021367/testprogcgo.exe CgoToGoCallGoexit (1.646224ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.26s)
2024-09-10 21:30 gotip-linux-ppc64_power10 go@d288776d runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1233541650/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 365.80301ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1233541650/testprogcgo.exe CgoToGoCallGoexit (4.286836ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.37s)
2024-09-10 21:30 gotip-linux-ppc64_power8 go@d288776d runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build3237366311/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 404.629706ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build3237366311/testprogcgo.exe CgoToGoCallGoexit (19.736832ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.42s)
2024-09-10 21:43 gotip-linux-amd64-nocgo go@aef61555 runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1723097927/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 250.28059ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1723097927/testprogcgo.exe CgoToGoCallGoexit (1.781103ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.25s)
2024-09-10 21:43 gotip-linux-ppc64_power10 go@aef61555 runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build840903416/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 355.454649ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build840903416/testprogcgo.exe CgoToGoCallGoexit (2.951255ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.36s)
2024-09-10 21:43 gotip-linux-ppc64_power8 go@aef61555 runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build2095564558/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 294.930127ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build2095564558/testprogcgo.exe CgoToGoCallGoexit (3.662765ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.30s)
2024-09-10 21:49 gotip-linux-amd64-nocgo go@cdca6718 runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1179329493/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 290.884251ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1179329493/testprogcgo.exe CgoToGoCallGoexit (2.223846ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.29s)
2024-09-10 21:49 gotip-linux-ppc64_power10 go@cdca6718 runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1794291307/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 325.862035ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1794291307/testprogcgo.exe CgoToGoCallGoexit (2.179401ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.33s)
2024-09-10 21:49 gotip-linux-ppc64_power8 go@cdca6718 runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build3281846572/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 491.466265ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build3281846572/testprogcgo.exe CgoToGoCallGoexit (12.559651ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.50s)

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Sep 10, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime" && test == "TestCgoToGoCallGoexit"
2024-09-10 22:35 gotip-linux-amd64-nocgo go@8926ca9c runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1679107887/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 304.623301ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1679107887/testprogcgo.exe CgoToGoCallGoexit (2.20943ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.31s)
2024-09-10 22:35 gotip-linux-ppc64_power10 go@8926ca9c runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build2481674574/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 423.566052ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build2481674574/testprogcgo.exe CgoToGoCallGoexit (4.027346ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.43s)
2024-09-10 22:35 gotip-linux-ppc64_power8 go@8926ca9c runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build4239972016/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 605.4738ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build4239972016/testprogcgo.exe CgoToGoCallGoexit (3.261003ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.61s)
2024-09-10 22:38 gotip-linux-amd64-nocgo go@493517bb runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1956540882/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 274.539562ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1956540882/testprogcgo.exe CgoToGoCallGoexit (2.574811ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.28s)
2024-09-10 22:38 gotip-linux-ppc64_power10 go@493517bb runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build283097051/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 288.571947ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build283097051/testprogcgo.exe CgoToGoCallGoexit (1.925124ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.29s)
2024-09-10 22:38 gotip-linux-ppc64_power8 go@493517bb runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build4259616381/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 407.173916ms
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build4259616381/testprogcgo.exe CgoToGoCallGoexit (2.771289ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.41s)

watchflakes

@ianlancetaylor
Copy link
Member

ianlancetaylor commented Sep 11, 2024

Should be fixed by rollback CL 611919.

@ianlancetaylor ianlancetaylor closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime" && test == "TestCgoToGoCallGoexit"
2024-09-10 21:10 gotip-darwin-amd64-nocgo go@3da4281d runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /Users/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /Users/swarming/.swarming/w/ir/x/t/go-build2749772177/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 813.471501ms
    proc_test.go:1166: /Users/swarming/.swarming/w/ir/x/t/go-build2749772177/testprogcgo.exe CgoToGoCallGoexit (16.787676ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.83s)
2024-09-10 21:30 gotip-darwin-amd64-nocgo go@d288776d runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /Users/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /Users/swarming/.swarming/w/ir/x/t/go-build3693869764/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 709.733857ms
    proc_test.go:1166: /Users/swarming/.swarming/w/ir/x/t/go-build3693869764/testprogcgo.exe CgoToGoCallGoexit (16.584492ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (0.73s)
2024-09-10 22:38 gotip-darwin-amd64-nocgo go@493517bb runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /Users/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /Users/swarming/.swarming/w/ir/x/t/go-build2394721426/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 2.327875678s
    proc_test.go:1166: /Users/swarming/.swarming/w/ir/x/t/go-build2394721426/testprogcgo.exe CgoToGoCallGoexit (15.93681ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (2.34s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime" && test == "TestCgoToGoCallGoexit"
2024-09-10 22:38 gotip-linux-riscv64 go@493517bb runtime.TestCgoToGoCallGoexit (log)
=== RUN   TestCgoToGoCallGoexit
    crash_test.go:169: running /home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /home/swarming/.swarming/w/ir/x/t/go-build1449136571/testprogcgo.exe
    crash_test.go:191: built testprogcgo in 2.085866946s
    proc_test.go:1166: /home/swarming/.swarming/w/ir/x/t/go-build1449136571/testprogcgo.exe CgoToGoCallGoexit (7.799667ms): ok
    proc_test.go:1168: output should contain runtime.Goexit called in a thread that was not created by the Go runtime, got unknown function: CgoToGoCallGoexit
--- FAIL: TestCgoToGoCallGoexit (2.09s)

watchflakes

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. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Archived in project
Development

No branches or pull requests

2 participants