Skip to content

Commit b4532d6

Browse files
author
Dan Streetman
committed
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.
1 parent a795059 commit b4532d6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

test/README.testsuite

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,26 @@ kernel command line parameter with $KERNEL_APPEND and then log in as root.
9797
$ sudo make -C test/TEST-01-BASIC KERNEL_APPEND="systemd.unit=multi-user.target" run
9898

9999
Root password is empty.
100+
101+
Ubuntu CI
102+
=========
103+
104+
New PR submitted to the project are run through regression tests, and one set
105+
of those is the 'autopkgtest' runs for several different architectures, called
106+
'Ubuntu CI'. Part of that testing is to run all these tests. Sometimes these
107+
tests are temporarily blacklisted from running in the 'autopkgtest' tests while
108+
debugging a flaky test; that is done by creating a file in the test directory
109+
named 'blacklist-ubuntu-ci', for example to prevent the TEST-01-BASIC test from
110+
running in the 'autopkgtest' runs, create the file
111+
'TEST-01-BASIC/blacklist-ubuntu-ci'.
112+
113+
The tests may be disabled only for specific archs, by creating a blacklist file
114+
with the arch name at the end, e.g.
115+
'TEST-01-BASIC/blacklist-ubuntu-ci-arm64' to disable the TEST-01-BASIC test
116+
only on test runs for the 'arm64' architecture.
117+
118+
Note the arch naming is not from 'uname -m', it is Debian arch names:
119+
https://wiki.debian.org/ArchitectureSpecificsMemo
120+
121+
For PRs that fix a currently blacklisted test, the PR should include removal
122+
of the blacklist file.

0 commit comments

Comments
 (0)