examples tests are using the removed snap service to check status
Metadata
Current evaluation
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.
Resolution: closed resolved
Reason: The maintainer linked PR #485, which was merged as commit de736fd54 changing example tests to call systemctl. Janitor confirmed the fix in snapcraft 2.8.8/2.8.8b released to xenial -updates, and the bug is tagged verification-done.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[Impact]
* snapd no longer supports the `service` command causing example tests to
fail.
* This change will allow autopackage tests to improve.
* We are using that command to check the status of the example services
we install during the tests. We should use systemclt status instead.
[Test Case]
* Run the example tests.
[Regression Potential]
* None, this is only in testing code. If there is one autopackage tests
will fail.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | 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. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by snapcraft PR #485 (commit de736fd54), which switched the examples tests from the removed 'snap service' command to systemctl; shipped in snapcraft 2.8.8/2.8.8b after SRU verification (LP: #1573697). | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed example-test status checks by replacing the removed snap service command with systemctl; PR #485 was merged as commit de736fd54. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed example test failures by replacing the removed snap service command with systemctl status. The change was implemented, verified, and the issue closed. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed example tests by replacing the deprecated snap service command with systemctl status. The update was verified and the issue closed. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#485
(confidence 99%)
Merged commit de736fd54 replaced the removed snap service command with systemctl in examples tests
-
Related To:
snapcraft#482
(confidence 60%)
Same release batch of autopkgtest/examples test fixes (removing --allow-unauthenticated)
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #485 Examples tests: use systemctl instead of the removed snap service | snapcraft | merged | Merged into snapcraft as commit de736fd54, updating example tests to use systemctl after removal of the snap service. | |
| #1569401 example tests are failing because they call the old snappy command | snapcraft (launchpad) | closed | Example tests were updated from snappy to snap, fixing Launchpad #1569401 through merged PR ubuntu-core/snapcraft#439 (commit bce446559). |