SatelliteQE / robottelo

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

[6.16.z] Create fake galaxy.yml to make the FAM Makefile happy #16941

Closed Satellite-QE closed 5 days ago

Satellite-QE commented 5 days ago

Cherrypick of PR: https://github.com/SatelliteQE/robottelo/pull/16936

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

Satellite-QE commented 5 days ago
trigger: test-robottelo
pytest: tests/foreman/sys/test_fam.py
Satellite-QE commented 5 days ago

PRT Result

Build Number: 9388
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/sys/test_fam.py --external-logging
Test Result : =========== 14 failed, 96 passed, 352 warnings in 5297.38s (1:28:17) ===========