[Bug 1976607] Re: tests-in-lxd autopkgtest is skipped, due to missing 'lxd' deb
Lukas Märdian
1976607 at bugs.launchpad.net
Thu Jun 9 09:41:31 UTC 2022
The patch pasted above doesn't fully work. We need something like this:
diff --git a/debian/tests/control b/debian/tests/control
index e7d7c3ab045..0e3ab7625b2 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -122,7 +122,7 @@ Depends: systemd-tests,
libpam-systemd,
autopkgtest,
lsb-release,
- lxd
+ snapd,
Restrictions: needs-root, allow-stderr, isolation-machine, breaks-testbed, skip-not-installable, skippable
Tests: upstream-1, upstream-2
diff --git a/debian/tests/tests-in-lxd b/debian/tests/tests-in-lxd
index f1103b40a93..b442ed1c9e0 100644
--- a/debian/tests/tests-in-lxd
+++ b/debian/tests/tests-in-lxd
@@ -4,6 +4,7 @@
set -eu
+snap install lxd
lxd init --auto
IMAGE=autopkgtest/ubuntu/$(lsb_release -cs)/$(dpkg --print-architecture)
** Changed in: systemd (Ubuntu Jammy)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1976607
Title:
tests-in-lxd autopkgtest is skipped, due to missing 'lxd' deb
Status in systemd package in Ubuntu:
Triaged
Status in systemd source package in Jammy:
In Progress
Status in systemd source package in Kinetic:
Triaged
Bug description:
[Impact]
* The deb to snap transitional 'lxd' package was removed post feature-freeze in Jammy
* this leads to systemd's 'tests-in-lxd' autopkgtest being skipped:
* "tests-in-lxd SKIP installation fails and skip-not-installable set"
* It reduces systemd's test coverage, which is bad.
[Test Plan]
* run systemd's autopkgtest
* observe the logs
* "tests-in-lxd SKIP installation fails and skip-not-installable set" should not be there
* "tests-in-lxd PASS" should be there
[Where problems could occur]
* The change only affects systemd's 'test-in-lxd' autopkgtest
* it does not have any impact outside the test suite
[Other Info]
* https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1964786
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1976607/+subscriptions
More information about the foundations-bugs
mailing list