The GH issue you linked seems to be fixed upstream already with this patch: https://github.com/prometheus/prometheus/pull/8538/files

On 09/10/2021 19:34, Shengjing Zhu wrote:
Package: prometheus
Version: 2.24.1+ds-1
Severity: serious
X-Debbugs-Cc: z...@debian.org

Hi,

When rebuild packages, I find it FTBFS.

=== RUN   TestChunkDiskMapper_WriteChunk_Chunk_IterateChunks
--- FAIL: TestChunkDiskMapper_WriteChunk_Chunk_IterateChunks (0.05s)
panic: runtime error: slice bounds out of range [:104326] with capacity 104293 
[recovered]
        panic: runtime error: slice bounds out of range [:104326] with capacity 
104293

goroutine 7 [running]:
testing.tRunner.func1.2(0x60da60, 0xc0005f8030)
        /usr/lib/go-1.16/src/testing/testing.go:1143 +0x332
testing.tRunner.func1(0xc000001e00)
        /usr/lib/go-1.16/src/testing/testing.go:1146 +0x4b6
panic(0x60da60, 0xc0005f8030)
        /usr/lib/go-1.16/src/runtime/panic.go:965 +0x1b9
github.com/prometheus/prometheus/tsdb/chunks.TestChunkDiskMapper_WriteChunk_Chunk_IterateChunks(0xc000001e00)
        
/build/1st/prometheus-2.24.1+ds/build/src/github.com/prometheus/prometheus/tsdb/chunks/head_chunks_test.go:122
 +0xc9c
testing.tRunner(0xc000001e00, 0x637600)
        /usr/lib/go-1.16/src/testing/testing.go:1193 +0xef
created by testing.(*T).Run
        /usr/lib/go-1.16/src/testing/testing.go:1238 +0x2b3
FAIL    github.com/prometheus/prometheus/tsdb/chunks    0.116s


It also FTBFS on tests.reproducible-builds.org, ci.debian.net

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/prometheus.html
https://ci.debian.net/data/autopkgtest/unstable/amd64/p/prometheus/15535224/log.gz


--
Martina Ferrari (Tina)

Reply via email to