ostree/tests/installed
Colin Walters 579faf92fd tests: Fix installed tests more
OK so I noticed that something was failing and we were missing
`set -xeuo pipefail` in our shells.  That of course revealed
the ansible tests didn't actually work - my only defense
here is spending so much time fighting to get it through CI
and trying something new.

Anyways, to make the staged-deploy tests work we need a task
that actually uses `rpm-ostree override` rather than `usroverlay`.

Let's make this a bit saner and have a clean split between
tests that are "shell-script+usroverlay" and "ansible+override".

Closes: #1577
Approved by: jlebon
2018-05-04 19:25:32 +00:00
..
destructive tests: Fix installed tests more 2018-05-04 19:25:32 +00:00
nondestructive repo: Add checksum to error message opening unreadable object 2018-05-01 19:22:10 +00:00
tasks tests: Fix installed tests more 2018-05-04 19:25:32 +00:00
README.md tests: Merge installed/ and fedora-str/ directories 2018-04-05 20:59:23 +00:00
destructive-ansible.yml tests: Fix installed tests more 2018-05-04 19:25:32 +00:00
destructive-unit.yml tests: Fix installed tests more 2018-05-04 19:25:32 +00:00
execute_batch.yml tests: Lower retry timeout to 5s 2018-04-23 17:23:40 +00:00
libinsttest.sh tests/installed: Prefer python3 over python2 2018-04-23 18:33:45 +00:00
libtest-core.sh tests/installed: New installed, privileged tests using Fedora AH 2017-04-25 15:15:06 +00:00
nondestructive.yml tests/installed: Move tasks into tasks/ directory 2018-04-11 19:11:07 +00:00
playbook-run.sh tests/installed: Make reboot task less racy 2018-04-23 17:23:40 +00:00
provision.sh tests: Merge installed/ and fedora-str/ directories 2018-04-05 20:59:23 +00:00
run.sh tests: Fix installed tests more 2018-05-04 19:25:32 +00:00

README.md

This directory holds tests that use the Fedora Standard Test Interface.

The high level structure is that we take a qcow2 file, inject built RPMs into it, and then use Ansible to run tests.

See .papr.yml for canonical usage.

For local development, you should cache the qcow2 somewhere stable (outside of this git repo). Also note that ../ci/build-rpms.sh does not pick up uncommitted changes! Stated more strongly, you currently need to run build-rpms.sh after every change.

To run just a specific test, use e.g.: env TEST_SUBJECTS=/path/to/qcow2 ./playbook-run.sh -e tests=.*pull nondestructive.yml