Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #400501

Bug#1117401: golang-github-prometheus-client-golang: FTBFS: go_collector_latest_test.go:131: found unexpected metric go_godebug_non_default_behavior_allowmultiplevcs_events_total

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1117401: golang-github-prometheus-client-golang: FTBFS: go_collector_latest_test.go:131: found unexpected metric go_godebug_non_default_behavior_allowmultiplevcs_events_total
Date 2025-10-05 19:40 +0200
Message-ID <LCASe-2YSH-29@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: src:golang-github-prometheus-client-golang
Version: 1.23.0-1
Severity: serious
Tags: ftbfs forky sid

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/202510/

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:golang-github-prometheus-client-golang, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=golang --builddirectory=_build
   dh_auto_clean -O--buildsystem=golang -O--builddirectory=_build
   dh_autoreconf_clean -O--buildsystem=golang -O--builddirectory=_build
   dh_clean -O--buildsystem=golang -O--builddirectory=_build
 debian/rules binary
dh binary --buildsystem=golang --builddirectory=_build
   dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=_build
   dh_autoreconf -O--buildsystem=golang -O--builddirectory=_build
   dh_auto_configure -O--buildsystem=golang -O--builddirectory=_build
dh_auto_configure: warning: "github.com/prometheus/client_golang" is already installed. Please check for circular dependencies.

   dh_auto_build -O--buildsystem=golang -O--builddirectory=_build
	cd _build && go install -trimpath -v -p 2 github.com/promet [too-long-redacted] s/testutil/promlint/validations
internal/goarch

[... snipped ...]

    --- PASS: TestLabelCheck/all_labels_used_with_an_invalid_const_label_name (0.00s)
    --- PASS: TestLabelCheck/invalid_name_with_all_the_otherwise_valid_labels (0.00s)
    --- PASS: TestLabelCheck/unsupported_var_label (0.00s)
    --- PASS: TestLabelCheck/unsupported_var_label_but_curried (0.00s)
    --- PASS: TestLabelCheck/supported_label_as_curried_and_dynamic (0.00s)
=== RUN   TestLabels
=== RUN   TestLabels/method_as_single_var_label_with_extra_methods_specified
=== RUN   TestLabels/all_labels_used_with_an_unknown_method_and_out-of-range_code
=== RUN   TestLabels/code_as_single_var_label_and_out-of-range_code
=== RUN   TestLabels/empty
=== RUN   TestLabels/code_as_single_var_label
=== RUN   TestLabels/code_as_single_var_label_and_in-range_but_unrecognized_code
=== RUN   TestLabels/method_as_single_var_label
=== RUN   TestLabels/method_as_single_var_label_and_unknown_method
=== RUN   TestLabels/code_and_method_as_var_labels
--- PASS: TestLabels (0.00s)
    --- PASS: TestLabels/method_as_single_var_label_with_extra_methods_specified (0.00s)
    --- PASS: TestLabels/all_labels_used_with_an_unknown_method_and_out-of-range_code (0.00s)
    --- PASS: TestLabels/code_as_single_var_label_and_out-of-range_code (0.00s)
    --- PASS: TestLabels/empty (0.00s)
    --- PASS: TestLabels/code_as_single_var_label (0.00s)
    --- PASS: TestLabels/code_as_single_var_label_and_in-range_but_unrecognized_code (0.00s)
    --- PASS: TestLabels/method_as_single_var_label (0.00s)
    --- PASS: TestLabels/method_as_single_var_label_and_unknown_method (0.00s)
    --- PASS: TestLabels/code_and_method_as_var_labels (0.00s)
=== RUN   TestMiddlewareAPI
--- PASS: TestMiddlewareAPI (0.00s)
=== RUN   TestMiddlewareAPI_WithExemplars
--- PASS: TestMiddlewareAPI_WithExemplars (0.00s)
=== RUN   TestInstrumentTimeToFirstWrite
--- PASS: TestInstrumentTimeToFirstWrite (0.00s)
=== RUN   TestInterfaceUpgrade
--- PASS: TestInterfaceUpgrade (0.00s)
PASS
ok  	github.com/prometheus/client_golang/prometheus/promhttp	0.223s
?   	github.com/prometheus/client_golang/prometheus/promhttp/internal	[no test files]
?   	github.com/prometheus/client_golang/prometheus/promhttp/zstd	[no test files]
=== RUN   TestPush
--- PASS: TestPush (0.00s)
PASS
ok  	github.com/prometheus/client_golang/prometheus/push	0.013s
=== RUN   TestCollectAndLintGood
--- PASS: TestCollectAndLintGood (0.00s)
=== RUN   TestCollectAndLintBad
--- PASS: TestCollectAndLintBad (0.00s)
=== RUN   TestToFloat64
=== RUN   TestToFloat64/counter_vec_with_zero_elements
=== RUN   TestToFloat64/counter_vec_with_one_element
=== RUN   TestToFloat64/counter_vec_with_two_elements
=== RUN   TestToFloat64/histogram_vec_with_one_element
=== RUN   TestToFloat64/simple_gauge
=== RUN   TestToFloat64/simple_untyped
=== RUN   TestToFloat64/simple_counter
=== RUN   TestToFloat64/simple_histogram
=== RUN   TestToFloat64/simple_summary
=== RUN   TestToFloat64/simple_gauge_with_an_actual_value_set
--- PASS: TestToFloat64 (0.00s)
    --- PASS: TestToFloat64/counter_vec_with_zero_elements (0.00s)
    --- PASS: TestToFloat64/counter_vec_with_one_element (0.00s)
    --- PASS: TestToFloat64/counter_vec_with_two_elements (0.00s)
    --- PASS: TestToFloat64/histogram_vec_with_one_element (0.00s)
    --- PASS: TestToFloat64/simple_gauge (0.00s)
    --- PASS: TestToFloat64/simple_untyped (0.00s)
    --- PASS: TestToFloat64/simple_counter (0.00s)
    --- PASS: TestToFloat64/simple_histogram (0.00s)
    --- PASS: TestToFloat64/simple_summary (0.00s)
    --- PASS: TestToFloat64/simple_gauge_with_an_actual_value_set (0.00s)
=== RUN   TestCollectAndCompare
--- PASS: TestCollectAndCompare (0.00s)
=== RUN   TestCollectAndCompareNoLabel
--- PASS: TestCollectAndCompareNoLabel (0.00s)
=== RUN   TestCollectAndCompareNoHelp
--- PASS: TestCollectAndCompareNoHelp (0.00s)
=== RUN   TestCollectAndCompareHistogram
=== RUN   TestCollectAndCompareHistogram/Testing_Histogram_Collector
=== RUN   TestCollectAndCompareHistogram/Testing_HistogramVec_Collector
--- PASS: TestCollectAndCompareHistogram (0.00s)
    --- PASS: TestCollectAndCompareHistogram/Testing_Histogram_Collector (0.00s)
    --- PASS: TestCollectAndCompareHistogram/Testing_HistogramVec_Collector (0.00s)
=== RUN   TestNoMetricFilter
--- PASS: TestNoMetricFilter (0.00s)
=== RUN   TestMetricNotFound
--- PASS: TestMetricNotFound (0.00s)
=== RUN   TestScrapeAndCompare
--- PASS: TestScrapeAndCompare (0.00s)
=== RUN   TestScrapeAndCompareWithMultipleExpected
--- PASS: TestScrapeAndCompareWithMultipleExpected (0.00s)
=== RUN   TestScrapeAndCompareFetchingFail
--- PASS: TestScrapeAndCompareFetchingFail (0.00s)
=== RUN   TestScrapeAndCompareBadStatusCode
--- PASS: TestScrapeAndCompareBadStatusCode (0.00s)
=== RUN   TestCollectAndCount
--- PASS: TestCollectAndCount (0.00s)
=== RUN   TestCollectAndFormat
--- PASS: TestCollectAndFormat (0.00s)
PASS
ok  	github.com/prometheus/client_golang/prometheus/testutil	0.006s
=== RUN   TestLintNoHelpText
=== RUN   TestLintNoHelpText/no_help
=== RUN   TestLintNoHelpText/empty_help
=== RUN   TestLintNoHelpText/no_help_and_empty_help
=== RUN   TestLintNoHelpText/OK
--- PASS: TestLintNoHelpText (0.00s)
    --- PASS: TestLintNoHelpText/no_help (0.00s)
    --- PASS: TestLintNoHelpText/empty_help (0.00s)
    --- PASS: TestLintNoHelpText/no_help_and_empty_help (0.00s)
    --- PASS: TestLintNoHelpText/OK (0.00s)
=== RUN   TestLintMetricUnits
=== RUN   TestLintMetricUnits/amperes
=== RUN   TestLintMetricUnits/bytes
=== RUN   TestLintMetricUnits/grams
=== RUN   TestLintMetricUnits/celsius
=== RUN   TestLintMetricUnits/meters
=== RUN   TestLintMetricUnits/metres
=== RUN   TestLintMetricUnits/moles
=== RUN   TestLintMetricUnits/seconds
=== RUN   TestLintMetricUnits/joules
=== RUN   TestLintMetricUnits/kelvin
=== RUN   TestLintMetricUnits/milliamperes
=== RUN   TestLintMetricUnits/gigabytes
=== RUN   TestLintMetricUnits/kilograms
=== RUN   TestLintMetricUnits/nanocelsius
=== RUN   TestLintMetricUnits/kilometers
=== RUN   TestLintMetricUnits/picometers
=== RUN   TestLintMetricUnits/microseconds
=== RUN   TestLintMetricUnits/minutes
=== RUN   TestLintMetricUnits/hours
=== RUN   TestLintMetricUnits/days
=== RUN   TestLintMetricUnits/kelvins
=== RUN   TestLintMetricUnits/fahrenheit
=== RUN   TestLintMetricUnits/rankine
=== RUN   TestLintMetricUnits/inches
=== RUN   TestLintMetricUnits/yards
=== RUN   TestLintMetricUnits/miles
=== RUN   TestLintMetricUnits/bits
=== RUN   TestLintMetricUnits/calories
=== RUN   TestLintMetricUnits/pounds
=== RUN   TestLintMetricUnits/ounces
--- PASS: TestLintMetricUnits (0.00s)
    --- PASS: TestLintMetricUnits/amperes (0.00s)
    --- PASS: TestLintMetricUnits/bytes (0.00s)
    --- PASS: TestLintMetricUnits/grams (0.00s)
    --- PASS: TestLintMetricUnits/celsius (0.00s)
    --- PASS: TestLintMetricUnits/meters (0.00s)
    --- PASS: TestLintMetricUnits/metres (0.00s)
    --- PASS: TestLintMetricUnits/moles (0.00s)
    --- PASS: TestLintMetricUnits/seconds (0.00s)
    --- PASS: TestLintMetricUnits/joules (0.00s)
    --- PASS: TestLintMetricUnits/kelvin (0.00s)
    --- PASS: TestLintMetricUnits/milliamperes (0.00s)
    --- PASS: TestLintMetricUnits/gigabytes (0.00s)
    --- PASS: TestLintMetricUnits/kilograms (0.00s)
    --- PASS: TestLintMetricUnits/nanocelsius (0.00s)
    --- PASS: TestLintMetricUnits/kilometers (0.00s)
    --- PASS: TestLintMetricUnits/picometers (0.00s)
    --- PASS: TestLintMetricUnits/microseconds (0.00s)
    --- PASS: TestLintMetricUnits/minutes (0.00s)
    --- PASS: TestLintMetricUnits/hours (0.00s)
    --- PASS: TestLintMetricUnits/days (0.00s)
    --- PASS: TestLintMetricUnits/kelvins (0.00s)
    --- PASS: TestLintMetricUnits/fahrenheit (0.00s)
    --- PASS: TestLintMetricUnits/rankine (0.00s)
    --- PASS: TestLintMetricUnits/inches (0.00s)
    --- PASS: TestLintMetricUnits/yards (0.00s)
    --- PASS: TestLintMetricUnits/miles (0.00s)
    --- PASS: TestLintMetricUnits/bits (0.00s)
    --- PASS: TestLintMetricUnits/calories (0.00s)
    --- PASS: TestLintMetricUnits/pounds (0.00s)
    --- PASS: TestLintMetricUnits/ounces (0.00s)
=== RUN   TestLintCounter
=== RUN   TestLintCounter/counter_without__total_suffix
=== RUN   TestLintCounter/gauge_with__total_suffix
=== RUN   TestLintCounter/counter_with__total_suffix
=== RUN   TestLintCounter/gauge_without__total_suffix
=== RUN   TestLintCounter/untyped_with__total_suffix
=== RUN   TestLintCounter/untyped_without__total_suffix
--- PASS: TestLintCounter (0.00s)
    --- PASS: TestLintCounter/counter_without__total_suffix (0.00s)
    --- PASS: TestLintCounter/gauge_with__total_suffix (0.00s)
    --- PASS: TestLintCounter/counter_with__total_suffix (0.00s)
    --- PASS: TestLintCounter/gauge_without__total_suffix (0.00s)
    --- PASS: TestLintCounter/untyped_with__total_suffix (0.00s)
    --- PASS: TestLintCounter/untyped_without__total_suffix (0.00s)
=== RUN   TestLintHistogramSummaryReserved
=== RUN   TestLintHistogramSummaryReserved/gauge_with__bucket_suffix
=== RUN   TestLintHistogramSummaryReserved/gauge_with__count_suffix
=== RUN   TestLintHistogramSummaryReserved/gauge_with__sum_suffix
=== RUN   TestLintHistogramSummaryReserved/gauge_with_le_label
=== RUN   TestLintHistogramSummaryReserved/gauge_with_quantile_label
=== RUN   TestLintHistogramSummaryReserved/histogram_with_quantile_label
=== RUN   TestLintHistogramSummaryReserved/summary_with_le_label
=== RUN   TestLintHistogramSummaryReserved/histogram_OK
=== RUN   TestLintHistogramSummaryReserved/summary_OK
--- PASS: TestLintHistogramSummaryReserved (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/gauge_with__bucket_suffix (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/gauge_with__count_suffix (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/gauge_with__sum_suffix (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/gauge_with_le_label (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/gauge_with_quantile_label (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/histogram_with_quantile_label (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/summary_with_le_label (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/histogram_OK (0.00s)
    --- PASS: TestLintHistogramSummaryReserved/summary_OK (0.00s)
=== RUN   TestLintMetricTypeInName
=== RUN   TestLintMetricTypeInName/counter_with__counter_suffix
=== RUN   TestLintMetricTypeInName/gauge_with__gauge_suffix
=== RUN   TestLintMetricTypeInName/summary_with__summary_suffix
=== RUN   TestLintMetricTypeInName/histogram_with__histogram_suffix
=== RUN   TestLintMetricTypeInName/histogram_with__histogram_suffix#01
=== RUN   TestLintMetricTypeInName/gauge_with__gauge_suffix#01
--- PASS: TestLintMetricTypeInName (0.00s)
    --- PASS: TestLintMetricTypeInName/counter_with__counter_suffix (0.00s)
    --- PASS: TestLintMetricTypeInName/gauge_with__gauge_suffix (0.00s)
    --- PASS: TestLintMetricTypeInName/summary_with__summary_suffix (0.00s)
    --- PASS: TestLintMetricTypeInName/histogram_with__histogram_suffix (0.00s)
    --- PASS: TestLintMetricTypeInName/histogram_with__histogram_suffix#01 (0.00s)
    --- PASS: TestLintMetricTypeInName/gauge_with__gauge_suffix#01 (0.00s)
=== RUN   TestLintReservedChars
=== RUN   TestLintReservedChars/request_duration::_seconds
--- PASS: TestLintReservedChars (0.00s)
    --- PASS: TestLintReservedChars/request_duration::_seconds (0.00s)
=== RUN   TestLintCamelCase
=== RUN   TestLintCamelCase/requestDuration_seconds
=== RUN   TestLintCamelCase/request_duration_seconds
--- PASS: TestLintCamelCase (0.00s)
    --- PASS: TestLintCamelCase/requestDuration_seconds (0.00s)
    --- PASS: TestLintCamelCase/request_duration_seconds (0.00s)
=== RUN   TestLintUnitAbbreviations
=== RUN   TestLintUnitAbbreviations/instance_memory_limit_b_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/instance_memory_limit_kb_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/instance_memory_limit_mb_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/instance_memory_limit_MB_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/instance_memory_limit_gb_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/instance_memory_limit_tb_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/instance_memory_limit_pb_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_duration_s_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_duration_ms_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_duration_us_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_duration_ns_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_duration_sec_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_sec_duration_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_duration_m_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_duration_h_with_abbreviated_unit
=== RUN   TestLintUnitAbbreviations/request_duration_d_with_abbreviated_unit
--- PASS: TestLintUnitAbbreviations (0.00s)
    --- PASS: TestLintUnitAbbreviations/instance_memory_limit_b_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/instance_memory_limit_kb_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/instance_memory_limit_mb_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/instance_memory_limit_MB_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/instance_memory_limit_gb_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/instance_memory_limit_tb_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/instance_memory_limit_pb_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_duration_s_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_duration_ms_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_duration_us_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_duration_ns_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_duration_sec_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_sec_duration_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_duration_m_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_duration_h_with_abbreviated_unit (0.00s)
    --- PASS: TestLintUnitAbbreviations/request_duration_d_with_abbreviated_unit (0.00s)
=== RUN   TestCustomValidations
=== RUN   TestCustomValidations/metric_without_necessary_prefix
=== RUN   TestCustomValidations/metric_without_necessary_prefix#01
--- PASS: TestCustomValidations (0.00s)
    --- PASS: TestCustomValidations/metric_without_necessary_prefix (0.00s)
    --- PASS: TestCustomValidations/metric_without_necessary_prefix#01 (0.00s)
=== RUN   TestLintDuplicateMetric
=== RUN   TestLintDuplicateMetric/metric_not_unique
--- PASS: TestLintDuplicateMetric (0.00s)
    --- PASS: TestLintDuplicateMetric/metric_not_unique (0.00s)
PASS
ok  	github.com/prometheus/client_golang/prometheus/testutil/promlint	0.011s
?   	github.com/prometheus/client_golang/prometheus/testutil/promlint/validations	[no test files]
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 g [too-long-redacted] alidations returned exit code 1
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1117401: golang-github-prometheus-client-golang: FTBFS: go_collector_latest_test.go:131: found unexpected metric go_godebug_non_default_behavior_allowmultiplevcs_events_total Santiago Vila <sanvila@debian.org> - 2025-10-05 19:40 +0200
  Bug#1117401: marked as pending in golang-github-prometheus-client-golang Reinhard Tartler <noreply@salsa.debian.org> - 2025-10-15 13:00 +0200
  Processed: Bug#1117401 marked as pending in golang-github-prometheus-client-golang "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-10-15 13:00 +0200
  Bug#1117401: marked as done (golang-github-prometheus-client-golang:  FTBFS: go_collector_latest_test.go:131: found unexpected metric  go_godebug_non_default_behavior_allowmultiplevcs_events_total) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-10-16 00:00 +0200

csiph-web