Source: prometheus-alertmanager
Version: 0.24.0-2
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of prometheus-alertmanager the autopkgtest of prometheus-alertmanager fails in testing when that autopkgtest is run with the binary packages of prometheus-alertmanager from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
prometheus-alertmanager from testing    0.24.0-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=prometheus-alertmanager

https://ci.debian.net/data/autopkgtest/testing/amd64/p/prometheus-alertmanager/27020991/log.gz

=== RUN   TestAddAlerts
--- PASS: TestAddAlerts (0.00s)
=== RUN   TestListAlerts
--- PASS: TestListAlerts (0.00s)
=== RUN   TestAlertFiltering
--- PASS: TestAlertFiltering (0.00s)
=== RUN   TestSilenceFiltering
--- PASS: TestSilenceFiltering (0.00s)
=== RUN   TestReceiversMatchFilter
--- PASS: TestReceiversMatchFilter (0.00s)
=== RUN   TestMatchFilterLabels
--- PASS: TestMatchFilterLabels (0.00s)
PASS
ok      github.com/prometheus/alertmanager/api/v1       0.011s
=== RUN   TestGetStatusHandlerWithNilPeer
--- PASS: TestGetStatusHandlerWithNilPeer (0.00s)
=== RUN   TestGetSilencesHandler
--- PASS: TestGetSilencesHandler (0.00s)
=== RUN   TestDeleteSilenceHandler
--- PASS: TestDeleteSilenceHandler (0.00s)
=== RUN   TestPostSilencesHandler
--- PASS: TestPostSilencesHandler (0.00s)
=== RUN   TestCheckSilenceMatchesFilterLabels
--- PASS: TestCheckSilenceMatchesFilterLabels (0.00s)
=== RUN   TestAlertToOpenAPIAlert
--- PASS: TestAlertToOpenAPIAlert (0.00s)
=== RUN   TestMatchFilterLabels
--- PASS: TestMatchFilterLabels (0.00s)
PASS
ok      github.com/prometheus/alertmanager/api/v2       0.013s
?       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]
=== RUN   TestCheckConfig
Checking 'testdata/conf.good.yml'  SUCCESS
Found:
 - global config
 - route
 - 0 inhibit rules
 - 1 receivers
 - 1 templates
  SUCCESS

Checking 'testdata/conf.bad.yml'  FAILED: yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `BAD` into config.plain

--- PASS: TestCheckConfig (0.00s)
=== RUN   TestRoutingTest
  OK
  OK
  OK
  OK
--- PASS: TestRoutingTest (0.00s)
PASS
ok      github.com/prometheus/alertmanager/cli  0.011s
=== RUN   TestNewConfigResolver
--- PASS: TestNewConfigResolver (0.00s)
=== RUN   TestConfigResolverBind
--- PASS: TestConfigResolverBind (0.00s)
=== RUN   TestInvalidHTTPConfig
--- PASS: TestInvalidHTTPConfig (0.00s)
=== RUN   TestValidHTTPConfig
--- PASS: TestValidHTTPConfig (0.00s)
=== RUN   TestValidBasicAuthHTTPConfig
--- PASS: TestValidBasicAuthHTTPConfig (0.00s)
PASS
ok      github.com/prometheus/alertmanager/cli/config   0.006s
?       github.com/prometheus/alertmanager/cli/format   [no test files]
=== RUN   TestCalculateAdvertiseAddress
=== RUN   TestCalculateAdvertiseAddress/use_provided_bind_address
=== RUN   TestCalculateAdvertiseAddress/use_provided_advertise_address
=== RUN   TestCalculateAdvertiseAddress/discover_private_ip_address
=== RUN   TestCalculateAdvertiseAddress/error_if_getPrivateAddress_errors
=== RUN TestCalculateAdvertiseAddress/error_if_getPrivateAddress_returns_an_invalid_address === RUN TestCalculateAdvertiseAddress/error_if_getPrivateAddress_returns_an_empty_address
=== RUN   TestCalculateAdvertiseAddress/discover_public_advertise_address
=== RUN   TestCalculateAdvertiseAddress/error_if_getPublicAddress_errors
=== RUN TestCalculateAdvertiseAddress/error_if_getPublicAddress_returns_an_invalid_address === RUN TestCalculateAdvertiseAddress/error_if_getPublicAddress_returns_an_empty_address
--- PASS: TestCalculateAdvertiseAddress (0.00s)
--- PASS: TestCalculateAdvertiseAddress/use_provided_bind_address (0.00s) --- PASS: TestCalculateAdvertiseAddress/use_provided_advertise_address (0.00s) --- PASS: TestCalculateAdvertiseAddress/discover_private_ip_address (0.00s) --- PASS: TestCalculateAdvertiseAddress/error_if_getPrivateAddress_errors (0.00s) --- PASS: TestCalculateAdvertiseAddress/error_if_getPrivateAddress_returns_an_invalid_address (0.00s) --- PASS: TestCalculateAdvertiseAddress/error_if_getPrivateAddress_returns_an_empty_address (0.00s) --- PASS: TestCalculateAdvertiseAddress/discover_public_advertise_address (0.00s) --- PASS: TestCalculateAdvertiseAddress/error_if_getPublicAddress_errors (0.00s) --- PASS: TestCalculateAdvertiseAddress/error_if_getPublicAddress_returns_an_invalid_address (0.00s) --- PASS: TestCalculateAdvertiseAddress/error_if_getPublicAddress_returns_an_empty_address (0.00s)
=== RUN   TestNormalMessagesGossiped
--- PASS: TestNormalMessagesGossiped (0.00s)
=== RUN   TestOversizedMessagesGossiped
--- PASS: TestOversizedMessagesGossiped (0.00s)
=== RUN   TestClusterJoinAndReconnect
=== RUN   TestClusterJoinAndReconnect/TestJoinLeave
=== RUN   TestClusterJoinAndReconnect/TestReconnect
=== RUN   TestClusterJoinAndReconnect/TestRemoveFailedPeers
=== RUN   TestClusterJoinAndReconnect/TestInitiallyFailingPeers
=== RUN   TestClusterJoinAndReconnect/TestTLSConnection
--- PASS: TestClusterJoinAndReconnect (1.61s)
    --- PASS: TestClusterJoinAndReconnect/TestJoinLeave (0.80s)
    --- PASS: TestClusterJoinAndReconnect/TestReconnect (0.00s)
    --- PASS: TestClusterJoinAndReconnect/TestRemoveFailedPeers (0.00s)
    --- PASS: TestClusterJoinAndReconnect/TestInitiallyFailingPeers (0.00s)
    --- PASS: TestClusterJoinAndReconnect/TestTLSConnection (0.80s)
=== RUN   TestWriteStream
--- PASS: TestWriteStream (0.00s)
=== RUN   TestWritePacket
--- PASS: TestWritePacket (0.00s)
=== RUN   TestRead_Nil
--- PASS: TestRead_Nil (0.00s)
=== RUN   TestTLSConn_Close
--- PASS: TestTLSConn_Close (0.00s)
=== RUN   TestNewTLSTransport
tls_transport_test.go:53: Error Trace: /tmp/autopkgtest-lxc.4zzku5w6/downtmp/autopkgtest_tmp/build/src/github.com/prometheus/alertmanager/cluster/tls_transport_test.go:53 Error: Expected nil, but got: failed to start TLS listener on "127.0.0.1" port 9094: listen tcp 127.0.0.1:9094: bind: address already in use
                Test:           TestNewTLSTransport
--- FAIL: TestNewTLSTransport (0.00s)
=== RUN   TestFinalAdvertiseAddr
tls_transport_test.go:83: Error Trace: /tmp/autopkgtest-lxc.4zzku5w6/downtmp/autopkgtest_tmp/build/src/github.com/prometheus/alertmanager/cluster/tls_transport_test.go:83 Error: Expected nil, but got: failed to start TLS listener on "127.0.0.1" port 9094: listen tcp 127.0.0.1:9094: bind: address already in use
                Test:           TestFinalAdvertiseAddr
--- FAIL: TestFinalAdvertiseAddr (0.00s)
=== RUN   TestWriteTo
--- PASS: TestWriteTo (0.01s)
=== RUN   TestDialTimout
--- PASS: TestDialTimout (0.01s)
=== RUN   TestShutdown
--- PASS: TestShutdown (0.50s)
FAIL
FAIL    github.com/prometheus/alertmanager/cluster      2.127s
?       github.com/prometheus/alertmanager/cluster/clusterpb    [no test files]
=== RUN   TestBuildReceiverIntegrations
=== RUN   TestBuildReceiverIntegrations/#00
=== RUN   TestBuildReceiverIntegrations/#01
--- PASS: TestBuildReceiverIntegrations (0.00s)
    --- PASS: TestBuildReceiverIntegrations/#00 (0.00s)
    --- PASS: TestBuildReceiverIntegrations/#01 (0.00s)
=== RUN   TestExternalURL
=== RUN   TestExternalURL/external="",listen=":9093"
=== RUN   TestExternalURL/external="",listen="localhost:9093"
=== RUN   TestExternalURL/external="",listen="localhost:"
=== RUN   TestExternalURL/external="https://host.example.com",listen="";
=== RUN   TestExternalURL/external="https://host.example.com/",listen="";
=== RUN TestExternalURL/external="http://host.example.com/alertmanager",listen=""; === RUN TestExternalURL/external="http://host.example.com/alertmanager/",listen=""; === RUN TestExternalURL/external="http://host.example.com/////alertmanager//",listen="";
=== RUN   TestExternalURL/external="",listen=""
=== RUN   TestExternalURL/external="",listen=""#01
=== RUN   TestExternalURL/external="://broken_url_string",listen=""
=== RUN   TestExternalURL/external="host.example.com:8080",listen=""
--- PASS: TestExternalURL (0.00s)
    --- PASS: TestExternalURL/external="",listen=":9093" (0.00s)
    --- PASS: TestExternalURL/external="",listen="localhost:9093" (0.00s)
    --- PASS: TestExternalURL/external="",listen="localhost:" (0.00s)
--- PASS: TestExternalURL/external="https://host.example.com",listen=""; (0.00s) --- PASS: TestExternalURL/external="https://host.example.com/",listen=""; (0.00s) --- PASS: TestExternalURL/external="http://host.example.com/alertmanager",listen=""; (0.00s) --- PASS: TestExternalURL/external="http://host.example.com/alertmanager/",listen=""; (0.00s) --- PASS: TestExternalURL/external="http://host.example.com/////alertmanager//",listen=""; (0.00s)
    --- PASS: TestExternalURL/external="",listen="" (0.00s)
    --- PASS: TestExternalURL/external="",listen=""#01 (0.00s)
--- PASS: TestExternalURL/external="://broken_url_string",listen="" (0.00s) --- PASS: TestExternalURL/external="host.example.com:8080",listen="" (0.00s)
PASS
ok      github.com/prometheus/alertmanager/cmd/alertmanager     0.014s
?       github.com/prometheus/alertmanager/cmd/amtool   [no test files]
=== RUN   TestLoadEmptyString
--- PASS: TestLoadEmptyString (0.00s)
=== RUN   TestDefaultReceiverExists
--- PASS: TestDefaultReceiverExists (0.00s)
=== RUN   TestReceiverNameIsUnique
--- PASS: TestReceiverNameIsUnique (0.00s)
=== RUN   TestReceiverExists
--- PASS: TestReceiverExists (0.00s)
=== RUN   TestReceiverExistsForDeepSubRoute
--- PASS: TestReceiverExistsForDeepSubRoute (0.00s)
=== RUN   TestReceiverHasName
--- PASS: TestReceiverHasName (0.00s)
=== RUN   TestMuteTimeExists
--- PASS: TestMuteTimeExists (0.00s)
=== RUN   TestActiveTimeExists
--- PASS: TestActiveTimeExists (0.00s)
=== RUN   TestTimeIntervalHasName
--- PASS: TestTimeIntervalHasName (0.00s)
=== RUN   TestMuteTimeNoDuplicates
--- PASS: TestMuteTimeNoDuplicates (0.00s)
=== RUN   TestGroupByHasNoDuplicatedLabels
--- PASS: TestGroupByHasNoDuplicatedLabels (0.00s)
=== RUN   TestWildcardGroupByWithOtherGroupByLabels
--- PASS: TestWildcardGroupByWithOtherGroupByLabels (0.00s)
=== RUN   TestGroupByInvalidLabel
--- PASS: TestGroupByInvalidLabel (0.00s)
=== RUN   TestRootRouteExists
--- PASS: TestRootRouteExists (0.00s)
=== RUN   TestRootRouteNoMuteTimes
--- PASS: TestRootRouteNoMuteTimes (0.00s)
=== RUN   TestRootRouteNoActiveTimes
--- PASS: TestRootRouteNoActiveTimes (0.00s)
=== RUN   TestRootRouteHasNoMatcher
=== RUN TestRootRouteHasNoMatcher/Test_deprecated_matchers_on_root_route_not_allowed
=== RUN   TestRootRouteHasNoMatcher/Test_matchers_not_allowed_on_root_route
--- PASS: TestRootRouteHasNoMatcher (0.00s)
--- PASS: TestRootRouteHasNoMatcher/Test_deprecated_matchers_on_root_route_not_allowed (0.00s) --- PASS: TestRootRouteHasNoMatcher/Test_matchers_not_allowed_on_root_route (0.00s)
=== RUN   TestContinueErrorInRouteRoot
--- PASS: TestContinueErrorInRouteRoot (0.00s)
=== RUN   TestGroupIntervalIsGreaterThanZero
--- PASS: TestGroupIntervalIsGreaterThanZero (0.00s)
=== RUN   TestRepeatIntervalIsGreaterThanZero
--- PASS: TestRepeatIntervalIsGreaterThanZero (0.00s)
=== RUN   TestHideConfigSecrets
--- PASS: TestHideConfigSecrets (0.00s)
=== RUN   TestJSONMarshal
--- PASS: TestJSONMarshal (0.00s)
=== RUN   TestJSONMarshalSecret
--- PASS: TestJSONMarshalSecret (0.00s)
=== RUN   TestMarshalSecretURL
--- PASS: TestMarshalSecretURL (0.00s)
=== RUN   TestUnmarshalSecretURL
--- PASS: TestUnmarshalSecretURL (0.00s)
=== RUN   TestMarshalURL
=== RUN   TestMarshalURL/url
=== RUN   TestMarshalURL/wrapped_nil_value
=== RUN   TestMarshalURL/wrapped_empty_URL
--- PASS: TestMarshalURL (0.00s)
    --- PASS: TestMarshalURL/url (0.00s)
    --- PASS: TestMarshalURL/wrapped_nil_value (0.00s)
    --- PASS: TestMarshalURL/wrapped_empty_URL (0.00s)
=== RUN   TestUnmarshalNilURL
--- PASS: TestUnmarshalNilURL (0.00s)
=== RUN   TestUnmarshalEmptyURL
--- PASS: TestUnmarshalEmptyURL (0.00s)
=== RUN   TestUnmarshalURL
--- PASS: TestUnmarshalURL (0.00s)
=== RUN   TestUnmarshalInvalidURL
    config_test.go:724: parse "://example.com": missing protocol scheme
    config_test.go:724: missing host for URL
    config_test.go:724: unsupported scheme "telnet" for URL
--- PASS: TestUnmarshalInvalidURL (0.00s)
=== RUN   TestUnmarshalRelativeURL
--- PASS: TestUnmarshalRelativeURL (0.00s)
=== RUN   TestMarshalRegexpWithNilValue
--- PASS: TestMarshalRegexpWithNilValue (0.00s)
=== RUN   TestUnmarshalEmptyRegexp
--- PASS: TestUnmarshalEmptyRegexp (0.00s)
=== RUN   TestUnmarshalNullRegexp
--- PASS: TestUnmarshalNullRegexp (0.00s)
=== RUN   TestMarshalEmptyMatchers
--- PASS: TestMarshalEmptyMatchers (0.00s)
=== RUN   TestJSONUnmarshal
--- PASS: TestJSONUnmarshal (0.00s)
=== RUN   TestMarshalIdempotency
--- PASS: TestMarshalIdempotency (0.00s)
=== RUN   TestGroupByAllNotMarshaled
--- PASS: TestGroupByAllNotMarshaled (0.00s)
=== RUN   TestEmptyFieldsAndRegex
--- PASS: TestEmptyFieldsAndRegex (0.00s)
=== RUN   TestGlobalAndLocalHTTPConfig
--- PASS: TestGlobalAndLocalHTTPConfig (0.00s)
=== RUN   TestSMTPHello
--- PASS: TestSMTPHello (0.00s)
=== RUN   TestGroupByAll
--- PASS: TestGroupByAll (0.00s)
=== RUN   TestVictorOpsDefaultAPIKey
--- PASS: TestVictorOpsDefaultAPIKey (0.00s)
=== RUN   TestVictorOpsNoAPIKey
--- PASS: TestVictorOpsNoAPIKey (0.00s)
=== RUN   TestOpsGenieDefaultAPIKey
--- PASS: TestOpsGenieDefaultAPIKey (0.00s)
=== RUN   TestOpsGenieDefaultAPIKeyFile
--- PASS: TestOpsGenieDefaultAPIKeyFile (0.00s)
=== RUN   TestOpsGenieBothAPIKeyAndFile
--- PASS: TestOpsGenieBothAPIKeyAndFile (0.00s)
=== RUN   TestOpsGenieNoAPIKey
--- PASS: TestOpsGenieNoAPIKey (0.00s)
=== RUN   TestOpsGenieDeprecatedTeamSpecified
--- PASS: TestOpsGenieDeprecatedTeamSpecified (0.00s)
=== RUN   TestSlackBothAPIURLAndFile
--- PASS: TestSlackBothAPIURLAndFile (0.00s)
=== RUN   TestSlackNoAPIURL
--- PASS: TestSlackNoAPIURL (0.00s)
=== RUN   TestSlackGlobalAPIURLFile
--- PASS: TestSlackGlobalAPIURLFile (0.00s)
=== RUN   TestValidSNSConfig
--- PASS: TestValidSNSConfig (0.00s)
=== RUN   TestInvalidSNSConfig
--- PASS: TestInvalidSNSConfig (0.00s)
=== RUN   TestUnmarshalHostPort
=== RUN   TestUnmarshalHostPort/""
=== RUN   TestUnmarshalHostPort/"localhost:25"
=== RUN   TestUnmarshalHostPort/":25"
=== RUN   TestUnmarshalHostPort/"localhost"
=== RUN   TestUnmarshalHostPort/"localhost:"
--- PASS: TestUnmarshalHostPort (0.00s)
    --- PASS: TestUnmarshalHostPort/"" (0.00s)
    --- PASS: TestUnmarshalHostPort/"localhost:25" (0.00s)
    --- PASS: TestUnmarshalHostPort/":25" (0.00s)
    --- PASS: TestUnmarshalHostPort/"localhost" (0.00s)
    --- PASS: TestUnmarshalHostPort/"localhost:" (0.00s)
=== RUN   TestNilRegexp
=== RUN   TestNilRegexp/testdata/conf.nil-match_re-route.yml
=== RUN   TestNilRegexp/testdata/conf.nil-source_match_re-inhibition.yml
=== RUN   TestNilRegexp/testdata/conf.nil-target_match_re-inhibition.yml
--- PASS: TestNilRegexp (0.00s)
    --- PASS: TestNilRegexp/testdata/conf.nil-match_re-route.yml (0.00s)
--- PASS: TestNilRegexp/testdata/conf.nil-source_match_re-inhibition.yml (0.00s) --- PASS: TestNilRegexp/testdata/conf.nil-target_match_re-inhibition.yml (0.00s)
=== RUN   TestCoordinatorRegistersMetrics
--- PASS: TestCoordinatorRegistersMetrics (0.00s)
=== RUN   TestCoordinatorNotifiesSubscribers
--- PASS: TestCoordinatorNotifiesSubscribers (0.00s)
=== RUN   TestCoordinatorFailReloadWhenSubscriberFails
--- PASS: TestCoordinatorFailReloadWhenSubscriberFails (0.00s)
=== RUN   TestEmailToIsPresent
--- PASS: TestEmailToIsPresent (0.00s)
=== RUN   TestEmailHeadersCollision
--- PASS: TestEmailHeadersCollision (0.00s)
=== RUN   TestPagerdutyRoutingKeyIsPresent
--- PASS: TestPagerdutyRoutingKeyIsPresent (0.00s)
=== RUN   TestPagerdutyServiceKeyIsPresent
--- PASS: TestPagerdutyServiceKeyIsPresent (0.00s)
=== RUN   TestPagerdutyDetails
--- PASS: TestPagerdutyDetails (0.00s)
=== RUN   TestWebhookURLIsPresent
--- PASS: TestWebhookURLIsPresent (0.00s)
=== RUN   TestWebhookHttpConfigIsValid
--- PASS: TestWebhookHttpConfigIsValid (0.00s)
=== RUN   TestWebhookHttpConfigIsOptional
--- PASS: TestWebhookHttpConfigIsOptional (0.00s)
=== RUN   TestWebhookPasswordIsObfuscated
--- PASS: TestWebhookPasswordIsObfuscated (0.00s)
=== RUN   TestVictorOpsRoutingKeyIsPresent
--- PASS: TestVictorOpsRoutingKeyIsPresent (0.00s)
=== RUN   TestVictorOpsCustomFieldsValidation
--- PASS: TestVictorOpsCustomFieldsValidation (0.00s)
=== RUN   TestPushoverUserKeyIsPresent
--- PASS: TestPushoverUserKeyIsPresent (0.00s)
=== RUN   TestPushoverTokenIsPresent
--- PASS: TestPushoverTokenIsPresent (0.00s)
=== RUN   TestLoadSlackConfiguration
--- PASS: TestLoadSlackConfiguration (0.00s)
=== RUN   TestSlackFieldConfigValidation
--- PASS: TestSlackFieldConfigValidation (0.00s)
=== RUN   TestSlackFieldConfigUnmarshaling
--- PASS: TestSlackFieldConfigUnmarshaling (0.00s)
=== RUN   TestSlackActionsValidation
--- PASS: TestSlackActionsValidation (0.00s)
=== RUN   TestOpsgenieTypeMatcher
--- PASS: TestOpsgenieTypeMatcher (0.00s)
=== RUN   TestSNS
=== RUN   TestSNS/#00
=== RUN   TestSNS/#01
=== RUN   TestSNS/#02
=== RUN   TestSNS/#03
=== RUN   TestSNS/#04
=== RUN   TestSNS/#05
=== RUN   TestSNS/#06
=== RUN   TestSNS/#07
=== RUN   TestSNS/#08
--- PASS: TestSNS (0.00s)
    --- PASS: TestSNS/#00 (0.00s)
    --- PASS: TestSNS/#01 (0.00s)
    --- PASS: TestSNS/#02 (0.00s)
    --- PASS: TestSNS/#03 (0.00s)
    --- PASS: TestSNS/#04 (0.00s)
    --- PASS: TestSNS/#05 (0.00s)
    --- PASS: TestSNS/#06 (0.00s)
    --- PASS: TestSNS/#07 (0.00s)
    --- PASS: TestSNS/#08 (0.00s)
=== RUN   TestWeChatTypeMatcher
--- PASS: TestWeChatTypeMatcher (0.00s)
PASS
ok      github.com/prometheus/alertmanager/config       0.027s
=== RUN   TestAggrGroup
--- PASS: TestAggrGroup (3.10s)
=== RUN   TestGroupLabels
--- PASS: TestGroupLabels (0.00s)
=== RUN   TestGroupByAllLabels
--- PASS: TestGroupByAllLabels (0.00s)
=== RUN   TestGroups
--- PASS: TestGroups (0.20s)
=== RUN   TestGroupsWithLimits
--- PASS: TestGroupsWithLimits (0.40s)
=== RUN   TestDispatcherRace
--- PASS: TestDispatcherRace (0.00s)
=== RUN   TestDispatcherRaceOnFirstAlertNotDeliveredWhenGroupWaitIsZero
--- PASS: TestDispatcherRaceOnFirstAlertNotDeliveredWhenGroupWaitIsZero (0.09s)
=== RUN   TestRouteMatch
--- PASS: TestRouteMatch (0.00s)
=== RUN   TestRouteWalk
--- PASS: TestRouteWalk (0.00s)
=== RUN   TestInheritParentGroupByAll
--- PASS: TestInheritParentGroupByAll (0.00s)
=== RUN   TestRouteMatchers
--- PASS: TestRouteMatchers (0.00s)
=== RUN   TestRouteMatchersAndMatch
--- PASS: TestRouteMatchersAndMatch (0.00s)
PASS
ok      github.com/prometheus/alertmanager/dispatch     3.845s
=== RUN   TestInhibitRuleHasEqual
=== PAUSE TestInhibitRuleHasEqual
=== RUN   TestInhibitRuleMatches
=== PAUSE TestInhibitRuleMatches
=== RUN   TestInhibitRuleMatchers
=== PAUSE TestInhibitRuleMatchers
=== RUN   TestInhibit
=== PAUSE TestInhibit
=== CONT  TestInhibitRuleHasEqual
=== CONT  TestInhibitRuleMatchers
--- PASS: TestInhibitRuleHasEqual (0.00s)
=== CONT  TestInhibitRuleMatches
--- PASS: TestInhibitRuleMatches (0.00s)
=== CONT  TestInhibit
--- PASS: TestInhibitRuleMatchers (0.00s)
--- PASS: TestInhibit (0.00s)
PASS
ok      github.com/prometheus/alertmanager/inhibit      0.007s
=== RUN   TestLogGC
--- PASS: TestLogGC (0.00s)
=== RUN   TestLogSnapshot
--- PASS: TestLogSnapshot (0.00s)
=== RUN   TestWithMaintenance_SupportsCustomCallback
--- PASS: TestWithMaintenance_SupportsCustomCallback (0.30s)
=== RUN   TestReplaceFile
--- PASS: TestReplaceFile (0.00s)
=== RUN   TestStateMerge
--- PASS: TestStateMerge (0.00s)
=== RUN   TestStateDataCoding
--- PASS: TestStateDataCoding (0.00s)
=== RUN   TestQuery
--- PASS: TestQuery (0.00s)
=== RUN   TestStateDecodingError
--- PASS: TestStateDecodingError (0.00s)
PASS
ok      github.com/prometheus/alertmanager/nflog        0.308s
=== RUN   TestIsFiringSubset
--- PASS: TestIsFiringSubset (0.00s)
=== RUN   TestIsResolvedSubset
--- PASS: TestIsResolvedSubset (0.00s)
PASS
ok      github.com/prometheus/alertmanager/nflog/nflogpb        0.002s
=== RUN   TestDedupStageNeedsUpdate
    notify_test.go:204: case 0
    notify_test.go:204: case 1
    notify_test.go:204: case 2
    notify_test.go:204: case 3
    notify_test.go:204: case 4
    notify_test.go:204: case 5
    notify_test.go:204: case 6
    notify_test.go:204: case 7
    notify_test.go:204: case 8
    notify_test.go:204: case 9
    notify_test.go:204: case 10
--- PASS: TestDedupStageNeedsUpdate (0.00s)
=== RUN   TestDedupStage
--- PASS: TestDedupStage (0.00s)
=== RUN   TestMultiStage
--- PASS: TestMultiStage (0.00s)
=== RUN   TestMultiStageFailure
--- PASS: TestMultiStageFailure (0.00s)
=== RUN   TestRoutingStage
--- PASS: TestRoutingStage (0.00s)
=== RUN   TestRetryStageWithError
--- PASS: TestRetryStageWithError (0.69s)
=== RUN   TestRetryStageNoResolved
--- PASS: TestRetryStageNoResolved (0.00s)
=== RUN   TestRetryStageSendResolved
--- PASS: TestRetryStageSendResolved (0.00s)
=== RUN   TestSetNotifiesStage
--- PASS: TestSetNotifiesStage (0.00s)
=== RUN   TestMuteStage
--- PASS: TestMuteStage (0.00s)
=== RUN   TestMuteStageWithSilences
--- PASS: TestMuteStageWithSilences (0.00s)
=== RUN   TestTimeMuteStage
--- PASS: TestTimeMuteStage (0.00s)
=== RUN   TestTimeActiveStage
--- PASS: TestTimeActiveStage (0.00s)
=== RUN   TestTruncate
=== RUN   TestTruncate/truncate(,5)
=== RUN   TestTruncate/truncate(abcde,2)
=== RUN   TestTruncate/truncate(abcde,4)
=== RUN   TestTruncate/truncate(abcde,5)
=== RUN   TestTruncate/truncate(abcdefgh,5)
=== RUN   TestTruncate/truncate(a⌘cde,5)
=== RUN   TestTruncate/truncate(a⌘cdef,5)
--- PASS: TestTruncate (0.00s)
    --- PASS: TestTruncate/truncate(,5) (0.00s)
    --- PASS: TestTruncate/truncate(abcde,2) (0.00s)
    --- PASS: TestTruncate/truncate(abcde,4) (0.00s)
    --- PASS: TestTruncate/truncate(abcde,5) (0.00s)
    --- PASS: TestTruncate/truncate(abcdefgh,5) (0.00s)
    --- PASS: TestTruncate/truncate(a⌘cde,5) (0.00s)
    --- PASS: TestTruncate/truncate(a⌘cdef,5) (0.00s)
=== RUN   TestRetrierCheck
=== RUN   TestRetrierCheck/#00
=== RUN   TestRetrierCheck/#01
=== RUN   TestRetrierCheck/#02
=== RUN   TestRetrierCheck/#03
=== RUN   TestRetrierCheck/#04
=== RUN   TestRetrierCheck/#05
=== RUN   TestRetrierCheck/#06
=== RUN   TestRetrierCheck/#07
--- PASS: TestRetrierCheck (0.00s)
    --- PASS: TestRetrierCheck/#00 (0.00s)
    --- PASS: TestRetrierCheck/#01 (0.00s)
    --- PASS: TestRetrierCheck/#02 (0.00s)
    --- PASS: TestRetrierCheck/#03 (0.00s)
    --- PASS: TestRetrierCheck/#04 (0.00s)
    --- PASS: TestRetrierCheck/#05 (0.00s)
    --- PASS: TestRetrierCheck/#06 (0.00s)
    --- PASS: TestRetrierCheck/#07 (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify       0.703s
=== RUN   TestEmailNotifyWithErrors
    email_test.go:211: EMAIL_NO_AUTH_CONFIG not set
--- SKIP: TestEmailNotifyWithErrors (0.00s)
=== RUN   TestEmailNotifyWithDoneContext
    email_test.go:320: EMAIL_NO_AUTH_CONFIG not set
--- SKIP: TestEmailNotifyWithDoneContext (0.00s)
=== RUN   TestEmailNotifyWithoutAuthentication
    email_test.go:351: EMAIL_NO_AUTH_CONFIG not set
--- SKIP: TestEmailNotifyWithoutAuthentication (0.00s)
=== RUN   TestEmailNotifyWithSTARTTLS
    email_test.go:392: EMAIL_NO_AUTH_CONFIG not set
--- SKIP: TestEmailNotifyWithSTARTTLS (0.00s)
=== RUN   TestEmailNotifyWithAuthentication
    email_test.go:422: EMAIL_AUTH_CONFIG not set
--- SKIP: TestEmailNotifyWithAuthentication (0.00s)
=== RUN   TestEmailConfigNoAuthMechs
--- PASS: TestEmailConfigNoAuthMechs (0.00s)
=== RUN   TestEmailConfigMissingAuthParam
--- PASS: TestEmailConfigMissingAuthParam (0.00s)
=== RUN   TestEmailNoUsernameStillOk
--- PASS: TestEmailNoUsernameStillOk (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/email 0.010s
=== RUN   TestOpsGenieRetry
--- PASS: TestOpsGenieRetry (0.00s)
=== RUN   TestOpsGenieRedactedURL
--- PASS: TestOpsGenieRedactedURL (0.00s)
=== RUN   TestGettingOpsGegineApikeyFromFile
--- PASS: TestGettingOpsGegineApikeyFromFile (0.00s)
=== RUN   TestOpsGenie
=== RUN   TestOpsGenie/config_without_details
=== RUN   TestOpsGenie/config_with_details
=== RUN   TestOpsGenie/config_with_multiple_teams
--- PASS: TestOpsGenie (0.01s)
    --- PASS: TestOpsGenie/config_without_details (0.00s)
    --- PASS: TestOpsGenie/config_with_details (0.00s)
    --- PASS: TestOpsGenie/config_with_multiple_teams (0.00s)
=== RUN   TestOpsGenieWithUpdate
--- PASS: TestOpsGenieWithUpdate (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/opsgenie      0.023s
=== RUN   TestPagerDutyRetryV1
--- PASS: TestPagerDutyRetryV1 (0.00s)
=== RUN   TestPagerDutyRetryV2
--- PASS: TestPagerDutyRetryV2 (0.00s)
=== RUN   TestPagerDutyRedactedURLV1
--- PASS: TestPagerDutyRedactedURLV1 (0.00s)
=== RUN   TestPagerDutyRedactedURLV2
--- PASS: TestPagerDutyRedactedURLV2 (0.00s)
=== RUN   TestPagerDutyTemplating
=== RUN   TestPagerDutyTemplating/full-blown_message
=== RUN   TestPagerDutyTemplating/details_with_templating_errors
=== RUN   TestPagerDutyTemplating/v2_message_with_templating_errors
=== RUN   TestPagerDutyTemplating/v1_message_with_templating_errors
=== RUN   TestPagerDutyTemplating/routing_key_cannot_be_empty
=== RUN   TestPagerDutyTemplating/service_key_cannot_be_empty
--- PASS: TestPagerDutyTemplating (0.01s)
    --- PASS: TestPagerDutyTemplating/full-blown_message (0.00s)
--- PASS: TestPagerDutyTemplating/details_with_templating_errors (0.00s) --- PASS: TestPagerDutyTemplating/v2_message_with_templating_errors (0.00s) --- PASS: TestPagerDutyTemplating/v1_message_with_templating_errors (0.00s)
    --- PASS: TestPagerDutyTemplating/routing_key_cannot_be_empty (0.00s)
    --- PASS: TestPagerDutyTemplating/service_key_cannot_be_empty (0.00s)
=== RUN   TestErrDetails
=== RUN   TestErrDetails/#00
=== RUN   TestErrDetails/#01
=== RUN   TestErrDetails/#02
=== RUN   TestErrDetails/#03
--- PASS: TestErrDetails (0.00s)
    --- PASS: TestErrDetails/#00 (0.00s)
    --- PASS: TestErrDetails/#01 (0.00s)
    --- PASS: TestErrDetails/#02 (0.00s)
    --- PASS: TestErrDetails/#03 (0.00s)
=== RUN   TestEventSizeEnforcement
--- PASS: TestEventSizeEnforcement (0.01s)
=== RUN   TestPagerDutyEmptySrcHref
--- PASS: TestPagerDutyEmptySrcHref (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/pagerduty     0.078s
=== RUN   TestPushoverRetry
--- PASS: TestPushoverRetry (0.00s)
=== RUN   TestPushoverRedactedURL
--- PASS: TestPushoverRedactedURL (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/pushover      0.014s
=== RUN   TestSlackRetry
--- PASS: TestSlackRetry (0.00s)
=== RUN   TestSlackRedactedURL
--- PASS: TestSlackRedactedURL (0.00s)
=== RUN   TestGettingSlackURLFromFile
--- PASS: TestGettingSlackURLFromFile (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/slack 0.020s
=== RUN   TestValidateAndTruncateMessage
--- PASS: TestValidateAndTruncateMessage (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/sns   0.011s
=== RUN   TestTelegramRetry
--- PASS: TestTelegramRetry (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/telegram      0.015s
?       github.com/prometheus/alertmanager/notify/test  [no test files]
=== RUN   TestVictorOpsCustomFields
--- PASS: TestVictorOpsCustomFields (0.00s)
=== RUN   TestVictorOpsRetry
--- PASS: TestVictorOpsRetry (0.00s)
=== RUN   TestVictorOpsRedactedURL
--- PASS: TestVictorOpsRedactedURL (0.00s)
=== RUN   TestVictorOpsTemplating
=== RUN   TestVictorOpsTemplating/default_valid_templates
=== RUN   TestVictorOpsTemplating/invalid_message_type
=== RUN   TestVictorOpsTemplating/invalid_entity_display_name
=== RUN   TestVictorOpsTemplating/invalid_state_message
=== RUN   TestVictorOpsTemplating/invalid_monitoring_tool
=== RUN   TestVictorOpsTemplating/invalid_routing_key
--- PASS: TestVictorOpsTemplating (0.01s)
    --- PASS: TestVictorOpsTemplating/default_valid_templates (0.00s)
    --- PASS: TestVictorOpsTemplating/invalid_message_type (0.00s)
    --- PASS: TestVictorOpsTemplating/invalid_entity_display_name (0.00s)
    --- PASS: TestVictorOpsTemplating/invalid_state_message (0.00s)
    --- PASS: TestVictorOpsTemplating/invalid_monitoring_tool (0.00s)
    --- PASS: TestVictorOpsTemplating/invalid_routing_key (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/victorops     0.027s
=== RUN   TestWebhookRetry
--- PASS: TestWebhookRetry (0.00s)
=== RUN   TestWebhookTruncateAlerts
--- PASS: TestWebhookTruncateAlerts (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/webhook       0.013s
=== RUN   TestWechatRedactedURLOnInitialAuthentication
--- PASS: TestWechatRedactedURLOnInitialAuthentication (0.00s)
=== RUN   TestWechatRedactedURLOnNotify
--- PASS: TestWechatRedactedURLOnNotify (0.00s)
=== RUN   TestWechatMessageTypeSelector
--- PASS: TestWechatMessageTypeSelector (0.00s)
PASS
ok      github.com/prometheus/alertmanager/notify/wechat        0.017s
=== RUN   TestMatcher
--- PASS: TestMatcher (0.00s)
=== RUN   TestMatcherString
--- PASS: TestMatcherString (0.00s)
=== RUN   TestMatcherJSONMarshal
--- PASS: TestMatcherJSONMarshal (0.00s)
=== RUN   TestMatcherJSONUnmarshal
--- PASS: TestMatcherJSONUnmarshal (0.00s)
=== RUN   TestMatchers
=== RUN   TestMatchers/{foo="bar"}
=== RUN   TestMatchers/{foo=~"bar.*"}
=== RUN   TestMatchers/{foo!="bar"}
=== RUN   TestMatchers/{foo!~"bar.*"}
=== RUN   TestMatchers/{foo="bar",_baz!="quux"}
=== RUN   TestMatchers/{foo="bar",_baz!~"quux.*"}
=== RUN   TestMatchers/{foo="bar",baz!~".*quux",_derp="wat"}
=== RUN   TestMatchers/{foo="bar",_baz!="quux",_derp="wat"}
=== RUN   TestMatchers/{foo="bar",_baz!~".*quux.*",_derp="wat"}
=== RUN   TestMatchers/{foo="bar",_instance=~"some-api.*"}
=== RUN   TestMatchers/{foo=""}
=== RUN   TestMatchers/{foo="bar,quux",_job="job1"}
=== RUN   TestMatchers/{foo_=_"bar",_dings_!=_"bums",_}
=== RUN   TestMatchers/foo=bar,dings!=bums
=== RUN TestMatchers/{quote="She_said:_\"Hi,_ladies!_That's_gender-neutral…\""}
=== RUN   TestMatchers/statuscode=~"5.."
=== RUN   TestMatchers/tricky=~~~
=== RUN   TestMatchers/trickier==\\=\=\"
=== RUN TestMatchers/contains_quote_!=_"\""_,_contains_comma_!~_"foo,bar"_,_
=== RUN   TestMatchers/job="value
=== RUN   TestMatchers/job=value"
=== RUN   TestMatchers/trickier==\\=\=\""
=== RUN   TestMatchers/contains_unescaped_quote_=_foo"bar
=== RUN   TestMatchers/{invalid-name_=_"valid_label"}
=== RUN   TestMatchers/{foo=~"invalid[regexp"}
=== RUN   TestMatchers/"{foo=\"bar"}
=== RUN   TestMatchers/"foo=\"bar"
=== RUN   TestMatchers/"foo=\"bar\""
=== RUN   TestMatchers/"foo=\"bar\"
=== RUN   TestMatchers/"{foo=\"bar\"}"
=== RUN   TestMatchers/"foo="bar""
--- PASS: TestMatchers (0.00s)
    --- PASS: TestMatchers/{foo="bar"} (0.00s)
    --- PASS: TestMatchers/{foo=~"bar.*"} (0.00s)
    --- PASS: TestMatchers/{foo!="bar"} (0.00s)
    --- PASS: TestMatchers/{foo!~"bar.*"} (0.00s)
    --- PASS: TestMatchers/{foo="bar",_baz!="quux"} (0.00s)
    --- PASS: TestMatchers/{foo="bar",_baz!~"quux.*"} (0.00s)
    --- PASS: TestMatchers/{foo="bar",baz!~".*quux",_derp="wat"} (0.00s)
    --- PASS: TestMatchers/{foo="bar",_baz!="quux",_derp="wat"} (0.00s)
    --- PASS: TestMatchers/{foo="bar",_baz!~".*quux.*",_derp="wat"} (0.00s)
    --- PASS: TestMatchers/{foo="bar",_instance=~"some-api.*"} (0.00s)
    --- PASS: TestMatchers/{foo=""} (0.00s)
    --- PASS: TestMatchers/{foo="bar,quux",_job="job1"} (0.00s)
    --- PASS: TestMatchers/{foo_=_"bar",_dings_!=_"bums",_} (0.00s)
    --- PASS: TestMatchers/foo=bar,dings!=bums (0.00s)
--- PASS: TestMatchers/{quote="She_said:_\"Hi,_ladies!_That's_gender-neutral…\""} (0.00s)
    --- PASS: TestMatchers/statuscode=~"5.." (0.00s)
    --- PASS: TestMatchers/tricky=~~~ (0.00s)
    --- PASS: TestMatchers/trickier==\\=\=\" (0.00s)
--- PASS: TestMatchers/contains_quote_!=_"\""_,_contains_comma_!~_"foo,bar"_,_ (0.00s)
    --- PASS: TestMatchers/job="value (0.00s)
    --- PASS: TestMatchers/job=value" (0.00s)
    --- PASS: TestMatchers/trickier==\\=\=\"" (0.00s)
    --- PASS: TestMatchers/contains_unescaped_quote_=_foo"bar (0.00s)
    --- PASS: TestMatchers/{invalid-name_=_"valid_label"} (0.00s)
    --- PASS: TestMatchers/{foo=~"invalid[regexp"} (0.00s)
    --- PASS: TestMatchers/"{foo=\"bar"} (0.00s)
    --- PASS: TestMatchers/"foo=\"bar" (0.00s)
    --- PASS: TestMatchers/"foo=\"bar\"" (0.00s)
    --- PASS: TestMatchers/"foo=\"bar\" (0.00s)
    --- PASS: TestMatchers/"{foo=\"bar\"}" (0.00s)
    --- PASS: TestMatchers/"foo="bar"" (0.00s)
PASS
ok      github.com/prometheus/alertmanager/pkg/labels   0.003s
?       github.com/prometheus/alertmanager/pkg/modtimevfs       [no test files]
?       github.com/prometheus/alertmanager/provider     [no test files]
=== RUN   TestAlertsSubscribePutStarvation
--- PASS: TestAlertsSubscribePutStarvation (0.10s)
=== RUN   TestAlertsPut
--- PASS: TestAlertsPut (0.00s)
=== RUN   TestAlertsSubscribe
--- PASS: TestAlertsSubscribe (0.00s)
=== RUN   TestAlertsGetPending
--- PASS: TestAlertsGetPending (0.00s)
=== RUN   TestAlertsGC
--- PASS: TestAlertsGC (0.30s)
=== RUN   TestAlertsStoreCallback
--- PASS: TestAlertsStoreCallback (0.30s)
PASS
ok      github.com/prometheus/alertmanager/provider/mem 0.707s
=== RUN   TestOptionsValidate
--- PASS: TestOptionsValidate (0.00s)
=== RUN   TestSilencesGC
--- PASS: TestSilencesGC (0.00s)
=== RUN   TestSilencesSnapshot
--- PASS: TestSilencesSnapshot (0.00s)
=== RUN   TestSilences_Maintenance_DefaultMaintenanceFuncDoesntCrash
--- PASS: TestSilences_Maintenance_DefaultMaintenanceFuncDoesntCrash (0.20s)
=== RUN   TestSilences_Maintenance_SupportsCustomCallback
--- PASS: TestSilences_Maintenance_SupportsCustomCallback (0.30s)
=== RUN   TestSilencesSetSilence
--- PASS: TestSilencesSetSilence (0.00s)
=== RUN   TestSilenceSet
--- PASS: TestSilenceSet (0.00s)
=== RUN   TestSetActiveSilence
--- PASS: TestSetActiveSilence (0.00s)
=== RUN   TestSilencesSetFail
--- PASS: TestSilencesSetFail (0.00s)
=== RUN   TestQState
--- PASS: TestQState (0.00s)
=== RUN   TestQMatches
--- PASS: TestQMatches (0.00s)
=== RUN   TestSilencesQuery
--- PASS: TestSilencesQuery (0.00s)
=== RUN   TestSilenceCanUpdate
--- PASS: TestSilenceCanUpdate (0.00s)
=== RUN   TestSilenceExpire
--- PASS: TestSilenceExpire (0.00s)
=== RUN   TestSilenceExpireWithZeroRetention
--- PASS: TestSilenceExpireWithZeroRetention (0.00s)
=== RUN   TestSilencer
--- PASS: TestSilencer (0.00s)
=== RUN   TestValidateMatcher
--- PASS: TestValidateMatcher (0.00s)
=== RUN   TestValidateSilence
--- PASS: TestValidateSilence (0.00s)
=== RUN   TestStateMerge
--- PASS: TestStateMerge (0.00s)
=== RUN   TestStateCoding
--- PASS: TestStateCoding (0.00s)
=== RUN   TestStateDecodingError
--- PASS: TestStateDecodingError (0.00s)
PASS
ok      github.com/prometheus/alertmanager/silence      0.512s
?       github.com/prometheus/alertmanager/silence/silencepb    [no test files]
=== RUN   TestSetGet
--- PASS: TestSetGet (0.00s)
=== RUN   TestDelete
--- PASS: TestDelete (0.00s)
=== RUN   TestGC
--- PASS: TestGC (0.01s)
PASS
ok      github.com/prometheus/alertmanager/store        0.015s
=== RUN   TestPairNames
--- PASS: TestPairNames (0.00s)
=== RUN   TestPairValues
--- PASS: TestPairValues (0.00s)
=== RUN   TestKVSortedPairs
--- PASS: TestKVSortedPairs (0.00s)
=== RUN   TestKVRemove
--- PASS: TestKVRemove (0.00s)
=== RUN   TestAlertsFiring
--- PASS: TestAlertsFiring (0.00s)
=== RUN   TestAlertsResolved
--- PASS: TestAlertsResolved (0.00s)
=== RUN   TestData
=== RUN   TestData/#00
=== RUN   TestData/#01
=== RUN   TestData/#02
--- PASS: TestData (0.00s)
    --- PASS: TestData/#00 (0.00s)
    --- PASS: TestData/#01 (0.00s)
    --- PASS: TestData/#02 (0.00s)
=== RUN   TestTemplateExpansion
=== RUN   TestTemplateExpansion/Template_without_action
=== RUN   TestTemplateExpansion/Template_with_simple_action
=== RUN   TestTemplateExpansion/Template_with_invalid_syntax
=== RUN   TestTemplateExpansion/Template_using_toUpper
=== RUN   TestTemplateExpansion/Template_using_toLower
=== RUN   TestTemplateExpansion/Template_using_title
=== RUN   TestTemplateExpansion/Template_using_positive_match
=== RUN   TestTemplateExpansion/Template_using_negative_match
=== RUN   TestTemplateExpansion/Template_using_join
=== RUN   TestTemplateExpansion/Text_template_without_HTML_escaping
=== RUN   TestTemplateExpansion/HTML_template_with_escaping
=== RUN   TestTemplateExpansion/HTML_template_using_safeHTML
=== RUN   TestTemplateExpansion/Template_using_reReplaceAll
=== RUN   TestTemplateExpansion/Template_using_stringSlice
--- PASS: TestTemplateExpansion (0.00s)
    --- PASS: TestTemplateExpansion/Template_without_action (0.00s)
    --- PASS: TestTemplateExpansion/Template_with_simple_action (0.00s)
    --- PASS: TestTemplateExpansion/Template_with_invalid_syntax (0.00s)
    --- PASS: TestTemplateExpansion/Template_using_toUpper (0.00s)
    --- PASS: TestTemplateExpansion/Template_using_toLower (0.00s)
    --- PASS: TestTemplateExpansion/Template_using_title (0.00s)
    --- PASS: TestTemplateExpansion/Template_using_positive_match (0.00s)
    --- PASS: TestTemplateExpansion/Template_using_negative_match (0.00s)
    --- PASS: TestTemplateExpansion/Template_using_join (0.00s)
--- PASS: TestTemplateExpansion/Text_template_without_HTML_escaping (0.00s)
    --- PASS: TestTemplateExpansion/HTML_template_with_escaping (0.00s)
    --- PASS: TestTemplateExpansion/HTML_template_using_safeHTML (0.00s)
    --- PASS: TestTemplateExpansion/Template_using_reReplaceAll (0.00s)
    --- PASS: TestTemplateExpansion/Template_using_stringSlice (0.00s)
PASS
ok      github.com/prometheus/alertmanager/template     0.007s
?       github.com/prometheus/alertmanager/test/cli     [no test files]
=== RUN   TestAPI
=== RUN   TestAPI/GET_/api/v1/status
=== RUN   TestAPI/GET_/api/v1/status#01
=== RUN   TestAPI/GET_/api/v1/alerts
=== RUN   TestAPI/GET_/api/v1/alerts#01
=== RUN   TestAPI/POST_/api/v1/alerts
=== RUN   TestAPI/POST_/api/v1/alerts#01
=== RUN   TestAPI/GET_/api/v1/silence/abc
=== RUN   TestAPI/GET_/api/v1/silence/abc#01
=== RUN   TestAPI/POST_/api/v1/silences
=== RUN   TestAPI/POST_/api/v1/silences#01
=== RUN   TestAPI/DELETE_/api/v1/silence/abc
=== RUN   TestAPI/DELETE_/api/v1/silence/abc#01
=== RUN   TestAPI/GET_/api/v1/silences
=== RUN   TestAPI/GET_/api/v1/silences#01
--- PASS: TestAPI (0.00s)
    --- PASS: TestAPI/GET_/api/v1/status (0.00s)
    --- PASS: TestAPI/GET_/api/v1/status#01 (0.00s)
    --- PASS: TestAPI/GET_/api/v1/alerts (0.00s)
    --- PASS: TestAPI/GET_/api/v1/alerts#01 (0.00s)
    --- PASS: TestAPI/POST_/api/v1/alerts (0.00s)
    --- PASS: TestAPI/POST_/api/v1/alerts#01 (0.00s)
    --- PASS: TestAPI/GET_/api/v1/silence/abc (0.00s)
    --- PASS: TestAPI/GET_/api/v1/silence/abc#01 (0.00s)
    --- PASS: TestAPI/POST_/api/v1/silences (0.00s)
    --- PASS: TestAPI/POST_/api/v1/silences#01 (0.00s)
    --- PASS: TestAPI/DELETE_/api/v1/silence/abc (0.00s)
    --- PASS: TestAPI/DELETE_/api/v1/silence/abc#01 (0.00s)
    --- PASS: TestAPI/GET_/api/v1/silences (0.00s)
    --- PASS: TestAPI/GET_/api/v1/silences#01 (0.00s)
=== RUN   TestAPIClientDo
=== RUN   TestAPIClientDo/#00
=== RUN   TestAPIClientDo/#01
=== RUN   TestAPIClientDo/#02
=== RUN   TestAPIClientDo/#03
=== RUN   TestAPIClientDo/#04
--- PASS: TestAPIClientDo (0.00s)
    --- PASS: TestAPIClientDo/#00 (0.00s)
    --- PASS: TestAPIClientDo/#01 (0.00s)
    --- PASS: TestAPIClientDo/#02 (0.00s)
    --- PASS: TestAPIClientDo/#03 (0.00s)
    --- PASS: TestAPIClientDo/#04 (0.00s)
PASS
ok      github.com/prometheus/alertmanager/test/with_api_v1     0.011s
?       github.com/prometheus/alertmanager/test/with_api_v2     [no test files]
=== RUN   TestYamlUnmarshal
--- PASS: TestYamlUnmarshal (0.00s)
=== RUN   TestContainsTime
--- PASS: TestContainsTime (0.00s)
=== RUN   TestParseTimeString
--- PASS: TestParseTimeString (0.00s)
=== RUN   TestYamlMarshal
--- PASS: TestYamlMarshal (0.00s)
=== RUN   TestJsonMarshal
--- PASS: TestJsonMarshal (0.00s)
=== RUN   TestTimeIntervalComplete
--- PASS: TestTimeIntervalComplete (0.00s)
PASS
ok      github.com/prometheus/alertmanager/timeinterval 0.003s
=== RUN   TestAlertMerge
=== RUN   TestAlertMerge/0
=== RUN   TestAlertMerge/1
=== RUN   TestAlertMerge/2
=== RUN   TestAlertMerge/3
=== RUN   TestAlertMerge/4
=== RUN   TestAlertMerge/5
=== RUN   TestAlertMerge/6
=== RUN   TestAlertMerge/7
--- PASS: TestAlertMerge (0.00s)
    --- PASS: TestAlertMerge/0 (0.00s)
    --- PASS: TestAlertMerge/1 (0.00s)
    --- PASS: TestAlertMerge/2 (0.00s)
    --- PASS: TestAlertMerge/3 (0.00s)
    --- PASS: TestAlertMerge/4 (0.00s)
    --- PASS: TestAlertMerge/5 (0.00s)
    --- PASS: TestAlertMerge/6 (0.00s)
    --- PASS: TestAlertMerge/7 (0.00s)
=== RUN   TestCalcSilenceState
--- PASS: TestCalcSilenceState (0.00s)
=== RUN   TestSilenceExpired
--- PASS: TestSilenceExpired (0.00s)
=== RUN   TestAlertSliceSort
--- PASS: TestAlertSliceSort (0.00s)
=== RUN   TestNewMarkerRegistersMetrics
--- PASS: TestNewMarkerRegistersMetrics (0.00s)
PASS
ok      github.com/prometheus/alertmanager/types        0.005s
?       github.com/prometheus/alertmanager/ui   [no test files]
FAIL
dh_auto_test: error: cd build && go test -vet=off -v -p 64 github.com/prometheus/alertmanager/api github.com/prometheus/alertmanager/api/metrics github.com/prometheus/alertmanager/api/v1 github.com/prometheus/alertmanager/api/v2 github.com/prometheus/alertmanager/api/v2/client github.com/prometheus/alertmanager/api/v2/client/alert github.com/prometheus/alertmanager/api/v2/client/alertgroup github.com/prometheus/alertmanager/api/v2/client/general github.com/prometheus/alertmanager/api/v2/client/receiver github.com/prometheus/alertmanager/api/v2/client/silence github.com/prometheus/alertmanager/api/v2/models github.com/prometheus/alertmanager/api/v2/restapi github.com/prometheus/alertmanager/api/v2/restapi/operations github.com/prometheus/alertmanager/api/v2/restapi/operations/alert github.com/prometheus/alertmanager/api/v2/restapi/operations/alertgroup github.com/prometheus/alertmanager/api/v2/restapi/operations/general github.com/prometheus/alertmanager/api/v2/restapi/operations/receiver github.com/prometheus/alertmanager/api/v2/restapi/operations/silence github.com/prometheus/alertmanager/cli github.com/prometheus/alertmanager/cli/config github.com/prometheus/alertmanager/cli/format github.com/prometheus/alertmanager/cluster github.com/prometheus/alertmanager/cluster/clusterpb github.com/prometheus/alertmanager/cmd/alertmanager github.com/prometheus/alertmanager/cmd/amtool github.com/prometheus/alertmanager/config github.com/prometheus/alertmanager/dispatch github.com/prometheus/alertmanager/inhibit github.com/prometheus/alertmanager/nflog github.com/prometheus/alertmanager/nflog/nflogpb github.com/prometheus/alertmanager/notify github.com/prometheus/alertmanager/notify/email github.com/prometheus/alertmanager/notify/opsgenie github.com/prometheus/alertmanager/notify/pagerduty github.com/prometheus/alertmanager/notify/pushover github.com/prometheus/alertmanager/notify/slack github.com/prometheus/alertmanager/notify/sns github.com/prometheus/alertmanager/notify/telegram github.com/prometheus/alertmanager/notify/test github.com/prometheus/alertmanager/notify/victorops github.com/prometheus/alertmanager/notify/webhook github.com/prometheus/alertmanager/notify/wechat github.com/prometheus/alertmanager/pkg/labels github.com/prometheus/alertmanager/pkg/modtimevfs github.com/prometheus/alertmanager/provider github.com/prometheus/alertmanager/provider/mem github.com/prometheus/alertmanager/silence github.com/prometheus/alertmanager/silence/silencepb github.com/prometheus/alertmanager/store github.com/prometheus/alertmanager/template github.com/prometheus/alertmanager/test/cli github.com/prometheus/alertmanager/test/with_api_v1 github.com/prometheus/alertmanager/test/with_api_v2 github.com/prometheus/alertmanager/timeinterval github.com/prometheus/alertmanager/types github.com/prometheus/alertmanager/ui returned exit code 1
make: *** [debian/rules:32: build] Error 25
autopkgtest [05:23:43]: test dh-golang-autopkgtest

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to