-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: tests timing out #5025
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
Labels
Milestone
Comments
Labels changed: added priority-soon, go1.1, removed priority-triage. Owner changed to @dvyukov. |
I'll try to reproduce. I hit this flakiness in the mean time: --- FAIL: TestStackMem-256 (2.97 seconds) stack_test.go:1574: Consumed 9MB for stack mem stack_test.go:1580: Stack inuse: want 4194304, got 5345280 --- FAIL: TestStackMem-256 (3.26 seconds) stack_test.go:1574: Consumed 9MB for stack mem stack_test.go:1580: Stack inuse: want 4194304, got 5337088 It would help to fix it, since it will make other failures easier to hit. script: #!/bin/bash set -xe go test -c runtime while true; do go version date GOMAXPROCS=$[ 1 + $[ RANDOM % 512 ]] ./runtime.test -test.v -test.timeout=1000m done go version: go version devel +6415ff684316 Sun Mar 10 19:07:16 2013 -0700 linux/amd64 |
It might be worth poking at issue #5005 while I track this down. |
this triggered it after about 3 hours: #!/bin/bash set -xe go test -c runtime while true; do go version date GOMAXPROCS=16 go test runtime -test.v -test.timeout=5000m -test.cpu 1,2,4 || true done Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 7169 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) thread apply all bt Thread 1 (process 7169): #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x000000000040dc8f in stopm () at /build/go/go/src/pkg/runtime/proc.c:791 #4 0x000000000040e2c3 in gcstopm () at /build/go/go/src/pkg/runtime/proc.c:952 #5 0x000000000040e3f6 in findrunnable () at /build/go/go/src/pkg/runtime/proc.c:992 #6 0x000000000040e76d in schedule () at /build/go/go/src/pkg/runtime/proc.c:1083 #7 0x000000000040eb77 in goexit0 (gp=void) at /build/go/go/src/pkg/runtime/proc.c:1183 #8 0x00000000004176d9 in runtime.mcall (fn=void) at /build/go/go/src/pkg/runtime/asm_amd64.s:182 #9 0x0000000000441320 in runtime.g0 () #10 0x00000000004175aa in _rt0_amd64 () at /build/go/go/src/pkg/runtime/asm_amd64.s:73 #11 0x0000000000000001 in ?? () #12 0x00007fffe30a8c88 in ?? () #13 0x0000000000000001 in ?? () #14 0x00007fffe30a8c88 in ?? () #15 0x0000000000000000 in ?? () parent process is stuck at: === RUN TestGoexitDeadlock go version devel +6415ff684316 Sun Mar 10 19:07:16 2013 -0700 linux/amd64 |
Here we go. I hope I got all of them... $ ls -l /proc/7169/task total 0 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 11244 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 12497 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 13297 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 13332 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 7169 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 7170 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 7171 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 7172 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 7381 dr-xr-xr-x 6 alberts users 0 Mar 11 16:11 9355 Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 7170 warning: process 7170 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x0000000000410101 in sysmon () at /build/go/go/src/pkg/runtime/proc.c:1939 #4 0x000000000040d7b2 in runtime.mstart () at /build/go/go/src/pkg/runtime/proc.c:482 #5 0x0000000000417ec7 in runtime.clone () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:307 #6 0x0000000000000000 in ?? () Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 7171 warning: process 7171 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x000000000040423f in runtime.notetsleep (n=void, ns=void) at /build/go/go/src/pkg/runtime/lock_futex.c:147 #3 0x000000000040a83e in runtime.MHeap_Scavenger () at /build/go/go/src/pkg/runtime/mheap.c:432 #4 0x000000000040ea50 in ?? () at /build/go/go/src/pkg/runtime/proc.c:1155 #5 0x0000000000000000 in ?? () Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 7172 warning: process 7172 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x000000000040dc8f in stopm () at /build/go/go/src/pkg/runtime/proc.c:791 #4 0x000000000040e685 in findrunnable () at /build/go/go/src/pkg/runtime/proc.c:1061 #5 0x000000000040e76d in schedule () at /build/go/go/src/pkg/runtime/proc.c:1083 #6 0x000000000040eb77 in goexit0 (gp=void) at /build/go/go/src/pkg/runtime/proc.c:1183 #7 0x00000000004176d9 in runtime.mcall (fn=void) at /build/go/go/src/pkg/runtime/asm_amd64.s:182 #8 0x000000c20001d0a0 in ?? () #9 0x0000000000000000 in ?? () Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 7381 warning: process 7381 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x000000000040dc8f in stopm () at /build/go/go/src/pkg/runtime/proc.c:791 #4 0x000000000040e685 in findrunnable () at /build/go/go/src/pkg/runtime/proc.c:1061 #5 0x000000000040e76d in schedule () at /build/go/go/src/pkg/runtime/proc.c:1083 #6 0x000000000040eb77 in goexit0 (gp=void) at /build/go/go/src/pkg/runtime/proc.c:1183 #7 0x00000000004176d9 in runtime.mcall (fn=void) at /build/go/go/src/pkg/runtime/asm_amd64.s:182 #8 0x000000c20000fc20 in ?? () #9 0x0000000000000000 in ?? () Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 9355 warning: process 9355 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x000000000040dc8f in stopm () at /build/go/go/src/pkg/runtime/proc.c:791 #4 0x000000000040e2c3 in gcstopm () at /build/go/go/src/pkg/runtime/proc.c:952 #5 0x000000000040e3f6 in findrunnable () at /build/go/go/src/pkg/runtime/proc.c:992 #6 0x000000000040e76d in schedule () at /build/go/go/src/pkg/runtime/proc.c:1083 #7 0x000000000040eb77 in goexit0 (gp=void) at /build/go/go/src/pkg/runtime/proc.c:1183 #8 0x00000000004176d9 in runtime.mcall (fn=void) at /build/go/go/src/pkg/runtime/asm_amd64.s:182 #9 0x000000c20000fe20 in ?? () #10 0x0000000000000000 in ?? () Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 11244 warning: process 11244 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x000000000040dc8f in stopm () at /build/go/go/src/pkg/runtime/proc.c:791 #4 0x000000000040e685 in findrunnable () at /build/go/go/src/pkg/runtime/proc.c:1061 #5 0x000000000040e76d in schedule () at /build/go/go/src/pkg/runtime/proc.c:1083 #6 0x000000000040eb77 in goexit0 (gp=void) at /build/go/go/src/pkg/runtime/proc.c:1183 #7 0x00000000004176d9 in runtime.mcall (fn=void) at /build/go/go/src/pkg/runtime/asm_amd64.s:182 #8 0x000000c200075020 in ?? () #9 0x0000000000000000 in ?? () Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 12497 warning: process 12497 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x000000000040dc8f in stopm () at /build/go/go/src/pkg/runtime/proc.c:791 #4 0x000000000040e685 in findrunnable () at /build/go/go/src/pkg/runtime/proc.c:1061 #5 0x000000000040e76d in schedule () at /build/go/go/src/pkg/runtime/proc.c:1083 #6 0x000000000040eb77 in goexit0 (gp=void) at /build/go/go/src/pkg/runtime/proc.c:1183 #7 0x00000000004176d9 in runtime.mcall (fn=void) at /build/go/go/src/pkg/runtime/asm_amd64.s:182 #8 0x000000c200075220 in ?? () #9 0x0000000000000000 in ?? () Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 13297 warning: process 13297 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x000000000040dc8f in stopm () at /build/go/go/src/pkg/runtime/proc.c:791 #4 0x000000000040e2c3 in gcstopm () at /build/go/go/src/pkg/runtime/proc.c:952 #5 0x000000000040e3f6 in findrunnable () at /build/go/go/src/pkg/runtime/proc.c:992 #6 0x000000000040e76d in schedule () at /build/go/go/src/pkg/runtime/proc.c:1083 #7 0x000000000040eb77 in goexit0 (gp=void) at /build/go/go/src/pkg/runtime/proc.c:1183 #8 0x00000000004176d9 in runtime.mcall (fn=void) at /build/go/go/src/pkg/runtime/asm_amd64.s:182 #9 0x000000c200075420 in ?? () #10 0x0000000000000000 in ?? () Attaching to program: /tmp/go-build227511012/command-line-arguments/_obj/exe/main, process 13332 warning: process 13332 is a cloned process runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 267 RET Loading Go Runtime support. (gdb) bt #0 runtime.futex () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:267 #1 0x00000000004134e9 in runtime.futexsleep (addr=void, val=void, ns=void) at /build/go/go/src/pkg/runtime/thread_linux.c:62 #2 0x0000000000404179 in runtime.notesleep (n=void) at /build/go/go/src/pkg/runtime/lock_futex.c:125 #3 0x000000000040dc8f in stopm () at /build/go/go/src/pkg/runtime/proc.c:791 #4 0x000000000040e2c3 in gcstopm () at /build/go/go/src/pkg/runtime/proc.c:952 #5 0x000000000040e3f6 in findrunnable () at /build/go/go/src/pkg/runtime/proc.c:992 #6 0x000000000040e76d in schedule () at /build/go/go/src/pkg/runtime/proc.c:1083 #7 0x000000000040d7e3 in runtime.mstart () at /build/go/go/src/pkg/runtime/proc.c:491 #8 0x0000000000417ec7 in runtime.clone () at /build/go/go/src/pkg/runtime/sys_linux_amd64.s:307 #9 0x0000000000000000 in ?? () |
This issue was closed by revision 6ee739d. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: