[pkg-go] Bug#1008443: golang-github-smartystreets-assertions: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/smartystreets/assertions github.com/smartystreets/assertions/assert github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch github.com/smartystreets/assertions/internal/go-render/render github.com/smartystreets/assertions/internal/unit github.com/smartystreets/assertions/should returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Mar 26 21:18:33 GMT 2022


Source: golang-github-smartystreets-assertions
Version: 1.10.1+ds-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220326 ftbfs-bookworm

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 generate -v github.com/smartystreets/assertions github.com/smartystreets/assertions/assert github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch github.com/smartystreets/assertions/internal/go-render/render github.com/smartystreets/assertions/internal/unit github.com/smartystreets/assertions/should
> src/github.com/smartystreets/assertions/collections.go
> src/github.com/smartystreets/assertions/collections_test.go
> src/github.com/smartystreets/assertions/doc.go
> src/github.com/smartystreets/assertions/doc_test.go
> src/github.com/smartystreets/assertions/equal_method.go
> src/github.com/smartystreets/assertions/equal_method_test.go
> src/github.com/smartystreets/assertions/equality.go
> src/github.com/smartystreets/assertions/equality_diff.go
> src/github.com/smartystreets/assertions/equality_test.go
> src/github.com/smartystreets/assertions/filter.go
> src/github.com/smartystreets/assertions/messages.go
> src/github.com/smartystreets/assertions/panic.go
> src/github.com/smartystreets/assertions/panic_test.go
> src/github.com/smartystreets/assertions/quantity.go
> src/github.com/smartystreets/assertions/quantity_test.go
> src/github.com/smartystreets/assertions/serializer.go
> src/github.com/smartystreets/assertions/serializer_test.go
> src/github.com/smartystreets/assertions/strings.go
> src/github.com/smartystreets/assertions/strings_test.go
> src/github.com/smartystreets/assertions/time.go
> src/github.com/smartystreets/assertions/time_test.go
> src/github.com/smartystreets/assertions/type.go
> src/github.com/smartystreets/assertions/type_test.go
> src/github.com/smartystreets/assertions/utilities_for_test.go
> src/github.com/smartystreets/assertions/assert/assert.go
> src/github.com/smartystreets/assertions/assert/assert_failed_test.go
> src/github.com/smartystreets/assertions/assert/assert_passed_test.go
> src/github.com/smartystreets/assertions/assert/logger.go
> src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/diff.go
> src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/diffmatchpatch.go
> src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/match.go
> src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/mathutil.go
> src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/operation_string.go
> src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/patch.go
> src/github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch/stringutil.go
> src/github.com/smartystreets/assertions/internal/go-render/render/render.go
> src/github.com/smartystreets/assertions/internal/go-render/render/render_test.go
> src/github.com/smartystreets/assertions/internal/go-render/render/render_time.go
> src/github.com/smartystreets/assertions/internal/unit/fixture.go
> src/github.com/smartystreets/assertions/should/should.go
> 	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 8 github.com/smartystreets/assertions github.com/smartystreets/assertions/assert github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch github.com/smartystreets/assertions/internal/go-render/render github.com/smartystreets/assertions/internal/unit github.com/smartystreets/assertions/should
> internal/unsafeheader
> internal/goexperiment
> internal/goarch
> internal/race
> internal/goos
> internal/cpu
> runtime/internal/syscall
> runtime/internal/atomic
> sync/atomic
> unicode
> internal/abi
> runtime/internal/math
> runtime/internal/sys
> encoding
> unicode/utf8
> math/bits
> internal/itoa
> unicode/utf16
> internal/bytealg
> math
> runtime
> internal/reflectlite
> sync
> internal/sysinfo
> math/rand
> internal/testlog
> errors
> sort
> io
> strconv
> internal/oserror
> path
> syscall
> strings
> bytes
> reflect
> html
> regexp/syntax
> internal/syscall/execenv
> internal/syscall/unix
> time
> regexp
> io/fs
> context
> internal/poll
> internal/fmtsort
> encoding/binary
> os
> encoding/base64
> path/filepath
> fmt
> encoding/json
> net/url
> github.com/jacobsa/oglematchers
> github.com/smartystreets/assertions/internal/go-render/render
> log
> flag
> runtime/debug
> runtime/trace
> github.com/smartystreets/assertions/assert
> github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch
> testing
> github.com/smartystreets/assertions
> github.com/smartystreets/assertions/internal/unit
> github.com/smartystreets/assertions/should
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/smartystreets/assertions github.com/smartystreets/assertions/assert github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch github.com/smartystreets/assertions/internal/go-render/render github.com/smartystreets/assertions/internal/unit github.com/smartystreets/assertions/should
> === RUN   TestGoConveyModeAffectsSerializer
> --- PASS: TestGoConveyModeAffectsSerializer (0.00s)
> === RUN   TestPassingAssertion
> --- PASS: TestPassingAssertion (0.00s)
> === RUN   TestFailingAssertion
> --- PASS: TestFailingAssertion (0.00s)
> === RUN   TestFailingGroupsOfAssertions
> --- PASS: TestFailingGroupsOfAssertions (0.00s)
> === RUN   TestEqualityFixture
> === RUN   TestEqualityFixture/TestAreEqual
> === RUN   TestEqualityFixture/TestAreNotEqual
> === RUN   TestEqualityFixture/TestEligible1
> === RUN   TestEqualityFixture/TestEligible1_PointerReceiver
> === RUN   TestEqualityFixture/TestEligible2
> === RUN   TestEqualityFixture/TestEligibleAsymmetric_EqualMethodResultDiffersWhenArgumentsInverted
> === RUN   TestEqualityFixture/TestIneligible_DisparateTypes
> === RUN   TestEqualityFixture/TestIneligible_EqualMethodReceivesNoInput
> === RUN   TestEqualityFixture/TestIneligible_EqualMethodReceivesTooManyInputs
> === RUN   TestEqualityFixture/TestIneligible_EqualMethodReceivesWrongInput
> === RUN   TestEqualityFixture/TestIneligible_EqualMethodReturnsNoOutputs
> === RUN   TestEqualityFixture/TestIneligible_EqualMethodReturnsTooManyOutputs
> === RUN   TestEqualityFixture/TestIneligible_EqualMethodReturnsWrongOutputs
> === RUN   TestEqualityFixture/TestIneligible_NoEqualMethod
> === RUN   TestEqualityFixture/TestIneligible_PrimitiveTypes
> === RUN   TestEqualityFixture/TestNilNil
> --- PASS: TestEqualityFixture (0.00s)
>     --- PASS: TestEqualityFixture/TestAreEqual (0.00s)
>     --- PASS: TestEqualityFixture/TestAreNotEqual (0.00s)
>     --- PASS: TestEqualityFixture/TestEligible1 (0.00s)
>     --- PASS: TestEqualityFixture/TestEligible1_PointerReceiver (0.00s)
>     --- PASS: TestEqualityFixture/TestEligible2 (0.00s)
>     --- PASS: TestEqualityFixture/TestEligibleAsymmetric_EqualMethodResultDiffersWhenArgumentsInverted (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_DisparateTypes (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_EqualMethodReceivesNoInput (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_EqualMethodReceivesTooManyInputs (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_EqualMethodReceivesWrongInput (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_EqualMethodReturnsNoOutputs (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_EqualMethodReturnsTooManyOutputs (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_EqualMethodReturnsWrongOutputs (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_NoEqualMethod (0.00s)
>     --- PASS: TestEqualityFixture/TestIneligible_PrimitiveTypes (0.00s)
>     --- PASS: TestEqualityFixture/TestNilNil (0.00s)
> === RUN   TestFailureSerializerCreatesSerializedVersionOfAssertionResult
> --- PASS: TestFailureSerializerCreatesSerializedVersionOfAssertionResult (0.00s)
> === RUN   TestNoopSerializerJustReturnsTheMessageInAllCases
> --- PASS: TestNoopSerializerJustReturnsTheMessageInAllCases (0.00s)
> === RUN   TestAssertionsFixture
>     utilities_for_test.go:14: DM-skipped
> --- SKIP: TestAssertionsFixture (0.00s)
> PASS
> ok  	github.com/smartystreets/assertions	0.005s
> === RUN   TestFailedResultFixture
> === RUN   TestFailedResultFixture/TestFatal
> === RUN   TestFailedResultFixture/TestLog
> === RUN   TestFailedResultFixture/TestPanic
> === RUN   TestFailedResultFixture/TestPrintln
> === RUN   TestFailedResultFixture/TestQueryFunctions
> --- PASS: TestFailedResultFixture (0.00s)
>     --- PASS: TestFailedResultFixture/TestFatal (0.00s)
>     --- PASS: TestFailedResultFixture/TestLog (0.00s)
>     --- PASS: TestFailedResultFixture/TestPanic (0.00s)
>     --- PASS: TestFailedResultFixture/TestPrintln (0.00s)
>     --- PASS: TestFailedResultFixture/TestQueryFunctions (0.00s)
> === RUN   TestPassedResultFixture
> === RUN   TestPassedResultFixture/TestFatal
> === RUN   TestPassedResultFixture/TestLog
> === RUN   TestPassedResultFixture/TestPanic
> === RUN   TestPassedResultFixture/TestPrintln
> === RUN   TestPassedResultFixture/TestQueryFunctions
> --- PASS: TestPassedResultFixture (0.00s)
>     --- PASS: TestPassedResultFixture/TestFatal (0.00s)
>     --- PASS: TestPassedResultFixture/TestLog (0.00s)
>     --- PASS: TestPassedResultFixture/TestPanic (0.00s)
>     --- PASS: TestPassedResultFixture/TestPrintln (0.00s)
>     --- PASS: TestPassedResultFixture/TestQueryFunctions (0.00s)
> PASS
> ok  	github.com/smartystreets/assertions/assert	0.002s
> ?   	github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch	[no test files]
> === RUN   TestRenderList
> === PAUSE TestRenderList
> === RUN   TestRenderRecursiveStruct
> --- PASS: TestRenderRecursiveStruct (0.00s)
> === RUN   TestRenderRecursiveArray
> --- PASS: TestRenderRecursiveArray (0.00s)
> === RUN   TestRenderRecursiveMap
> --- PASS: TestRenderRecursiveMap (0.00s)
> === RUN   TestRenderImplicitType
> --- PASS: TestRenderImplicitType (0.00s)
> === RUN   TestMapSortRendering
>     render_test.go:29: On line #279, [] did not match expectations:
>         Expected: map[interface{}]struct {}{1:{}, 2:{}, 3:{}, "foo":{}}
>         Actual  : map[interface{}]struct {}{3:{}, 1:{}, 2:{}, "foo":{}}
> --- FAIL: TestMapSortRendering (0.00s)
> === CONT  TestRenderList
> --- PASS: TestRenderList (0.00s)
> === RUN   ExampleInReadme
> --- PASS: ExampleInReadme (0.00s)
> FAIL
> FAIL	github.com/smartystreets/assertions/internal/go-render/render	0.002s
> ?   	github.com/smartystreets/assertions/internal/unit	[no test files]
> ?   	github.com/smartystreets/assertions/should	[no test files]
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 8 github.com/smartystreets/assertions github.com/smartystreets/assertions/assert github.com/smartystreets/assertions/internal/go-diff/diffmatchpatch github.com/smartystreets/assertions/internal/go-render/render github.com/smartystreets/assertions/internal/unit github.com/smartystreets/assertions/should returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/03/26/golang-github-smartystreets-assertions_1.10.1+ds-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-go-maintainers mailing list