Skip to content

Conversation

@phracek
Copy link
Member

@phracek phracek commented Oct 6, 2025

This pull request migrates bash test suite to PyTest suite.

It is separated to these commits:

  • Rename OpenShit Pytests to test_ocp_*
  • Add PyTest to s2i-php-container to directory test/test_container_*
  • Add symlinks to all supported versions

@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Pull Request validation

Failed

🔴 Review - Missing review from a member (1 required)

Success

🟢 CI - All checks have passed

@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Pull Request validation

Success

🟢 CI - All checks have passed
🟢 Review - Reviewed by a member
🟢 Approval - Changes were approved


Auto Merge

Failed

🔴 Pull Request has unsupported target branch master, expected branches are: ''

Success

🟢 Pull Request is not marked as draft and it's not blocked by dont-merge label
🟢 Pull Request meet requirements, title has correct form
🟢 Pull Request meet requirements, mergeable is true
🟢 Pull Request meet requirements, mergeable_state is clean

@phracek
Copy link
Member Author

phracek commented Oct 6, 2025

[test-pytest]

@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - PyTest - 8.3Fedora-latestx86_64✅ passed29.10.2025 11:21:349min 38stest pipeline
Fedora - PyTest - 8.2Fedora-latestx86_64✅ passed29.10.2025 11:21:419min 15stest pipeline
CentOS Stream 9 - PyTest - 8.3CentOS-Stream-9x86_64✅ passed29.10.2025 11:21:3611min 6stest pipeline
CentOS Stream 10 - PyTest - 8.3CentOS-Stream-10x86_64✅ passed29.10.2025 11:21:3410min 41stest pipeline
RHEL10 - PyTest - 8.3RHEL-10-Nightlyx86_64✅ passed29.10.2025 11:21:3412min 58stest pipeline
RHEL8 - PyTest - 7.4RHEL-8.10.0-Nightlyx86_64✅ passed29.10.2025 11:21:4215min 6stest pipeline
RHEL8 - PyTest - 8.2RHEL-8.10.0-Nightlyx86_64✅ passed29.10.2025 11:21:3415min 51stest pipeline
RHEL9 - PyTest - 8.3RHEL-9.6.0-Nightlyx86_64✅ passed29.10.2025 11:21:3517min 7stest pipeline
RHEL9 - PyTest - 8.2RHEL-9.6.0-Nightlyx86_64✅ passed29.10.2025 11:21:3518min 2stest pipeline
RHEL10 - OpenShift 4 - 8.3RHEL-10-Nightlyx86_64❌ error27.10.2025 15:42:1321min 11stest pipeline
Fedora - 8.3Fedora-latestx86_64✅ passed29.10.2025 11:22:017min 31stest pipeline
Fedora - 8.2Fedora-latestx86_64✅ passed29.10.2025 11:22:147min 49stest pipeline
CentOS Stream 9 - 8.3CentOS-Stream-9x86_64✅ passed29.10.2025 11:22:1011min 20stest pipeline
RHEL9 - OpenShift 4 - 8.3RHEL-9.6.0-Nightlyx86_64✅ passed27.10.2025 15:28:1239min 55stest pipeline
CentOS Stream 10 - 8.3CentOS-Stream-10x86_64✅ passed29.10.2025 11:22:1210min 6stest pipeline
RHEL9 - OpenShift 4 - 8.0RHEL-9.6.0-Nightlyx86_64✅ passed27.10.2025 15:58:5220min 41stest pipeline
RHEL9 - OpenShift 4 - 8.2RHEL-9.6.0-Nightlyx86_64✅ passed27.10.2025 15:03:251h 3min 10stest pipeline
RHEL8 - OpenShift 4 - 8.2RHEL-8.10.0-Nightlyx86_64✅ passed27.10.2025 16:01:2117min 20stest pipeline
RHEL9 - 8.3RHEL-9.6.0-Nightlyx86_64✅ passed29.10.2025 10:23:3416min 36stest pipeline
RHEL9 - 8.0RHEL-9.6.0-Nightlyx86_64✅ passed29.10.2025 11:22:2217min 19stest pipeline
RHEL8 - OpenShift 4 - 7.4RHEL-8.10.0-Nightlyx86_64✅ passed27.10.2025 15:59:4017min 53stest pipeline
RHEL10 - 8.3RHEL-10-Nightlyx86_64✅ passed29.10.2025 11:22:0412min 28stest pipeline
RHEL8 - 7.4RHEL-8.10.0-Nightlyx86_64✅ passed29.10.2025 11:22:0114min 20stest pipeline
RHEL8 - 8.2RHEL-8.10.0-Nightlyx86_64✅ passed29.10.2025 11:21:4413min 29stest pipeline
RHEL9 - 8.2RHEL-9.6.0-Nightlyx86_64✅ passed29.10.2025 11:21:5716min 47stest pipeline
RHEL9 - PyTest - 8.0RHEL-9.6.0-Nightlyx86_64✅ passed29.10.2025 11:21:4417min 58stest pipeline
RHEL10 - PyTest - OpenShift 4 - 8.3RHEL-10-Nightlyx86_64❌ error27.10.2025 15:37:2824min 38stest pipeline
RHEL8 - PyTest - OpenShift 4 - 7.4RHEL-8.10.0-Nightlyx86_64❌ error27.10.2025 16:04:1127min 2stest pipeline
RHEL9 - PyTest - OpenShift 4 - 8.0RHEL-9.6.0-Nightlyx86_64❌ error27.10.2025 16:02:141h 13min 7stest pipeline
RHEL8 - PyTest - OpenShift 4 - 8.2RHEL-8.10.0-Nightlyx86_64❌ error27.10.2025 15:02:111h 37min 46stest pipeline
RHEL9 - PyTest - OpenShift 4 - 8.3RHEL-9.6.0-Nightlyx86_64❌ error27.10.2025 15:03:181h 42min 28stest pipeline
RHEL9 - PyTest - OpenShift 4 - 8.2RHEL-9.6.0-Nightlyx86_64❌ error27.10.2025 15:17:591h 28min 45stest pipeline

@phracek
Copy link
Member Author

phracek commented Oct 13, 2025

[test-all]

what each test does.

Signed-off-by: Petr "Stone" Hracek <[email protected]>
@phracek
Copy link
Member Author

phracek commented Oct 15, 2025

[test-pytest][test-openshift]

@phracek
Copy link
Member Author

phracek commented Oct 15, 2025

@frenzymadness The tests have been rewritten based on your small improvements in s2i-python-container.

The suite was rewritten like in s2i-perl-container pull request sclorg/s2i-perl-container#346

So PTAL. Not urgent.

@phracek
Copy link
Member Author

phracek commented Oct 16, 2025

[test-pytest][test-openshift]

@phracek phracek requested a review from frenzymadness October 17, 2025 07:19
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.

Possible improvements found.

use container args in case OS is "rhel9" or "rhel10"

Signed-off-by: Petr "Stone" Hracek <[email protected]>
@phracek
Copy link
Member Author

phracek commented Oct 20, 2025

[test-pytest][test]

@phracek
Copy link
Member Author

phracek commented Oct 20, 2025

@frenzymadness The issues have been resolved. Thanks. Fantastic review.

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'm sorry but it seems my suggestions were mostly ignored. That's, of course, fine, but it'd be nice to share the reason.

I do not now, what I have done. Sorry for wasting your time

Signed-off-by: Petr "Stone" Hracek <[email protected]>
@phracek
Copy link
Member Author

phracek commented Oct 22, 2025

[test-pytest][test]

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.

One last nitpick from me.

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.

Thank you for your patience!

@phracek
Copy link
Member Author

phracek commented Oct 27, 2025

[test-all]

@phracek
Copy link
Member Author

phracek commented Oct 29, 2025

Let's re-test it after fixing branch

[test][test-pytest]

@phracek
Copy link
Member Author

phracek commented Oct 29, 2025

Let's re-test it after fixing branch

[test][test-pytest]

@phracek
Copy link
Member Author

phracek commented Oct 29, 2025

/auto-merge

@phracek phracek merged commit b9bee58 into master Oct 29, 2025
21 checks passed
@phracek phracek deleted the container_pytests branch October 29, 2025 11:49
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.

3 participants