Skip to content

internal/coverage/cfile: TestCoverageApis/emitToNonexistentDir failures #70687

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 Dec 4, 2024 · 1 comment
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/emitToNonexistentDir"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCoverageApis/emitToNonexistentDir
=== PAUSE TestCoverageApis/emitToNonexistentDir
=== CONT  TestCoverageApis/emitToNonexistentDir
    emitdata_test.go:166: running: /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/build1/harness.exe -tp emitToNonexistentDir -o /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/emitToNonexistentDir-edir-y with rdir=/home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/emitToNonexistentDir-rdir-y and GOCOVERDIR=false
    emitdata_test.go:166: running: /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/build1/harness.exe -tp emitToNonexistentDir -o /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/emitToNonexistentDir-edir-x with rdir=/home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/emitToNonexistentDir-rdir-x and GOCOVERDIR=true
    emitdata_test.go:293: I run last.
        
        internal error in coverage meta-data tracking:
        encountered bad pkgID: 0  at slot: 3420  fnID: 6  numCtrs: 1
        list of hard-coded runtime package IDs needs revising.
...
        fatal error: exit hook invoked panic
        
        goroutine 1 gp=0xc000004380 m=0 mp=0x70e140 [running]:
        runtime.throw({0x5b98cd?, 0xc000004380?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1099 +0x92 fp=0xc0000768c0 sp=0xc000076890 pc=0x4e4e72
        internal/runtime/exithook.Run.func1()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/exithook/hooks.go:69 +0x55 fp=0xc0000768e0 sp=0xc0000768c0 pc=0x503795
        panic({0x5ab3e0?, 0xc0001d0030?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:787 +0x202 fp=0xc000076990 sp=0xc0000768e0 pc=0x4e48c2
        runtime.goPanicSliceAcap(0x10000623d, 0x6c42)
...
        runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:435 +0x24a fp=0xc00005e630 sp=0xc00005e610 pc=0x4e518a
        runtime.runfinq()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:196 +0x3ce fp=0xc00005e7e0 sp=0xc00005e630 pc=0x4288ee
        runtime.goexit({})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc00005e7e8 sp=0xc00005e7e0 pc=0x4eee01
        created by runtime.createfing in goroutine 1
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:166 +0x86
    emitdata_test.go:294: running 'harness -tp emitToNonexistentDir': exit status 2
--- FAIL: TestCoverageApis/emitToNonexistentDir (0.05s)

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 Dec 4, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/coverage/cfile" && test == "TestCoverageApis/emitToNonexistentDir"
2024-12-04 22:20 gotip-linux-amd64-longtest-aliastypeparams go@795d95d6 internal/coverage/cfile.TestCoverageApis/emitToNonexistentDir (log)
=== RUN   TestCoverageApis/emitToNonexistentDir
=== PAUSE TestCoverageApis/emitToNonexistentDir
=== CONT  TestCoverageApis/emitToNonexistentDir
    emitdata_test.go:166: running: /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/build1/harness.exe -tp emitToNonexistentDir -o /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/emitToNonexistentDir-edir-y with rdir=/home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/emitToNonexistentDir-rdir-y and GOCOVERDIR=false
    emitdata_test.go:166: running: /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/build1/harness.exe -tp emitToNonexistentDir -o /home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/emitToNonexistentDir-edir-x with rdir=/home/swarming/.swarming/w/ir/x/t/TestCoverageApis2155603058/001/emitToNonexistentDir-rdir-x and GOCOVERDIR=true
    emitdata_test.go:293: I run last.
        
        internal error in coverage meta-data tracking:
        encountered bad pkgID: 0  at slot: 3420  fnID: 6  numCtrs: 1
        list of hard-coded runtime package IDs needs revising.
...
        fatal error: exit hook invoked panic
        
        goroutine 1 gp=0xc000004380 m=0 mp=0x70e140 [running]:
        runtime.throw({0x5b98cd?, 0xc000004380?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1099 +0x92 fp=0xc0000768c0 sp=0xc000076890 pc=0x4e4e72
        internal/runtime/exithook.Run.func1()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/exithook/hooks.go:69 +0x55 fp=0xc0000768e0 sp=0xc0000768c0 pc=0x503795
        panic({0x5ab3e0?, 0xc0001d0030?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:787 +0x202 fp=0xc000076990 sp=0xc0000768e0 pc=0x4e48c2
        runtime.goPanicSliceAcap(0x10000623d, 0x6c42)
...
        runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:435 +0x24a fp=0xc00005e630 sp=0xc00005e610 pc=0x4e518a
        runtime.runfinq()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:196 +0x3ce fp=0xc00005e7e0 sp=0xc00005e630 pc=0x4288ee
        runtime.goexit({})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc00005e7e8 sp=0xc00005e7e0 pc=0x4eee01
        created by runtime.createfing in goroutine 1
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:166 +0x86
    emitdata_test.go:294: running 'harness -tp emitToNonexistentDir': exit status 2
--- FAIL: TestCoverageApis/emitToNonexistentDir (0.05s)

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