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.14.z] Use RHEL8 for container contenthost #15203

Merged

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #15179

Problem Statement

Some of our tests are failing to pull docker images with OCI artifacts using obsolete version of docker client provided by RHEL7 extras repo.
(see BZ#2262793)

Solution

Let's move forward to RHEL8 and newer version of podman/docker.
Proposed changes in this PR:

  1. Use RHEL8 with newer podman/docker client.
  2. Rescope container_contenthost fixture to module. This speeds up current tests from ~45 minutes to ~15 minutes. The downside is we need to ensure podman logout is performed on teardown (via request.addfinalizer).

Related Issues

With the new podman new issue was identified (which has not been hit with the old docker client): https://issues.redhat.com/browse/SAT-25328
Since the fix PR is up already, let's test it with packit.

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/cli/test_container_management.py
Katello:
    katello: 11006

@Satellite-QE Satellite-QE added 6.14.z Introduced in or relating directly to Satellite 6.14 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels May 28, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_container_management.py
nailgun: 1151
Katello:
    katello: 11006

@Gauravtalreja1 Gauravtalreja1 added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label May 28, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7138
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/cli/test_container_management.py --external-logging
Test Result : ============ 1 failed, 3 passed, 54 warnings in 1441.37s (0:24:01) =============

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label May 28, 2024
@shweta83
Copy link
Contributor

@vsedmik Please check the failure and rebase the PR.

Copy link
Contributor

@vsedmik vsedmik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PRT failure seems to be directly linked to the search issue mentioned in the PR description. So I wonder if the packit setup failed for z-stream (while it worked well in master where the packit/PRT passed) since the Katello fix PR raised against Katello master might fail to be used at z-stream Satellite? Maybe @Griffin-Sullivan could say if it's possible.

Nevertheless, the failing test is expected to keep failing until the fix is merged, backported and delivered downstream. It is not directly related to this PR (apart from the fact that this PR revealed it).

@vsedmik vsedmik merged commit 2a06c68 into 6.14.z Jun 3, 2024
15 of 18 checks passed
@vsedmik vsedmik deleted the cherry-pick-6.14.z-765e030fb9b13400c8e07d3651175109d76fc68f branch June 3, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.14.z Introduced in or relating directly to Satellite 6.14 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.

4 participants