golang-1.16.12: build fails intermittently (out of RAM)

Bug #1977756 reported by Davlet Panech
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Davlet Panech

Bug Description

Brief Description
-----------------
Package golang-1.16.12 sometimes fails due to insufficient memory on the build host. This error depends on how much memory is available on the host and the order in which packages are built.

Severity
--------
Major

Steps to Reproduce
------------------
Build all packages

Expected Behavior
------------------
Build succeeds

Actual Behavior
----------------
Build fails when building golang with a message similar to "no space left on device".

Reproducibility
---------------
Intermittent

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
master/2022-06-05

Last Pass
---------
master/2022-06-04

Timestamp/Logs
--------------
[...]
run: go list -gcflags=all= -ldflags=all= -f={{if .Stale}} STALE {{.ImportPath}}: {{.StaleReason}}{{end}} std DONE
write /tmp/go-build2244581008/b045/vet.cfg: no space left on device
[...]

Test Activity
-------------
N/A

Workaround
----------
Try building again

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to compile (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/compile/+/845004

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to compile (master)

Reviewed: https://review.opendev.org/c/starlingx/compile/+/845004
Committed: https://opendev.org/starlingx/compile/commit/bbab1158e8aafa6a81dc8eabb492d1a5d7c627e6
Submitter: "Zuul (22348)"
Branch: master

commit bbab1158e8aafa6a81dc8eabb492d1a5d7c627e6
Author: Davlet Panech <email address hidden>
Date: Mon Jun 6 11:29:48 2022 -0400

    golang-1.16.12: build time tmpfs size contstraint

    This package sometimes runs out of disk space on tmpfs during the build.
    Provide a miminal size estimate of 11g. This number is based on the
    auto-calculated constraint present in chroot/mock configs of the last
    few builds where this package built w/o problems.

    Closes-Bug: 1977756
    Signed-off-by: Davlet Panech <email address hidden>
    Change-Id: Ia687b61b4b7b84c4dd66c9598f89308c14dba41a

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
tags: added: stx.7.0 stx.build
Changed in starlingx:
importance: High → Medium
assignee: nobody → Davlet Panech (dpanech)
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.