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/pprof: TestBlockProfile fails on windows #6975

Closed
alexbrainman opened this issue Dec 17, 2013 · 1 comment
Closed

runtime/pprof: TestBlockProfile fails on windows #6975

alexbrainman opened this issue Dec 17, 2013 · 1 comment

Comments

@alexbrainman
Copy link
Member

C:\>go test -short runtime/pprof
--- FAIL: TestBlockProfile (0.20 seconds)
        pprof_test.go:332: Bad chan recv entry, expect:

                [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-
f]+ 0x[0-9,a-f]+
                #       0x[0-9,a-f]+    runtime\.chanrecv1\+0x[0-9,a-f]+
.*/src/pkg/runtime/chan.c:[0-9]+
                #       0x[0-9,a-f]+    runtime/pprof_test\.blockChanRecv\+0x[0-
9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+
                #       0x[0-9,a-f]+    runtime/pprof_test\.TestBlockProfile\+0x
[0-9,a-f]+      .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+

                got:
                --- contention:
                cycles/second=2311091883
                28215648 1 @ 0x4584fd 0x43577a 0x434e91 0x42edd7 0x416a70
                #       0x4584fd        sync.(*Mutex).Lock+0xcd
        C:\go\root\src\pkg\sync\mutex.go:66
                #       0x43577a        runtime/pprof_test.blockMutex+0x6a
        c:\go\root\src\pkg\runtime\pprof\pprof_test.go:399
                #       0x434e91        runtime/pprof_test.TestBlockProfile+0x12
1       c:\go\root\src\pkg\runtime\pprof\pprof_test.go:320
                #       0x42edd7        testing.tRunner+0x87
        C:\go\root\src\pkg\testing\testing.go:391

                21807162 1 @ 0x40512f 0x4355df 0x434e91 0x42edd7 0x416a70
                #       0x40512f        runtime.selectgo+0xf
        C:\go\root\src\pkg\runtime\chan.c:840
                #       0x4355df        runtime/pprof_test.blockSelectRecvAsync+
0x10f   c:\go\root\src\pkg\runtime\pprof\pprof_test.go:373
                #       0x434e91        runtime/pprof_test.TestBlockProfile+0x12
1       c:\go\root\src\pkg\runtime\pprof\pprof_test.go:320
                #       0x42edd7        testing.tRunner+0x87
        C:\go\root\src\pkg\testing\testing.go:391

                12994587 1 @ 0x404b4f 0x4354c2 0x434e91 0x42edd7 0x416a70
                #       0x404b4f        runtime.chanrecv1+0x2f
        C:\go\root\src\pkg\runtime\chan.c:446
                #       0x4354c2        runtime/pprof_test.blockChanClose+0x92
        c:\go\root\src\pkg\runtime\pprof\pprof_test.go:363
                #       0x434e91        runtime/pprof_test.TestBlockProfile+0x12
1       c:\go\root\src\pkg\runtime\pprof\pprof_test.go:320
                #       0x42edd7        testing.tRunner+0x87
        C:\go\root\src\pkg\testing\testing.go:391

                12217131 1 @ 0x40512f 0x435708 0x434e91 0x42edd7 0x416a70
                #       0x40512f        runtime.selectgo+0xf
        C:\go\root\src\pkg\runtime\chan.c:840
                #       0x435708        runtime/pprof_test.blockSelectSendSync+0
x118    c:\go\root\src\pkg\runtime\pprof\pprof_test.go:386
                #       0x434e91        runtime/pprof_test.TestBlockProfile+0x12
1       c:\go\root\src\pkg\runtime\pprof\pprof_test.go:320
                #       0x42edd7        testing.tRunner+0x87
        C:\go\root\src\pkg\testing\testing.go:391

                11915568 1 @ 0x404b0f 0x435427 0x434e91 0x42edd7 0x416a70
                #       0x404b0f        runtime.chansend1+0x3f
        C:\go\root\src\pkg\runtime\chan.c:438
                #       0x435427        runtime/pprof_test.blockChanSend+0x97
        c:\go\root\src\pkg\runtime\pprof\pprof_test.go:354
                #       0x434e91        runtime/pprof_test.TestBlockProfile+0x12
1       c:\go\root\src\pkg\runtime\pprof\pprof_test.go:320
                #       0x42edd7        testing.tRunner+0x87
        C:\go\root\src\pkg\testing\testing.go:391

                10845774 1 @ 0x404b4f 0x435382 0x434e91 0x42edd7 0x416a70
                #       0x404b4f        runtime.chanrecv1+0x2f
        C:\go\root\src\pkg\runtime\chan.c:446
                #       0x435382        runtime/pprof_test.blockChanRecv+0x92
        c:\go\root\src\pkg\runtime\pprof\pprof_test.go:345
                #       0x434e91        runtime/pprof_test.TestBlockProfile+0x12
1       c:\go\root\src\pkg\runtime\pprof\pprof_test.go:320
                #       0x42edd7        testing.tRunner+0x87
        C:\go\root\src\pkg\testing\testing.go:391

FAIL
FAIL    runtime/pprof   6.813s

C:\>hg id
8ef815dd2770+ tip

C:\>
@minux
Copy link
Member

minux commented Dec 18, 2013

Comment 1:

This issue was closed by revision 8ce584c.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants