Skip to content

Conversation

@phracek
Copy link
Member

@phracek phracek commented Nov 6, 2025

Add Container PyTest suite to s2i-ruby container.
Migration matrix is following:

For db, puma, rack applications are classes:
db -> TestRubyHelloWorldContainer
puma -> TestRubyPumaTestAppContainer
rack -> TestRubyRackTestAppContainer

test_docker_run_usage -> test_container_basics.py->TestS2IRubyContainer(test_docker_run_usage)
test_application -> test_application in each class
test_connection -> test_application in each class in assert
test_response -> test_application in each class in assert
test_scl_usage -> test_container_basics.py->TestS2IRubyContainer(test_scl_usage)
test_npm_functionality -> test_container_basics.py->TestRubyNPMtestContainer
test_ruby_fips_mode -> test_container_fips.py->TestRubyFipsModeContainer(test_fips_mode)
test_ruby_fips_s2i_app -> test_container_fips.TestRubyFipsApplicationContainer(test_application)
test_from_dockerfile -> test_container_basics.py -> TestS2IRubyContainer(test_dockerfiles)
test_from_dockerfile.s2i -> test_container_basics.py -> TestS2IRubyContainer(test_dockerfiles)

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Pull Request validation

Failed

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

Success

🟢 CI - All checks have passed

@phracek
Copy link
Member Author

phracek commented Nov 6, 2025

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

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - PyTest - 3.3Fedora-latestx86_64✅ passed17.12.2025 09:08:0310min 6stest pipeline
RHEL10 - PyTest - OpenShift 4 - 3.3RHEL-10-Nightlyx86_64✅ passed17.12.2025 09:30:5623min 55stest pipeline
CentOS Stream 10 - PyTest - 3.3CentOS-Stream-10x86_64✅ passed17.12.2025 09:08:1310min 20stest pipeline
RHEL8 - PyTest - OpenShift 4 - 2.5RHEL-8.10.0-Nightlyx86_64✅ passed17.12.2025 09:28:4034min test pipeline
RHEL8 - PyTest - OpenShift 4 - 3.3RHEL-8.10.0-Nightlyx86_64✅ passed17.12.2025 09:29:1522min 25stest pipeline
RHEL9 - PyTest - OpenShift 4 - 3.3RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:33:2128min 42stest pipeline
RHEL8 - PyTest - 3.3RHEL-8.10.0-Nightlyx86_64✅ passed17.12.2025 09:08:1419min 57stest pipeline
RHEL9 - PyTest - OpenShift 4 - 3.0RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:28:4342min 47stest pipeline
RHEL9 - PyTest - 3.3RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:0524min 43stest pipeline
RHEL8 - PyTest - 2.5RHEL-8.10.0-Nightlyx86_64✅ passed17.12.2025 09:20:4618min 42stest pipeline
RHEL9 - PyTest - 3.0RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:0432min 7stest pipeline
RHEL10 - PyTest - 3.3RHEL-10-Nightlyx86_64✅ passed17.12.2025 09:08:4519min 25stest pipeline
Fedora - 3.3Fedora-latestx86_64✅ passed17.12.2025 09:08:0510min 34stest pipeline
CentOS Stream 10 - 3.3CentOS-Stream-10x86_64✅ passed17.12.2025 09:21:0410min 19stest pipeline
RHEL10 - 3.3RHEL-10-Nightlyx86_64✅ passed17.12.2025 09:08:1720min 11stest pipeline
RHEL8 - 3.3RHEL-8.10.0-Nightlyx86_64✅ passed17.12.2025 09:08:0419min 30stest pipeline
RHEL10 - FIPS Enabled - 3.3RHEL-10-Nightlyx86_64✅ passed18.11.2025 15:35:1220min 46stest pipeline
RHEL8 - OpenShift 4 - 3.3RHEL-8.10.0-Nightlyx86_64✅ passed17.12.2025 09:29:0622min 53stest pipeline
RHEL9 - 3.3RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:0325min 25stest pipeline
RHEL8 - 2.5RHEL-8.10.0-Nightlyx86_64✅ passed18.11.2025 15:35:1522min 13stest pipeline
RHEL9 - 3.0RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:2033min 15stest pipeline
RHEL9 - FIPS Enabled - 3.3RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:0534min 30stest pipeline
RHEL9 - OpenShift 4 - 3.3RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:32:3527min 38stest pipeline
RHEL9 - FIPS Enabled - 3.0RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:0441min 52stest pipeline
RHEL10 - OpenShift 4 - 3.3RHEL-10-Nightlyx86_64✅ passed17.12.2025 09:32:2923min 25stest pipeline
RHEL8 - OpenShift 4 - 2.5RHEL-8.10.0-Nightlyx86_64✅ passed17.12.2025 09:32:3730min 49stest pipeline
RHEL9 - OpenShift 4 - 3.0RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:29:0736min 28stest pipeline
RHEL10 - Unsubscribed host - PyTest - 3.3RHEL-10-Nightlyx86_64✅ passed17.12.2025 09:08:1518min 55stest pipeline
RHEL10 - Unsubscribed host - 3.3RHEL-10-Nightlyx86_64✅ passed17.12.2025 09:08:5019min 58stest pipeline
RHEL9 - Unsubscribed host - PyTest - 3.3RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:0623min 59stest pipeline
RHEL9 - Unsubscribed host - 3.3RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:1923min 46stest pipeline
RHEL9 - Unsubscribed host - 3.0RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:08:1930min 49stest pipeline
RHEL9 - Unsubscribed host - PyTest - 3.0RHEL-9.6.0-Nightlyx86_64✅ passed17.12.2025 09:20:4525min 56stest pipeline

@phracek
Copy link
Member Author

phracek commented Nov 7, 2025

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

@phracek
Copy link
Member Author

phracek commented Nov 18, 2025

[test-all]

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
Migration matrix is following:

For db, puma, rack applications are classes:
db -> TestRubyHelloWorldContainer
puma -> TestRubyPumaTestAppContainer
rack -> TestRubyRackTestAppContainer

test_docker_run_usage -> test_container_basics.py->TestS2IRubyContainer(test_docker_run_usage)

test_application -> test_application in each class

test_connection -> test_application in each class in assert

test_response -> test_application in each class in assert

test_scl_usage -> test_container_basics.py->TestS2IRubyContainer(test_scl_usage)

test_npm_functionality -> test_container_basics.py->TestRubyNPMtestContainer

test_ruby_fips_mode ->
test_container_fips.py->TestRubyFipsModeContainer(test_fips_mode)

test_ruby_fips_s2i_app ->
test_container_fips.TestRubyFipsApplicationContainer(test_application)

test_from_dockerfile -> test_container_basics.py ->
TestS2IRubyContainer(test_dockerfiles)

test_from_dockerfile.s2i -> test_container_basics.py ->
TestS2IRubyContainer(test_dockerfiles)

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
Do not run FIPS tests on RHEL8

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
Fix skipping RHEL8 tests for FIPS.

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
Build app once and test it.

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
@phracek
Copy link
Member Author

phracek commented Dec 17, 2025

Rebased agains master.

[test-all]

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