Source: prometheus-blackbox-exporter
Version: 0.23.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

  There appear to be inconsistent test failures in prometheus-blackbox-
exporter, specifically TestGRPCTLSConnection and TestNoTLSConnection. I
noticed this while rebuilding the package as a rdep of another golang
library I'm updating. I'm not quite sure what is causing these tests to
fail, as on my development box with a clean sid schroot sbuilder, three
runs in a row all passed, yet in a clean sid pbuilder,
TestNoTLSConnection always fails. I personally haven't seen
TestGRPCTLSConnection fail locally, but it's failing in pretty much all
the reproducible build tests.

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/prometheus-blackbox-exporter_0.23.0-1.rbuild.log.gz

> === RUN   TestGRPCTLSConnection
>     grpc_test.go:239: GRPC probe failed
> --- FAIL: TestGRPCTLSConnection (1.20s)
> === RUN   TestNoTLSConnection
> panic: Fail in goroutine after TestGRPCTLSConnection has completed
> 
> goroutine 470 [running]:
> testing.(*common).Fail(0xc00052b860)
>       /usr/lib/go-1.19/src/testing/testing.go:824 +0xe5
> testing.(*common).Errorf(0xc00052b860, {0xc5d97f?, 0xc00043f080?}, 
> {0xc000314fc0?, 0x129ce70?, 0xc0002a2230?})
>       /usr/lib/go-1.19/src/testing/testing.go:941 +0x65
> github.com/prometheus/blackbox_exporter/prober.TestGRPCTLSConnection.func1()
>       
> /build/1st/prometheus-blackbox-exporter-0.23.0/build/src/github.com/prometheus/blackbox_exporter/prober/grpc_test.go:220
>  +0x6e
> created by 
> github.com/prometheus/blackbox_exporter/prober.TestGRPCTLSConnection
>       
> /build/1st/prometheus-blackbox-exporter-0.23.0/build/src/github.com/prometheus/blackbox_exporter/prober/grpc_test.go:218
>  +0x805
> FAIL  github.com/prometheus/blackbox_exporter/prober  1.539s

https://tests.reproducible-builds.org/debian/rbuild/unstable/armhf/prometheus-blackbox-exporter_0.23.0-1.rbuild.log.gz

> === RUN   TestGRPCTLSConnection
>     grpc_test.go:239: GRPC probe failed
>     grpc_test.go:220: failed to serve: grpc: the server has been stopped
> --- FAIL: TestGRPCTLSConnection (1.59s)
> === RUN   TestNoTLSConnection
>     utils_test.go:48: Expected: probe_grpc_status_code: 14, got: 
> probe_grpc_status_code: 0
> --- FAIL: TestNoTLSConnection (0.00s)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to