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

cmd/pprof: TestDisasm failures #56574

Open
gopherbot opened this issue Nov 4, 2022 · 8 comments
Open

cmd/pprof: TestDisasm failures #56574

gopherbot opened this issue Nov 4, 2022 · 8 comments
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Nov 4, 2022

#!watchflakes
post <- pkg == "cmd/pprof" && test == "TestDisasm"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestDisasm (1.41s)
    pprof_test.go:118: pprof failed: exit status 2
        no matches found for regexp: main.main

watchflakes

@gopherbot gopherbot added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. compiler/runtime Issues related to the Go compiler and/or runtime. labels Nov 4, 2022
@gopherbot
Copy link
Author

gopherbot commented Nov 4, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/pprof" && test == "TestDisasm"
2022-10-24 16:31 linux-arm64 go@65f86352 cmd/pprof.TestDisasm (log)
--- FAIL: TestDisasm (1.41s)
    pprof_test.go:118: pprof failed: exit status 2
        no matches found for regexp: main.main
2022-11-03 19:34 linux-arm64 go@3511c822 cmd/pprof.TestDisasm (log)
--- FAIL: TestDisasm (1.42s)
    pprof_test.go:118: pprof failed: exit status 2
        no matches found for regexp: main.main
2022-11-04 14:19 linux-arm64 go@7ddbadb3 cmd/pprof.TestDisasm (log)
--- FAIL: TestDisasm (1.41s)
    pprof_test.go:118: pprof failed: exit status 2
        no matches found for regexp: main.main

watchflakes

@cherrymui cherrymui self-assigned this Nov 7, 2022
@cherrymui
Copy link
Member

cherrymui commented Nov 7, 2022

This seems on the new linux-arm64 builder (#53851). @cagedmantis do you think the new builder is stable and reliable, or there is still some issue? Thanks.

@cagedmantis
Copy link
Contributor

cagedmantis commented Nov 8, 2022

@cherrymui The builder should be stable and reliable enough where any issue should be investigated.

@mknyszek mknyszek added this to the Go1.20 milestone Nov 9, 2022
@gopherbot
Copy link
Author

gopherbot commented Nov 14, 2022

Change https://go.dev/cl/450281 mentions this issue: cmd/pprof: debug TestDisasm

gopherbot pushed a commit that referenced this issue Nov 15, 2022
If pprof -disasm fails, print the profile content for debugging.

For #56574.

Change-Id: I5d9377b7fb80f6b85317bc53f3ebb18f70c2f06d
Reviewed-on: https://go-review.googlesource.com/c/go/+/450281
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
@gopherbot
Copy link
Author

gopherbot commented Nov 17, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/pprof" && test == "TestDisasm"
2022-11-15 00:02 linux-arm64 go@e6ebbefa cmd/pprof.TestDisasm (log)
--- FAIL: TestDisasm (1.41s)
    pprof_test.go:118: pprof failed: exit status 2
        no matches found for regexp: main.main

watchflakes

@cherrymui
Copy link
Member

cherrymui commented Nov 17, 2022

Unfortunately the failure on 11-15 is still before my debugging CL landed. We'll see if we can get some information if a new failure occurs.

@gopherbot
Copy link
Author

gopherbot commented Nov 21, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/pprof" && test == "TestDisasm"
2022-11-17 17:24 linux-arm64 go@5c834a2e cmd/pprof.TestDisasm (log)
--- FAIL: TestDisasm (1.43s)
    pprof_test.go:110: pprof -disasm failed: exit status 2
        no matches found for regexp: main.main
    pprof_test.go:118: profile content:
        PeriodType: cpu nanoseconds
        Period: 10000000
        Time: 2022-11-17 17:34:46.01668506 +0000 UTC
        Duration: 1.10
        Samples:
        samples/count cpu/nanoseconds
                 97  970000000: 1 
                  1   10000000: 2 
        Locations
             1: 0x6fa94 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:377 s=311
             2: 0x6fa98 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:378 s=311
        Mappings
        1: 0x10000/0xb8000/0x0 /tmp/workdir/tmp/TestDisasm2297534319/001/cpu.exe  [FN]
2022-11-17 21:15 linux-arm64 go@1f4394a0 cmd/pprof.TestDisasm (log)
--- FAIL: TestDisasm (1.50s)
    pprof_test.go:110: pprof -disasm failed: exit status 2
        no matches found for regexp: main.main
    pprof_test.go:118: profile content:
        PeriodType: cpu nanoseconds
        Period: 10000000
        Time: 2022-11-17 21:25:17.962118619 +0000 UTC
        Duration: 1.10
        Samples:
        samples/count cpu/nanoseconds
                 93  930000000: 1 
                  2   20000000: 2 
                  1   10000000: 3 
                  1   10000000: 4 
                  1   10000000: 5 
        Locations
             1: 0x6fa94 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:377 s=311
             2: 0x6fa98 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:378 s=311
             3: 0x6fa30 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:333 s=311
             4: 0x6fa08 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:320 s=311
             5: 0x6fa28 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:330 s=311
        Mappings
        1: 0x10000/0xb8000/0x0 /tmp/workdir/tmp/TestDisasm4084982061/001/cpu.exe  [FN]

watchflakes

@gopherbot
Copy link
Author

gopherbot commented Nov 21, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/pprof" && test == "TestDisasm"
2022-11-18 17:59 linux-arm64 go@b2faff18 cmd/pprof.TestDisasm (log)
--- FAIL: TestDisasm (1.42s)
    pprof_test.go:110: pprof -disasm failed: exit status 2
        no matches found for regexp: main.main
    pprof_test.go:118: profile content:
        PeriodType: cpu nanoseconds
        Period: 10000000
        Time: 2022-11-18 18:09:26.035842499 +0000 UTC
        Duration: 1.10
        Samples:
        samples/count cpu/nanoseconds
                 94  940000000: 1 
                  1   10000000: 2 
                  1   10000000: 3 
                  2   20000000: 4 
                  1   10000000: 5 
                  1   10000000: 6 
        Locations
             1: 0x6f974 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:377 s=311
             2: 0x6f8d8 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:311 s=311
             3: 0x6f984 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:387 s=311
             4: 0x6f978 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:378 s=311
             5: 0x6f8ec M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:321 s=311
             6: 0x6f8e8 M=1 runtime.nanotime1 /tmp/workdir/go/src/runtime/sys_linux_arm64.s:320 s=311
        Mappings
        1: 0x10000/0xb8000/0x0 /tmp/workdir/tmp/TestDisasm2137471865/001/cpu.exe  [FN]

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: Todo
Status: No status
Development

No branches or pull requests

4 participants