Skip to content

OpenShift 4 tests for for shared_cluster #734

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

phracek
Copy link
Member

@phracek phracek commented Mar 20, 2025

No description provided.

@phracek phracek marked this pull request as draft March 20, 2025 11:30
@phracek
Copy link
Member Author

phracek commented Mar 25, 2025

[test]

Copy link

github-actions bot commented Mar 25, 2025

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
CentOS Stream 10 - 3.12-minimalCentOS-Stream-10x86_64✅ passed25.03.2025 13:28:1816min 7stest pipeline
CentOS Stream 9 - 3.12-minimalCentOS-Stream-9x86_64✅ passed25.03.2025 13:27:3917min 26stest pipeline
CentOS Stream 9 - 3.9-minimalCentOS-Stream-9x86_64✅ passed25.03.2025 13:27:3917min 39stest pipeline
Fedora - 3.12-minimalFedora-latestx86_64✅ passed25.03.2025 13:27:3917min 54stest pipeline
CentOS Stream 9 - 3.9CentOS-Stream-9x86_64✅ passed25.03.2025 13:27:4318min 19stest pipeline
CentOS Stream 9 - 3.12CentOS-Stream-9x86_64✅ passed25.03.2025 13:27:4319min 1stest pipeline
RHEL10 - 3.12-minimalRHEL-10-Nightlyx86_64✅ passed25.03.2025 13:27:3823min 18stest pipeline
RHEL9 - 3.12-minimalRHEL-9.4.0-Nightlyx86_64✅ passed25.03.2025 13:27:4423min 15stest pipeline
RHEL9 - 3.12RHEL-9.4.0-Nightlyx86_64✅ passed25.03.2025 13:27:4126min 6stest pipeline
RHEL9 - 3.9RHEL-9.4.0-Nightlyx86_64✅ passed25.03.2025 13:27:4325min 57stest pipeline
RHEL8 - 3.9-minimalRHEL-8.10.0-Nightlyx86_64✅ passed25.03.2025 13:27:4526min 30stest pipeline
RHEL8 - 3.12-minimalRHEL-8.10.0-Nightlyx86_64✅ passed25.03.2025 13:27:4226min 22stest pipeline
RHEL9 - 3.11RHEL-9.4.0-Nightlyx86_64✅ passed25.03.2025 13:27:5727min test pipeline
RHEL8 - 3.12RHEL-8.10.0-Nightlyx86_64✅ passed25.03.2025 13:27:4629min 30stest pipeline
RHEL8 - 3.9RHEL-8.10.0-Nightlyx86_64✅ passed25.03.2025 13:27:5030min 1stest pipeline
RHEL8 - 3.11RHEL-8.10.0-Nightlyx86_64✅ passed25.03.2025 13:28:1130min 7stest pipeline
CentOS Stream 9 - 3.11-minimalCentOS-Stream-9x86_64✅ passed25.03.2025 13:47:0016min 58stest pipeline
CentOS Stream 10 - 3.12CentOS-Stream-10x86_64✅ passed25.03.2025 13:47:0917min 50stest pipeline
CentOS Stream 9 - 3.11CentOS-Stream-9x86_64✅ passed25.03.2025 13:46:2319min 5stest pipeline
Fedora - 3.12Fedora-latestx86_64✅ passed25.03.2025 13:45:2420min 10stest pipeline
Fedora - 3.13Fedora-latestx86_64✅ passed25.03.2025 13:46:1820min 19stest pipeline
RHEL8 - 3.11-minimalRHEL-8.10.0-Nightlyx86_64✅ passed25.03.2025 13:46:3626min 40stest pipeline
RHEL9 - OpenShift 4 - 3.11RHEL-9.4.0-Nightlyx86_64✅ passed16.05.2025 08:16:1428min 43stest pipeline
RHEL9 - OpenShift 4 - 3.9RHEL-9.4.0-Nightlyx86_64✅ passed16.05.2025 08:16:1628min 42stest pipeline
RHEL8 - OpenShift 4 - 3.9RHEL-8.10.0-Nightlyx86_64✅ passed16.05.2025 08:16:1227min 53stest pipeline
RHEL9 - OpenShift 4 - 3.12RHEL-9.4.0-Nightlyx86_64✅ passed16.05.2025 08:16:1628min 55stest pipeline
RHEL8 - PyTest - OpenShift 4 - 3.9RHEL-8.10.0-Nightlyx86_64✅ passed16.05.2025 08:53:3129min 28stest pipeline
RHEL8 - OpenShift 4 - 3.12RHEL-8.10.0-Nightlyx86_64✅ passed16.05.2025 08:16:1426min 48stest pipeline
RHEL9 - PyTest - OpenShift 4 - 3.9RHEL-9.4.0-Nightlyx86_64✅ passed16.05.2025 08:53:3130min 3stest pipeline
RHEL9 - PyTest - OpenShift 4 - 3.11RHEL-9.4.0-Nightlyx86_64✅ passed16.05.2025 08:16:0632min 12stest pipeline
RHEL8 - OpenShift 4 - 3.11RHEL-8.10.0-Nightlyx86_64✅ passed16.05.2025 08:16:1427min 39stest pipeline
RHEL8 - PyTest - OpenShift 4 - 3.11RHEL-8.10.0-Nightlyx86_64✅ passed16.05.2025 08:16:0731min 39stest pipeline

@phracek phracek force-pushed the fix_openshift_tests branch from 5bbdea8 to 52fc536 Compare May 5, 2025 14:20
@phracek phracek marked this pull request as ready for review May 5, 2025 14:20
@phracek

This comment was marked as outdated.

1 similar comment
@phracek

This comment was marked as outdated.

@phracek phracek force-pushed the fix_openshift_tests branch from 93b412c to f62af89 Compare May 5, 2025 14:55
@phracek
Copy link
Member Author

phracek commented May 5, 2025

Fix obsoleted version and branch

[test-openshift][test-openshift-pytest]

Copy link
Member

@frenzymadness frenzymadness left a comment

Choose a reason for hiding this comment

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

I cannot really verify the tests themselves, but I've found some possible improvements in the Python code.

@phracek
Copy link
Member Author

phracek commented May 9, 2025

Let's try to test it after modifications

[test-openshift][test-openshift-pytest]

@phracek
Copy link
Member Author

phracek commented May 9, 2025

Fix missing dist-gen generated files

[test-openshift][test-openshift-pytest]

@phracek
Copy link
Member Author

phracek commented May 14, 2025

@frenzymadness One more review please.

Copy link
Member

@frenzymadness frenzymadness left a comment

Choose a reason for hiding this comment

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

It looks good now but there is one thing I don't understand: what is the benefit of having BRANCH_TO_TEST and BRANCH_TO_MASTER as individual variables?

Currently we have here:

from constants import BRANCH_TO_MASTER
…
BRANCH_TO_TEST = BRANCH_TO_MASTER
…
if something:
    BRANCH_TO_TEST = "fooo"
…

while it can be simplified into something like:

from constants import BRANCH_TO_TEST
…
if something:
    BRANCH_TO_TEST = "fooo"
…

Or I might not understand what the name BRANCH_TO_MASTER means.

Also, it would be nice to have a clean history and some of the changes are spread across multiple commits now.

@phracek
Copy link
Member Author

phracek commented May 15, 2025

Rebased against master, squashed commits into three commits.

[test-openshift][test-openshift-pytest]

@frenzymadness
Copy link
Member

Rebased against master, squashed commits into three commits.

I still see 14 commits.

phracek added 3 commits May 16, 2025 10:12
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
Replace function `template_deployed` -> `is_template_deployed`

Do not use 'curl' test for HelmCharts. It does not make sense

Remove deduplicate function into alone python file

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
@phracek phracek force-pushed the fix_openshift_tests branch from 27175a7 to cd486ad Compare May 16, 2025 08:14
@phracek
Copy link
Member Author

phracek commented May 16, 2025

Rebased against master, squashed commits into three commits.

I still see 14 commits.

I see sorry, it was a typo on my side.

Now only 3 commits.

[test-openshift][test-openshift-pytest]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants