Skip to content

internal/coverage/cfile: TestCoverageApis/emitWithCounterClear failures #68423

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

Open
gopherbot opened this issue Jul 15, 2024 · 6 comments
Open
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "internal/coverage/cfile" && test == "TestCoverageApis/emitWithCounterClear"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCoverageApis/emitWithCounterClear
=== PAUSE TestCoverageApis/emitWithCounterClear
=== CONT  TestCoverageApis/emitWithCounterClear
    emitdata_test.go:166: running: C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\build1\harness.exe -tp emitWithCounterClear -o C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-edir-y with rdir=C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-rdir-y and GOCOVERDIR=false
    emitdata_test.go:178: running: go [tool covdata debugdump -live -pkg=command-line-arguments -i=C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-edir-y]
    emitdata_test.go:166: running: C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\build1\harness.exe -tp emitWithCounterClear -o C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-edir-x with rdir=C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-rdir-x and GOCOVERDIR=true
    emitdata_test.go:358: panic: runtime error: index out of range [27306] with length 27306
        
        goroutine 1 gp=0xc00005c000 m=0 mp=0x12185a0 [running]:
        panic({0x10b7120?, 0xc0000122d0?})
...
        runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        	C:/b/s/w/ir/x/w/goroot/src/runtime/proc.go:424 +0x24a fp=0xc000087e20 sp=0xc000087e00 pc=0xfe984a
        runtime.runfinq()
        	C:/b/s/w/ir/x/w/goroot/src/runtime/mfinal.go:193 +0x3f1 fp=0xc000087fe0 sp=0xc000087e20 pc=0xf2c571
        runtime.goexit({})
        	C:/b/s/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0xff5c01
        created by runtime.createfing in goroutine 1
        	C:/b/s/w/ir/x/w/goroot/src/runtime/mfinal.go:163 +0x86
    emitdata_test.go:359: running 'harness -tp emitWithCounterClear': exit status 2
--- FAIL: TestCoverageApis/emitWithCounterClear (0.27s)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 15, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/coverage/cfile" && test == "TestCoverageApis/emitWithCounterClear"
2024-06-05 20:48 gotip-windows-amd64-longtest go@d2909ec8 internal/coverage/cfile.TestCoverageApis/emitWithCounterClear (log)
=== RUN   TestCoverageApis/emitWithCounterClear
=== PAUSE TestCoverageApis/emitWithCounterClear
=== CONT  TestCoverageApis/emitWithCounterClear
    emitdata_test.go:166: running: C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\build1\harness.exe -tp emitWithCounterClear -o C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-edir-y with rdir=C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-rdir-y and GOCOVERDIR=false
    emitdata_test.go:178: running: go [tool covdata debugdump -live -pkg=command-line-arguments -i=C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-edir-y]
    emitdata_test.go:166: running: C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\build1\harness.exe -tp emitWithCounterClear -o C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-edir-x with rdir=C:\b\s\w\ir\x\t\TestCoverageApis1856977444\001\emitWithCounterClear-rdir-x and GOCOVERDIR=true
    emitdata_test.go:358: panic: runtime error: index out of range [27306] with length 27306
        
        goroutine 1 gp=0xc00005c000 m=0 mp=0x12185a0 [running]:
        panic({0x10b7120?, 0xc0000122d0?})
...
        runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        	C:/b/s/w/ir/x/w/goroot/src/runtime/proc.go:424 +0x24a fp=0xc000087e20 sp=0xc000087e00 pc=0xfe984a
        runtime.runfinq()
        	C:/b/s/w/ir/x/w/goroot/src/runtime/mfinal.go:193 +0x3f1 fp=0xc000087fe0 sp=0xc000087e20 pc=0xf2c571
        runtime.goexit({})
        	C:/b/s/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0xff5c01
        created by runtime.createfing in goroutine 1
        	C:/b/s/w/ir/x/w/goroot/src/runtime/mfinal.go:163 +0x86
    emitdata_test.go:359: running 'harness -tp emitWithCounterClear': exit status 2
--- FAIL: TestCoverageApis/emitWithCounterClear (0.27s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/coverage/cfile" && test == "TestCoverageApis/emitWithCounterClear"
2024-08-03 01:05 gotip-windows-amd64-longtest go@9cfe3a86 internal/coverage/cfile.TestCoverageApis/emitWithCounterClear (log)
=== RUN   TestCoverageApis/emitWithCounterClear
=== PAUSE TestCoverageApis/emitWithCounterClear
=== CONT  TestCoverageApis/emitWithCounterClear
    emitdata_test.go:166: running: C:\b\s\w\ir\x\t\TestCoverageApis3578493169\001\build1\harness.exe -tp emitWithCounterClear -o C:\b\s\w\ir\x\t\TestCoverageApis3578493169\001\emitWithCounterClear-edir-y with rdir=C:\b\s\w\ir\x\t\TestCoverageApis3578493169\001\emitWithCounterClear-rdir-y and GOCOVERDIR=false
    emitdata_test.go:178: running: go [tool covdata debugdump -live -pkg=command-line-arguments -i=C:\b\s\w\ir\x\t\TestCoverageApis3578493169\001\emitWithCounterClear-edir-y]
    emitdata_test.go:166: running: C:\b\s\w\ir\x\t\TestCoverageApis3578493169\001\build1\harness.exe -tp emitWithCounterClear -o C:\b\s\w\ir\x\t\TestCoverageApis3578493169\001\emitWithCounterClear-edir-x with rdir=C:\b\s\w\ir\x\t\TestCoverageApis3578493169\001\emitWithCounterClear-rdir-x and GOCOVERDIR=true
    emitdata_test.go:358: panic: runtime error: index out of range [27354] with length 27354
        
        goroutine 1 gp=0xc0000021c0 m=0 mp=0x11fa5a0 [running]:
        panic({0x1098240?, 0xc000148078?})
...
        runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        	C:/b/s/w/ir/x/w/goroot/src/runtime/proc.go:424 +0x24a fp=0xc000079e20 sp=0xc000079e00 pc=0xfca82a
        runtime.runfinq()
        	C:/b/s/w/ir/x/w/goroot/src/runtime/mfinal.go:193 +0x3f1 fp=0xc000079fe0 sp=0xc000079e20 pc=0xf0c551
        runtime.goexit({})
        	C:/b/s/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000079fe8 sp=0xc000079fe0 pc=0xfd6ce1
        created by runtime.createfing in goroutine 1
        	C:/b/s/w/ir/x/w/goroot/src/runtime/mfinal.go:163 +0x86
    emitdata_test.go:359: running 'harness -tp emitWithCounterClear': exit status 2
--- FAIL: TestCoverageApis/emitWithCounterClear (0.15s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/coverage/cfile" && test == "TestCoverageApis/emitWithCounterClear"
2025-03-05 00:37 gotip-linux-amd64-longtest go@a1889554 internal/coverage/cfile.TestCoverageApis/emitWithCounterClear (log)
=== RUN   TestCoverageApis/emitWithCounterClear
=== PAUSE TestCoverageApis/emitWithCounterClear
=== CONT  TestCoverageApis/emitWithCounterClear
    emitdata_test.go:162: running: /home/swarming/.swarming/w/ir/x/t/TestCoverageApis1799862414/001/build1/harness.exe -tp emitWithCounterClear -o /home/swarming/.swarming/w/ir/x/t/TestCoverageApis1799862414/001/emitWithCounterClear-edir-y with rdir=/home/swarming/.swarming/w/ir/x/t/TestCoverageApis1799862414/001/emitWithCounterClear-rdir-y and GOCOVERDIR=false
    emitdata_test.go:354: warning: GOCOVERDIR not set, no coverage data emitted
        panic: runtime error: index out of range [27834] with length 27834
        
        goroutine 1 gp=0xc000002380 m=0 mp=0x711160 [running]:
        panic({0x5adbc0?, 0xc00001a168?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x2c5 fp=0xc000076e28 sp=0xc000076d78 pc=0x4f65c5
...
        runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:435 +0x24a fp=0xc000063e30 sp=0xc000063e10 pc=0x4f6dca
        runtime.runfinq()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:197 +0x3ce fp=0xc000063fe0 sp=0xc000063e30 pc=0x43a58e
        runtime.goexit({})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1692 +0x1 fp=0xc000063fe8 sp=0xc000063fe0 pc=0x501581
        created by runtime.createfing in goroutine 1
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:167 +0x86
    emitdata_test.go:355: running 'harness -tp emitWithCounterClear': exit status 2
--- FAIL: TestCoverageApis/emitWithCounterClear (0.02s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/coverage/cfile" && test == "TestCoverageApis/emitWithCounterClear"
2025-03-12 18:44 gotip-linux-386-longtest go@a68bf75d internal/coverage/cfile.TestCoverageApis/emitWithCounterClear (log)
=== RUN   TestCoverageApis/emitWithCounterClear
=== PAUSE TestCoverageApis/emitWithCounterClear
=== CONT  TestCoverageApis/emitWithCounterClear
    emitdata_test.go:162: running: /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2784072270/001/build1/harness.exe -tp emitWithCounterClear -o /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2784072270/001/emitWithCounterClear-edir-y with rdir=/home/swarming/.swarming/w/ir/x/t/TestCoverageApis2784072270/001/emitWithCounterClear-rdir-y and GOCOVERDIR=false
    emitdata_test.go:354: warning: GOCOVERDIR not set, no coverage data emitted
        panic: runtime error: slice bounds out of range [12444:12429]
        
        goroutine 1 gp=0x9006128 m=0 mp=0x83975c0 [running]:
        panic({0x8246420, 0x9012360})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x349 fp=0x9062bac sp=0x9062b54 pc=0x8178e19
...
        runtime.gopark(0x825a494, 0x83a2e04, 0x10, 0xa, 0x1)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:458 +0x336 fp=0x9051f90 sp=0x9051f74 pc=0x8179786
        runtime.runfinq()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:197 +0x520 fp=0x9051ff0 sp=0x9051f90 pc=0x8093110
        runtime.goexit({})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_386.s:1386 +0x1 fp=0x9051ff4 sp=0x9051ff0 pc=0x8184731
        created by runtime.createfing in goroutine 1
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:167 +0xd2
    emitdata_test.go:355: running 'harness -tp emitWithCounterClear': exit status 2
--- FAIL: TestCoverageApis/emitWithCounterClear (0.04s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/coverage/cfile" && test == "TestCoverageApis/emitWithCounterClear"
2025-03-21 23:12 gotip-linux-arm64-longtest go@90031542 internal/coverage/cfile.TestCoverageApis/emitWithCounterClear (log)
=== RUN   TestCoverageApis/emitWithCounterClear
=== PAUSE TestCoverageApis/emitWithCounterClear
=== CONT  TestCoverageApis/emitWithCounterClear
    emitdata_test.go:162: running: /home/swarming/.swarming/w/ir/x/t/TestCoverageApis3871918626/001/build1/harness.exe -tp emitWithCounterClear -o /home/swarming/.swarming/w/ir/x/t/TestCoverageApis3871918626/001/emitWithCounterClear-edir-y with rdir=/home/swarming/.swarming/w/ir/x/t/TestCoverageApis3871918626/001/emitWithCounterClear-rdir-y and GOCOVERDIR=false
    emitdata_test.go:354: warning: GOCOVERDIR not set, no coverage data emitted
        panic: runtime error: index out of range [27914] with length 27914
        
        goroutine 1 gp=0x40000021c0 m=0 mp=0x42dbc0 [running]:
        panic({0x2b0b40?, 0x4000018168?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x574 fp=0x4000066e00 sp=0x4000066d50 pc=0x1aee14
...
        runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:458 +0x3a8 fp=0x400004e590 sp=0x400004e560 pc=0x1af908
        runtime.runfinq()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:197 +0x650 fp=0x400004e7d0 sp=0x400004e590 pc=0x6f290
        runtime.goexit({})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1266 +0x4 fp=0x400004e7d0 sp=0x400004e7d0 pc=0x1bec84
        created by runtime.createfing in goroutine 1
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:167 +0x128
    emitdata_test.go:355: running 'harness -tp emitWithCounterClear': exit status 2
--- FAIL: TestCoverageApis/emitWithCounterClear (0.02s)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/coverage/cfile" && test == "TestCoverageApis/emitWithCounterClear"
2025-05-12 19:50 gotip-darwin-arm64-longtest go@019d7987 internal/coverage/cfile.TestCoverageApis/emitWithCounterClear (log)
=== RUN   TestCoverageApis/emitWithCounterClear
=== PAUSE TestCoverageApis/emitWithCounterClear
=== CONT  TestCoverageApis/emitWithCounterClear
    emitdata_test.go:162: running: /Users/swarming/.swarming/w/ir/x/t/TestCoverageApis650814449/001/build1/harness.exe -tp emitWithCounterClear -o /Users/swarming/.swarming/w/ir/x/t/TestCoverageApis650814449/001/emitWithCounterClear-edir-y with rdir=/Users/swarming/.swarming/w/ir/x/t/TestCoverageApis650814449/001/emitWithCounterClear-rdir-y and GOCOVERDIR=false
    emitdata_test.go:354: warning: GOCOVERDIR not set, no coverage data emitted
        panic: runtime error: slice bounds out of range [:4294968323] with capacity 28546
        
        goroutine 1 gp=0x140000021c0 m=0 mp=0x1011bc840 [running]:
        panic({0x1010d5340?, 0x140000ae048?})
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x574 fp=0x14000056900 sp=0x14000056850 pc=0x100f33c84
...
        runtime.(*cleanupQueue).dequeue(0x1011bc280)
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mcleanup.go:416 +0xac fp=0x1400003e770 sp=0x1400003e730 pc=0x100deb35c
        runtime.runCleanups()
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mcleanup.go:576 +0xf0 fp=0x1400003e7d0 sp=0x1400003e770 pc=0x100ded240
        runtime.goexit({})
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1268 +0x4 fp=0x1400003e7d0 sp=0x1400003e7d0 pc=0x100f44334
        created by runtime.(*cleanupQueue).createGs in goroutine 1
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mcleanup.go:543 +0x490
    emitdata_test.go:355: running 'harness -tp emitWithCounterClear': exit status 2
--- FAIL: TestCoverageApis/emitWithCounterClear (0.01s)

watchflakes

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

No branches or pull requests

1 participant