summaryrefslogtreecommitdiff
path: root/.cci.jenkinsfile
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2020-05-31 17:57:22 +0000
committerColin Walters <walters@verbum.org>2020-08-17 14:34:04 +0000
commit1101c02c2a0eca8c73b7f0c25ea187f74ab6834a (patch)
treeaddfd7159df89c2fc139156408ce22a132906d40 /.cci.jenkinsfile
parentab95c0264c56913d9b4c1f9d0bc72b02b53cfcaa (diff)
downloadostree-1101c02c2a0eca8c73b7f0c25ea187f74ab6834a.tar.gz
tests/inst: Add destructive test framework
This adds infrastructure to the Rust test suite for destructive tests, and adds a new `transactionality` test which runs rpm-ostree in a loop (along with `ostree-finalize-staged`) and repeatedly uses either `kill -9`, `reboot` and `reboot -ff`. The main goal here is to flush out any "logic errors". So far I've validated that this passes a lot of cycles using ``` $ kola run --qemu-image=fastbuild-fedora-coreos-ostree-qemu.qcow2 ext.ostree.destructive-rs.transactionality --debug --multiply 8 --parallel 4 ``` a number of times.
Diffstat (limited to '.cci.jenkinsfile')
-rw-r--r--.cci.jenkinsfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile
index add8c35a..ac65b9c8 100644
--- a/.cci.jenkinsfile
+++ b/.cci.jenkinsfile
@@ -81,6 +81,8 @@ parallel fcos: {
coreos-assembler buildextend-metal4k
coreos-assembler buildextend-live --fast
# Install the tests
+ # Build and install the tests
+ make -C tests/kolainst
make -C tests/kolainst install
""")
}