Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202605/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:prometheus-alertmanager, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --builddir=_build --buildsystem=golang
dh_auto_clean -O--builddir=_build -O--buildsystem=golang
dh_autoreconf_clean -O--builddir=_build -O--buildsystem=golang
dh_clean -O--builddir=_build -O--buildsystem=golang
debian/rules binary
dh binary --builddir=_build --buildsystem=golang
dh_update_autotools_config -O--builddir=_build -O--buildsystem=golang
dh_autoreconf -O--builddir=_build -O--buildsystem=golang
dh_auto_configure -O--builddir=_build -O--buildsystem=golang
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=0.31.1+ds -X github.com/prometheus/common/version.Revision=0.31.1+ds-1 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20260331-12:03:18 -X github.com/prometheus/common/version.GoVersion=go1.26.3"
dh_auto_build: warning: github.com/prometheus/alertmanager/matcher/compliance contains no non-test Go files, removing it from build
cd _build && go install -trimpath -v -p 2 -ldflags " -X git [too-long-redacted] .com/prometheus/alertmanager/ui
[... snipped ...]
ok github.com/prometheus/alertmanager/silence 1.022s
? github.com/prometheus/alertmanager/silence/silencepb [no test files]
=== RUN TestSetGet
--- PASS: TestSetGet (0.00s)
=== RUN TestDeleteIfNotModified
=== RUN TestDeleteIfNotModified/unmodified_alert_should_be_deleted
=== RUN TestDeleteIfNotModified/modified_alert_should_not_be_deleted
=== RUN TestDeleteIfNotModified/should_not_delete_other_alerts
--- PASS: TestDeleteIfNotModified (0.00s)
--- PASS: TestDeleteIfNotModified/unmodified_alert_should_be_deleted (0.00s)
--- PASS: TestDeleteIfNotModified/modified_alert_should_not_be_deleted (0.00s)
--- PASS: TestDeleteIfNotModified/should_not_delete_other_alerts (0.00s)
=== RUN TestGC
--- PASS: TestGC (0.01s)
PASS
ok github.com/prometheus/alertmanager/store 0.013s
=== RUN TestPairNames
--- PASS: TestPairNames (0.00s)
=== RUN TestPairValues
--- PASS: TestPairValues (0.00s)
=== RUN TestPairsString
--- PASS: TestPairsString (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_TrimSpace
=== 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/URL_template_with_escaping
=== RUN TestTemplateExpansion/URL_template_using_safeUrl
=== RUN TestTemplateExpansion/Template_using_reReplaceAll
=== RUN TestTemplateExpansion/Template_using_urlUnescape
=== RUN TestTemplateExpansion/Template_using_stringSlice
=== RUN TestTemplateExpansion/Template_using_toJson_with_string
=== RUN TestTemplateExpansion/Template_using_toJson_with_number
=== RUN TestTemplateExpansion/Template_using_toJson_with_boolean
=== RUN TestTemplateExpansion/Template_using_toJson_with_map
=== RUN TestTemplateExpansion/Template_using_toJson_with_slice
=== RUN TestTemplateExpansion/Template_using_toJson_with_KV
=== RUN TestTemplateExpansion/Template_using_toJson_with_Alerts
=== RUN TestTemplateExpansion/Template_using_toJson_with_Alerts.Firing()
--- 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_TrimSpace (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/URL_template_with_escaping (0.00s)
--- PASS: TestTemplateExpansion/URL_template_using_safeUrl (0.00s)
--- PASS: TestTemplateExpansion/Template_using_reReplaceAll (0.00s)
--- PASS: TestTemplateExpansion/Template_using_urlUnescape (0.00s)
--- PASS: TestTemplateExpansion/Template_using_stringSlice (0.00s)
--- PASS: TestTemplateExpansion/Template_using_toJson_with_string (0.00s)
--- PASS: TestTemplateExpansion/Template_using_toJson_with_number (0.00s)
--- PASS: TestTemplateExpansion/Template_using_toJson_with_boolean (0.00s)
--- PASS: TestTemplateExpansion/Template_using_toJson_with_map (0.00s)
--- PASS: TestTemplateExpansion/Template_using_toJson_with_slice (0.00s)
--- PASS: TestTemplateExpansion/Template_using_toJson_with_KV (0.00s)
--- PASS: TestTemplateExpansion/Template_using_toJson_with_Alerts (0.00s)
--- PASS: TestTemplateExpansion/Template_using_toJson_with_Alerts.Firing() (0.00s)
=== RUN TestTemplateExpansionWithOptions
=== RUN TestTemplateExpansionWithOptions/Test_custom_function
=== RUN TestTemplateExpansionWithOptions/Test_Default_function_with_additional_function_added
=== RUN TestTemplateExpansionWithOptions/Test_custom_function_is_overridden_by_the_DefaultFuncs
=== RUN TestTemplateExpansionWithOptions/Test_later_Option_overrides_the_previous
--- PASS: TestTemplateExpansionWithOptions (0.01s)
--- PASS: TestTemplateExpansionWithOptions/Test_custom_function (0.00s)
--- PASS: TestTemplateExpansionWithOptions/Test_Default_function_with_additional_function_added (0.00s)
--- PASS: TestTemplateExpansionWithOptions/Test_custom_function_is_overridden_by_the_DefaultFuncs (0.00s)
--- PASS: TestTemplateExpansionWithOptions/Test_later_Option_overrides_the_previous (0.00s)
=== RUN TestTemplateFuncs
=== RUN TestTemplateFuncs/Template_using_toUpper
=== RUN TestTemplateFuncs/Template_using_toLower
=== RUN TestTemplateFuncs/Template_using_title
=== RUN TestTemplateFuncs/Template_using_trimSpace
=== RUN TestTemplateFuncs/Template_using_join
=== RUN TestTemplateFuncs/Template_using_match
=== RUN TestTemplateFuncs/Template_using_reReplaceAll
=== RUN TestTemplateFuncs/Template_using_date
=== RUN TestTemplateFuncs/Template_using_tz
=== RUN TestTemplateFuncs/Template_using_invalid_tz
=== RUN TestTemplateFuncs/Template_using_HumanizeDuration_-_seconds_-_float64
=== RUN TestTemplateFuncs/Template_using_HumanizeDuration_-_seconds_-_string.
=== RUN TestTemplateFuncs/Template_using_HumanizeDuration_-_subsecond_and_fractional_seconds_-_float64.
=== RUN TestTemplateFuncs/Template_using_HumanizeDuration_-_subsecond_and_fractional_seconds_-_string.
=== RUN TestTemplateFuncs/Template_using_HumanizeDuration_-_string_with_error.
=== RUN TestTemplateFuncs/Template_using_HumanizeDuration_-_int.
=== RUN TestTemplateFuncs/Template_using_HumanizeDuration_-_uint.
=== RUN TestTemplateFuncs/Template_using_since
=== RUN TestTemplateFuncs/Template_using_toJson_with_string
=== RUN TestTemplateFuncs/Template_using_toJson_with_map
=== RUN TestTemplateFuncs/Template_using_toJson_with_Alerts.Firing()
--- PASS: TestTemplateFuncs (0.02s)
--- PASS: TestTemplateFuncs/Template_using_toUpper (0.00s)
--- PASS: TestTemplateFuncs/Template_using_toLower (0.00s)
--- PASS: TestTemplateFuncs/Template_using_title (0.00s)
--- PASS: TestTemplateFuncs/Template_using_trimSpace (0.00s)
--- PASS: TestTemplateFuncs/Template_using_join (0.00s)
--- PASS: TestTemplateFuncs/Template_using_match (0.00s)
--- PASS: TestTemplateFuncs/Template_using_reReplaceAll (0.00s)
--- PASS: TestTemplateFuncs/Template_using_date (0.00s)
--- PASS: TestTemplateFuncs/Template_using_tz (0.00s)
--- PASS: TestTemplateFuncs/Template_using_invalid_tz (0.00s)
--- PASS: TestTemplateFuncs/Template_using_HumanizeDuration_-_seconds_-_float64 (0.00s)
--- PASS: TestTemplateFuncs/Template_using_HumanizeDuration_-_seconds_-_string. (0.00s)
--- PASS: TestTemplateFuncs/Template_using_HumanizeDuration_-_subsecond_and_fractional_seconds_-_float64. (0.00s)
--- PASS: TestTemplateFuncs/Template_using_HumanizeDuration_-_subsecond_and_fractional_seconds_-_string. (0.00s)
--- PASS: TestTemplateFuncs/Template_using_HumanizeDuration_-_string_with_error. (0.00s)
--- PASS: TestTemplateFuncs/Template_using_HumanizeDuration_-_int. (0.00s)
--- PASS: TestTemplateFuncs/Template_using_HumanizeDuration_-_uint. (0.00s)
--- PASS: TestTemplateFuncs/Template_using_since (0.00s)
--- PASS: TestTemplateFuncs/Template_using_toJson_with_string (0.00s)
--- PASS: TestTemplateFuncs/Template_using_toJson_with_map (0.00s)
--- PASS: TestTemplateFuncs/Template_using_toJson_with_Alerts.Firing() (0.00s)
=== RUN TestDeepCopyWithTemplate
=== RUN TestDeepCopyWithTemplate/string_keeps_templated_value
=== RUN TestDeepCopyWithTemplate/string_parsed_as_YAML_map
=== RUN TestDeepCopyWithTemplate/slice_templating_applied_recursively
=== RUN TestDeepCopyWithTemplate/map_converts_keys_and_drops_non-string
=== RUN TestDeepCopyWithTemplate/non_string_value_returned_as-is
=== RUN TestDeepCopyWithTemplate/nil_input
--- PASS: TestDeepCopyWithTemplate (0.00s)
--- PASS: TestDeepCopyWithTemplate/string_keeps_templated_value (0.00s)
--- PASS: TestDeepCopyWithTemplate/string_parsed_as_YAML_map (0.00s)
--- PASS: TestDeepCopyWithTemplate/slice_templating_applied_recursively (0.00s)
--- PASS: TestDeepCopyWithTemplate/map_converts_keys_and_drops_non-string (0.00s)
--- PASS: TestDeepCopyWithTemplate/non_string_value_returned_as-is (0.00s)
--- PASS: TestDeepCopyWithTemplate/nil_input (0.00s)
PASS
ok github.com/prometheus/alertmanager/template 0.030s
? github.com/prometheus/alertmanager/test/cli [no test files]
? github.com/prometheus/alertmanager/test/testutils [no test files]
? 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)
=== RUN TestIntervener_Mutes
=== RUN TestIntervener_Mutes/Should_be_muted_outside_working_hours
=== RUN TestIntervener_Mutes/Should_not_be_muted_during_working_hours
=== RUN TestIntervener_Mutes/Should_be_muted_during_weekends
=== RUN TestIntervener_Mutes/Should_be_muted_during_weekend_evenings
=== RUN TestIntervener_Mutes/Should_be_muted_at_12pm_UTC_on_a_weekday
=== RUN TestIntervener_Mutes/Should_be_muted_at_12pm_UTC_on_a_weekend
--- PASS: TestIntervener_Mutes (0.00s)
--- PASS: TestIntervener_Mutes/Should_be_muted_outside_working_hours (0.00s)
--- PASS: TestIntervener_Mutes/Should_not_be_muted_during_working_hours (0.00s)
--- PASS: TestIntervener_Mutes/Should_be_muted_during_weekends (0.00s)
--- PASS: TestIntervener_Mutes/Should_be_muted_during_weekend_evenings (0.00s)
--- PASS: TestIntervener_Mutes/Should_be_muted_at_12pm_UTC_on_a_weekday (0.00s)
--- PASS: TestIntervener_Mutes/Should_be_muted_at_12pm_UTC_on_a_weekend (0.00s)
PASS
ok github.com/prometheus/alertmanager/timeinterval 0.004s
=== RUN TestInstallingNewTracerProvider
tracing_test.go:39:
Error Trace: /<<PKGBUILDDIR>>/_build/src/github.com/prometheus/alertmanager/tracing/tracing_test.go:39
Error: Received unexpected error:
failed to install a new tracer provider: error detecting resource: conflicting Schema URL: https://opentelemetry.io/schemas/1.26.0 and https://opentelemetry.io/schemas/1.40.0
Test: TestInstallingNewTracerProvider
--- FAIL: TestInstallingNewTracerProvider (0.00s)
=== RUN TestReinstallingTracerProvider
tracing_test.go:57:
Error Trace: /<<PKGBUILDDIR>>/_build/src/github.com/prometheus/alertmanager/tracing/tracing_test.go:57
Error: Received unexpected error:
failed to install a new tracer provider: error detecting resource: conflicting Schema URL: https://opentelemetry.io/schemas/1.26.0 and https://opentelemetry.io/schemas/1.40.0
Test: TestReinstallingTracerProvider
--- FAIL: TestReinstallingTracerProvider (0.00s)
=== RUN TestReinstallingTracerProviderWithTLS
tracing_test.go:98:
Error Trace: /<<PKGBUILDDIR>>/_build/src/github.com/prometheus/alertmanager/tracing/tracing_test.go:98
Error: Received unexpected error:
failed to install a new tracer provider: error detecting resource: conflicting Schema URL: https://opentelemetry.io/schemas/1.26.0 and https://opentelemetry.io/schemas/1.40.0
Test: TestReinstallingTracerProviderWithTLS
--- FAIL: TestReinstallingTracerProviderWithTLS (0.00s)
=== RUN TestUninstallingTracerProvider
tracing_test.go:115:
Error Trace: /<<PKGBUILDDIR>>/_build/src/github.com/prometheus/alertmanager/tracing/tracing_test.go:115
Error: Received unexpected error:
failed to install a new tracer provider: error detecting resource: conflicting Schema URL: https://opentelemetry.io/schemas/1.26.0 and https://opentelemetry.io/schemas/1.40.0
Test: TestUninstallingTracerProvider
--- FAIL: TestUninstallingTracerProvider (0.00s)
=== RUN TestTracerProviderShutdown
tracing_test.go:137:
Error Trace: /<<PKGBUILDDIR>>/_build/src/github.com/prometheus/alertmanager/tracing/tracing_test.go:137
Error: Received unexpected error:
failed to install a new tracer provider: error detecting resource: conflicting Schema URL: https://opentelemetry.io/schemas/1.26.0 and https://opentelemetry.io/schemas/1.40.0
Test: TestTracerProviderShutdown
--- FAIL: TestTracerProviderShutdown (0.00s)
FAIL
FAIL github.com/prometheus/alertmanager/tracing 0.008s
=== RUN TestMemMarker_Muted
--- PASS: TestMemMarker_Muted (0.00s)
=== RUN TestMemMarker_DeleteByGroupKey
--- PASS: TestMemMarker_DeleteByGroupKey (0.00s)
=== RUN TestMemMarker_Count
--- PASS: TestMemMarker_Count (0.00s)
=== 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 TestValidateUTF8Ls
=== RUN TestValidateUTF8Ls/valid_UTF-8_label_set
=== RUN TestValidateUTF8Ls/invalid_UTF-8_label_set
--- PASS: TestValidateUTF8Ls (0.00s)
--- PASS: TestValidateUTF8Ls/valid_UTF-8_label_set (0.00s)
--- PASS: TestValidateUTF8Ls/invalid_UTF-8_label_set (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.006s
=== RUN TestDebugHandlersWithRoutePrefix
--- PASS: TestDebugHandlersWithRoutePrefix (0.00s)
PASS
ok github.com/prometheus/alertmanager/ui 0.004s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 g [too-long-redacted] manager/ui returned exit code 1
make: *** [debian/rules:29: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------