← Back to issue list

Snapcraft hangs with no space left on device

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2065801
Type
issue
State
open
Author
~nteodosio
Labels
—
Created
Updated
Closed
—

Current evaluation

Reported in June 2024: an ENOSPC during a large Chromium build could leave the builder hanging instead of returning control; the cause remains untriaged.

Suggested action: needs triage

Reason: The report includes a concrete copytree traceback ending in Errno 28 and states that the builder never returned control, so it is a valid potential hang affecting large builds. However, Launchpad and the reporter could not determine whether Snapcraft or the build environment caused it, and there is no reproducible minimal case, diagnosis, or resolving change.

Evaluated by: mr-cal-bot

Impact: 58 Quick Win: 10 Complexity: 65 Confidence: 81 Actionability: 48

Issue body

https://launchpad.net/~chromium-team/+snap/chromium-ffmpeg/+build/2484095 gets out of space but never returns control, hanging the builder. Only visible part of the log is ---> dispatcher = self._get_dispatcher() File "/snap/snapcraft/11722/lib/python3.10/site-packages/snapcraft/application.py", line 220, in _get_dispatcher raise errors.ClassicFallback() snapcraft.errors.ClassicFallback During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/snap/snapcraft/11722/lib/python3.10/site-packages/snapcraft/parts/parts.py", line 222, in run aex.execute(action, stdout=stream, stderr=stream) File "/snap/snapcraft/11722/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 327, in execute self._executor.execute(actions, stdout=stdout, stderr=stderr) File "/snap/snapcraft/11722/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 137, in execute self._run_action(act, stdout=stdout, stderr=stderr) File "/snap/snapcraft/11722/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 214, in _run_action handler.run_action(action, stdout=stdout, stderr=stderr) File "/snap/snapcraft/11722/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 170, in run_action state = handler(step_info, stdout=stdout, stderr=stderr) File "/snap/snapcraft/11722/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 294, in _run_build shutil.copytree( File "/snap/snapcraft/11722/usr/lib/python3.10/shutil.py", line 559, in copytree return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, File "/snap/snapcraft/11722/usr/lib/python3.10/shutil.py", line 513, in _copytree raise Error(errors) shutil.Error: [('/build/chromium-ffmpeg/parts/chromium-ffmpeg-115541/src/third_party/devtools-frontend/src/node_modules/mocha/mocha.js.map', '/build/chromium-ffmpeg/parts/chromium-ffmpeg-115541/build/third_party/devtools-frontend/src/node_modules/mocha/mocha.js.map', "[Errno 28] No space left on device: '/build/chromium-ffmpeg/parts/chromium-ffmpeg-115541/src/third_party/devtools-frontend/src/node_mod <---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 58
Quick Win: 10
Complexity: 65
Confidence: 81
Actionability: 48
needs triage Reported in June 2024: an ENOSPC during a large Chromium build could leave the builder hanging instead of returning control; the cause remains untriaged.
stealth/space-bunny-alpha
Impact: 58
Quick Win: 10
Complexity: 74
Confidence: 78
Actionability: 64
keep open A Chromium ffmpeg Launchpad build hit ENOSPC during copytree and raised shutil.Error, but reportedly never exited, leaving the builder hung and the root cause unresolved.
stealth/space-bunny-alpha
Impact: 52
Quick Win: 7
Complexity: 68
Confidence: 77
Actionability: 44
needs triage Chromium-ffmpeg remote build hits ENOSPC during a craft-parts copytree and then hangs instead of returning control. The issue remains open and untriaged, with no maintainer comments.
qwen3.6-35b-a3b-mtp-q6
Impact: 60
Quick Win: 45
Staleness: 85
Complexity: 25
Confidence: 65
Support Request: 15
needs triage Snapcraft hangs indefinitely when disk space runs out during shutil.copytree in craft-parts, instead of failing gracefully with an error.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 80
Support Request: 10
needs triage Reports snapcraft hanging indefinitely when the build environment runs out of disk space, providing a traceback from a failed Launchpad build. Unlabelled and inactive for over two years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale Snapcraft hangs indefinitely when the build environment runs out of disk space, failing with an unhandled ENOSPC error during file copying. No maintainer response in over two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 80
Support Request: 10
close stale Snapcraft hangs indefinitely when the build environment runs out of disk space, failing with a shutil.Error instead of returning control or reporting the error cleanly. No maintainer response after over two years.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.