Skip to content

Conversation

phracek
Copy link
Member

@phracek phracek commented Sep 11, 2025

This pull request contains set of PyTest from migration bash tests to PyTest.

The migration matrix is:

TEST_LIST_APP="\
test_s2i_usage -> test_container_basics.py(TestNginxContainer.test_run_s2i_usage)
test_docker_run_usage -> test_container_basics.py(TestNginxContainer.test_docker_run_usage)
test_scl_usage -> test_container_basics.py(TestNginxContainer.test_scl_usage)
test_application -> test_container_application.py(TestNginxApplicationContainer.test_application)
test_log_output -> test_container_log.py(TestNginxLogContainer.test_log_output)
test_log_volume_output -> test_container_log.py(TestNginxLogContainer.test_log_volume_output)
test_application_user ->  test_container_application.py(TestNginxApplicationContainer.test_application_user)
"
TEST_LIST_HOOK_APP="test_pre_init_script" -> test_container_example_app.py(TestNginxExampleAppContainer.test_run_app_test)
TEST_LIST_PERL_APP="test_perl_directive" -> test_container_example_app.py(TestNginxExamplePerlAppContainer.test_run_app_test)
TEST_LIST_MISC=run_dockerfiles_test -> test_container_basics.py(TestNginxContainer.test_dockerfiles)

Also OpenShift Pytest were renamed to test_ocp_*.py

@phracek phracek force-pushed the container_pytests branch 2 times, most recently from 050a562 to 6d1b8be Compare September 11, 2025 13:53
PyTest suite for nginx-container is present

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

phracek commented Sep 11, 2025

[test-pytest]

Copy link

github-actions bot commented Sep 11, 2025

Pull Request validation

Failed

🔴 Failed or pending statuses:

  • Testing Farm - RHEL10 - PyTest - 1.26[pending]

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

Copy link

github-actions bot commented Sep 11, 2025

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - PyTest - 1.26Fedora-latestx86_64✅ passed16.09.2025 16:35:0510min 58stest pipeline
CentOS Stream 10 - PyTest - 1.26CentOS-Stream-10x86_64✅ passed16.09.2025 15:02:346min 55stest pipeline
CentOS Stream 9 - PyTest - 1.24CentOS-Stream-9x86_64✅ passed16.09.2025 13:43:479min 16stest pipeline
CentOS Stream 9 - PyTest - 1.22-microCentOS-Stream-9x86_64✅ passed16.09.2025 15:02:419min 21stest pipeline
CentOS Stream 9 - PyTest - 1.26CentOS-Stream-9x86_64✅ passed16.09.2025 13:06:359min 19stest pipeline
RHEL10 - PyTest - 1.26RHEL-10-Nightlyx86_64✅ passed16.09.2025 14:40:4311min 29stest pipeline
RHEL8 - PyTest - 1.22RHEL-8.10.0-Nightlyx86_64✅ passed16.09.2025 14:53:0813min 53stest pipeline
RHEL8 - PyTest - 1.22-microRHEL-8.10.0-Nightlyx86_64✅ passed16.09.2025 13:15:4916min 47stest pipeline
RHEL8 - PyTest - 1.24RHEL-8.10.0-Nightlyx86_64✅ passed16.09.2025 15:03:3714min 53stest pipeline
RHEL9 - Unsubscribed host - 1.26RHEL-9.6.0-Nightlyx86_64✅ passed11.09.2025 13:55:1217min 39stest pipeline
RHEL9 - Unsubscribed host - 1.20RHEL-9.6.0-Nightlyx86_64✅ passed11.09.2025 13:55:1817min 18stest pipeline
RHEL9 - PyTest - 1.22RHEL-9.6.0-Nightlyx86_64✅ passed16.09.2025 16:35:0720min 30stest pipeline
RHEL9 - Unsubscribed host - 1.22RHEL-9.6.0-Nightlyx86_64✅ passed11.09.2025 13:56:3316min 49stest pipeline
RHEL9 - PyTest - 1.24RHEL-9.6.0-Nightlyx86_64✅ passed16.09.2025 13:21:4818min 53stest pipeline
RHEL9 - PyTest - 1.20RHEL-9.6.0-Nightlyx86_64✅ passed17.09.2025 09:58:0918min 29stest pipeline
RHEL9 - PyTest - 1.26RHEL-9.6.0-Nightlyx86_64✅ passed16.09.2025 15:08:0118min 40stest pipeline
RHEL9 - Unsubscribed host - PyTest - 1.20RHEL-9.6.0-Nightlyx86_64✅ passed16.09.2025 13:20:3518min 25stest pipeline
RHEL9 - Unsubscribed host - PyTest - 1.24RHEL-9.6.0-Nightlyx86_64✅ passed16.09.2025 13:10:4417min 34stest pipeline
RHEL9 - Unsubscribed host - PyTest - 1.26RHEL-9.6.0-Nightlyx86_64✅ passed16.09.2025 13:06:3317min 38stest pipeline
RHEL9 - Unsubscribed host - PyTest - 1.22RHEL-9.6.0-Nightlyx86_64✅ passed16.09.2025 13:25:0016min 38stest pipeline

@phracek
Copy link
Member Author

phracek commented Sep 16, 2025

[test-pytest]

it lacks with perl

Do not use micro version, but only a VERSION

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

phracek commented Sep 16, 2025

Let's test it again after fixing VERSION and micro

[test-pytest]

@phracek
Copy link
Member Author

phracek commented Sep 16, 2025

/auto-merge

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.

1 participant