← Back to issue list

Snapcraft doesn't store build logs

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1590807
Type
issue
State
closed
Author
~seb128
Labels
—
Created
Updated
Closed

Current evaluation

Build logs were addressed for core22 with Snapcraft 7: canonical/snapcraft#2574 (c6b1d9ee6) retrieves Launchpad remote-build logs.

Resolution: closed resolved

Reason: The issue was resolved by merged PR #2574, commit c6b1d9ee6, which added retrieval of Launchpad build-log files for remote builds. A later fix, #3076, addressed cases where the log URL was absent.

Evaluated by: mr-cal-bot

No scores available.

Issue body

snapcraft doesn't seem to store build logs by default nor to provide an option to do that, that's something that e.g deb packaging tools do and that comes often handy for debugging (you might have the interesting part out of your buffer or want to go back at looking at something the next day)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Build logs were addressed for core22 with Snapcraft 7: canonical/snapcraft#2574 (c6b1d9ee6) retrieves Launchpad remote-build logs.
stealth/space-bunny-alpha — closed resolved Build-log persistence was addressed for core22 in Snapcraft 7; merged PR #2574 (c6b1d9ee6) added retrieval of Launchpad logs for remote builds.
stealth/space-bunny-alpha — closed stale Closed without a documented resolution. PR #2574 added remote-build log retrieval, but no evidence confirms it addressed this persistent build-log request.
qwen/qwen3.6-35b-a3b — — Requesting default build log storage in snapcraft was closed without implementation or discussion. Zero comments and no resolution details indicate the feature request was abandoned.
qwen/qwen3.6-35b-a3b — — The request to implement persistent build log storage in Snapcraft was closed without implementation or discussion. Lacking developer interest, the feature request was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request for snapcraft to store build logs was abandoned, with no comments or labels added to track resolution.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#2574 (confidence 96%)

    Implements retrieval of Launchpad log files in commit c6b1d9ee6.

  • Related To: canonical/snapcraft#3076 (confidence 82%)

    Follow-up fix for remote builds whose build-log URL is null.

Related issues

Issue Project State Summary Similarity
#2574 remote build: retrieve build log files snapcraft merged Merged in snapcraft#2574 as c6b1d9ee6, adding automatic retrieval of successful Launchpad build logs with architecture-based filenames and numbered collision suffixes.
77%
#1981072 Core22 Snap builds don't output error logs snapcraft (launchpad) closed Launchpad core22 snap builds showed no error output. Closed as fixed after snapcraft PR canonical/snapcraft#3889 (commit 72ad273f2) plus craft-parts logging fixes; maintainer confirmed Snapcraft 8 reports stdout/stderr for core22 builds.
70%