[pkg-go] Bug#954599: golang-github-bshuster-repo-logrus-logstash-hook: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/bshuster-repo/logrus-logstash-hook returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Mar 22 08:16:56 GMT 2020


Source: golang-github-bshuster-repo-logrus-logstash-hook
Version: 0.4.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 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/bshuster-repo/logrus-logstash-hook
> internal/race
> runtime/internal/sys
> internal/cpu
> runtime/internal/atomic
> sync/atomic
> runtime/internal/math
> unicode/utf8
> unicode
> encoding
> internal/bytealg
> math/bits
> internal/testlog
> unicode/utf16
> math
> internal/nettrace
> runtime/cgo
> runtime
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> io
> internal/oserror
> strconv
> syscall
> vendor/golang.org/x/net/dns/dnsmessage
> bytes
> reflect
> strings
> bufio
> time
> internal/syscall/unix
> context
> internal/poll
> internal/fmtsort
> encoding/binary
> os
> encoding/base64
> golang.org/x/sys/unix
> fmt
> net
> log
> encoding/json
> github.com/sirupsen/logrus
> github.com/bshuster-repo/logrus-logstash-hook
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/bshuster-repo/logrus-logstash-hook
> === RUN   TestLogstashFormatter
>     TestLogstashFormatter: logstash_formatter_test.go:58: expected data[error] to be 'Get http://example.com: The error' but got 'Get "http://example.com": The error'
> --- FAIL: TestLogstashFormatter (0.00s)
> === RUN   TestLegostashHook
> --- PASS: TestLegostashHook (0.00s)
> === RUN   TestNewFiltering
> --- PASS: TestNewFiltering (0.00s)
> === RUN   TestSettingAttributes
> --- PASS: TestSettingAttributes (0.00s)
> === RUN   TestFilterHookOnly
> --- PASS: TestFilterHookOnly (0.00s)
> === RUN   TestFire
> --- PASS: TestFire (0.00s)
> === RUN   TestFireFilterHook
> --- PASS: TestFireFilterHook (0.00s)
> === RUN   TestLevels
> --- PASS: TestLevels (0.00s)
> === RUN   TestLogstashTimeStampFormat
> --- PASS: TestLogstashTimeStampFormat (0.00s)
> FAIL
> FAIL	github.com/bshuster-repo/logrus-logstash-hook	0.005s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/bshuster-repo/logrus-logstash-hook returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/03/21/golang-github-bshuster-repo-logrus-logstash-hook_0.4.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