Closed Satellite-QE closed 2 days ago
trigger: test-robottelo
pytest: tests/foreman/sys/test_fam.py
PRT Result
Build Number: 9430
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/sys/test_fam.py --external-logging
Test Result : =========== 14 failed, 96 passed, 340 warnings in 5095.68s (1:24:55) ===========
Cherrypick of PR: https://github.com/SatelliteQE/robottelo/pull/16975
Problem Statement
pytest by default tries to load all plugins it finds on a system. pulpcore ships with own pytest plugins, but we do not install their dependencies (as we don't want to run pulpcore tests), which leads to pytest failing to load those plugins and breaking overall execution:
Solution
Disable the autoloading by setting the PYTEST_DISABLE_PLUGIN_AUTOLOAD environment variable.
Related Issues
PRT test Cases example
trigger: test-robottelo pytest: tests/foreman/sys/test_fam.py