examples tests are using the hardcoded /home/ubuntu dir
Metadata
Current evaluation
Hardcoded /home/ubuntu paths in snap tests were replaced with temporary directories by merged canonical/snapcraft#1068 (commit 1d4e5878d).
Resolution: closed resolved
Reason: Merged PR canonical/snapcraft#1068 removed the hardcoded paths in favor of temporary directories. The change landed as commit 1d4e5878d.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The examples tests are often using the /home/ubuntu dir.
This works for all our current test beds, but it's an ugly dependency and it's the only thing preventing us to run in a local testbed with a different username.
We could us /tmp instead, or $HOME.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Hardcoded /home/ubuntu paths in snap tests were replaced with temporary directories by merged canonical/snapcraft#1068 (commit 1d4e5878d). | |
| stealth/space-bunny-alpha | — | closed resolved | Replaced hardcoded /home/ubuntu paths in snap tests with temporary directories in canonical/snapcraft#1068 (commit 1d4e5878d). | |
| stealth/space-bunny-alpha | — | closed stale | Closed without resolution after prolonged inactivity; the hardcoded /home/ubuntu path was not replaced with /tmp or $HOME. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution due to inactivity. The hardcoded /home/ubuntu path in example tests remains unresolved, blocking local testing with alternative usernames. Proposed fixes using /tmp or $HOME were never implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Hardcoded /home/ubuntu paths in example tests were flagged for replacement with /tmp or $HOME. The request was closed without comments or activity, indicating it was abandoned. No fix was implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The hardcoded /home/ubuntu path in example tests remains unaddressed, as no fix or pull request was submitted. The issue appears abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The hardcoded /home/ubuntu path in example tests was abandoned due to inactivity. No fix or merge was implemented. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#1068
(confidence 100%)
The merged test cleanup replaced /home/ubuntu usage and was committed as 1d4e5878d.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1643658 snaps tests assume ubuntu user | snapcraft (launchpad) | closed | Fixed by merged PR snapcore/snapcraft#1068 (commit 1d4e5878d), replacing the hardcoded /home/ubuntu test destination with a temporary directory. |