Skip to content

runtime: tests timing out #5025

Closed
Closed
@alberts

Description

@alberts
What steps will reproduce the problem?

go test -v -cpu 1,2,4 -timeout=30m

What do you see instead?

=== RUN TestSimpleDeadlock
panic: test timed out

goroutine 65 [running]:
testing.alarm()
    /build/go.tip/go/src/pkg/testing/testing.go:526 +0x53
created by time.goFunc
    /build/go.tip/go/src/pkg/time/sleep.go:122 +0x48

goroutine 1 [chan receive]:
testing.RunTests(0x644e20, 0x74bae0, 0x22, 0x22, 0x1, ...)
    /build/go.tip/go/src/pkg/testing/testing.go:427 +0x88e
testing.Main(0x644e20, 0x74bae0, 0x22, 0x22, 0x74d580, ...)
    /build/go.tip/go/src/pkg/testing/testing.go:358 +0x8a
main.main()
    runtime/_test/_testmain.go:251 +0x9a

goroutine 46 [syscall]:
syscall.Syscall6()
    /build/go.tip/go/src/pkg/syscall/asm_linux_amd64.s:41 +0x5
syscall.wait4(0x38e9, 0xc2000006f0, 0x0, 0xc200119240, 0x100000001, ...)
    /build/go.tip/go/src/pkg/syscall/zerrors_linux_amd64.go:1640 +0x7b
syscall.Wait4(0x38e9, 0x7f9eafe7eb44, 0x0, 0xc200119240, 0xc200114840, ...)
    /build/go.tip/go/src/pkg/syscall/syscall_linux.go:222 +0x6c
os.(*Process).wait(0xc20011a500, 0x0, 0x0, 0x0)
    /build/go.tip/go/src/pkg/os/exec_unix.go:22 +0xea
os.(*Process).Wait(0xc20011a500, 0xc200000668, 0x0, 0x0)
    /build/go.tip/go/src/pkg/os/doc.go:43 +0x25
os/exec.(*Cmd).Wait(0xc2000da8c0, 0x0, 0x0)
    /build/go.tip/go/src/pkg/os/exec/exec.go:308 +0x197
os/exec.(*Cmd).Run(0xc2000da8c0, 0xc2000c3cb0, 0xc200114840)
    /build/go.tip/go/src/pkg/os/exec/exec.go:232 +0x52
os/exec.(*Cmd).CombinedOutput(0xc2000da8c0, 0x2, 0x7f9eafe7edc0, 0x2, 0x2, ...)
    /build/go.tip/go/src/pkg/os/exec/exec.go:352 +0x20d
runtime_test.executeTest(0xc2000c2f30, 0x639b90, 0x29, 0x0, 0x0, ...)
    /build/go.tip/go/src/pkg/runtime/crash_test.go:40 +0x61f
runtime_test.testDeadlock(0xc2000c2f30, 0x639b90, 0x29)
    /build/go.tip/go/src/pkg/runtime/crash_test.go:71 +0x56
runtime_test.TestSimpleDeadlock(0xc2000c2f30)
    /build/go.tip/go/src/pkg/runtime/crash_test.go:79 +0x39
testing.tRunner(0xc2000c2f30, 0x74bba0)
    /build/go.tip/go/src/pkg/testing/testing.go:346 +0x8a
created by testing.RunTests
    /build/go.tip/go/src/pkg/testing/testing.go:426 +0x86b

goroutine 51 [finalizer wait]:

goroutine 49 [syscall]:
syscall.Syscall()
    /build/go.tip/go/src/pkg/syscall/asm_linux_amd64.s:16 +0x5
syscall.read(0x4, 0xc200112a00, 0x200, 0x200, 0x8, ...)
    /build/go.tip/go/src/pkg/syscall/zerrors_linux_amd64.go:2337 +0x70
syscall.Read(0x4, 0xc200112a00, 0x200, 0x200, 0x413b64, ...)
    /build/go.tip/go/src/pkg/syscall/syscall_unix.go:132 +0x5a
os.(*File).read(0xc200000698, 0xc200112a00, 0x200, 0x200, 0x569f80, ...)
    /build/go.tip/go/src/pkg/os/file_unix.go:174 +0x60
os.(*File).Read(0xc200000698, 0xc200112a00, 0x200, 0x200, 0x0, ...)
    /build/go.tip/go/src/pkg/os/file.go:95 +0x96
bytes.(*Buffer).ReadFrom(0xc2000c3cb0, 0xc2000c0d80, 0xc200000698, 0x0, 0x0, ...)
    /build/go.tip/go/src/pkg/bytes/buffer.go:166 +0x203
io.Copy(0xc2000c0ab0, 0xc2000c3cb0, 0xc2000c0d80, 0xc200000698, 0x0, ...)
    /build/go.tip/go/src/pkg/io/io.go:328 +0xa3
os/exec.func·003(0x639bb9, 0xc2000c3b60)
    /build/go.tip/go/src/pkg/os/exec/exec.go:207 +0x60
os/exec.func·004(0xc20011a240)
    /build/go.tip/go/src/pkg/os/exec/exec.go:274 +0x2a
created by os/exec.(*Cmd).Start
    /build/go.tip/go/src/pkg/os/exec/exec.go:275 +0x6ac
FAIL    runtime 1800.016s

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?

linux

Which version are you using?  (run 'go version')

go version devel +8377d19921c3 Sun Mar 10 16:32:00 2013 -0400 linux/amd64

Please provide any additional information below.

seems like a leftover from all the stuff I reported in issue #5007

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions