From dcda140cf4a9cc8c7932b23e2fa32f9203addd97 Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Thu, 6 Nov 2025 15:42:43 +0100 Subject: [PATCH] Add support for testing PyTest Nightly in containers Signed-off-by: Petr "Stone" Hracek --- daily_tests/daily_nightly_tests_report.py | 25 +++++++++++++++++++++++ daily_tests/daily_scl_tests.sh | 1 + run_nightly_tests.sh | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/daily_tests/daily_nightly_tests_report.py b/daily_tests/daily_nightly_tests_report.py index 147e740..17d313a 100755 --- a/daily_tests/daily_nightly_tests_report.py +++ b/daily_tests/daily_nightly_tests_report.py @@ -16,6 +16,7 @@ "hhorak@redhat.com", "pkubat@redhat.com", "anezbeda@redhat.com", + "pkhartsk@redhat.com", ] upstream_mails = [ "phracek@redhat.com", @@ -64,13 +65,25 @@ TEST_CASES = { # Format is test for OS and king of test, what TMT Plan is used and MSG to mail ("fedora-test", "nightly-container-f", "Fedora test results:"), + ("fedora-test-pytest", "nightly-container-f", "Fedora PyTest test results:"), ("c9s-test", "nightly-container-centos-stream-9", "CentOS Stream 9 test results:"), + ( + "c9s-test-pytest", + "nightly-container-centos-stream-9", + "CentOS Stream 9 PyTest test results:", + ), ( "c10s-test", "nightly-container-centos-stream-10", "CentOS Stream 10 test results:", ), + ( + "c10s-test-pytest", + "nightly-container-centos-stream-10", + "CentOS Stream 10 PyTest test results:", + ), ("rhel8-test", "nightly-container-rhel8", "RHEL-8 test results:"), + ("rhel8-test-pytest", "nightly-container-rhel8", "RHEL-8 PyTest test results:"), ( "rhel8-test-openshift-4", "nightly-container-rhel8", @@ -82,6 +95,7 @@ "RHEL-8 PyTest in OpenShift 4 test results:", ), ("rhel9-test", "nightly-container-rhel9", "RHEL-9 test results:"), + ("rhel9-test-pytest", "nightly-container-rhel8", "RHEL-9 PyTest test results:"), ( "rhel9-test-openshift-4", "nightly-container-rhel9", @@ -98,6 +112,17 @@ "RHEL-9 Helm Charts test results:", ), ("rhel10-test", "nightly-container-rhel10", "RHEL-10 test results:"), + ("rhel10-test-pytest", "nightly-container-rhel10", "RHEL-10 PyTest test results:"), + ( + "rhel10-test-openshift-4", + "nightly-container-rhel10", + "RHEL-10 OpenShift 4 test results:", + ), + ( + "rhel10-test-openshift-pytest", + "nightly-container-rhel10", + "RHEL-10 PyTest in OpenShift 4 test results:", + ), } TEST_UPSTREAM_CASES = { diff --git a/daily_tests/daily_scl_tests.sh b/daily_tests/daily_scl_tests.sh index 6097796..552d48a 100755 --- a/daily_tests/daily_scl_tests.sh +++ b/daily_tests/daily_scl_tests.sh @@ -23,6 +23,7 @@ redis-container mariadb-container postgresql-container valkey-container +mysql-container " [[ -z "$1" ]] && { echo "You have to specify target to build SCL images. rhel9, rhel8, or fedora" && exit 1 ; } diff --git a/run_nightly_tests.sh b/run_nightly_tests.sh index d3f2bcd..89c3eb1 100755 --- a/run_nightly_tests.sh +++ b/run_nightly_tests.sh @@ -6,7 +6,7 @@ LOGS_DIR="$HOME/logs" [[ -z "$1" ]] && { echo "You have to specify target to build SCL images. rhel9, rhel8, or fedora" && exit 1 ; } TARGET="$1" shift -[[ -z "$1" ]] && { echo "You have to specify type of the test to run. test, test-openshift, test-openshift-pytest, test-openshift-4" && exit 1 ; } +[[ -z "$1" ]] && { echo "You have to specify type of the test to run. test, test-pytest, test-openshift, test-openshift-pytest, test-openshift-4" && exit 1 ; } TESTS="$1" shift SET_TEST=""