Sosreport Tests

Test case for sosreport usage in RHUI

rhui4_tests.test_sosreport.setup()[source]

announce the beginning of the test run

rhui4_tests.test_sosreport.teardown()[source]

announce the end of the test run

rhui4_tests.test_sosreport.test_00_rhui_init()[source]

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

rhui4_tests.test_sosreport.test_01_rhua_sosreport_run()[source]

run sosreport on the RHUA node

rhui4_tests.test_sosreport.test_02_rhua_sosreport_check()[source]

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

rhui4_tests.test_sosreport.test_03_cds_sosreport_run()[source]

run sosreport on the CDS node

rhui4_tests.test_sosreport.test_04_cds_sosreport_check()[source]

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

rhui4_tests.test_sosreport.test_05_check_confidential_data()[source]

check if known confidential information is obfuscated in the archive

rhui4_tests.test_sosreport.test_99_cleanup()[source]

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