[pkg-go] Bug#851372: prometheus-alertmanager FTBFS on mipsel and mips64el: test failures

Adrian Bunk bunk at debian.org
Sat Jan 14 13:17:45 UTC 2017


Source: prometheus-alertmanager
Version: 0.5.1+ds-5
Severity: serious

prometheus-alertmanager FTBFS on mipsel and mips64el
(but not on the big endian mips):

https://buildd.debian.org/status/package.php?p=prometheus-alertmanager

...
=== RUN   TestSilencing
=== RUN   TestSilenceDelete
--- FAIL: TestInhibiting (3.51s)
	acceptance.go:131: AM on 127.0.0.1:35417
	acceptance.go:304: Error pushing [InstanceDown[27bbfd8][active]]: Post http://127.0.0.1:35417/api/v1/alerts: dial tcp 127.0.0.1:35417: getsockopt: connection refused
	acceptance.go:304: Error pushing [InstanceDown[27b9fd8][active]]: Post http://127.0.0.1:35417/api/v1/alerts: dial tcp 127.0.0.1:35417: getsockopt: connection refused
	acceptance.go:304: Error pushing [test1[38692d7][active]]: Post http://127.0.0.1:35417/api/v1/alerts: dial tcp 127.0.0.1:35417: getsockopt: connection refused
	acceptance.go:195: 
		collector "webhook":
		
		interval [3,3.5]
		---
		- test1[38692d7][active][1:]
		- InstanceDown[27b9fd8][active][1:]
		- JobDown[13c0540][active][2.2:]
		  [ ✗ ]
		interval [2,2.5]
		---
		- test1[38692d7][active][1:]
		- InstanceDown[27bbfd8][active][1:]
		- InstanceDown[27b9fd8][active][1:]
		  [ ✗ ]
		
		Expected total of 6 alerts, got 1
		received:
		@ 3.30512607
		- JobDown[13c0540][active][2.261620366:]
		
	acceptance.go:199: stdout:
	acceptance.go:200: stderr:
		time="2017-01-14T09:41:46Z" level=info msg="Starting alertmanager (version=, branch=, revision=)" source="main.go:102" 
		time="2017-01-14T09:41:46Z" level=info msg="Build context (go=go1.6.1 gccgo (Debian 6.3.0-2) 6.3.0 20161229, user=, date=)" source="main.go:103" 
		time="2017-01-14T09:41:46Z" level=info msg="Loading configuration file" file="/tmp/am_test858103233/config.yml" source="main.go:196" 
		time="2017-01-14T09:41:46Z" level=info msg="Listening on 127.0.0.1:35417" source="main.go:251" 
		time="2017-01-14T09:41:47Z" level=debug msg="Received alert" alert=JobDown[13c0540][active] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:48Z" level=debug msg="flushing [JobDown[13c0540][active]]" aggrGroup=cbf29ce484222325 source="dispatch.go:405" 
--- FAIL: TestMergeAlerts (6.50s)
	acceptance.go:131: AM on 127.0.0.1:46231
	acceptance.go:304: Error pushing [test[1f56cb8][active]]: Post http://127.0.0.1:46231/api/v1/alerts: dial tcp 127.0.0.1:46231: getsockopt: connection refused
	acceptance.go:195: 
		collector "webhook":
		
		interval [6,6.5]
		---
		- test[1f56cb8][active][5.3:]
		  [ ✓ ]
		interval [5,5.5]
		---
		- test[1f56cb8][resolved][1:4.8]
		  [ ✓ ]
		interval [4,4.5]
		---
		- test[1f56cb8][active][1:]
		  [ ✓ ]
		interval [3,3.5]
		---
		- test[1f56cb8][active][1:]
		  [ ✓ ]
		interval [2,2.5]
		---
		- test[1f56cb8][active][1:]
		  [ ✗ ]
		
		received:
		@ 6.112938927
		- test[1f56cb8][active][5.302080842:]
		@ 5.155567758
		- test[1f56cb8][resolved][1:4.8]
		@ 4.122295102
		- test[1f56cb8][active][1:]
		@ 3.11564389
		- test[1f56cb8][active][1:]
		@ 2.140577375
		- test[1f56cb8][active][1:]
		
	acceptance.go:199: stdout:
	acceptance.go:200: stderr:
		time="2017-01-14T09:41:49Z" level=info msg="Starting alertmanager (version=, branch=, revision=)" source="main.go:102" 
		time="2017-01-14T09:41:49Z" level=info msg="Build context (go=go1.6.1 gccgo (Debian 6.3.0-2) 6.3.0 20161229, user=, date=)" source="main.go:103" 
		time="2017-01-14T09:41:49Z" level=info msg="Loading configuration file" file="/tmp/am_test347889708/config.yml" source="main.go:196" 
		time="2017-01-14T09:41:49Z" level=info msg="Listening on 127.0.0.1:46231" source="main.go:251" 
		time="2017-01-14T09:41:50Z" level=debug msg="Received alert" alert=test[1f56cb8][active] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:51Z" level=debug msg="Received alert" alert=test[1f56cb8][active] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:51Z" level=debug msg="flushing [test[1f56cb8][active]]" aggrGroup=cbf29ce484222325 source="dispatch.go:405" 
		time="2017-01-14T09:41:52Z" level=debug msg="flushing [test[1f56cb8][active]]" aggrGroup=cbf29ce484222325 source="dispatch.go:405" 
		time="2017-01-14T09:41:52Z" level=debug msg="Received alert" alert=test[1f56cb8][active] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:53Z" level=debug msg="flushing [test[1f56cb8][active]]" aggrGroup=cbf29ce484222325 source="dispatch.go:405" 
		time="2017-01-14T09:41:53Z" level=debug msg="Received alert" alert=test[1f56cb8][resolved] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:53Z" level=debug msg="Received alert" alert=test[1f56cb8][resolved] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:53Z" level=debug msg="Received alert" alert=test[1f56cb8][resolved] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:54Z" level=debug msg="flushing [test[1f56cb8][resolved]]" aggrGroup=cbf29ce484222325 source="dispatch.go:405" 
		time="2017-01-14T09:41:54Z" level=debug msg="Received alert" alert=test[1f56cb8][active] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:55Z" level=debug msg="flushing [test[1f56cb8][active]]" aggrGroup=cbf29ce484222325 source="dispatch.go:405" 
--- FAIL: TestRepeat (4.50s)
	acceptance.go:131: AM on 127.0.0.1:52317
	acceptance.go:304: Error pushing [test[1f56cb8][active]]: Post http://127.0.0.1:52317/api/v1/alerts: dial tcp 127.0.0.1:52317: getsockopt: connection refused
	acceptance.go:195: 
		collector "webhook":
		
		interval [4,4.5]
		---
		- test[1f56cb8][resolved][1:3]
		  [ ✗ ]
		interval [3,3.5]
		---
		- test[1f56cb8][active][1:]
		  [ ✗ ]
		interval [2,2.5]
		---
		- test[1f56cb8][active][1:]
		  [ ✗ ]
		
		Expected total of 3 alerts, got 0
		received:
		
	acceptance.go:199: stdout:
	acceptance.go:200: stderr:
		time="2017-01-14T09:41:56Z" level=info msg="Starting alertmanager (version=, branch=, revision=)" source="main.go:102" 
		time="2017-01-14T09:41:56Z" level=info msg="Build context (go=go1.6.1 gccgo (Debian 6.3.0-2) 6.3.0 20161229, user=, date=)" source="main.go:103" 
		time="2017-01-14T09:41:56Z" level=info msg="Loading configuration file" file="/tmp/am_test164429723/config.yml" source="main.go:196" 
		time="2017-01-14T09:41:56Z" level=info msg="Listening on 127.0.0.1:52317" source="main.go:251" 
		time="2017-01-14T09:41:58Z" level=debug msg="Received alert" alert=test[1f56cb8][resolved] component=dispatcher source="dispatch.go:168" 
		time="2017-01-14T09:41:58Z" level=debug msg="flushing [test[1f56cb8][resolved]]" aggrGroup=cbf29ce484222325 source="dispatch.go:405" 
--- PASS: TestRetry (0.00s)
	acceptance.go:131: AM on 127.0.0.1:48908
--- FAIL: TestSilencing (5.50s)
	acceptance.go:131: AM on 127.0.0.1:42458
	acceptance.go:304: Error pushing [test2[5ae50ff][active]]: Post http://127.0.0.1:42458/api/v1/alerts: dial tcp 127.0.0.1:42458: getsockopt: connection refused
	acceptance.go:304: Error pushing [test1[5ae90ff][active]]: Post http://127.0.0.1:42458/api/v1/alerts: dial tcp 127.0.0.1:42458: getsockopt: connection refused
	acceptance.go:195: 
		collector "webhook":
		
		interval [5,5.5]
		---
		- test1[5ae90ff][active][1:]
		- test2[5ae50ff][active][1:]
		  [ ✗ ]
		interval [4,4.5]
		---
		- test2[5ae50ff][active][1:]
		  [ ✗ ]
		interval [3,3.5]
		---
		- test2[5ae50ff][active][1:]
		  [ ✗ ]
		interval [2,2.5]
		---
		- test1[5ae90ff][active][1:]
		- test2[5ae50ff][active][1:]
		  [ ✗ ]
		
		Expected total of 6 alerts, got 0
		received:
		
	acceptance.go:199: stdout:
	acceptance.go:200: stderr:
		time="2017-01-14T09:42:00Z" level=info msg="Starting alertmanager (version=, branch=, revision=)" source="main.go:102" 
		time="2017-01-14T09:42:00Z" level=info msg="Build context (go=go1.6.1 gccgo (Debian 6.3.0-2) 6.3.0 20161229, user=, date=)" source="main.go:103" 
		time="2017-01-14T09:42:00Z" level=info msg="Loading configuration file" file="/tmp/am_test216943237/config.yml" source="main.go:196" 
		time="2017-01-14T09:42:00Z" level=info msg="Listening on 127.0.0.1:42458" source="main.go:251" 
--- FAIL: TestSilenceDelete (4.50s)
	acceptance.go:131: AM on 127.0.0.1:49504
	acceptance.go:304: Error pushing [test1[5ae90ff][active]]: Post http://127.0.0.1:49504/api/v1/alerts: dial tcp 127.0.0.1:49504: getsockopt: connection refused
	acceptance.go:304: Error pushing [test2[5ae50ff][active]]: Post http://127.0.0.1:49504/api/v1/alerts: dial tcp 127.0.0.1:49504: getsockopt: connection refused
	acceptance.go:195: 
		collector "webhook":
		
		interval [3.5,4.5]
		---
		- test1[5ae90ff][active][1:]
		- test2[5ae50ff][active][1:]
		  [ ✗ ]
		
		Expected total of 2 alerts, got 0
		received:
		
	acceptance.go:199: stdout:
	acceptance.go:200: stderr:
		time="2017-01-14T09:42:06Z" level=info msg="Starting alertmanager (version=, branch=, revision=)" source="main.go:102" 
		time="2017-01-14T09:42:06Z" level=info msg="Build context (go=go1.6.1 gccgo (Debian 6.3.0-2) 6.3.0 20161229, user=, date=)" source="main.go:103" 
		time="2017-01-14T09:42:06Z" level=info msg="Loading configuration file" file="/tmp/am_test698660384/config.yml" source="main.go:196" 
		time="2017-01-14T09:42:06Z" level=info msg="Listening on 127.0.0.1:49504" source="main.go:251" 
FAIL
exit status 1
FAIL	github.com/prometheus/alertmanager/test/acceptance	25.476s
debian/rules:58: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/«BUILDDIR»/prometheus-alertmanager-0.5.1+ds'
debian/rules:35: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2



More information about the Pkg-go-maintainers mailing list