Skip to content

Commit

Permalink
tests: Rework tests/installed → tests/kola
Browse files Browse the repository at this point in the history
Previously we made an effort to use the [Fedora Standard Test Interface](https://docs.fedoraproject.org/en-US/ci/standard-test-interface/).
This effort was not very successful; the primary thing that
it really died on is Ansible just didn't support rebooting
very well.  I think that's since gotten better, but even
then, Ansible wasn't the best thing for a test framework
for us anyways.

In the meantime Fedora CoreOS happened emphasizing Ignition
and not "post-hoc reconciliation" models like Ansible over
ssh.

And, [coreos-assembler](https://github.com/coreos/coreos-assembler) happened too.

Furthermore, we really need to test OSTree's interaction
with Ignition as we've invented several special things there.

Then most recently, I've been working on having
cosa/kola support running externally defined tests:
coreos/coreos-assembler#1215

There's a lot of things to clean up after this but at least this
works for me:

```
$ cd /srv/fcos
$ cosa kola run -- --parallel 4 --output-dir tmp/kola -E ~/src/github/ostreedev/ostree/ 'ext.ostree.*'
```

NOTE: This *does not* drop ostree binaries into the target.  See:
coreos/coreos-assembler#1252 (comment)

This drops our dependency on Python in the installed tests, and
also fixes a few bugs that came up.

I disabled the `itest-bare-user-root.sh` one because it's
entangled with the shell script infrastructure for the unit tests.
  • Loading branch information
cgwalters committed Mar 18, 2020
1 parent 35c8fd3 commit 56f85fc
Show file tree
Hide file tree
Showing 36 changed files with 336 additions and 668 deletions.
15 changes: 0 additions & 15 deletions tests/installed/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions tests/installed/destructive-ansible.yml

This file was deleted.

42 changes: 0 additions & 42 deletions tests/installed/destructive-unit.yml

This file was deleted.

13 changes: 0 additions & 13 deletions tests/installed/destructive/var-mount.yml

This file was deleted.

23 changes: 0 additions & 23 deletions tests/installed/execute_batch.yml

This file was deleted.

101 changes: 0 additions & 101 deletions tests/installed/libinsttest.sh

This file was deleted.

41 changes: 0 additions & 41 deletions tests/installed/nondestructive.yml

This file was deleted.

1 change: 0 additions & 1 deletion tests/installed/nondestructive/libtest-core.sh

This file was deleted.

41 changes: 0 additions & 41 deletions tests/installed/playbook-run.sh

This file was deleted.

8 changes: 0 additions & 8 deletions tests/installed/provision.sh

This file was deleted.

12 changes: 0 additions & 12 deletions tests/installed/run.sh

This file was deleted.

5 changes: 0 additions & 5 deletions tests/installed/tasks/disable-all-rpmmd-repos.yml

This file was deleted.

23 changes: 0 additions & 23 deletions tests/installed/tasks/install-git.yml

This file was deleted.

23 changes: 0 additions & 23 deletions tests/installed/tasks/overlay-git.yml

This file was deleted.

6 changes: 0 additions & 6 deletions tests/installed/tasks/query-host.yml

This file was deleted.

Loading

0 comments on commit 56f85fc

Please sign in to comment.