[pkg-go] Bug#902465: golang-github-armon-go-metrics: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Tue Jun 26 23:52:48 BST 2018


Package: src:golang-github-armon-go-metrics
Version: 0.0~git20170601.0.f036747-5
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang
   dh_update_autotools_config -i -O--buildsystem=golang
   dh_auto_configure -i -O--buildsystem=golang
   dh_auto_build -i -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<BUILDDIR>>/golang-github-armon-go-metrics-0.0\~git20170601.0.f036747/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/golang-github-armon-go-metrics-0.0\~git20170601.0.f036747/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/armon/go-metrics github.com/armon/go-metrics/circonus github.com/armon/go-metrics/datadog github.com/armon/go-metrics/prometheus
github.com/armon/go-metrics
github.com/hashicorp/go-cleanhttp
github.com/hashicorp/go-retryablehttp
github.com/circonus-labs/circonus-gometrics/api
github.com/circonus-labs/circonus-gometrics/checkmgr
github.com/circonus-labs/circonusllhist
github.com/circonus-labs/circonus-gometrics

[... snipped ...]

--- PASS: TestNewStatsdSinkFromURL (0.00s)
    --- PASS: TestNewStatsdSinkFromURL/address_is_populated (0.00s)
    --- PASS: TestNewStatsdSinkFromURL/address_includes_port (0.00s)
=== RUN   TestStatsite_Flatten
--- PASS: TestStatsite_Flatten (0.00s)
=== RUN   TestStatsite_PushFullQueue
--- PASS: TestStatsite_PushFullQueue (0.00s)
=== RUN   TestStatsite_Conn
--- SKIP: TestStatsite_Conn (0.00s)
	statsite_test.go:46: 
=== RUN   TestNewStatsiteSinkFromURL
=== RUN   TestNewStatsiteSinkFromURL/address_is_populated
=== RUN   TestNewStatsiteSinkFromURL/address_includes_port
--- PASS: TestNewStatsiteSinkFromURL (0.00s)
    --- PASS: TestNewStatsiteSinkFromURL/address_is_populated (0.00s)
    --- PASS: TestNewStatsiteSinkFromURL/address_includes_port (0.00s)
FAIL
FAIL	github.com/armon/go-metrics	0.230s
=== RUN   TestNewCirconusSink
--- PASS: TestNewCirconusSink (0.00s)
=== RUN   TestFlattenKey
--- PASS: TestFlattenKey (0.00s)
=== RUN   TestSetGauge
--- SKIP: TestSetGauge (0.00s)
	circonus_test.go:72: 
=== RUN   TestIncrCounter
--- PASS: TestIncrCounter (0.00s)
=== RUN   TestAddSample
--- PASS: TestAddSample (0.00s)
PASS
ok  	github.com/armon/go-metrics/circonus	0.003s
=== RUN   TestParseKey
--- PASS: TestParseKey (0.00s)
=== RUN   TestFlattenKey
--- PASS: TestFlattenKey (0.00s)
=== RUN   TestMetricSink
--- PASS: TestMetricSink (0.00s)
=== RUN   TestTaggableMetrics
--- PASS: TestTaggableMetrics (0.00s)
PASS
ok  	github.com/armon/go-metrics/datadog	0.002s
?   	github.com/armon/go-metrics/prometheus	[no test files]
dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/armon/go-metrics github.com/armon/go-metrics/circonus github.com/armon/go-metrics/datadog github.com/armon/go-metrics/prometheus returned exit code 1
debian/rules:5: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.

The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-armon-go-metrics.html

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

Thanks.



More information about the Pkg-go-maintainers mailing list