← Back to issue list

container tests broken in travis when running from a snap

View original Launchpad issue

Metadata

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

Current evaluation

Travis cleanbuild tests were fixed by running them in LXD, merged in snapcore/snapcraft#1807 (commit 70df69b9a).

Resolution: closed resolved

Reason: The maintainer linked snapcore/snapcraft#1807 as the cleanbuild test fix. Repository history identifies it as commit 70df69b9a, which ran test_cleanbuild in LXD on Travis.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The tests just fail, this needs more research

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Travis cleanbuild tests were fixed by running them in LXD, merged in snapcore/snapcraft#1807 (commit 70df69b9a).
stealth/space-bunny-alpha — closed resolved Fixed Travis cleanbuild tests by running them in LXD when tests execute from a snap; the change merged via snapcore/snapcraft#1807.
stealth/space-bunny-alpha — closed stale Abandoned after Travis container tests failed from a snap; commit 3206fdc0f disabled those tests rather than fixing the underlying problem.
qwen/qwen3.6-35b-a3b — — Container tests failing on Travis CI when run from a Snap package were closed without resolution. The report remains unaddressed and appears abandoned due to lack of follow-up.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Container tests fail in Travis when running from a snap. No fix or follow-up research was completed, leaving the issue abandoned.
qwen/qwen3.6-35b-a3b — — Container tests failing in Travis when run from a snap were reported but closed without resolution. Zero comments indicate the report was abandoned pending further research.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. Container tests failed in Travis CI when executed from a Snap environment. No fixes or comments were recorded, indicating the issue was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#1807 (confidence 99%)

    Merged PR that updated Travis to run the cleanbuild test in LXD.

Related issues

Issue Project State Summary Similarity
#1415 tests: run the tests in travis using LXD containers snapcraft merged Merged in snapcraft#1415 via commit 8c9a38cde, updating Travis CI to run the test suite in LXD containers.
81%
#1411 tests: build the snapcraft snap in travis tests snapcraft merged Merged #1411 via commit 92c1e43b1, adding Travis coverage that builds the Snapcraft snap after LXD test infrastructure landed in #1415.
80%
#1653685 clean up travis.yaml snapcraft (launchpad) closed Resolved by merged snapcore/snapcraft PR #1012 (commit b66bdebe9), which cleaned up Travis and changed container build phases to use docker exec.
76%
#1807 tests: run test_cleanbuild in LXD on Travis snapcraft merged Merged PR #1807 (commit 70df69b9a) by kalikiana, making test_cleanbuild run in LXD on Travis so it is no longer skipped when tests run as a snap; fixes LP #1738210. Reviewer asked to revert the last commit keeping LXD for cleanbuild only.
76%
#1532213 Run the tests in xenial snapcraft (launchpad) closed Travis tests moved to a Xenial Docker container via merged snapcraft#597 (ee28121ba), replacing the reverted LXC attempt from #202.
75%
#1672788 Snapcraft travis runs with "tests triggered by OLS" are failing snapcraft (launchpad) closed CLA-check Travis failures were fixed by running the check in Docker, merged as canonical/snapcraft#1191 (f95ab03fd).
74%
#597 Use a xenial docker container for travis executions snapcraft merged Merged snapcraft#597 as ee28121ba, switching Travis executions to a Xenial Docker container; unit, integration, and snap tests passed.
72%
#202 Run the tests in a xenial LXC. snapcraft merged PR #202 by come-maiz moved snapcraft's test suite into a Xenial LXC, fixing LP bug #1532213. Merged in Jan 2016 (commit 4e8829dc3) after +1 from sergiusens.
72%
#1788667 changes in snapd break lxd snap injection for cleanbuild snapcraft (launchpad) closed snapd's 0600 perms on injected snaps broke LXD cleanbuild injection. Fixed by merged PR snapcore/snapcraft#2222 (commit b2bd6b776), adding new-style LXD snap injection; bug closed.
72%
#1666735 snapcraft cleanbuild does not work with lxd installed via snap snapcraft (launchpad) closed Fixed by merged canonical/snapcraft#1199 (commit 417989880), making cleanbuild LXD detection packaging-independent instead of relying on apt package metadata.
71%