Public bug reported:

prometheus currently FTBFS due to a failure in
TestHeadReadWriter_WriteChunk_Chunk_IterateChunks

--- FAIL: TestHeadReadWriter_WriteChunk_Chunk_IterateChunks (0.23s)
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(0x608b80, 0xc00001a2d0)
        /usr/lib/go-1.16/src/testing/testing.go:1144 +0x332
testing.tRunner.func1(0xc000001e00)
        /usr/lib/go-1.16/src/testing/testing.go:1147 +0x4b6
panic(0x608b80, 0xc00001a2d0)
        /usr/lib/go-1.16/src/runtime/panic.go:965 +0x1b9
github.com/prometheus/prometheus/tsdb/chunks.TestHeadReadWriter_WriteChunk_Chunk_IterateChunks(0xc000001e00)
        
/tmp/autopkgtest.8J3CEG/autopkgtest_tmp/build/src/github.com/prometheus/prometheus/tsdb/chunks/head_chunks_test.go:119
 +0xbb9
testing.tRunner(0xc000001e00, 0x632270)
        /usr/lib/go-1.16/src/testing/testing.go:1194 +0xef
created by testing.(*T).Run
        /usr/lib/go-1.16/src/testing/testing.go:1239 +0x2b3
FAIL    github.com/prometheus/prometheus/tsdb/chunks    0.275s

This is a known issue and already fixed upstream:
https://github.com/prometheus/prometheus/issues/8403
https://github.com/prometheus/prometheus/pull/8538

This also appears to be related to go 1.16 - previous versions of go appear to
not trigger the issue (or so I infer from the upstream bug report).

Filing the bug largely to track this as a known issue and mark it in the
update-excuses report.  Should be resolved when a new upstream version is
uploaded, or the above fix could be cherry-picked if someone is so inclined.

** Affects: prometheus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930752

Title:
  FTBFS - test failure TestHeadReadWriter_WriteChunk_Chunk_IterateChunks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/prometheus/+bug/1930752/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to