SatelliteQE / robottelo

Robottelo is a test suite that exercises The Foreman.
GNU General Public License v3.0
61 stars 114 forks source link

Create fake galaxy.yml to make the FAM Makefile happy #16936

Closed evgeni closed 1 week ago

evgeni commented 1 week ago

Problem Statement

The upstream FAM Makefile expects a galaxy.yml to read some data from it, as it exists in git. A release doesn't include galaxy.yml (it's the input to the release process). But we call the Makefile on a released version, and this produces irritating output on stderr (without being an actual error).

Solution

The data in the file is unused, but not being able to load it produces errors in the logs and is confusing when searching for an actual problem during testing. Fake a file to silence the errors.

Related Issues

evgeni commented 1 week ago
trigger: test-robottelo
pytest: tests/foreman/sys/test_fam.py
Satellite-QE commented 1 week ago

PRT Result

Build Number: 9377
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/sys/test_fam.py --external-logging
Test Result : =========== 2 passed, 229 warnings, 108 errors in 1106.39s (0:18:26) ===========
evgeni commented 1 week ago
trigger: test-robottelo
pytest: tests/foreman/sys/test_fam.py
Satellite-QE commented 1 week ago

PRT Result

Build Number: 9378
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/sys/test_fam.py --external-logging
Test Result : =========== 108 failed, 2 passed, 351 warnings in 1295.42s (0:21:35) ===========
evgeni commented 1 week ago

The tests are still unstable, because the pool for subs is depleted ("robottelo.hosts.ContentHostError: Pool attachment failed"), but the galaxy.yml errors are gone