[pkg-go] Bug#971165: golang-github-coreos-gexpect: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/coreos/gexpect returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Sep 27 19:52:08 BST 2020


Source: golang-github-coreos-gexpect
Version: 0.1.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

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_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/coreos/gexpect
> runtime/internal/sys
> internal/unsafeheader
> runtime/internal/atomic
> internal/cpu
> internal/race
> runtime/internal/math
> sync/atomic
> unicode
> internal/bytealg
> unicode/utf8
> math/bits
> internal/testlog
> math
> runtime
> internal/reflectlite
> sync
> errors
> sort
> io
> internal/oserror
> strconv
> syscall
> bytes
> strings
> reflect
> github.com/kballard/go-shellquote
> regexp/syntax
> time
> internal/syscall/unix
> internal/syscall/execenv
> regexp
> context
> internal/poll
> internal/fmtsort
> os
> path/filepath
> fmt
> os/exec
> github.com/kr/pty
> github.com/coreos/gexpect
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/coreos/gexpect
> === RUN   TestEmptySearchString
>     gexpect_test.go:15: Testing empty search string...
>     gexpect_test.go:18: fork/exec /bin/echo: Setctty set but Ctty not valid in child
> --- FAIL: TestEmptySearchString (0.00s)
> === RUN   TestHelloWorld
>     gexpect_test.go:27: Testing Hello World... 
>     gexpect_test.go:30: fork/exec /bin/echo: Setctty set but Ctty not valid in child
> --- FAIL: TestHelloWorld (0.00s)
> === RUN   TestDoubleHelloWorld
>     gexpect_test.go:39: Testing Double Hello World... 
>     gexpect_test.go:42: fork/exec /bin/sh: Setctty set but Ctty not valid in child
> --- FAIL: TestDoubleHelloWorld (0.00s)
> === RUN   TestHelloWorldFailureCase
>     gexpect_test.go:59: Testing Hello World Failure case... 
>     gexpect_test.go:62: fork/exec /bin/echo: Setctty set but Ctty not valid in child
> --- FAIL: TestHelloWorldFailureCase (0.00s)
> === RUN   TestBiChannel
>     gexpect_test.go:73: Testing BiChannel screen... 
>     gexpect_test.go:76: fork/exec /bin/cat: Setctty set but Ctty not valid in child
> --- FAIL: TestBiChannel (0.00s)
> === RUN   TestCommandStart
>     gexpect_test.go:101: Testing Command... 
> --- PASS: TestCommandStart (0.00s)
> === RUN   TestRegexMatch
>     gexpect_test.go:126: Testing Regular Expression Matching... 
>     gexpect_test.go:132: fork/exec /bin/echo: Setctty set but Ctty not valid in child
> --- FAIL: TestRegexMatch (0.00s)
> === RUN   TestRegexFind
>     gexpect_test.go:163: Testing Regular Expression Search... 
>     gexpect_test.go:168: fork/exec /bin/echo: Setctty set but Ctty not valid in child
> --- FAIL: TestRegexFind (0.00s)
> === RUN   TestReadLine
>     gexpect_test.go:192: Testing ReadLine...
>     gexpect_test.go:197: fork/exec /bin/echo: Setctty set but Ctty not valid in child
> --- FAIL: TestReadLine (0.00s)
> === RUN   TestRegexWithOutput
>     gexpect_test.go:217: Testing Regular Expression search with output...
>     gexpect_test.go:222: Cannot exec rkt: fork/exec /bin/echo: Setctty set but Ctty not valid in child
> --- FAIL: TestRegexWithOutput (0.00s)
> === RUN   TestRegexTimeoutWithOutput
>     gexpect_test.go:254: Testing Regular Expression search with timeout and output...
>     gexpect_test.go:261: Cannot exec rkt: fork/exec /bin/sh: Setctty set but Ctty not valid in child
> --- FAIL: TestRegexTimeoutWithOutput (0.00s)
> === RUN   TestRegexFindNoExcessBytes
>     gexpect_test.go:284: Testing Regular Expressions returning output with no excess strings
>     gexpect_test.go:321: Test: matching lines line by line with $ at the end of the regexp
>     gexpect_test.go:323: Running command: sh -c 'for i in `seq 1 50`; do echo "prefix: ${i} line"; done'
>     gexpect_test.go:326: Cannot exec shell script: fork/exec /bin/sh: Setctty set but Ctty not valid in child
> --- FAIL: TestRegexFindNoExcessBytes (0.00s)
> === RUN   TestBufferReadRune
> --- PASS: TestBufferReadRune (0.00s)
> FAIL
> FAIL	github.com/coreos/gexpect	0.004s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/coreos/gexpect returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/09/26/golang-github-coreos-gexpect_0.1.1-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