[pkg-go] Bug#907171: prometheus FTBFS:
Adrian Bunk
bunk at debian.org
Fri Aug 24 13:47:31 BST 2018
Source: prometheus
Version: 2.3.2+ds-1
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/prometheus.html
...
panic: Can't start web handler:listen tcp :9090: bind: address already in use
goroutine 229 [running]:
github.com/prometheus/prometheus/web.TestReadyAndHealthy.func2(0xc420304300)
/build/1st/prometheus-2.3.2+ds/build/src/github.com/prometheus/prometheus/web/web_test.go:118 +0xf3
created by github.com/prometheus/prometheus/web.TestReadyAndHealthy
/build/1st/prometheus-2.3.2+ds/build/src/github.com/prometheus/prometheus/web/web_test.go:115 +0x2f2
FAIL github.com/prometheus/prometheus/web 0.203s
=== RUN TestEndpoints
=== RUN TestEndpoints/local
=== RUN TestEndpoints/remote
--- PASS: TestEndpoints (0.14s)
--- PASS: TestEndpoints/local (0.01s)
api_test.go:629: run 0 GET "query=2&time=123.4"
api_test.go:629: run 0 POST "query=2&time=123.4"
api_test.go:629: run 1 GET "query=0.333&time=1970-01-01T00%3A02%3A03Z"
api_test.go:629: run 1 POST "query=0.333&time=1970-01-01T00%3A02%3A03Z"
api_test.go:629: run 2 GET "query=0.333&time=1970-01-01T01%3A02%3A03%2B01%3A00"
api_test.go:629: run 2 POST "query=0.333&time=1970-01-01T01%3A02%3A03%2B01%3A00"
api_test.go:629: run 3 GET "query=0.333"
api_test.go:629: run 3 POST "query=0.333"
api_test.go:629: run 4 GET "end=2&query=time%28%29&start=0&step=1"
api_test.go:629: run 4 POST "end=2&query=time%28%29&start=0&step=1"
api_test.go:629: run 5 GET "end=2&query=time%28%29&step=1"
api_test.go:629: run 5 POST "end=2&query=time%28%29&step=1"
api_test.go:629: run 6 GET "query=time%28%29&start=0&step=1"
api_test.go:629: run 6 POST "query=time%28%29&start=0&step=1"
api_test.go:629: run 7 GET "end=2&query=time%28%29&start=0"
api_test.go:629: run 7 POST "end=2&query=time%28%29&start=0"
api_test.go:629: run 8 GET "query=invalid%5D%5Bquery&time=1970-01-01T01%3A02%3A03%2B01%3A00"
api_test.go:629: run 8 POST "query=invalid%5D%5Bquery&time=1970-01-01T01%3A02%3A03%2B01%3A00"
api_test.go:629: run 9 GET "end=100&query=invalid%5D%5Bquery&start=0&step=1"
api_test.go:629: run 9 POST "end=100&query=invalid%5D%5Bquery&start=0&step=1"
api_test.go:629: run 10 GET "end=2&query=time%28%29&start=1&step=0"
api_test.go:629: run 10 POST "end=2&query=time%28%29&start=1&step=0"
api_test.go:629: run 11 GET "end=1&query=time%28%29&start=2&step=1"
api_test.go:629: run 11 POST "end=1&query=time%28%29&start=2&step=1"
api_test.go:629: run 12 GET "end=1489667272.372&query=time%28%29&start=148966367200.372&step=1"
api_test.go:629: run 12 POST "end=1489667272.372&query=time%28%29&start=148966367200.372&step=1"
api_test.go:629: run 13 GET "match%5B%5D=test_metric2"
api_test.go:629: run 14 GET "match%5B%5D=test_metric1%7Bfoo%3D~%22.%2Bo%22%7D"
api_test.go:629: run 15 GET "match%5B%5D=test_metric1%7Bfoo%3D~%22.%2Bo%24%22%7D&match%5B%5D=test_metric1%7Bfoo%3D~%22.%2Bo%22%7D"
api_test.go:629: run 16 GET "match%5B%5D=test_metric1%7Bfoo%3D~%22.%2Bo%22%7D&match%5B%5D=none"
api_test.go:629: run 17 GET "end=-1&match%5B%5D=test_metric2&start=-2"
api_test.go:629: run 18 GET "end=100001&match%5B%5D=test_metric2&start=100000"
api_test.go:629: run 19 GET "end=100000&match%5B%5D=test_metric2&start=-1"
api_test.go:629: run 20 GET "end=100&match%5B%5D=test_metric2&start=1"
api_test.go:629: run 21 GET "end=100000&match%5B%5D=test_metric2&start=1"
api_test.go:629: run 22 GET "end=1&match%5B%5D=test_metric2&start=-1"
api_test.go:629: run 23 GET ""
api_test.go:629: run 24 GET ""
api_test.go:629: run 25 GET ""
api_test.go:629: run 26 GET ""
api_test.go:629: run 27 GET ""
api_test.go:629: run 28 GET ""
api_test.go:629: run 29 GET ""
api_test.go:629: run 30 GET ""
api_test.go:629: run 31 GET ""
--- PASS: TestEndpoints/remote (0.01s)
api_test.go:629: run 0 GET "query=2&time=123.4"
api_test.go:629: run 0 POST "query=2&time=123.4"
api_test.go:629: run 1 GET "query=0.333&time=1970-01-01T00%3A02%3A03Z"
api_test.go:629: run 1 POST "query=0.333&time=1970-01-01T00%3A02%3A03Z"
api_test.go:629: run 2 GET "query=0.333&time=1970-01-01T01%3A02%3A03%2B01%3A00"
api_test.go:629: run 2 POST "query=0.333&time=1970-01-01T01%3A02%3A03%2B01%3A00"
api_test.go:629: run 3 GET "query=0.333"
api_test.go:629: run 3 POST "query=0.333"
api_test.go:629: run 4 GET "end=2&query=time%28%29&start=0&step=1"
api_test.go:629: run 4 POST "end=2&query=time%28%29&start=0&step=1"
api_test.go:629: run 5 GET "end=2&query=time%28%29&step=1"
api_test.go:629: run 5 POST "end=2&query=time%28%29&step=1"
api_test.go:629: run 6 GET "query=time%28%29&start=0&step=1"
api_test.go:629: run 6 POST "query=time%28%29&start=0&step=1"
api_test.go:629: run 7 GET "end=2&query=time%28%29&start=0"
api_test.go:629: run 7 POST "end=2&query=time%28%29&start=0"
api_test.go:629: run 8 GET "query=invalid%5D%5Bquery&time=1970-01-01T01%3A02%3A03%2B01%3A00"
api_test.go:629: run 8 POST "query=invalid%5D%5Bquery&time=1970-01-01T01%3A02%3A03%2B01%3A00"
api_test.go:629: run 9 GET "end=100&query=invalid%5D%5Bquery&start=0&step=1"
api_test.go:629: run 9 POST "end=100&query=invalid%5D%5Bquery&start=0&step=1"
api_test.go:629: run 10 GET "end=2&query=time%28%29&start=1&step=0"
api_test.go:629: run 10 POST "end=2&query=time%28%29&start=1&step=0"
api_test.go:629: run 11 GET "end=1&query=time%28%29&start=2&step=1"
api_test.go:629: run 11 POST "end=1&query=time%28%29&start=2&step=1"
api_test.go:629: run 12 GET "end=1489667272.372&query=time%28%29&start=148966367200.372&step=1"
api_test.go:629: run 12 POST "end=1489667272.372&query=time%28%29&start=148966367200.372&step=1"
api_test.go:629: run 13 GET "match%5B%5D=test_metric2"
api_test.go:629: run 14 GET "match%5B%5D=test_metric1%7Bfoo%3D~%22.%2Bo%22%7D"
api_test.go:629: run 15 GET "match%5B%5D=test_metric1%7Bfoo%3D~%22.%2Bo%24%22%7D&match%5B%5D=test_metric1%7Bfoo%3D~%22.%2Bo%22%7D"
api_test.go:629: run 16 GET "match%5B%5D=test_metric1%7Bfoo%3D~%22.%2Bo%22%7D&match%5B%5D=none"
api_test.go:629: run 17 GET "end=-1&match%5B%5D=test_metric2&start=-2"
api_test.go:629: run 18 GET "end=100001&match%5B%5D=test_metric2&start=100000"
api_test.go:629: run 19 GET "end=100000&match%5B%5D=test_metric2&start=-1"
api_test.go:629: run 20 GET "end=100&match%5B%5D=test_metric2&start=1"
api_test.go:629: run 21 GET "end=100000&match%5B%5D=test_metric2&start=1"
api_test.go:629: run 22 GET "end=1&match%5B%5D=test_metric2&start=-1"
api_test.go:629: run 23 GET ""
api_test.go:629: run 24 GET ""
api_test.go:629: run 25 GET ""
api_test.go:629: run 26 GET ""
api_test.go:629: run 27 GET ""
api_test.go:629: run 28 GET ""
=== RUN TestReadEndpoint
--- PASS: TestReadEndpoint (0.14s)
=== RUN TestRespondSuccess
--- PASS: TestRespondSuccess (0.01s)
=== RUN TestRespondError
--- PASS: TestRespondError (0.00s)
=== RUN TestParseTime
--- PASS: TestParseTime (0.00s)
=== RUN TestParseDuration
--- PASS: TestParseDuration (0.00s)
=== RUN TestOptionsMethod
--- PASS: TestOptionsMethod (0.00s)
=== RUN TestRespond
--- PASS: TestRespond (0.02s)
PASS
ok github.com/prometheus/prometheus/web/api/v1 0.341s
? github.com/prometheus/prometheus/web/api/v2 [no test files]
dh_auto_test: cd build && go test -vet=off -v -p 16 -timeout 20m github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool github.com/prometheus/prometheus/config github.com/prometheus/prometheus/discovery github.com/prometheus/prometheus/discovery/azure github.com/prometheus/prometheus/discovery/config github.com/prometheus/prometheus/discovery/consul github.com/prometheus/prometheus/discovery/dns github.com/prometheus/prometheus/discovery/ec2 github.com/prometheus/prometheus/discovery/file github.com/prometheus/prometheus/discovery/gce github.com/prometheus/prometheus/discovery/marathon github.com/prometheus/prometheus/discovery/openstack github.com/prometheus/prometheus/discovery/targetgroup github.com/prometheus/prometheus/discovery/triton github.com/prometheus/prometheus/discovery/zookeeper github.com/prometheus/prometheus/notifier github.com/prometheus/prometheus/pkg/labels github.com/prometheus/prometheus/pkg/pool github.com/prometheus/prometheus/pkg/relabel github.com/prometheus/prometheus/pkg/rulefmt github.com/prometheus/prometheus/pkg/textparse github.com/prometheus/prometheus/pkg/timestamp github.com/prometheus/prometheus/pkg/value github.com/prometheus/prometheus/prompb github.com/prometheus/prometheus/promql github.com/prometheus/prometheus/relabel github.com/prometheus/prometheus/rules github.com/prometheus/prometheus/scrape github.com/prometheus/prometheus/storage github.com/prometheus/prometheus/storage/remote github.com/prometheus/prometheus/storage/tsdb github.com/prometheus/prometheus/template github.com/prometheus/prometheus/util/httputil github.com/prometheus/prometheus/util/promlint github.com/prometheus/prometheus/util/stats github.com/prometheus/prometheus/util/strutil github.com/prometheus/prometheus/util/testutil github.com/prometheus/prometheus/util/treecache github.com/prometheus/prometheus/web github.com/prometheus/prometheus/web/api/v1 github.com/prometheus/prometheus/web/api/v2 returned exit code 1
make[1]: *** [debian/rules:57: override_dh_auto_test] Error 1
More information about the Pkg-go-maintainers
mailing list