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/cgo/internal/testplugin: unrecognized failures #67275

Open
gopherbot opened this issue May 9, 2024 · 2 comments
Open

cmd/cgo/internal/testplugin: unrecognized failures #67275

gopherbot opened this issue May 9, 2024 · 2 comments
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 == "cmd/cgo/internal/testplugin" && test == ""

Issue created automatically to collect these failures.

Example (log):

mkdir -p $TMPDIR/src/testplugin
rsync -a testdata/ $TMPDIR/src/testplugin
echo 'module testplugin' > $TMPDIR/src/testplugin/go.mod
mkdir -p $TMPDIR/alt/src/testplugin
rsync -a altpath/testdata/ $TMPDIR/alt/src/testplugin
echo 'module testplugin' > $TMPDIR/alt/src/testplugin/go.mod
cd $TMPDIR/alt/src/testplugin
( GOPATH=$TMPDIR/alt PWD=$TMPDIR/alt/src/testplugin /tmp/buildlet/go/bin/go build -gcflags '' -buildmode=plugin -o $TMPDIR/src/testplugin/plugin-mismatch.so ./plugin-mismatch )
cd $TMPDIR/src/testplugin
( GOPATH=$TMPDIR PWD=$TMPDIR/src/testplugin LD_LIBRARY_PATH=$TMPDIR/src/testplugin /tmp/buildlet/go/bin/go build -gcflags '' -buildmode=plugin ./plugin1 )
...
panic: test timed out after 3m0s
	running tests:
		TestForkExec (3s)

goroutine 258 gp=0xc00012bdc0 m=0 mp=0x8dd0960 [running]:
panic({0x8cb71c0?, 0xc00068e5f0?})
	/tmp/buildlet/go/src/runtime/panic.go:778 +0x168 fp=0xc0001b9f10 sp=0xc0001b9e60 pc=0x8b7d7a8
testing.(*M).startAlarm.func1()
	/tmp/buildlet/go/src/testing/testing.go:2367 +0x385 fp=0xc0001b9fe0 sp=0xc0001b9f10 pc=0x8c249c5
runtime.goexit({})
...
os/exec.(*Cmd).writerDescriptor.func1()
	/tmp/buildlet/go/src/os/exec/exec.go:577 +0x34 fp=0xc000634760 sp=0xc000634700 pc=0x8c2c5d4
os/exec.(*Cmd).Start.func2(0x8ce5500?)
	/tmp/buildlet/go/src/os/exec/exec.go:724 +0x2c fp=0xc0006347c8 sp=0xc000634760 pc=0x8c2d24c
os/exec.(*Cmd).Start.gowrap1()
	/tmp/buildlet/go/src/os/exec/exec.go:736 +0x24 fp=0xc0006347e0 sp=0xc0006347c8 pc=0x8c2d1e4
runtime.goexit({})
	/tmp/buildlet/go/src/runtime/asm_amd64.s:1699 +0x1 fp=0xc0006347e8 sp=0xc0006347e0 pc=0x8bb8981
created by os/exec.(*Cmd).Start in goroutine 202
	/tmp/buildlet/go/src/os/exec/exec.go:723 +0x98b

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/cgo/internal/testplugin" && test == ""
2024-05-09 17:45 darwin-amd64-13 go@cecbf4f2 cmd/cgo/internal/testplugin (log)
mkdir -p $TMPDIR/src/testplugin
rsync -a testdata/ $TMPDIR/src/testplugin
echo 'module testplugin' > $TMPDIR/src/testplugin/go.mod
mkdir -p $TMPDIR/alt/src/testplugin
rsync -a altpath/testdata/ $TMPDIR/alt/src/testplugin
echo 'module testplugin' > $TMPDIR/alt/src/testplugin/go.mod
cd $TMPDIR/alt/src/testplugin
( GOPATH=$TMPDIR/alt PWD=$TMPDIR/alt/src/testplugin /tmp/buildlet/go/bin/go build -gcflags '' -buildmode=plugin -o $TMPDIR/src/testplugin/plugin-mismatch.so ./plugin-mismatch )
cd $TMPDIR/src/testplugin
( GOPATH=$TMPDIR PWD=$TMPDIR/src/testplugin LD_LIBRARY_PATH=$TMPDIR/src/testplugin /tmp/buildlet/go/bin/go build -gcflags '' -buildmode=plugin ./plugin1 )
...
panic: test timed out after 3m0s
	running tests:
		TestForkExec (3s)

goroutine 258 gp=0xc00012bdc0 m=0 mp=0x8dd0960 [running]:
panic({0x8cb71c0?, 0xc00068e5f0?})
	/tmp/buildlet/go/src/runtime/panic.go:778 +0x168 fp=0xc0001b9f10 sp=0xc0001b9e60 pc=0x8b7d7a8
testing.(*M).startAlarm.func1()
	/tmp/buildlet/go/src/testing/testing.go:2367 +0x385 fp=0xc0001b9fe0 sp=0xc0001b9f10 pc=0x8c249c5
runtime.goexit({})
...
os/exec.(*Cmd).writerDescriptor.func1()
	/tmp/buildlet/go/src/os/exec/exec.go:577 +0x34 fp=0xc000634760 sp=0xc000634700 pc=0x8c2c5d4
os/exec.(*Cmd).Start.func2(0x8ce5500?)
	/tmp/buildlet/go/src/os/exec/exec.go:724 +0x2c fp=0xc0006347c8 sp=0xc000634760 pc=0x8c2d24c
os/exec.(*Cmd).Start.gowrap1()
	/tmp/buildlet/go/src/os/exec/exec.go:736 +0x24 fp=0xc0006347e0 sp=0xc0006347c8 pc=0x8c2d1e4
runtime.goexit({})
	/tmp/buildlet/go/src/runtime/asm_amd64.s:1699 +0x1 fp=0xc0006347e8 sp=0xc0006347e0 pc=0x8bb8981
created by os/exec.(*Cmd).Start in goroutine 202
	/tmp/buildlet/go/src/os/exec/exec.go:723 +0x98b

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/cgo/internal/testplugin" && test == ""
2024-05-11 21:29 darwin-amd64-13 go@9623a358 cmd/cgo/internal/testplugin (log)
mkdir -p $TMPDIR/alt/src/testplugin
rsync -a altpath/testdata/ $TMPDIR/alt/src/testplugin
echo 'module testplugin' > $TMPDIR/alt/src/testplugin/go.mod
mkdir -p $TMPDIR/src/testplugin
rsync -a testdata/ $TMPDIR/src/testplugin
echo 'module testplugin' > $TMPDIR/src/testplugin/go.mod
cd $TMPDIR/alt/src/testplugin
( GOPATH=$TMPDIR/alt PWD=$TMPDIR/alt/src/testplugin /tmp/buildlet/go/bin/go build -gcflags '' -buildmode=plugin -o $TMPDIR/src/testplugin/plugin-mismatch.so ./plugin-mismatch )
cd $TMPDIR/src/testplugin
( GOPATH=$TMPDIR PWD=$TMPDIR/src/testplugin LD_LIBRARY_PATH=$TMPDIR/src/testplugin /tmp/buildlet/go/bin/go build -gcflags '' -buildmode=plugin ./plugin1 )
...
r12    0x16
r13    0x0
r14    0xf3010000f400
r15    0xdc00
rip    0x7ff805af21fe
rflags 0x247
cs     0x7
fs     0x0
gs     0x0
*** Test killed with quit: ran too long (4m0s).

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