5a7c42a207
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
45 lines
2.1 KiB
Markdown
45 lines
2.1 KiB
Markdown
About
|
|
|
|
Trace-cmd tests according to the CI wiki specifically the standard test interface in the [spec](https://fedoraproject.org/wiki/Changes/InvokingTests).
|
|
|
|
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
|
|
>
|