prometheus fails to build on armhf due to test panic: mmap, size 134217728: cannot allocate memory

Bug #1978803 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prometheus
New
Unknown
prometheus (Debian)
Fix Released
Unknown
prometheus (Ubuntu)
Fix Released
High
Unassigned

Bug Description

prometheus 2.33.5+ds1-2 fails to build on armhf:

=== RUN TestRulesUnitTest/Long_evaluation_interval
Unit Testing: ./testdata/long-period.yml
panic: mmap, size 134217728: cannot allocate memory

goroutine 5344 [running]:
github.com/prometheus/prometheus/tsdb.handleChunkWriteError({0x18b4030, 0x4dac0b0})
 /<<PKGBUILDDIR>>/.build/src/github.com/prometheus/prometheus/tsdb/head_append.go:585 +0x88
github.com/prometheus/prometheus/tsdb/chunks.(*chunkWriteQueue).processJob(0x4e93320, {0x1, 0x1, 0x3d1aa49a000, 0x3d1aa49a000, {0x18baa9c, 0x4d42630}, 0x1900000008, 0x164feb4})
 /<<PKGBUILDDIR>>/.build/src/github.com/prometheus/prometheus/tsdb/chunks/chunk_write_queue.go:106 +0xb4
github.com/prometheus/prometheus/tsdb/chunks.(*chunkWriteQueue).start.func1()
 /<<PKGBUILDDIR>>/.build/src/github.com/prometheus/prometheus/tsdb/chunks/chunk_write_queue.go:94 +0xa8
created by github.com/prometheus/prometheus/tsdb/chunks.(*chunkWriteQueue).start
 /<<PKGBUILDDIR>>/.build/src/github.com/prometheus/prometheus/tsdb/chunks/chunk_write_queue.go:90 +0x74
FAIL github.com/prometheus/prometheus/cmd/promtool 13.307s

Full log: https://launchpadlibrarian.net/606855675/buildlog_ubuntu-kinetic-armhf.prometheus_2.33.5+ds1-2_BUILDING.txt.gz

Benjamin Drung (bdrung)
summary: - prometheus fails to build on armhf
+ prometheus fails to build on armhf due to panic: mmap, size 134217728:
+ cannot allocate memory
summary: - prometheus fails to build on armhf due to panic: mmap, size 134217728:
- cannot allocate memory
+ prometheus fails to build on armhf due to test panic: mmap, size
+ 134217728: cannot allocate memory
description: updated
Benjamin Drung (bdrung)
Changed in prometheus (Ubuntu):
importance: Undecided → High
Revision history for this message
Benjamin Drung (bdrung) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

Addressed in 2.41.0+ds-2

Changed in prometheus (Ubuntu):
status: New → Fix Released
Changed in prometheus (Debian):
status: Unknown → Fix Released
Changed in prometheus:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.