← Back to issue list

Sanity checks don't work in build VMs

View original Launchpad issue

Metadata

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

Current evaluation

Sanity checks were fixed for build VMs by snapcore/snapcraft#2279, merged as 6f4ca585f; checks now resolve snap/ relative to the project rather than CWD.

Resolution: closed resolved

Reason: PR snapcore/snapcraft#2279 was merged as commit 6f4ca585f, making sanity-check paths project-relative so they work with build VMs' directory layout.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Build VMs use a different project folder organization than the default. As a result, the sanity checks (which check the project snap/ directory) don't work properly.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Sanity checks were fixed for build VMs by snapcore/snapcraft#2279, merged as 6f4ca585f; checks now resolve snap/ relative to the project rather than CWD.
stealth/space-bunny-alpha — closed resolved Fixed build-VM sanity checks by resolving snap-directory paths relative to the project instead of the working directory; merged in snapcraft#2279.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/snapcraft#2279 (commit 6f4ca585f): sanity checks now use project-relative paths, accommodating build VMs' directory layout.
qwen/qwen3.6-35b-a3b — — Abandoned. Build VM folder structure breaks sanity checks targeting the snap directory, but no fix or workaround was implemented.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Sanity checks fail in build VMs due to non-standard project folder organization. The report was closed after 36 days with zero comments, indicating it was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments, the sanity check failure in build VMs caused by non-standard folder organization was likely abandoned or superseded.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. Sanity checks fail in build VMs due to non-standard project folder organization, but no fix was implemented.

Update history

Date Change
created

Related work

Related issues

Issue Project State Summary Similarity
#2279 sanity checks: run properly on build VMs snapcraft merged Merged snapcraft#2279 in commit 6f4ca585f, making snap-directory sanity checks project-relative instead of CWD-relative so they work on build VMs (LP #1792962).
85%