From ec67022af204f1d34bb2da302aa0e3b874812399 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Thu, 27 Aug 2020 09:44:56 +0200 Subject: [PATCH] ipatests: run test_ipahealthcheck.py::TestIpaHealthCheck separately The test is changing the date back and forth. Due to PRCI infra issue, chronyd is not able to connect to the default NTP servers from the fedora pool, and the date is not synchronized any more after this test. To avoid polluting other tests, run this one separately. Fixes: https://pagure.io/freeipa/issue/8472 Signed-off-by: Florence Blanc-Renaud Reviewed-By: Kaleemullah Siddiqui --- ipatests/prci_definitions/nightly_latest.yaml | 16 ++++++++++++++-- .../prci_definitions/nightly_latest_pki.yaml | 17 +++++++++++++++-- .../nightly_latest_testing.yaml | 17 +++++++++++++++-- ipatests/prci_definitions/nightly_previous.yaml | 16 ++++++++++++++-- ipatests/prci_definitions/nightly_rawhide.yaml | 17 +++++++++++++++-- 5 files changed, 73 insertions(+), 10 deletions(-) diff --git a/ipatests/prci_definitions/nightly_latest.yaml b/ipatests/prci_definitions/nightly_latest.yaml index 48807f902..8b01a59f5 100644 --- a/ipatests/prci_definitions/nightly_latest.yaml +++ b/ipatests/prci_definitions/nightly_latest.yaml @@ -1336,9 +1336,21 @@ jobs: class: RunPytest args: build_url: '{fedora-latest/build_url}' - test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck template: *ci-master-latest - timeout: 7200 + timeout: 3600 + topology: *master_1repl + + fedora-latest/test_ipahealthcheck_nodns_extca: + requires: [fedora-latest/build] + priority: 50 + job: + class: RunPytest + args: + build_url: '{fedora-latest/build_url}' + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + template: *ci-master-latest + timeout: 3600 topology: *master_1repl fedora-latest/test_ipahealthcheck_adtrust: diff --git a/ipatests/prci_definitions/nightly_latest_pki.yaml b/ipatests/prci_definitions/nightly_latest_pki.yaml index 87a49bf54..48ae5dd53 100644 --- a/ipatests/prci_definitions/nightly_latest_pki.yaml +++ b/ipatests/prci_definitions/nightly_latest_pki.yaml @@ -795,9 +795,22 @@ jobs: args: build_url: '{pki-fedora/build_url}' update_packages: True - test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck template: *pki-master-latest - timeout: 7200 + timeout: 3600 + topology: *master_1repl + + pki-fedora/test_ipahealthcheck_nodns_extca: + requires: [pki-fedora/build] + priority: 50 + job: + class: RunPytest + args: + build_url: '{pki-fedora/build_url}' + update_packages: True + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + template: *pki-master-latest + timeout: 3600 topology: *master_1repl pki-fedora/test_pkinit_manage: diff --git a/ipatests/prci_definitions/nightly_latest_testing.yaml b/ipatests/prci_definitions/nightly_latest_testing.yaml index 6a439c3e0..6f484d3bc 100644 --- a/ipatests/prci_definitions/nightly_latest_testing.yaml +++ b/ipatests/prci_definitions/nightly_latest_testing.yaml @@ -1441,10 +1441,23 @@ jobs: args: build_url: '{testing-fedora/build_url}' update_packages: True - test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck template: *testing-master-latest topology: *master_1repl - timeout: 7200 + timeout: 3600 + + testing-fedora/test_ipahealthcheck_nodns_extca: + requires: [testing-fedora/build] + priority: 50 + job: + class: RunPytest + args: + build_url: '{testing-fedora/build_url}' + update_packages: True + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + template: *testing-master-latest + topology: *master_1repl + timeout: 3600 testing-fedora/test_ipahealthcheck_adtrust: requires: [testing-fedora/build] diff --git a/ipatests/prci_definitions/nightly_previous.yaml b/ipatests/prci_definitions/nightly_previous.yaml index 224ca7337..0547d646b 100644 --- a/ipatests/prci_definitions/nightly_previous.yaml +++ b/ipatests/prci_definitions/nightly_previous.yaml @@ -1336,9 +1336,21 @@ jobs: class: RunPytest args: build_url: '{fedora-previous/build_url}' - test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck template: *ci-master-previous - timeout: 7200 + timeout: 3600 + topology: *master_1repl + + fedora-previous/test_ipahealthcheck_nodns_extca: + requires: [fedora-previous/build] + priority: 50 + job: + class: RunPytest + args: + build_url: '{fedora-previous/build_url}' + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + template: *ci-master-previous + timeout: 3600 topology: *master_1repl fedora-previous/test_ipahealthcheck_adtrust: diff --git a/ipatests/prci_definitions/nightly_rawhide.yaml b/ipatests/prci_definitions/nightly_rawhide.yaml index fa293f583..b70773b06 100644 --- a/ipatests/prci_definitions/nightly_rawhide.yaml +++ b/ipatests/prci_definitions/nightly_rawhide.yaml @@ -1441,9 +1441,22 @@ jobs: args: build_url: '{fedora-rawhide/build_url}' update_packages: True - test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheck template: *ci-master-frawhide - timeout: 7200 + timeout: 3600 + topology: *master_1repl + + fedora-rawhide/test_ipahealthcheck_nodns_extca: + requires: [fedora-rawhide/build] + priority: 50 + job: + class: RunPytest + args: + build_url: '{fedora-rawhide/build_url}' + update_packages: True + test_suite: test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithExternalCA + template: *ci-master-frawhide + timeout: 3600 topology: *master_1repl fedora-rawhide/test_ipahealthcheck_adtrust: