← Back to issue list

New OverlayUnmountError with 5.21 lxd

View original Github issue

Metadata

Project
rockcraft
Number
#681
Type
issue
State
open
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Overlay-using spread tests (overlay-logs, usrmerge-file-collision) fail on LXD 5.21 with OverlayUnmountError: umount of /root/overlay/overlay returns exit status 32 after 5 retries. Reported 2024-08-26, no maintainer response, no labels, no assignee. Likely related to craft-parts chroot unmount handling.

Suggested action: needs triage

Reason: No maintainer has responded, labelled, or assigned this issue since it was filed 735 days ago — only the Jira sync bot commented. The bug is real (spread test failures with a clear log showing umount exit status 32 after retries), but it has never been triaged. The craft-parts repo has a related fix (aea85f07, 'Make mounted devices private before recursively unmounting the chroot', PR #1348) that may address the root cause, but there is no explicit cross-reference confirming it fixes this specific LXD 5.21 regression.

Impact: 40 Quick Win: 18.0 Staleness: 75 Complexity: 55 Confidence: 55 Support Request: 10

Issue body

### Bug Description The following overlay-using spread tests started failing: ``` 2024-08-26 14:38:42 Failed tasks: 2 - google:ubuntu-22.04-64:tests/spread/rockcraft/overlay-logs - google:ubuntu-22.04-64:tests/spread/rockcraft/usrmerge-file-collision ``` ### To Reproduce . ### Environment . ### rockcraft.yaml ```shell . ``` ### Relevant log output ```shell 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:33.636 [pid=201] mount '/root/overlay/overlay/proc' on chroot 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:33.636 mount device='proc', mountpoint='/root/overlay/overlay/proc', args=('-tproc',) 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:33.640 unmount overlayfs from /root/overlay/overlay 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:33.641 umount mountpoint='/root/overlay/overlay', args=() 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:34.648 retry umount '/root/overlay/overlay' (1/5) 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:35.652 retry umount '/root/overlay/overlay' (2/5) 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:36.656 retry umount '/root/overlay/overlay' (3/5) 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:37.661 retry umount '/root/overlay/overlay' (4/5) 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:38.665 retry umount '/root/overlay/overlay' (5/5) 2024-08-26 14:36:39.103 :: 2024-08-26 14:36:38.671 Failed to unmount /root/overlay/overlay: Command '['/bin/umount', '/root/overlay/overlay']' returned non-zero exit status 32. ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 18.0
Staleness: 75
Complexity: 55
Confidence: 55
Support Request: 10
needs triage Overlay-using spread tests (overlay-logs, usrmerge-file-collision) fail on LXD 5.21 with OverlayUnmountError: umount of /root/overlay/overlay returns exit status 32 after 5 retries. Reported 2024-08-26, no maintainer response, no labels, no assignee. Likely related to craft-parts chroot unmount handling.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 20
close stale Reports OverlayUnmountError in spread tests after LXD 5.21 update. Failing to unmount overlayfs with exit status 32. No reproduction steps provided. Issue has been inactive for over a year with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 60
Support Request: 35
close stale Reports failing spread tests due to an OverlayUnmountError in rockcraft. Lacks reproduction steps, environment details, and has had no maintainer engagement in over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 30
Confidence: 75
Support Request: 20
close stale Reports OverlayUnmountError during spread tests with LXD 5.21. Issue lacks reproduction steps, environment details, and has been inactive for over 10 months with only a Jira bot comment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 50
Confidence: 80
Support Request: 20
close stale Rockcraft overlay unmount failures after LXD 5.21 update cause spread test failures. Repeated umount retries exit with status 32. Issue is open, internal Jira ticket CRAFT-3307 created, awaiting investigation and fix.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: craft-parts#1348 (confidence 45%)

    craft-parts commit aea85f07 'fix: Make mounted devices private before recursively unmounting the chroot' addresses chroot unmount failures that match the symptom (umount returning non-zero after retries). No explicit cross-reference in the issue, but the mechanism is consistent.

Related issues

No related issues found above the similarity threshold.