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.17.z] Make container and flatpak hosts ipv6 aware #17801

Open
wants to merge 1 commit into
base: 6.17.z
Choose a base branch
from

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #17788

Problem Statement

Several tests fail in host setup in IPv6 pipeline since they are unaware of IPV context and spawn on IPv4 infra.

pytest_fixtures/core/contenthosts.py:235: in module_flatpak_contenthost
    with Broker(**host_conf(request), host_class=ContentHost) as host:
    ...
    sock.connect((host, port))
E   socket.gaierror: [Errno -5] No address associated with hostname

Solution

Deploy them properly per IPV settings.

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/cli/test_flatpak.py -k sync_consume_flatpak_repo_via_library
network_type: ipv6

@Satellite-QE Satellite-QE requested a review from a team as a code owner March 7, 2025 11:22
@Satellite-QE Satellite-QE added 6.17.z Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Mar 7, 2025
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_flatpak.py -k sync_consume_flatpak_repo_via_library
network_type: ipv6

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Mar 7, 2025
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 10440
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/cli/test_flatpak.py -k sync_consume_flatpak_repo_via_library --external-logging
Test Result : =========== 1 failed, 6 deselected, 19 warnings in 975.70s (0:16:15) ===========

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.17.z Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing 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.

2 participants