[pkg-go] a randomly failing test in packer (RC)

Daniel Stender debian at danielstender.com
Sun Apr 2 15:13:32 UTC 2017


Hi,

I've got a randomly failing test in Packer here:

<cut>
=== RUN   TestPostProcessorRPC
panic: Fail in goroutine after TestMuxBroker has completed

goroutine 308 [running]:
panic(0x87a720, 0xc4201436a0)
        /usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
testing.(*common).Fail(0xc42016c900)
        /usr/lib/go-1.7/src/testing/testing.go:412 +0x11f
testing.(*common).FailNow(0xc42016c900)
        /usr/lib/go-1.7/src/testing/testing.go:431 +0x2b
testing.(*common).Fatalf(0xc42016c900, 0x9442f3, 0x7, 0xc42019bf70, 0x1, 0x1)
        /usr/lib/go-1.7/src/testing/testing.go:496 +0x83
github.com/mitchellh/packer/packer/rpc.TestMuxBroker.func1(0xc420344a40, 0xc42016c900)
        /<<BUILDDIR>>/packer-0.10.2+dfsg/obj-x86_64-linux-gnu/src/github.com/mitchellh/packer/packer/rpc/
mux_broker_test.go:27 +0x140
created by github.com/mitchellh/packer/packer/rpc.TestMuxBroker
        /<<BUILDDIR>>/packer-0.10.2+dfsg/obj-x86_64-linux-gnu/src/github.com/mitchellh/packer/packer/rpc/
mux_broker_test.go:29 +0x281
exit status 2
FAIL    github.com/mitchellh/packer/packer/rpc  0.124s
</cut>

The bug report is #858018. I've reported that upstream (https://github.com/mitchellh/packer/issues/4750),
but the issue was already closed (not concerning to master seems to be a non-issue).

Does anybody has a hint what is going wrong here? A build log where this appears is:
https://buildd.debian.org/status/fetch.php?pkg=packer&arch=armhf&ver=0.10.2%2Bdfsg-3%2Bb1&stamp=1489747066&raw=0

Best,
DS

-- 
4096R/DF5182C8
Debian Developer (stender at debian.org)
http://www.danielstender.com/



More information about the Pkg-go-maintainers mailing list