Closed evgeni closed 2 weeks ago
@jameerpathan111 how do I trigger a fapolicyd-enabled test with a comment?
trigger: test-robottelo pytest: tests/foreman/installer/test_installer.py -k test_capsule_installation
PRT Result
Build Number: 9330
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/installer/test_installer.py -k test_capsule_installation --external-logging
Test Result : ========== 1 passed, 23 deselected, 48 warnings in 2453.41s (0:40:53) ==========
Problem Statement
There is a bug (https://issues.redhat.com/browse/SAT-29311) in fapolicyd, which freezes the machine and our tests didn't catch it. While this change will probably not surface that bug (we are still unsure how to reliably trigger it), it should at least assert fapolicyd is actually running (and didn't crash, which it sometimes does!) after policy loading.
Solution
assert systemd things fapolicyd is running
Related Issues
https://issues.redhat.com/browse/SAT-29311