trace-cmd/tests
Troy Dawson 5a7c42a207 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/trace-cmd#57b6456aa8577d62c3ef6380cd0a72c49d77babf
2020-10-15 13:01:27 -07:00
..
sanity RHEL 9.0.0 Alpha bootstrap 2020-10-15 13:01:27 -07:00
README.md RHEL 9.0.0 Alpha bootstrap 2020-10-15 13:01:27 -07:00
tests.yml RHEL 9.0.0 Alpha bootstrap 2020-10-15 13:01:27 -07:00

About

Trace-cmd tests according to the CI wiki specifically the standard test interface in the spec.

The playbook includes Tier1 level test cases that have been tested in classic contexts and is passing reliably.

The following steps are used to execute the tests using the standard test interface:

Test environment

Make sure you have installed packages from the spec

`# dnf install ansible python2-dnf libselinux-python standard-test-roles ansible python2-dnf libselinux-python standard-test-roles`

Run tests for Classic

    # export TEST_SUBJECTS=
    # sudo ansible-playbook --tags=classic tests.yml

Snip of the example test run for Classic tests:

TASK [standard-test-beakerlib : Run beakerlib tests] *****************************************************************************************************************************************

changed: [localhost] => (item=sanity)

TASK [standard-test-beakerlib : Make the master tests summary log artifact] ******************************************************************************************************************

changed: [localhost] => (item=sanity)

TASK [standard-test-beakerlib : Check the results] *******************************************************************************************************************************************

changed: [localhost]

TASK [standard-test-beakerlib : include_role] ************************************************************************************************************************************************

TASK [str-common : Pull out the logs from test environment to test runner] *******************************************************************************************************************

changed: [localhost]

PLAY RECAP ***********************************************************************************************************************************************************************************

localhost : ok=27 changed=16 unreachable=0 failed=0