Skip to content

runtime/pprof: block profile test is flaky on builders #6114

@dvyukov

Description

@dvyukov
Currently observed only on linux/arm and netbsd/arm:
http://build.golang.org/log/85e18a65c0f1489a9fa56a4a62c5c4f686cf7852
http://build.golang.org/log/57eb8c7e2d3a85925b2691b4d5c648c1eae9266b
http://build.golang.org/log/74e4aabf174b4c5ac5fac6150f58ef567c9f7845

The profiles are completely empty:

    pprof_test.go:174: Bad chan 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/pprof_test\.produceChanContention\+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=999990014
FAIL
FAIL    runtime/pprof   10.826s

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions