Source: golang-github-mattermost-xml-roundtrip-validator
Version: 0.1.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 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 install -trimpath -v -p 4 
> github.com/mattermost/xml-roundtrip-validator 
> github.com/mattermost/xml-roundtrip-validator/cmd
> internal/unsafeheader
> internal/goexperiment
> internal/cpu
> internal/abi
> runtime/internal/atomic
> runtime/internal/sys
> runtime/internal/math
> internal/race
> sync/atomic
> internal/bytealg
> unicode
> unicode/utf8
> encoding
> internal/itoa
> math/bits
> math
> runtime
> internal/reflectlite
> sync
> internal/testlog
> errors
> sort
> io
> internal/oserror
> strconv
> syscall
> path
> strings
> bytes
> reflect
> bufio
> time
> internal/syscall/execenv
> internal/syscall/unix
> io/fs
> internal/poll
> internal/fmtsort
> os
> fmt
> flag
> encoding/xml
> github.com/mattermost/xml-roundtrip-validator
> github.com/mattermost/xml-roundtrip-validator/cmd
>    dh_auto_test -O--buildsystem=golang
>       cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/mattermost/xml-roundtrip-validator 
> github.com/mattermost/xml-roundtrip-validator/cmd
> === RUN   TestValidateZippedReader
>     reader_test.go:42: 
>               Error Trace:    reader_test.go:42
>               Error:          An error is expected but got nil.
>               Test:           TestValidateZippedReader
>               Messages:       Should error on an invalid XML document
> --- FAIL: TestValidateZippedReader (0.00s)
> === RUN   TestValidXML
> --- PASS: TestValidXML (0.00s)
> === RUN   TestColonsInLocalNames
>     validator_test.go:41: 
>               Error Trace:    validator_test.go:41
>               Error:          An error is expected but got nil.
>               Test:           TestColonsInLocalNames
>               Messages:       Should error on input with colons in the root 
> element's name
> --- FAIL: TestColonsInLocalNames (0.00s)
> === RUN   TestEmptyNames
>     validator_test.go:73: 
>               Error Trace:    validator_test.go:73
>               Error:          An error is expected but got nil.
>               Test:           TestEmptyNames
>               Messages:       Should error on start element with no local name
> --- FAIL: TestEmptyNames (0.00s)
> === RUN   TestEmptyAttributes
>     validator_test.go:83: 
>               Error Trace:    validator_test.go:83
>               Error:          An error is expected but got nil.
>               Test:           TestEmptyAttributes
>               Messages:       Should error on input with empty attribute names
> --- FAIL: TestEmptyAttributes (0.00s)
> === RUN   TestDirectives
>     validator_test.go:115: 
>               Error Trace:    validator_test.go:115
>               Error:          An error is expected but got nil.
>               Test:           TestDirectives
>               Messages:       Should error on bad directive
> --- FAIL: TestDirectives (0.00s)
> === RUN   TestUnparseableXML
>     validator_test.go:151: 
>               Error Trace:    validator_test.go:151
>               Error:          "[XML syntax error on line 1: unescaped ]]> not 
> in CDATA section]" should have 2 item(s), but has 1
>               Test:           TestUnparseableXML
>               Messages:       Should return exactly two errors
> --- FAIL: TestUnparseableXML (0.00s)
> === RUN   TestValidateAll
>     validator_test.go:162: 
>               Error Trace:    validator_test.go:162
>               Error:          Not equal: 
>                               expected: 3
>                               actual  : 0
>               Test:           TestValidateAll
>               Messages:       Should return three errors
> --- FAIL: TestValidateAll (0.00s)
> === RUN   TestTokenEquals
> --- PASS: TestTokenEquals (0.00s)
> === RUN   TestErrorMessages
> --- PASS: TestErrorMessages (0.00s)
> FAIL
> FAIL  github.com/mattermost/xml-roundtrip-validator   0.005s
> ?     github.com/mattermost/xml-roundtrip-validator/cmd       [no test files]
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/mattermost/xml-roundtrip-validator 
> github.com/mattermost/xml-roundtrip-validator/cmd returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/golang-github-mattermost-xml-roundtrip-validator_0.1.0-2_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.

Reply via email to