martian
martian copied to clipboard
Test failure on ARM
A test specifically fails on ARM arch:
ok github.com/google/martian 42.997s
Testing: "/builddir/build/BUILD/martian-2.1.0/_build/src/github.com/google/martian/api"
+ GOPATH=/builddir/build/BUILD/martian-2.1.0/_build:/usr/share/gocode
+ go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\'''
PASS
ok github.com/google/martian/api 0.019s
Testing: "/builddir/build/BUILD/martian-2.1.0/_build/src/github.com/google/martian/auth"
+ GOPATH=/builddir/build/BUILD/martian-2.1.0/_build:/usr/share/gocode
+ go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\'''
PASS
ok github.com/google/martian/auth 0.020s
Testing: "/builddir/build/BUILD/martian-2.1.0/_build/src/github.com/google/martian/body"
+ GOPATH=/builddir/build/BUILD/martian-2.1.0/_build:/usr/share/gocode
+ go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\'''
PASS
ok github.com/google/martian/body 0.020s
Testing: "/builddir/build/BUILD/martian-2.1.0/_build/src/github.com/google/martian/cmd/proxy"
+ GOPATH=/builddir/build/BUILD/martian-2.1.0/_build:/usr/share/gocode
+ go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\'''
2018/10/22 16:58:41 martian: starting proxy on [::]:44869 and api on [::]:46069
2018/10/22 16:58:41 martian: shutting down
2018/10/22 16:58:50 martian: starting proxy on [::]:35927 and api on [::]:33689
2018/10/22 16:58:50 martian: starting proxy on [::]:36391 and api on [::]:46289
2018/10/22 16:58:50 martian: shutting down
2018/10/22 16:58:50 martian: shutting down
--- FAIL: TestProxyMain (13.92s)
--- FAIL: TestProxyMain/HttpsGenerateCert (8.71s)
main_test.go:51: waitForProxy: did not start up within 5.0 seconds
FAIL
exit status 1
FAIL github.com/google/martian/cmd/proxy 13.942s
error: Bad exit status from /var/tmp/rpm-tmp.AEwrYc (%check)
It works fine on any other arches. You can have access to the full log here: https://koji.fedoraproject.org/koji/taskinfo?taskID=30397630