Last active
November 20, 2019 08:18
-
-
Save sylr/a098970d66c766211a1bbcb333a247b8 to your computer and use it in GitHub Desktop.
Alertmanager make test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ✘ s.rabot@wmbpro-srabot ~/go/src/github.com/prometheus/alertmanager master make 09:12:40 | |
| >> checking code style | |
| >> checking license header | |
| >> running golangci-lint | |
| GO111MODULE=on go list -e -compiled -test=true -export=false -deps=true -find=false -tags= -- ./... > /dev/null | |
| go: finding github.com/prometheus/client_golang v1.2.1 | |
| GO111MODULE=on /Users/s.rabot/go/bin/golangci-lint run ./... | |
| >> running check for unused/missing packages in go.mod | |
| GO111MODULE=on go mod tidy | |
| >> running check for unused packages in vendor/ | |
| GO111MODULE=on go mod vendor | |
| >> building binaries | |
| GO111MODULE=on /Users/s.rabot/go/bin/promu build --prefix /Users/s.rabot/go/src/github.com/prometheus/alertmanager | |
| > alertmanager | |
| > amtool | |
| >> running all tests | |
| GO111MODULE=on go test -race -mod=vendor ./... | |
| ? github.com/prometheus/alertmanager/api [no test files] | |
| ? github.com/prometheus/alertmanager/api/metrics [no test files] | |
| ok github.com/prometheus/alertmanager/api/v1 (cached) | |
| ok github.com/prometheus/alertmanager/api/v2 (cached) | |
| ? github.com/prometheus/alertmanager/api/v2/client [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/client/alert [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/client/alertgroup [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/client/general [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/client/receiver [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/client/silence [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/models [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/restapi [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/restapi/operations [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/restapi/operations/alert [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/restapi/operations/alertgroup [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/restapi/operations/general [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/restapi/operations/receiver [no test files] | |
| ? github.com/prometheus/alertmanager/api/v2/restapi/operations/silence [no test files] | |
| ? github.com/prometheus/alertmanager/asset [no test files] | |
| ok github.com/prometheus/alertmanager/cli (cached) | |
| ok github.com/prometheus/alertmanager/cli/config (cached) | |
| ? github.com/prometheus/alertmanager/cli/format [no test files] | |
| ok github.com/prometheus/alertmanager/client (cached) | |
| --- FAIL: TestClusterJoinAndReconnect (0.94s) | |
| --- FAIL: TestClusterJoinAndReconnect/TestJoinLeave (0.84s) | |
| require.go:157: | |
| Error Trace: cluster_test.go:93 | |
| Error: Not equal: | |
| expected: 1 | |
| actual : 2 | |
| Test: TestClusterJoinAndReconnect/TestJoinLeave | |
| FAIL | |
| FAIL github.com/prometheus/alertmanager/cluster 0.975s | |
| ? github.com/prometheus/alertmanager/cluster/clusterpb [no test files] | |
| ok github.com/prometheus/alertmanager/cmd/alertmanager (cached) | |
| ? github.com/prometheus/alertmanager/cmd/amtool [no test files] | |
| ok github.com/prometheus/alertmanager/config (cached) | |
| ok github.com/prometheus/alertmanager/dispatch (cached) | |
| ? github.com/prometheus/alertmanager/examples/webhook [no test files] | |
| ok github.com/prometheus/alertmanager/inhibit (cached) | |
| ok github.com/prometheus/alertmanager/nflog (cached) | |
| ok github.com/prometheus/alertmanager/nflog/nflogpb (cached) | |
| ok github.com/prometheus/alertmanager/notify (cached) | |
| ok github.com/prometheus/alertmanager/notify/email (cached) | |
| ok github.com/prometheus/alertmanager/notify/hipchat (cached) | |
| ok github.com/prometheus/alertmanager/notify/opsgenie (cached) | |
| ok github.com/prometheus/alertmanager/notify/pagerduty (cached) | |
| ok github.com/prometheus/alertmanager/notify/pushover (cached) | |
| ok github.com/prometheus/alertmanager/notify/slack (cached) | |
| ? github.com/prometheus/alertmanager/notify/test [no test files] | |
| ok github.com/prometheus/alertmanager/notify/victorops (cached) | |
| ok github.com/prometheus/alertmanager/notify/webhook (cached) | |
| ok github.com/prometheus/alertmanager/notify/wechat (cached) | |
| ok github.com/prometheus/alertmanager/pkg/labels (cached) | |
| ? github.com/prometheus/alertmanager/pkg/modtimevfs [no test files] | |
| ? github.com/prometheus/alertmanager/provider [no test files] | |
| ok github.com/prometheus/alertmanager/provider/mem (cached) | |
| ok github.com/prometheus/alertmanager/silence (cached) | |
| ? github.com/prometheus/alertmanager/silence/silencepb [no test files] | |
| ok github.com/prometheus/alertmanager/store (cached) | |
| ok github.com/prometheus/alertmanager/template (cached) | |
| ? github.com/prometheus/alertmanager/test/cli [no test files] | |
| ok github.com/prometheus/alertmanager/test/cli/acceptance 3.195s | |
| ? github.com/prometheus/alertmanager/test/with_api_v1 [no test files] | |
| ok github.com/prometheus/alertmanager/test/with_api_v1/acceptance 27.071s | |
| ? github.com/prometheus/alertmanager/test/with_api_v2 [no test files] | |
| --- FAIL: TestRetry (6.50s) | |
| acceptance.go:179: stdout: | |
| acceptance.go:180: stderr: | |
| level=info ts=2019-11-20T08:16:54.687Z caller=main.go:217 msg="Starting Alertmanager" version="(version=0.19.0, branch=master, revision=d965ac6393b2d577974e3840134d954975ae4a22)" | |
| level=info ts=2019-11-20T08:16:54.687Z caller=main.go:218 build_context="(go=go1.13.4, user=s.rabot@wmbpro-srabot, date=20191120-08:16:34)" | |
| level=debug ts=2019-11-20T08:16:54.687Z caller=cluster.go:149 component=cluster msg="resolved peers to following addresses" peers=127.0.0.1:51804 | |
| level=debug ts=2019-11-20T08:16:54.688Z caller=delegate.go:230 component=cluster received=NotifyJoin node=01DT3Y5FWZCWN4BRHKWX016YBC addr=127.0.0.1:51804 | |
| level=debug ts=2019-11-20T08:16:54.688Z caller=cluster.go:306 component=cluster memberlist="2019/11/20 09:16:54 [DEBUG] memberlist: Initiating push/pull sync with: 127.0.0.1:51804\n" | |
| level=debug ts=2019-11-20T08:16:54.688Z caller=cluster.go:306 component=cluster memberlist="2019/11/20 09:16:54 [DEBUG] memberlist: Stream connection from=127.0.0.1:51816\n" | |
| level=debug ts=2019-11-20T08:16:54.689Z caller=cluster.go:233 component=cluster msg="joined cluster" peers=1 | |
| level=info ts=2019-11-20T08:16:54.689Z caller=cluster.go:623 component=cluster msg="Waiting for gossip to settle..." interval=2s | |
| level=info ts=2019-11-20T08:16:54.689Z caller=cluster.go:632 component=cluster msg="gossip not settled but continuing anyway" polls=0 elapsed=990ns | |
| level=debug ts=2019-11-20T08:16:54.707Z caller=main.go:356 externalURL=http://wmbpro-srabot:51803 | |
| level=info ts=2019-11-20T08:16:54.707Z caller=coordinator.go:119 component=configuration msg="Loading configuration file" file=/var/folders/z0/rcywz4nn3jg6g96h67c_4xzdw31lvl/T/am_test248400012/config.yml | |
| level=info ts=2019-11-20T08:16:54.707Z caller=coordinator.go:131 component=configuration msg="Completed loading of configuration file" file=/var/folders/z0/rcywz4nn3jg6g96h67c_4xzdw31lvl/T/am_test248400012/config.yml | |
| level=debug ts=2019-11-20T08:16:54.710Z caller=main.go:449 routePrefix=/ | |
| level=info ts=2019-11-20T08:16:54.710Z caller=main.go:466 msg=Listening address=127.0.0.1:51803 | |
| level=debug ts=2019-11-20T08:16:55.642Z caller=dispatch.go:104 component=dispatcher msg="Received alert" alert=test1[5ae90ff][active] | |
| level=debug ts=2019-11-20T08:16:56.642Z caller=dispatch.go:430 component=dispatcher aggrGroup="{}:{alertname=\"test1\"}" msg=flushing alerts=[test1[5ae90ff][active]] | |
| level=debug ts=2019-11-20T08:16:57.646Z caller=dispatch.go:430 component=dispatcher aggrGroup="{}:{alertname=\"test1\"}" msg=flushing alerts=[test1[5ae90ff][active]] | |
| level=debug ts=2019-11-20T08:16:58.647Z caller=dispatch.go:430 component=dispatcher aggrGroup="{}:{alertname=\"test1\"}" msg=flushing alerts=[test1[5ae90ff][active]] | |
| level=debug ts=2019-11-20T08:16:59.650Z caller=dispatch.go:430 component=dispatcher aggrGroup="{}:{alertname=\"test1\"}" msg=flushing alerts=[test1[5ae90ff][active]] | |
| level=debug ts=2019-11-20T08:17:00.654Z caller=dispatch.go:430 component=dispatcher aggrGroup="{}:{alertname=\"test1\"}" msg=flushing alerts=[test1[5ae90ff][active]] | |
| level=info ts=2019-11-20T08:17:01.140Z caller=main.go:505 msg="Received SIGTERM, exiting gracefully..." | |
| level=debug ts=2019-11-20T08:17:01.140Z caller=cluster.go:539 component=cluster msg="leaving cluster" | |
| send_test.go:217: | |
| collector "webhook": | |
| interval [2,2.5] | |
| --- | |
| - &{map[] 0001-01-01T00:00:00.000Z <nil> [] 2019-11-20T09:16:55.638+01:00 <nil> <nil> { map[alertname:test1]}}[1:] | |
| [ ✓ ] | |
| interval [6,6.5] | |
| --- | |
| - &{map[] 0001-01-01T00:00:00.000Z <nil> [] 2019-11-20T09:16:55.638+01:00 <nil> <nil> { map[alertname:test1]}}[1:] | |
| [ ✗ ] | |
| received: | |
| @ 2.006699554 | |
| - &{map[] 0001-01-01T00:00:00.000Z <nil> [] 2019-11-20T09:16:55.642+01:00 <nil> <nil> { map[alertname:test1]}}[1.003946:] | |
| @ 5.013234461 | |
| - &{map[] 0001-01-01T00:00:00.000Z <nil> [] 2019-11-20T09:16:55.642+01:00 <nil> <nil> { map[alertname:test1]}}[1.003946:] | |
| send_test.go:217: | |
| collector "webhook_failing": | |
| interval [6,6.5] | |
| --- | |
| - &{map[] 0001-01-01T00:00:00.000Z <nil> [] 2019-11-20T09:16:55.638+01:00 <nil> <nil> { map[alertname:test1]}}[1:] | |
| [ ✗ ] | |
| received: | |
| @ 5.012944961 | |
| - &{map[] 0001-01-01T00:00:00.000Z <nil> [] 2019-11-20T09:16:55.642+01:00 <nil> <nil> { map[alertname:test1]}}[1.003946:] | |
| FAIL | |
| FAIL github.com/prometheus/alertmanager/test/with_api_v2/acceptance 30.722s | |
| ok github.com/prometheus/alertmanager/types (cached) | |
| ? github.com/prometheus/alertmanager/ui [no test files] | |
| FAIL | |
| make: *** [common-test] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment