Closed Satellite-QE closed 3 weeks ago
trigger: test-robottelo pytest: tests/foreman/destructive/test_installer.py -k test_positive_mismatched_satellite_fqdn
PRT Result
Build Number: 9235
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/destructive/test_installer.py -k test_positive_mismatched_satellite_fqdn --external-logging
Test Result : ========== 1 passed, 4 deselected, 17 warnings in 1107.53s (0:18:27) ===========
Cherrypick of PR: https://github.com/SatelliteQE/robottelo/pull/16796
Test seemed to randomly fail on assertion at https://github.com/SatelliteQE/robottelo/blob/952b960381ce5817ffdd5598c3d9fc4ef8b9fff0/tests/foreman/destructive/test_installer.py#L109
After some investigation I found out that the domain is being generated randomly and for some domains (e.g. test.com, test.biz) the output of
hostname --fqdn
returns FQDN, not just "shortname" as we expected.Removing nameservers from /etc/resolv.conf solves the issue.