← Back to issue list

Run the tests in xenial

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1532213
Type
issue
State
closed
Author
~elopio
Labels
verification-done
Created
Updated
Closed

Current evaluation

Travis tests moved to a Xenial Docker container via merged snapcraft#597 (ee28121ba), replacing the reverted LXC attempt from #202.

Resolution: closed resolved

Reason: Merged PR ubuntu-core/snapcraft#597 resolved the request in commit ee28121ba by running Travis unit, integration, and snap tests in a Xenial Docker container. The maintainer subsequently marked the Launchpad item verified.

Evaluated by: mr-cal-bot

No scores available.

Issue body

In our CI testing in travis, the tests are being run in trusty. We need to run the tests in xenial. [Impact] * For users, None. * Getting earlier results form a valid environment in travis will be good for developers. [Test Case] * Review the results in travis. [Regression Potential] * None. If the tests don't pass in travis, the pull request will not be merged.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Travis tests moved to a Xenial Docker container via merged snapcraft#597 (ee28121ba), replacing the reverted LXC attempt from #202.
stealth/space-bunny-alpha — closed resolved Travis tests moved to a Xenial Docker container via merged PR canonical/snapcraft#597 (commit ee28121ba), replacing the reverted LXC attempt.
stealth/space-bunny-alpha — closed resolved Resolved by merged PR #202 (4e8829dc3), adding a Xenial LXC test runner for Travis; later PR #371 (59631c283) replaced it with GCE Trusty.
qwen/qwen3.6-35b-a3b — — Travis CI was updated to run tests on Ubuntu Xenial. The change was implemented, verified, and the issue closed.
qwen/qwen3.6-35b-a3b — — Fixed by updating Travis CI to run tests on Ubuntu Xenial instead of Trusty. The configuration change was implemented, verified, and the issue closed.
qwen3.6-35b-a3b-mtp-q6 — — Travis CI configuration updated to run tests on Ubuntu Xenial instead of Trusty. The request was verified and closed, enabling earlier developer feedback without user impact.

Update history

Date Change
created

Related work

  • Likely Fixed By: ubuntu-core/snapcraft#597 (confidence 99%)

    Merged commit ee28121ba switched Travis executions to a Xenial Docker container and its tests passed.

  • Related To: ubuntu-core/snapcraft#202 (confidence 96%)

    The initial Xenial LXC implementation was merged but later reverted after failures and complexity.

Related issues

Issue Project State Summary Similarity
#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.
86%
#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.
83%
#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.
78%
#371 travis: run the tests in the GCE trusty machine snapcraft merged Merged PR #371 as 59631c283, removing the slow, timing-out Xenial LXC Travis workaround and running tests on GCE Trusty now that Jenkins covers them.
77%
#203 Run the tests in a xenial docker. snapcraft closed Closed unmerged; its Xenial Docker test approach was later implemented independently by merged PR #597 in commit ee28121ba.
76%
#1738210 container tests broken in travis when running from a snap snapcraft (launchpad) closed Travis cleanbuild tests were fixed by running them in LXD, merged in snapcore/snapcraft#1807 (commit 70df69b9a).
75%
#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.
74%
#2013 tests: run tests on Trusty on Travis snapcraft closed Closed unmerged; native Trusty Travis testing and optional image support never landed. Related PR canonical/snapcraft#2011 was also closed unmerged.
71%
#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).
70%