[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#952176: golang-github-facebookgo-ensure: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/facebookgo/ensure returned exit code 1



Source: golang-github-facebookgo-ensure
Version: 0.0~git20160127.0.b4ab57d-5
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 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/facebookgo/ensure
> runtime/internal/sys
> internal/race
> runtime/internal/atomic
> internal/cpu
> runtime/internal/math
> sync/atomic
> unicode
> unicode/utf8
> math/bits
> internal/testlog
> internal/bytealg
> math
> runtime
> internal/reflectlite
> sync
> errors
> sort
> internal/oserror
> io
> strconv
> syscall
> bytes
> strings
> reflect
> regexp/syntax
> internal/syscall/unix
> time
> regexp
> internal/poll
> internal/fmtsort
> github.com/facebookgo/subset
> os
> path/filepath
> fmt
> encoding/hex
> github.com/facebookgo/stack
> github.com/davecgh/go-spew/spew
> github.com/facebookgo/ensure
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/facebookgo/ensure
> === RUN   TestIndirectStackTrace
> --- FAIL: TestIndirectStackTrace (0.00s)
>     ensure.go:65:         github.com/facebookgo/ensure/common_test.go:36         (*capture).Contains
>         github.com/facebookgo/ensure/ensure_no_race_test.go:18 TestIndirectStackTrace
>         expected substring "github.com/facebookgo/ensure/ensure_no_race_test.go:12" was not found in "ensure_no_race_test.go:12: expected substring "bar" was not found in "foo""
> === RUN   TestNilErr
> --- PASS: TestNilErr (0.00s)
> === RUN   TestMatchingError
> --- PASS: TestMatchingError (0.00s)
> === RUN   TestExtras
> --- PASS: TestExtras (0.00s)
> === RUN   TestDeepEqualStruct
> --- PASS: TestDeepEqualStruct (0.00s)
> === RUN   TestDeepEqualString
> --- PASS: TestDeepEqualString (0.00s)
> === RUN   TestNotDeepEqualStruct
> --- PASS: TestNotDeepEqualStruct (0.00s)
> === RUN   TestSubsetStruct
> --- PASS: TestSubsetStruct (0.00s)
> === RUN   TestUnexpectedNilErr
> --- PASS: TestUnexpectedNilErr (0.00s)
> === RUN   TestNilString
> --- PASS: TestNilString (0.00s)
> === RUN   TestNilInt
> --- PASS: TestNilInt (0.00s)
> === RUN   TestNilStruct
> --- PASS: TestNilStruct (0.00s)
> === RUN   TestNonNil
> --- FAIL: TestNonNil (0.00s)
>     ensure.go:65:         github.com/facebookgo/ensure/common_test.go:29  (*capture).Equal
>         github.com/facebookgo/ensure/ensure_test.go:137 TestNonNil
>         expected these to be equal:
>         ACTUAL:
>         (string) (len=196) "        github.com/facebookgo/ensure/ensure.go:204    NotNil\n/usr/lib/go-1.13/src/testing/testing.go:909   tRunner\n/usr/lib/go-1.13/src/runtime/asm_amd64.s:1357 goexit\nexpected a value but got nil"
>         
>         EXPECTED:
>         (string) (len=48) "ensure_test.go:136: expected a value but got nil"
> === RUN   TestStringContains
> --- PASS: TestStringContains (0.00s)
> === RUN   TestStringDoesNotContain
> --- PASS: TestStringDoesNotContain (0.00s)
> === RUN   TestExpectedNilErr
> --- PASS: TestExpectedNilErr (0.00s)
> === RUN   TestNilErrUsingNil
> --- PASS: TestNilErrUsingNil (0.00s)
> === RUN   TestTrue
> --- FAIL: TestTrue (0.00s)
>     ensure.go:65:         github.com/facebookgo/ensure/common_test.go:29  (*capture).Equal
>         github.com/facebookgo/ensure/ensure_test.go:171 TestTrue
>         expected these to be equal:
>         ACTUAL:
>         (string) (len=193) "        github.com/facebookgo/ensure/ensure.go:215    True\n/usr/lib/go-1.13/src/testing/testing.go:909   tRunner\n/usr/lib/go-1.13/src/runtime/asm_amd64.s:1357 goexit\nexpected true but got false"
>         
>         EXPECTED:
>         (string) (len=47) "ensure_test.go:170: expected true but got false"
> === RUN   TestSameElementsIntAndInterface
> --- PASS: TestSameElementsIntAndInterface (0.00s)
> === RUN   TestSameElementsLengthDifference
> --- PASS: TestSameElementsLengthDifference (0.00s)
> === RUN   TestSameElementsRepeated
> --- PASS: TestSameElementsRepeated (0.00s)
> === RUN   TestFalse
> --- FAIL: TestFalse (0.00s)
>     ensure.go:65:         github.com/facebookgo/ensure/common_test.go:29  (*capture).Equal
>         github.com/facebookgo/ensure/ensure_test.go:215 TestFalse
>         expected these to be equal:
>         ACTUAL:
>         (string) (len=194) "        github.com/facebookgo/ensure/ensure.go:226    False\n/usr/lib/go-1.13/src/testing/testing.go:909   tRunner\n/usr/lib/go-1.13/src/runtime/asm_amd64.s:1357 goexit\nexpected false but got true"
>         
>         EXPECTED:
>         (string) (len=47) "ensure_test.go:214: expected false but got true"
> === RUN   TestPanicDeepEqualNil
> --- PASS: TestPanicDeepEqualNil (0.00s)
> === RUN   TestPanicDeepEqualSuccess
> --- PASS: TestPanicDeepEqualSuccess (0.00s)
> === RUN   TestPanicDeepEqualFailure
> --- PASS: TestPanicDeepEqualFailure (0.00s)
> === RUN   TestMultiLineStringContains
> --- PASS: TestMultiLineStringContains (0.00s)
> FAIL
> FAIL	github.com/facebookgo/ensure	0.003s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/facebookgo/ensure returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/golang-github-facebookgo-ensure_0.0~git20160127.0.b4ab57d-5_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.


Reply to: