[pkg-go] Bug#865949: golang-github-facebookgo-grace FTBFS: test failures

Adrian Bunk bunk at debian.org
Mon Jun 26 01:33:14 UTC 2017


Source: golang-github-facebookgo-grace
Version: 0.0~git20170218.0.4afe952-1
Severity: serious

Some recent change in unstable makes golang-github-facebookgo-grace FTBFS:

https://tests.reproducible-builds.org/debian/history/golang-github-facebookgo-grace.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-facebookgo-grace.html

...
   dh_auto_test -O--buildsystem=golang
	go test -v -p 16 github.com/facebookgo/grace/gracedemo github.com/facebookgo/grace/gracehttp github.com/facebookgo/grace/gracenet
?   	github.com/facebookgo/grace/gracedemo	[no test files]
=== RUN   TestComplex
=== RUN   TestComplexAgain
=== RUN   TestPreStartProcess
=== RUN   TestPreStartProcessAgain
Could not parse json from stderr 2018/07/29 07:50:33 error loading cert: x509: RSA key missing NULL parameters: invalid character '/' after top-level value
Could not parse json from stderr 2018/07/29 07:50:33 error loading cert: x509: RSA key missing NULL parameters: invalid character '/' after top-level value
Could not parse json from stderr 2018/07/29 07:50:33 error loading cert: x509: RSA key missing NULL parameters: invalid character '/' after top-level value
Could not parse json from stderr 2018/07/29 07:50:33 error loading cert: x509: RSA key missing NULL parameters: invalid character '/' after top-level value
--- FAIL: TestComplex (0.06s)
	http_test.go:170: Failed request 01 to http://127.0.0.1:35577/sleep/?duration=0 pid=0: Get http://127.0.0.1:35577/sleep/?duration=0: dial tcp 127.0.0.1:35577: getsockopt: connection refused
	http_test.go:170: Failed request 00 to https://127.0.0.1:38181/sleep/?duration=2s pid=0: Get https://127.0.0.1:38181/sleep/?duration=2s: dial tcp 127.0.0.1:38181: getsockopt: connection refused
	http_test.go:170: Failed request 02 to http://127.0.0.1:35577/sleep/?duration=2s pid=0: Get http://127.0.0.1:35577/sleep/?duration=2s: dial tcp 127.0.0.1:35577: getsockopt: connection refused
	http_test.go:116: Failed to send SIGUSR2 and restart process: os: process not initialized
	http_test.go:170: Failed request 03 to https://127.0.0.1:38181/sleep/?duration=0 pid=0: Get https://127.0.0.1:38181/sleep/?duration=0: dial tcp 127.0.0.1:38181: getsockopt: connection refused
--- FAIL: TestPreStartProcessAgain (0.06s)
	http_test.go:170: Failed request 00 to https://127.0.0.1:33301/sleep/?duration=2s pid=0: Get https://127.0.0.1:33301/sleep/?duration=2s: dial tcp 127.0.0.1:33301: getsockopt: connection refused
	http_test.go:170: Failed request 03 to http://127.0.0.1:33295/sleep/?duration=2s pid=0: Get http://127.0.0.1:33295/sleep/?duration=2s: dial tcp 127.0.0.1:33295: getsockopt: connection refused
	http_test.go:170: Failed request 01 to https://127.0.0.1:33301/sleep/?duration=0 pid=0: Get https://127.0.0.1:33301/sleep/?duration=0: dial tcp 127.0.0.1:33301: getsockopt: connection refused
	http_test.go:116: Failed to send SIGUSR2 and restart process: os: process not initialized
	http_test.go:170: Failed request 02 to http://127.0.0.1:33295/sleep/?duration=0 pid=0: Get http://127.0.0.1:33295/sleep/?duration=0: dial tcp 127.0.0.1:33295: getsockopt: connection refused
--- FAIL: TestPreStartProcess (0.06s)
	http_test.go:170: Failed request 03 to http://127.0.0.1:38435/sleep/?duration=0 pid=0: Get http://127.0.0.1:38435/sleep/?duration=0: dial tcp 127.0.0.1:38435: getsockopt: connection refused
	http_test.go:170: Failed request 00 to http://127.0.0.1:38435/sleep/?duration=2s pid=0: Get http://127.0.0.1:38435/sleep/?duration=2s: dial tcp 127.0.0.1:38435: getsockopt: connection refused
	http_test.go:170: Failed request 02 to https://127.0.0.1:39611/sleep/?duration=2s pid=0: Get https://127.0.0.1:39611/sleep/?duration=2s: dial tcp 127.0.0.1:39611: getsockopt: connection refused
	http_test.go:116: Failed to send SIGUSR2 and restart process: os: process not initialized
panic: Fail in goroutine after TestPreStartProcess has completed

goroutine 21 [running]:
testing.(*common).Fail(0xc420086f70)
	/usr/lib/go-1.8/src/testing/testing.go:445 +0x116
testing.(*common).FailNow(0xc420086f70)
	/usr/lib/go-1.8/src/testing/testing.go:464 +0x2b
testing.(*common).Fatalf(0xc420086f70, 0x76629c, 0x24, 0xc4202a1f68, 0x4, 0x4)
	/usr/lib/go-1.8/src/testing/testing.go:530 +0x83
github.com/facebookgo/grace/gracehttp_test.(*harness).SendOne(0xc420132000, 0xc4201262c0, 0xc420128540, 0x29, 0x0)
	/build/1st/golang-github-facebookgo-grace-0.0~git20170218.0.4afe952/obj-x86_64-linux-gnu/src/github.com/facebookgo/grace/gracehttp/http_test.go:170 +0x46b
created by github.com/facebookgo/grace/gracehttp_test.(*harness).SendRequest
	/build/1st/golang-github-facebookgo-grace-0.0~git20170218.0.4afe952/obj-x86_64-linux-gnu/src/github.com/facebookgo/grace/gracehttp/http_test.go:204 +0x427
FAIL	github.com/facebookgo/grace/gracehttp	0.080s
=== RUN   TestEmptyCountEnvVariable
--- PASS: TestEmptyCountEnvVariable (0.00s)
=== RUN   TestZeroCountEnvVariable
--- PASS: TestZeroCountEnvVariable (0.00s)
=== RUN   TestInvalidCountEnvVariable
--- PASS: TestInvalidCountEnvVariable (0.00s)
=== RUN   TestInvalidFileInherit
--- PASS: TestInvalidFileInherit (0.00s)
=== RUN   TestInheritErrorOnListenTCPWithInvalidCount
--- PASS: TestInheritErrorOnListenTCPWithInvalidCount (0.00s)
=== RUN   TestInheritErrorOnListenUnixWithInvalidCount
--- PASS: TestInheritErrorOnListenUnixWithInvalidCount (0.00s)
=== RUN   TestOneTcpInherit
--- PASS: TestOneTcpInherit (0.00s)
=== RUN   TestSecondTcpListen
--- PASS: TestSecondTcpListen (0.00s)
=== RUN   TestSecondTcpListenInherited
--- PASS: TestSecondTcpListenInherited (0.00s)
=== RUN   TestInvalidNetwork
--- PASS: TestInvalidNetwork (0.00s)
=== RUN   TestInvalidNetworkUnix
--- PASS: TestInvalidNetworkUnix (0.00s)
=== RUN   TestWithTcp0000
--- PASS: TestWithTcp0000 (0.00s)
=== RUN   TestWithTcpIPv6Loal
--- PASS: TestWithTcpIPv6Loal (0.00s)
=== RUN   TestOneUnixInherit
--- PASS: TestOneUnixInherit (0.00s)
=== RUN   TestInvalidTcpAddr
--- FAIL: TestInvalidTcpAddr (0.00s)
	ensure.go:65: net_test.go:201: expected error: "^missing port in address abc$" but got "address abc: missing port in address"
=== RUN   TestTwoTCP
--- PASS: TestTwoTCP (0.00s)
=== RUN   TestOneUnixAndOneTcpInherit
--- PASS: TestOneUnixAndOneTcpInherit (0.00s)
=== RUN   TestSecondUnixListen
--- PASS: TestSecondUnixListen (0.00s)
=== RUN   TestSecondUnixListenInherited
--- PASS: TestSecondUnixListenInherited (0.00s)
=== RUN   TestPortZeroTwice
--- PASS: TestPortZeroTwice (0.00s)
FAIL
FAIL	github.com/facebookgo/grace/gracenet	0.010s
dh_auto_test: go test -v -p 16 github.com/facebookgo/grace/gracedemo github.com/facebookgo/grace/gracehttp github.com/facebookgo/grace/gracenet returned exit code 1
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 1



More information about the Pkg-go-maintainers mailing list