← Back to issue list

example tests are failing because they call the old snappy command

View original Launchpad issue

Metadata

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

Current evaluation

Example tests were updated from snappy to snap, fixing Launchpad #1569401 through merged PR ubuntu-core/snapcraft#439 (commit bce446559).

Resolution: closed resolved

Reason: PR ubuntu-core/snapcraft#439 was merged as commit bce446559 and updated the command used by the examples tests. The maintainer linked that PR as the resolution.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The snappy command was replaced with snap. The examples tests need to be updated.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Example tests were updated from snappy to snap, fixing Launchpad #1569401 through merged PR ubuntu-core/snapcraft#439 (commit bce446559).
stealth/space-bunny-alpha — closed resolved Launchpad bug #1569401 (snapcraft): examples tests still invoked the removed snappy command. Fixed by merged PR #439 (commit bce446559), which swapped snappy for snap in the example tests.
stealth/space-bunny-alpha — closed resolved Merged PR #439 (commit bce446559) replaced obsolete snappy commands with snap in three example-test lines, fixing the failing tests.
qwen/qwen3.6-35b-a3b — — Closed without a linked fix or comments. Example tests still reference the deprecated snappy command instead of snap. The issue appears abandoned or superseded by later repository updates.
qwen/qwen3.6-35b-a3b — — Abandoned. Example tests failed due to outdated snappy commands requiring updates to snap, but no fix was implemented.
qwen/qwen3.6-35b-a3b — — Fixed by updating example tests to use snap instead of the deprecated snappy command. Closed after resolving the test failures.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. Example tests still reference the deprecated snappy command instead of snap. No fix or follow-up was implemented.

Update history

Date Change
created

Related work

  • Likely Fixed By: ubuntu-core/snapcraft#439 (confidence 100%)

    Merged commit bce446559 replaced the old snappy command with snap in examples tests.

Related issues

Issue Project State Summary Similarity
#439 Update the snap command in examples tests. snapcraft merged Merged #439 (bce446559), replacing the obsolete snappy command with snap in three example-test lines for LP #1569401.
76%
#1573349 snapcraft examples are starting the binaries from outdated path snapcraft (launchpad) closed Fixed by merged PR ubuntu-core/snapcraft#484 (commit 581e02ba2) updating example tests to use /snap/bin instead of /snaps/bin; shipped in snapcraft 2.8.8b.
76%
#1651908 Command tests need to be reorganized. snapcraft (launchpad) closed Command tests were moved into a dedicated subdirectory by snapcore/snapcraft PR #1015, resolving Launchpad #1651908.
74%
#1672463 snaps tests fail because of the new current link snapcraft (launchpad) closed Updated snap tests for snapd's new current-revision symlink, fixing BusyBox and Mosquitto failures in snapcore/snapcraft#1187 (57055d1e4).
73%
#1573697 examples tests are using the removed snap service to check status snapcraft (launchpad) closed Fixed by PR canonical/snapcraft#485, merged as commit de736fd54: example tests now use systemctl instead of snapd's removed `service` command. Shipped in snapcraft 2.8.8b and released to xenial -updates.
72%
#1592943 The examples test output is not good snapcraft (launchpad) closed Improve examples test output readability. Fixed by ubuntu-core/snapcraft PR #573, merged as commit fe779919f (pexpect-based snap-build example tests), released in snapcraft 2.12; verified in xenial-updates.
72%
#1849 tests: add snap not found tests snapcraft merged Merged missing-snap test coverage; snapcraft PR #1849 landed as commit 54cf2bd9e.
72%
#990 tests: fix snaps tests in armhf snapcraft merged Merged PR #990 as commit f467e55bc, correcting armhf failures in snap tests across 11 files and closing Launchpad bug #1650458.
72%
#1650458 snaps tests fail in armhf snapcraft (launchpad) closed Armhf snap test builds were fixed by snapcore/snapcraft#990, merged as f467e55bc; installation testing remained deferred because runners used LXC.
71%
#3609 tests: move legacy snapcraft tests (CRAFT-728) snapcraft merged Merged PR #3609 in commit a71aeff54, moving snapcraft_legacy unit tests from tests/unit to tests/legacy to match the package rename.
71%