Skip to content

profiler: test TestDeltaMutexProfile fails with Go 1.14beta1 #1761

@eclipseo

Description

@eclipseo

Environment
Fedora Rawhide, Go 1.14beta1, cloud 0.51 and 0.52

Code

cloud.google.com/go/profiler
--- FAIL: TestDeltaMutexProfile (2.04s)
    profiler_test.go:868: backgroundHog not in the delta mutex profile (sum=0):
        PeriodType: contentions count
        Period: 1
        Time: 2020-01-29 15:26:46.270877537 +0000 UTC
        Samples:
        contentions/count delay/nanoseconds
             793600  959566780: 1 2 
                700    2304313: 3 2 
        Locations
             1: 0x55dab3d9d580 M=1 sync.(*Mutex).Unlock /usr/lib/golang/src/sync/mutex.go:190 s=0
             2: 0x55dab3da3b28 M=1 cloud.google.com/go/profiler.hog.func1 /builddir/build/BUILD/google-cloud-go-0.52.0/_build/src/cloud.google.com/go/profiler/profiler_test.go:927 s=0
             3: 0x55dab3d9d55f M=1 sync.(*Mutex).Unlock /usr/lib/golang/src/sync/mutex.go:190 s=0
        Mappings
        1: 0x55dab360b000/0x55dab3da6000/0x4a7000 /tmp/go-build963720630/b001/profiler.test 0fdaed16e14eba5df21ec9643c4fce7ee94a99ed [FN]
FAIL
exit status 1
FAIL	cloud.google.com/go/profiler	12.574s

Started to fail on Go 1.14beta1, was working or Go 1.13.5.

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions