Sosreport Tests

Test case for sosreport usage in RHUI

rhui3_tests.test_sosreport.setup()[source]

announce the beginning of the test run

rhui3_tests.test_sosreport.teardown()[source]

announce the end of the test run

rhui3_tests.test_sosreport.test_00_rhui_init()[source]

add a CDS and run rhui-subscription-sync to ensure their log files exist

rhui3_tests.test_sosreport.test_01_rhua_check_sos_script()[source]

check if the RHUI sosreport script is available on the RHUA node

rhui3_tests.test_sosreport.test_02_rhua_sosreport_run()[source]

run sosreport on the RHUA node

rhui3_tests.test_sosreport.test_03_rhua_sosreport_check()[source]

check if the sosreport archive from the RHUA node contains the desired files

rhui3_tests.test_sosreport.test_04_cds_check_sos_script()[source]

check if the RHUI sosreport script is available on the CDS node

rhui3_tests.test_sosreport.test_05_cds_sosreport_run()[source]

run sosreport on the CDS node

rhui3_tests.test_sosreport.test_06_cds_sosreport_check()[source]

check if the sosreport archive from the CDS node contains the desired files

rhui3_tests.test_sosreport.test_99_cleanup()[source]

delete the archives and their checksum files, local caches; remove CDS