summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-01-19 13:54:19 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-01-19 13:54:31 +0100
commit48e582d7fea7817e3a57d633f11418c679dd9370 (patch)
treede4b9fc1ac1a4893af353c43c2c858d7d3c09c78
parent5908d864250c7456de4bab169fbcb6cbf85888de (diff)
downloadsystemd-48e582d7fea7817e3a57d633f11418c679dd9370.tar.gz
test: update Ubuntu CI docs
-rw-r--r--test/README.testsuite12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/README.testsuite b/test/README.testsuite
index 2136800ff5..49cf684596 100644
--- a/test/README.testsuite
+++ b/test/README.testsuite
@@ -171,7 +171,7 @@ Manually running a part of the Ubuntu CI test suite
In some situations one may want/need to run one of the tests run by Ubuntu CI
locally for debugging purposes. For this, you need a machine (or a VM) with
-the same Ubuntu release as is used by Ubuntu CI (Focal ATTOW).
+the same Ubuntu release as is used by Ubuntu CI (Jammy ATTOW).
First of all, clone the Debian systemd repository and sync it with the code of
the PR (set by the $UPSTREAM_PULL_REQUEST env variable) you'd like to debug:
@@ -186,18 +186,16 @@ Now install necessary build & test dependencies:
## PPA with some newer Ubuntu packages required by upstream systemd
# add-apt-repository -y ppa:upstream-systemd-ci/systemd-ci
# apt build-dep -y systemd
-# apt install -y autopkgtest debhelper genisoimage git qemu-system-x86 \
- libzstd-dev libfdisk-dev libtss2-dev libfido2-dev libssl-dev \
- python3-jinja2 zstd
+# apt install -y autopkgtest debhelper genisoimage git qemu-system-x86
Build systemd deb packages with debug info:
-# DEB_BUILD_OPTIONS="nocheck nostrip" dpkg-buildpackage -us -uc
+# TEST_UPSTREAM=1 DEB_BUILD_OPTIONS="nocheck nostrip" dpkg-buildpackage -us -uc
# cd ..
Prepare a testbed image for autopkgtest (tweak the release as necessary):
-# autopkgtest-buildvm-ubuntu-cloud -v -a amd64 -r focal
+# autopkgtest-buildvm-ubuntu-cloud --ram-size 1024 -v -a amd64 -r jammy
And finally run the autopkgtest itself:
@@ -205,7 +203,7 @@ And finally run the autopkgtest itself:
--timeout-factor=3 \
--test-name=boot-and-services \
--shell-fail \
- -- autopkgtest-virt-qemu autopkgtest-focal-amd64.img
+ -- autopkgtest-virt-qemu --ram-size 2048 autopkgtest-jammy-amd64.img
where --test-name= is the name of the test you want to run/debug. The
--shell-fail option will pause the execution in case the test fails and shows