[pkg-go] Bug#897504: golang-github-hashicorp-go-plugin: FTBFS: dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/hashicorp/go-plugin returned exit code 1
Lucas Nussbaum
lucas at debian.org
Wed May 2 21:46:16 BST 2018
Source: golang-github-hashicorp-go-plugin
Version: 0.0~git20160212.0.cccb4a1-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --buildsystem=golang --with=golang
> dh_update_autotools_config -O--buildsystem=golang
> dh_auto_configure -O--buildsystem=golang
> dh_auto_build -O--buildsystem=golang
> cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<BUILDDIR>>/golang-github-hashicorp-go-plugin-0.0\~git20160212.0.cccb4a1/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/golang-github-hashicorp-go-plugin-0.0\~git20160212.0.cccb4a1/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/hashicorp/go-plugin
> github.com/hashicorp/yamux
> github.com/hashicorp/go-plugin
> dh_auto_test -O--buildsystem=golang
> cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/hashicorp/go-plugin
> === RUN TestClient_testInterfaceReattach
> 2018/05/02 19:21:27 [DEBUG] plugin: starting plugin: /tmp/go-build273529730/b001/go-plugin.test []string{"/tmp/go-build273529730/b001/go-plugin.test", "-test.run=TestHelperProcess", "--", "test-interface-daemon"}
> 2018/05/02 19:21:27 [DEBUG] plugin: waiting for RPC address for: /tmp/go-build273529730/b001/go-plugin.test
> 2018/05/02 19:21:27 [DEBUG] plugin: go-plugin.test: 2018/05/02 19:21:27 [DEBUG] plugin: plugin address: unix /tmp/plugin359815028
> 2018/05/02 19:21:28 [DEBUG] plugin: /tmp/go-build273529730/b001/go-plugin.test: plugin process exited
> 2018/05/02 19:21:29 [DEBUG] plugin: reattached plugin process exited
> --- PASS: TestClient_testInterfaceReattach (2.00s)
> === RUN TestClient
> 2018/05/02 19:21:29 [DEBUG] plugin: starting plugin: /tmp/go-build273529730/b001/go-plugin.test []string{"/tmp/go-build273529730/b001/go-plugin.test", "-test.run=TestHelperProcess", "--", "mock"}
> 2018/05/02 19:21:29 [DEBUG] plugin: waiting for RPC address for: /tmp/go-build273529730/b001/go-plugin.test
> 2018/05/02 19:21:29 [DEBUG] plugin: /tmp/go-build273529730/b001/go-plugin.test: plugin process exited
> --- PASS: TestClient (0.00s)
> === RUN TestClient_testInterface
> 2018/05/02 19:21:29 [DEBUG] plugin: starting plugin: /tmp/go-build273529730/b001/go-plugin.test []string{"/tmp/go-build273529730/b001/go-plugin.test", "-test.run=TestHelperProcess", "--", "test-interface"}
> 2018/05/02 19:21:29 [DEBUG] plugin: waiting for RPC address for: /tmp/go-build273529730/b001/go-plugin.test
> 2018/05/02 19:21:29 [DEBUG] plugin: go-plugin.test: 2018/05/02 19:21:29 [DEBUG] plugin: plugin address: unix /tmp/plugin030403425
> 2018/05/02 19:21:29 [DEBUG] plugin: /tmp/go-build273529730/b001/go-plugin.test: plugin process exited
> --- PASS: TestClient_testInterface (0.01s)
> === RUN TestClient_cmdAndReattach
> --- PASS: TestClient_cmdAndReattach (0.00s)
> === RUN TestClient_reattachNotFound
> --- PASS: TestClient_reattachNotFound (0.01s)
> === RUN TestClientStart_badVersion
> 2018/05/02 19:21:29 [DEBUG] plugin: starting plugin: /tmp/go-build273529730/b001/go-plugin.test []string{"/tmp/go-build273529730/b001/go-plugin.test", "-test.run=TestHelperProcess", "--", "bad-version"}
> 2018/05/02 19:21:29 [DEBUG] plugin: waiting for RPC address for: /tmp/go-build273529730/b001/go-plugin.test
> 2018/05/02 19:21:29 [DEBUG] plugin: /tmp/go-build273529730/b001/go-plugin.test: plugin process exited
> --- PASS: TestClientStart_badVersion (0.00s)
> === RUN TestClient_Start_Timeout
> 2018/05/02 19:21:29 [DEBUG] plugin: starting plugin: /tmp/go-build273529730/b001/go-plugin.test []string{"/tmp/go-build273529730/b001/go-plugin.test", "-test.run=TestHelperProcess", "--", "start-timeout"}
> 2018/05/02 19:21:29 [DEBUG] plugin: waiting for RPC address for: /tmp/go-build273529730/b001/go-plugin.test
> 2018/05/02 19:21:29 [DEBUG] plugin: /tmp/go-build273529730/b001/go-plugin.test: plugin process exited
> --- PASS: TestClient_Start_Timeout (0.05s)
> === RUN TestClient_Stderr
> 2018/05/02 19:21:29 [DEBUG] plugin: starting plugin: /tmp/go-build273529730/b001/go-plugin.test []string{"/tmp/go-build273529730/b001/go-plugin.test", "-test.run=TestHelperProcess", "--", "stderr"}
> 2018/05/02 19:21:29 [DEBUG] plugin: waiting for RPC address for: /tmp/go-build273529730/b001/go-plugin.test
> 2018/05/02 19:21:29 [DEBUG] plugin: go-plugin.test: 2018/05/02 19:21:29 HELLO
> 2018/05/02 19:21:29 [DEBUG] plugin: go-plugin.test: 2018/05/02 19:21:29 WORLD
> 2018/05/02 19:21:29 [DEBUG] plugin: /tmp/go-build273529730/b001/go-plugin.test: plugin process exited
> --- PASS: TestClient_Stderr (0.01s)
> === RUN TestClient_Stdin
> 2018/05/02 19:21:29 [DEBUG] plugin: starting plugin: /tmp/go-build273529730/b001/go-plugin.test []string{"/tmp/go-build273529730/b001/go-plugin.test", "-test.run=TestHelperProcess", "--", "stdin"}
> 2018/05/02 19:21:29 [DEBUG] plugin: waiting for RPC address for: /tmp/go-build273529730/b001/go-plugin.test
> 2018/05/02 19:21:29 [DEBUG] plugin: /tmp/go-build273529730/b001/go-plugin.test: plugin process exited
> --- PASS: TestClient_Stdin (0.06s)
> === RUN TestBasicError_ImplementsError
> --- PASS: TestBasicError_ImplementsError (0.00s)
> === RUN TestBasicError_MatchesMessage
> --- PASS: TestBasicError_MatchesMessage (0.00s)
> === RUN TestNewBasicError_nil
> --- PASS: TestNewBasicError_nil (0.00s)
> === RUN TestHelperProcess
> --- PASS: TestHelperProcess (0.00s)
> === RUN TestClient_App
> --- PASS: TestClient_App (0.00s)
> === RUN TestClient_syncStreams
> --- FAIL: TestClient_syncStreams (0.10s)
> rpc_client_test.go:59: bad: stdouttest
> FAIL
> FAIL github.com/hashicorp/go-plugin 2.264s
> dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/hashicorp/go-plugin returned exit code 1
The full build log is available from:
http://aws-logs.debian.net/2018/05/02/golang-github-hashicorp-go-plugin_0.0~git20160212.0.cccb4a1-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-go-maintainers
mailing list