summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@canonical.com>2019-10-02 04:16:01 -0400
committerDan Streetman <ddstreet@canonical.com>2019-10-03 11:01:23 -0400
commitb4532d650b69993faef92d198fac69b1520528a8 (patch)
tree131900ba1bc0f7708f7ebbae625c6a42724e28ba /test
parenta79505909ff755ad69a8b89281a5cf7da2d6baeb (diff)
downloadsystemd-b4532d650b69993faef92d198fac69b1520528a8.tar.gz
systemd-b4532d650b69993faef92d198fac69b1520528a8.tar.bz2
systemd-b4532d650b69993faef92d198fac69b1520528a8.zip
test/README.testsuite: add section for Ubuntu CI blacklist files
Add some docs explaining how blacklist individual test/TEST-* tests in Ubuntu CI using per-test blacklist files.
Diffstat (limited to 'test')
-rw-r--r--test/README.testsuite23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/README.testsuite b/test/README.testsuite
index 2753ed6e3a..9e0c36512c 100644
--- a/test/README.testsuite
+++ b/test/README.testsuite
@@ -97,3 +97,26 @@ kernel command line parameter with $KERNEL_APPEND and then log in as root.
$ sudo make -C test/TEST-01-BASIC KERNEL_APPEND="systemd.unit=multi-user.target" run
Root password is empty.
+
+Ubuntu CI
+=========
+
+New PR submitted to the project are run through regression tests, and one set
+of those is the 'autopkgtest' runs for several different architectures, called
+'Ubuntu CI'. Part of that testing is to run all these tests. Sometimes these
+tests are temporarily blacklisted from running in the 'autopkgtest' tests while
+debugging a flaky test; that is done by creating a file in the test directory
+named 'blacklist-ubuntu-ci', for example to prevent the TEST-01-BASIC test from
+running in the 'autopkgtest' runs, create the file
+'TEST-01-BASIC/blacklist-ubuntu-ci'.
+
+The tests may be disabled only for specific archs, by creating a blacklist file
+with the arch name at the end, e.g.
+'TEST-01-BASIC/blacklist-ubuntu-ci-arm64' to disable the TEST-01-BASIC test
+only on test runs for the 'arm64' architecture.
+
+Note the arch naming is not from 'uname -m', it is Debian arch names:
+https://wiki.debian.org/ArchitectureSpecificsMemo
+
+For PRs that fix a currently blacklisted test, the PR should include removal
+of the blacklist file.