Skip to content

net/http: test failures on linux/386 #5005

Closed
@alberts

Description

@alberts
What steps will reproduce the problem?

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

What do you see instead?

--- FAIL: TestStressSurpriseServerCloses-4 (38.60 seconds)
transport_test.go:447: presumed deadlock; no HTTP client activity seen in awhile

--- FAIL: TestGoroutinesRunning-4 (0.00 seconds)
    z_last_test.go:19: num goroutines = 40
    z_last_test.go:26: Too many goroutines:
        goroutine 132795 [running]:
        net/http_test.TestGoroutinesRunning(0x197f9180)
            /build/go.386/go/src/pkg/net/http/z_last_test.go:25 +0xed
        testing.tRunner(0x197f9180, 0x8435c10)
            /build/go.386/go/src/pkg/testing/testing.go:346 +0x87
        created by testing.RunTests
            /build/go.386/go/src/pkg/testing/testing.go:426 +0x684
        
        goroutine 1 [chan receive]:
        testing.RunTests(0x82ec398, 0x8435520, 0x95, 0x95, 0x185b3700, ...)
            /build/go.386/go/src/pkg/testing/testing.go:427 +0x69f
        testing.Main(0x82ec398, 0x8435520, 0x95, 0x95, 0x84309a0, ...)
            /build/go.386/go/src/pkg/testing/testing.go:358 +0x69
        main.main()
            net/http/_test/_testmain.go:361 +0x81
        
        goroutine 2 [syscall]:
        
        goroutine 37 [syscall]:
        syscall.Syscall6()
            /build/go.386/go/src/pkg/syscall/asm_linux_386.s:39 +0x5
        syscall.EpollWait(0x7, 0x185a20a8, 0xa, 0xa, 0xffffffff, ...)
            /build/go.386/go/src/pkg/syscall/zerrors_linux_386.go:1871 +0x7b
        net.(*pollster).WaitFD(0x185a20a0, 0x18626040, 0x0, 0x0, 0x0, ...)
            /build/go.386/go/src/pkg/net/fd_linux.go:151 +0x118
        net.(*pollServer).Run(0x18626040)
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:206 +0x138
        created by net.newPollServer
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:55 +0x269
        
        goroutine 255 [finalizer wait]:
        
        goroutine 105289 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 51089 [syscall]:
        syscall.Syscall6()
            /build/go.386/go/src/pkg/syscall/asm_linux_386.s:39 +0x5
        syscall.EpollWait(0xf, 0x18ee1788, 0xa, 0xa, 0xffffffff, ...)
            /build/go.386/go/src/pkg/syscall/zerrors_linux_386.go:1871 +0x7b
        net.(*pollster).WaitFD(0x18ee1780, 0x19dcd0a0, 0x0, 0x0, 0x0, ...)
            /build/go.386/go/src/pkg/net/fd_linux.go:151 +0x118
        net.(*pollServer).Run(0x19dcd0a0)
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:206 +0x138
        created by net.newPollServer
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:55 +0x269
        
        goroutine 105267 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105233 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 51099 [syscall]:
        syscall.Syscall6()
            /build/go.386/go/src/pkg/syscall/asm_linux_386.s:39 +0x5
        syscall.EpollWait(0x18, 0x197a20a8, 0xa, 0xa, 0xffffffff, ...)
            /build/go.386/go/src/pkg/syscall/zerrors_linux_386.go:1871 +0x7b
        net.(*pollster).WaitFD(0x197a20a0, 0x19dcdf80, 0x0, 0x0, 0xffffffff, ...)
            /build/go.386/go/src/pkg/net/fd_linux.go:151 +0x118
        net.(*pollServer).Run(0x19dcdf80)
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:206 +0x138
        created by net.newPollServer
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:55 +0x269
        
        goroutine 105238 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 51097 [syscall]:
        syscall.Syscall6()
            /build/go.386/go/src/pkg/syscall/asm_linux_386.s:39 +0x5
        syscall.EpollWait(0x17, 0x19d52008, 0xa, 0xa, 0xffffffff, ...)
            /build/go.386/go/src/pkg/syscall/zerrors_linux_386.go:1871 +0x7b
        net.(*pollster).WaitFD(0x19d52000, 0x19d72840, 0x0, 0x0, 0x0, ...)
            /build/go.386/go/src/pkg/net/fd_linux.go:151 +0x118
        net.(*pollServer).Run(0x19d72840)
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:206 +0x138
        created by net.newPollServer
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:55 +0x269
        
        goroutine 105236 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105263 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105243 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 51106 [syscall]:
        syscall.Syscall6()
            /build/go.386/go/src/pkg/syscall/asm_linux_386.s:39 +0x5
        syscall.EpollWait(0x20, 0x197a21e8, 0xa, 0xa, 0xffffffff, ...)
            /build/go.386/go/src/pkg/syscall/zerrors_linux_386.go:1871 +0x7b
        net.(*pollster).WaitFD(0x197a21e0, 0x19d72b40, 0x0, 0x0, 0x0, ...)
            /build/go.386/go/src/pkg/net/fd_linux.go:151 +0x118
        net.(*pollServer).Run(0x19d72b40)
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:206 +0x138
        created by net.newPollServer
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:55 +0x269
        
        goroutine 105285 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105281 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105247 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 51043 [syscall]:
        syscall.Syscall6()
            /build/go.386/go/src/pkg/syscall/asm_linux_386.s:39 +0x5
        syscall.EpollWait(0xa, 0x18ee1648, 0xa, 0xa, 0xffffffff, ...)
            /build/go.386/go/src/pkg/syscall/zerrors_linux_386.go:1871 +0x7b
        net.(*pollster).WaitFD(0x18ee1640, 0x19e1ede0, 0x0, 0x0, 0x0, ...)
            /build/go.386/go/src/pkg/net/fd_linux.go:151 +0x118
        net.(*pollServer).Run(0x19e1ede0)
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:206 +0x138
        created by net.newPollServer
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:55 +0x269
        
        goroutine 105252 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105260 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105234 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 51116 [syscall]:
        syscall.Syscall6()
            /build/go.386/go/src/pkg/syscall/asm_linux_386.s:39 +0x5
        syscall.EpollWait(0x29, 0x18ee1828, 0xa, 0xa, 0xffffffff, ...)
            /build/go.386/go/src/pkg/syscall/zerrors_linux_386.go:1871 +0x7b
        net.(*pollster).WaitFD(0x18ee1820, 0x19d105c0, 0x0, 0x0, 0x0, ...)
            /build/go.386/go/src/pkg/net/fd_linux.go:151 +0x118
        net.(*pollServer).Run(0x19d105c0)
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:206 +0x138
        created by net.newPollServer
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:55 +0x269
        
        goroutine 51123 [syscall]:
        syscall.Syscall6()
            /build/go.386/go/src/pkg/syscall/asm_linux_386.s:39 +0x5
        syscall.EpollWait(0x33, 0x18fa5008, 0xa, 0xa, 0xffffffff, ...)
            /build/go.386/go/src/pkg/syscall/zerrors_linux_386.go:1871 +0x7b
        net.(*pollster).WaitFD(0x18fa5000, 0x19c9e0e0, 0x0, 0x0, 0x0, ...)
            /build/go.386/go/src/pkg/net/fd_linux.go:151 +0x118
        net.(*pollServer).Run(0x19c9e0e0)
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:206 +0x138
        created by net.newPollServer
            /build/go.386/go/src/pkg/net/fd_poll_unix.go:55 +0x269
        
        goroutine 105241 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105240 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105258 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105266 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105269 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105288 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105237 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105268 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105261 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105286 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105283 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105271 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
        
        goroutine 105257 [chan send]:
        net/http_test.func·097()
            /build/go.386/go/src/pkg/net/http/transport_test.go:437 +0x93
        created by net/http_test.TestStressSurpriseServerCloses
            /build/go.386/go/src/pkg/net/http/transport_test.go:439 +0x209
FAIL
FAIL    net/http    109.792s

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

8g

Which operating system are you using?

linux

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

go version devel +ed48ace1855b Thu Mar 07 20:11:37 2013 -0800 linux/386

Please provide any additional information below.

Haven't seen these on linux/amd64 before.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions