Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.15.z] use packaged pytest, not some venv #16717

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #16694

Problem Statement

The current FAM test setup relies on being able to reach the Internet, which is "bad design"™ but also actually broken in IPv6-only environments because our lab network has IPv6, but no route to the broader Internet.

Solution

Instead of installing test dependencies via pip from the Internet, install them via dnf from the RH CDN and use them in the tests here.
There is an accompanying PR against the repo that carries the setup playbooks.

Related Issues

@Satellite-QE Satellite-QE requested a review from a team as a code owner October 21, 2024 10:04
@Satellite-QE Satellite-QE added 6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Oct 21, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/sys/test_fam.py
network_type: ipv6

@jameerpathan111 jameerpathan111 enabled auto-merge (squash) October 21, 2024 10:07
@jameerpathan111 jameerpathan111 merged commit 9896f12 into 6.15.z Oct 21, 2024
13 of 14 checks passed
@jameerpathan111 jameerpathan111 deleted the cherry-pick-6.15.z-ddb3ec10b1d21d3df01a0dbd684465448c2d43ce branch October 21, 2024 10:11
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 9041
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/sys/test_fam.py --external-logging
Test Result : =========== 108 failed, 2 passed, 492 warnings in 2238.43s (0:37:18) ===========

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches PRT-Failed Indicates that latest PRT run is failed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants