[pkg-go] Bug#897527: golang-github-paulbellamy-ratecounter: FTBFS: dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/paulbellamy/ratecounter returned exit code 1

Lucas Nussbaum lucas at debian.org
Wed May 2 21:46:26 BST 2018


Source: golang-github-paulbellamy-ratecounter
Version: 0.2.0-4
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64

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_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/paulbellamy/ratecounter
> github.com/paulbellamy/ratecounter
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/paulbellamy/ratecounter
> === RUN   TestAvgRateCounter
> --- PASS: TestAvgRateCounter (1.00s)
> === RUN   TestAvgRateCounterAdvanced
> --- FAIL: TestAvgRateCounterAdvanced (1.50s)
> 	avgratecounter_test.go:36: Expected  4  to equal  3
> === RUN   TestAvgRateCounterNoResolution
> --- PASS: TestAvgRateCounterNoResolution (1.50s)
> === RUN   TestAvgRateCounter_Incr_ReturnsImmediately
> --- PASS: TestAvgRateCounter_Incr_ReturnsImmediately (0.00s)
> === RUN   TestCounter
> --- PASS: TestCounter (0.00s)
> === RUN   TestRateCounter
> --- PASS: TestRateCounter (1.00s)
> === RUN   TestRateCounterResetAndRestart
> --- PASS: TestRateCounterResetAndRestart (0.60s)
> === RUN   TestRateCounterPartial
> --- PASS: TestRateCounterPartial (1.80s)
> === RUN   TestRateCounterHighResolution
> --- PASS: TestRateCounterHighResolution (0.75s)
> === RUN   TestRateCounterLowResolution
> --- PASS: TestRateCounterLowResolution (0.75s)
> === RUN   TestRateCounterNoResolution
> --- PASS: TestRateCounterNoResolution (0.75s)
> === RUN   TestRateCounter_Incr_ReturnsImmediately
> --- PASS: TestRateCounter_Incr_ReturnsImmediately (0.00s)
> FAIL
> FAIL	github.com/paulbellamy/ratecounter	9.657s
> dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/paulbellamy/ratecounter returned exit code 1

The full build log is available from:
   http://aws-logs.debian.net/2018/05/02/golang-github-paulbellamy-ratecounter_0.2.0-4_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