Repository: go
Issue: internal/coverage: internal error in coverage meta-data tracking encountered bad pkgID list of hard-coded runtime package IDs needs revising.
Labels: NeedsInvestigation,compiler/runtime

### Go version

golang:1.22-alpine

### Output of `go env` in your module/workspace:

```shell
Not sure the best way to do this from the Dockerfile in the github action?
```


### What did you do?

Ran the following github action:
https://github.com/joe-at-startupmedia/pmon3/blob/5cc0fc72173f6ec021074152bb4d09945cac2324/.github/workflows/testing.yml

From the following Dockerfile:
https://github.com/joe-at-startupmedia/pmon3/blob/5cc0fc72173f6ec021074152bb4d09945cac2324/Dockerfile

Using the following Makefile command: 
```
PROJECT_PATH=/opt/pmon3 go test  -v -run Test -p 1 -coverprofile=coverage.txt -covermode atomic -coverpkg=pmon3/cli,pmon3/cli/cmd,pmon3/cli/cmd/base,pmon3/cli/cmd/completion,pmon3/cli/cmd/del,pmon3/cli/cmd/desc,pmon3/cli/cmd/dgraph,pmon3/cli/cmd/drop,pmon3/cli/cmd/exec,pmon3/cli/cmd/export,pmon3/cli/cmd/group,pmon3/cli/cmd/group/assign,pmon3/cli/cmd/group/create,pmon3/cli/cmd/group/del,pmon3/cli/cmd/group/desc,pmon3/cli/cmd/group/drop,pmon3/cli/cmd/group/list,pmon3/cli/cmd/group/remove,pmon3/cli/cmd/group/restart,pmon3/cli/cmd/group/stop,pmon3/cli/cmd/init,pmon3/cli/cmd/kill,pmon3/cli/cmd/list,pmon3/cli/cmd/log,pmon3/cli/cmd/logf,pmon3/cli/cmd/reset,pmon3/cli/cmd/restart,pmon3/cli/cmd/stop,pmon3/cli/cmd/topn,pmon3/cli/output/group/list,pmon3/cli/output/process/desc,pmon3/cli/output/process/list,pmon3/cli/output/process/one,pmon3/conf,pmon3/pmond,pmon3/pmond/controller,pmon3/pmond/controller/base,pmon3/pmond/controller/base/del,pmon3/pmond/controller/base/exec,pmon3/pmond/controller/base/restart,pmon3/pmond/controller/base/stop,pmon3/pmond/controller/group,pmon3/pmond/db,pmon3/pmond/god,pmon3/pmond/model,pmon3/pmond/observer,pmon3/pmond/process,pmon3/pmond/repo ./test/e2e/...
```




### What did you see happen?

```
internal error in coverage meta-data tracking:
encountered bad pkgID: 0  at slot: 352  fnID: 2  numCtrs: 2
list of hard-coded runtime package IDs needs revising.
[see the comment on the 'rtPkgs' var in 
 <goroot>/src/internal/coverage/pkid.go]
registered list:
slot: 0 path='pmon3/pmond/controller/base' 
slot: 1 path='pmon3/pmond/model' 
slot: 2 path='pmon3/conf' 
slot: 3 path='pmon3/cli' 
slot: 4 path='pmon3/pmond' 
slot: 5 path='pmon3/pmond/observer' 
slot: 6 path='pmon3/cli/output/group/list' 
slot: 7 path='pmon3/cli/output/process/list' 
slot: 8 path='pmon3/cli/output/process/desc' 
slot: 9 path='pmon3/cli/output/process/one' 
slot: 10 path='pmon3/cli/cmd/base' 
slot: 11 path='pmon3/cli/cmd/del' 
slot: 12 path='pmon3/cli/cmd/desc' 
slot: 13 path='pmon3/cli/cmd/export' 
slot: 14 path='pmon3/cli/cmd/group/desc' 
slot: 15 path='pmon3/cli/cmd/group/assign' 
slot: 16 path='pmon3/cli/cmd/group/drop' 
slot: 17 path='pmon3/cli/cmd/group/list' 
slot: 18 path='pmon3/cli/cmd/group/create' 
slot: 19 path='pmon3/cli/cmd/group/del' 
slot: 20 path='pmon3/cli/cmd/group/remove' 
slot: 21 path='pmon3/cli/cmd/group/stop' 
slot: 22 path='pmon3/cli/cmd/list' 
slot: 23 path='pmon3/cli/cmd/drop' 
slot: 24 path='pmon3/cli/cmd/exec' 
slot: 25 path='pmon3/cli/cmd/group/restart' 
slot: 26 path='pmon3/cli/cmd/init' 
slot: 27 path='pmon3/cli/cmd/kill' 
slot: 28 path='pmon3/cli/cmd/reset' 
slot: 29 path='pmon3/cli/cmd/topn' 
slot: 30 path='pmon3/pmond/db' 
slot: 31 path='pmon3/pmond/repo' 
slot: 32 path='pmon3/pmond/process' 
slot: 33 path='pmon3/pmond/controller/base/exec' 
slot: 34 path='pmon3/pmond/controller/base/restart' 
slot: 35 path='pmon3/pmond/controller/base/stop' 
slot: 36 path='pmon3/pmond/controller/base/del' 
slot: 37 path='pmon3/pmond/controller/group' 
slot: 38 path='pmon3/pmond/controller' 
slot: 39 path='pmon3/pmond/god' 
remap table:

internal error in coverage meta-data tracking:
encountered bad pkgID: 0  at slot: 360  fnID: 3  numCtrs: 2
list of hard-coded runtime package IDs needs revising.
[see the comment on the 'rtPkgs' var in 
 <goroot>/src/internal/coverage/pkid.go]
registered list:
slot: 0 path='pmon3/pmond/controller/base' 
slot: 1 path='pmon3/pmond/model' 
slot: 2 path='pmon3/conf' 
slot: 3 path='pmon3/cli' 
slot: 4 path='pmon3/pmond' 
slot: 5 path='pmon3/pmond/observer' 
slot: 6 path='pmon3/cli/output/group/list' 
slot: 7 path='pmon3/cli/output/process/list' 
slot: 8 path='pmon3/cli/output/process/desc' 
slot: 9 path='pmon3/cli/output/process/one' 
slot: 10 path='pmon3/cli/cmd/base' 
slot: 11 path='pmon3/cli/cmd/del' 
slot: 12 path='pmon3/cli/cmd/desc' 
slot: 13 path='pmon3/cli/cmd/export' 
slot: 14 path='pmon3/cli/cmd/group/desc' 
slot: 15 path='pmon3/cli/cmd/group/assign' 
slot: 16 path='pmon3/cli/cmd/group/drop' 
slot: 17 path='pmon3/cli/cmd/group/list' 
slot: 18 path='pmon3/cli/cmd/group/create' 
slot: 19 path='pmon3/cli/cmd/group/del' 
slot: 20 path='pmon3/cli/cmd/group/remove' 
slot: 21 path='pmon3/cli/cmd/group/stop' 
slot: 22 path='pmon3/cli/cmd/list' 
slot: 23 path='pmon3/cli/cmd/drop' 
slot: 24 path='pmon3/cli/cmd/exec' 
slot: 25 path='pmon3/cli/cmd/group/restart' 
slot: 26 path='pmon3/cli/cmd/init' 
slot: 27 path='pmon3/cli/cmd/kill' 
slot: 28 path='pmon3/cli/cmd/reset' 
slot: 29 path='pmon3/cli/cmd/topn' 
slot: 30 path='pmon3/pmond/db' 
slot: 31 path='pmon3/pmond/repo' 
slot: 32 path='pmon3/pmond/process' 
slot: 33 path='pmon3/pmond/controller/base/exec' 
slot: 34 path='pmon3/pmond/controller/base/restart' 
slot: 35 path='pmon3/pmond/controller/base/stop' 
slot: 36 path='pmon3/pmond/controller/base/del' 
slot: 37 path='pmon3/pmond/controller/group' 
slot: 38 path='pmon3/pmond/controller' 
slot: 39 path='pmon3/pmond/god' 
remap table:

internal error in coverage meta-data tracking:
encountered bad pkgID: 0  at slot: 632  fnID: 1  numCtrs: 3
list of hard-coded runtime package IDs needs revising.
[see the comment on the 'rtPkgs' var in 
 <goroot>/src/internal/coverage/pkid.go]
registered list:
slot: 0 path='pmon3/pmond/controller/base' 
slot: 1 path='pmon3/pmond/model' 
slot: 2 path='pmon3/conf' 
slot: 3 path='pmon3/cli' 
slot: 4 path='pmon3/pmond' 
slot: 5 path='pmon3/pmond/observer' 
slot: 6 path='pmon3/cli/output/group/list' 
slot: 7 path='pmon3/cli/output/process/list' 
slot: 8 path='pmon3/cli/output/process/desc' 
slot: 9 path='pmon3/cli/output/process/one' 
slot: 10 path='pmon3/cli/cmd/base' 
slot: 11 path='pmon3/cli/cmd/del' 
slot: 12 path='pmon3/cli/cmd/desc' 
slot: 13 path='pmon3/cli/cmd/export' 
slot: 14 path='pmon3/cli/cmd/group/desc' 
slot: 15 path='pmon3/cli/cmd/group/assign' 
slot: 16 path='pmon3/cli/cmd/group/drop' 
slot: 17 path='pmon3/cli/cmd/group/list' 
slot: 18 path='pmon3/cli/cmd/group/create' 
slot: 19 path='pmon3/cli/cmd/group/del' 
slot: 20 path='pmon3/cli/cmd/group/remove' 
slot: 21 path='pmon3/cli/cmd/group/stop' 
slot: 22 path='pmon3/cli/cmd/list' 
slot: 23 path='pmon3/cli/cmd/drop' 
slot: 24 path='pmon3/cli/cmd/exec' 
slot: 25 path='pmon3/cli/cmd/group/restart' 
slot: 26 path='pmon3/cli/cmd/init' 
slot: 27 path='pmon3/cli/cmd/kill' 
slot: 28 path='pmon3/cli/cmd/reset' 
slot: 29 path='pmon3/cli/cmd/topn' 
slot: 30 path='pmon3/pmond/db' 
slot: 31 path='pmon3/pmond/repo' 
slot: 32 path='pmon3/pmond/process' 
slot: 33 path='pmon3/pmond/controller/base/exec' 
slot: 34 path='pmon3/pmond/controller/base/restart' 
slot: 35 path='pmon3/pmond/controller/base/stop' 
slot: 36 path='pmon3/pmond/controller/base/del' 
slot: 37 path='pmon3/pmond/controller/group' 
slot: 38 path='pmon3/pmond/controller' 
slot: 39 path='pmon3/pmond/god' 
remap table:
coverage: 73.6% of statements in pmon3/cli, pmon3/cli/cmd, pmon3/cli/cmd/base, pmon3/cli/cmd/completion, pmon3/cli/cmd/del, pmon3/cli/cmd/desc, pmon3/cli/cmd/dgraph, pmon3/cli/cmd/drop, pmon3/cli/cmd/exec, pmon3/cli/cmd/export, pmon3/cli/cmd/group, pmon3/cli/cmd/group/assign, pmon3/cli/cmd/group/create, pmon3/cli/cmd/group/del, pmon3/cli/cmd/group/desc, pmon3/cli/cmd/group/drop, pmon3/cli/cmd/group/list, pmon3/cli/cmd/group/remove, pmon3/cli/cmd/group/restart, pmon3/cli/cmd/group/stop, pmon3/cli/cmd/init, pmon3/cli/cmd/kill, pmon3/cli/cmd/list, pmon3/cli/cmd/log, pmon3/cli/cmd/logf, pmon3/cli/cmd/reset, pmon3/cli/cmd/restart, pmon3/cli/cmd/stop, pmon3/cli/cmd/topn, pmon3/cli/output/group/list, pmon3/cli/output/process/desc, pmon3/cli/output/process/list, pmon3/cli/output/process/one, pmon3/conf, pmon3/pmond, pmon3/pmond/controller, pmon3/pmond/controller/base, pmon3/pmond/controller/base/del, pmon3/pmond/controller/base/exec, pmon3/pmond/controller/base/restart, pmon3/pmond/controller/base/stop, pmon3/pmond/controller/group, pmon3/pmond/db, pmon3/pmond/god, pmon3/pmond/model, pmon3/pmond/observer, pmon3/pmond/process, pmon3/pmond/repo
ok  	pmon3/test/e2e	218.039s	coverage: 73.6% of statements in pmon3/cli, pmon3/cli/cmd, pmon3/cli/cmd/base, pmon3/cli/cmd/completion, pmon3/cli/cmd/del, pmon3/cli/cmd/desc, pmon3/cli/cmd/dgraph, pmon3/cli/cmd/drop, pmon3/cli/cmd/exec, pmon3/cli/cmd/export, pmon3/cli/cmd/group, pmon3/cli/cmd/group/assign, pmon3/cli/cmd/group/create, pmon3/cli/cmd/group/del, pmon3/cli/cmd/group/desc, pmon3/cli/cmd/group/drop, pmon3/cli/cmd/group/list, pmon3/cli/cmd/group/remove, pmon3/cli/cmd/group/restart, pmon3/cli/cmd/group/stop, pmon3/cli/cmd/init, pmon3/cli/cmd/kill, pmon3/cli/cmd/list, pmon3/cli/cmd/log, pmon3/cli/cmd/logf, pmon3/cli/cmd/reset, pmon3/cli/cmd/restart, pmon3/cli/cmd/stop, pmon3/cli/cmd/topn, pmon3/cli/output/group/list, pmon3/cli/output/process/desc, pmon3/cli/output/process/list, pmon3/cli/output/process/one, pmon3/conf, pmon3/pmond, pmon3/pmond/controller, pmon3/pmond/controller/base, pmon3/pmond/controller/base/del, pmon3/pmond/controller/base/exec, pmon3/pmond/controller/base/restart, pmon3/pmond/controller/base/stop, pmon3/pmond/controller/group, pmon3/pmond/db, pmon3/pmond/god, pmon3/pmond/model, pmon3/pmond/observer, pmon3/pmond/process, pmon3/pmond/repo
```

### What did you expect to see?

coverage report generated without any errors