Skip to content

Commit 039ed71

Browse files
committed
Added 4.18 jobs
Signed-off-by: KeerthanaAP <[email protected]>
1 parent cf2161b commit 039ed71

File tree

3 files changed

+41
-18
lines changed

3 files changed

+41
-18
lines changed

monitor.py

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,12 @@ def cluster_deploy_status(spy_link):
246246
version=float(match.group(0))
247247
if "upgrade" in spy_link:
248248
version=version-0.01
249+
249250
job_log_url = PROW_VIEW_URL + spy_link[8:] + '/artifacts/' + job_type + '/ipi-install-' + job_platform +'-install/finished.json'
250251
if "sno" in spy_link:
251252
job_log_url = PROW_VIEW_URL + spy_link[8:] + '/artifacts/' + job_type + '/upi-install-powervs-sno/finished.json'
252-
253-
if version>=4.16:
253+
#Only 4.17 and above libvirt uses upi-installation.
254+
if version>=4.16 and job_platform != "powervs":
254255
job_log_url = PROW_VIEW_URL + spy_link[8:] + '/artifacts/' + job_type + '/upi-install-' + job_platform +'/finished.json'
255256

256257
try:
@@ -568,15 +569,23 @@ def job_classifier(spy_link):
568569
job_type(string): It is a important keyword used while constructing url to access the artifacts.
569570
job_platform(string): The infrastructure where the cluster is deployed (ex: libvirt, powervs etc).
570571
'''
571-
572+
#Artifact link for libvirt: test-platform-results/logs/periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-e2e-ovn-remote-libvirt-ppc64le/1847061335720857600/artifacts/ocp-e2e-ovn-remote-libvirt-ppc64le/
573+
#Artifact link for powervs: test-platform-results/logs/periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-e2e-ovn-ppc64le-powervs-capi/1820746900182142976/artifacts/ocp-e2e-ovn-ppc64le-powervs-capi/
574+
#Artifact link for upgrade: test-platform-results/logs/periodic-ci-openshift-multiarch-master-nightly-4.17-upgrade-from-nightly-4.16-ocp-ovn-remote-libvirt-multi-p-p/1846295088968241152/artifacts/ocp-ovn-remote-libvirt-multi-p-p/
575+
#Artifact link for heavybuild: test-platform-results/logs/periodic-ci-openshift-multiarch-master-nightly-4.16-ocp-heavy-build-ovn-remote-libvirt-ppc64le/1846642613847855104/artifacts/ocp-heavy-build-ovn-remote-libvirt-ppc64le/
576+
#Artifact directory for all libvirt,powervs,heavybuild and upgrade jobs starts with "ocp", so to identify the job_type used the regex 'ocp.*?/'
572577
pattern = r'ocp.*?/'
573-
if "mce" in spy_link or "capi" in spy_link:
578+
579+
#Artifact link for mce /test-platform-results/logs/periodic-ci-openshift-hypershift-release-4.14-periodics-mce-e2e-mce-power-conformance/1847155042210025472/artifacts/e2e-mce-power-conformance/
580+
#mce jobs artifact directory is e2e-mce-power-conformance, so to identify the job_type used the regex 'e2e.*?/'
581+
if "mce" in spy_link:
574582
pattern = r'e2e.*?/'
575583
match = re.search(pattern,spy_link)
576584

577585
if match:
578586
job_type = match.group(0)
579587
job_type = job_type.rstrip('/')
588+
580589

581590
job_platform = "mce"
582591
if spy_link.find("powervs") != -1:
@@ -859,21 +868,24 @@ def get_all_failed_tc(spylink,jobtype):
859868
conformance_failed_tc_count = len(failed_tc["conformance"])
860869
symptom_failed_tc_count = len(failed_tc["symptom_detection"])
861870

862-
if ("4.15" in spylink or "4.16" in spylink) and (not "mce" in spylink):
871+
# Monitor test failure details are fetched from the "junit_e2e__*.xml" file for 4.14,4.13 and mce job runs.
872+
# For other job runs monitor test failure details are fetched from "test-failures-summary_monitor_*.json" file.
873+
if ("4.14" not in spylink and "4.13" not in spylink) and (not "mce" in spylink):
863874
monitor, monitor_err_obj=get_failed_monitor_testcases(spylink,jobtype)
864875
failed_tc = {"conformance": conformance, "monitor": monitor, "symptom_detection": symptom_detection}
865876
monitor_failed_tc_count = len(failed_tc["monitor"])
866-
elif "4.14" in spylink or "mce" in spylink:
877+
elif "4.14" in spylink or "mce" in spylink or "4.13" in spylink:
867878
monitor, monitor_err_obj = get_failed_monitor_testcases_from_xml(spylink,jobtype)
868879
failed_tc = {"conformance": conformance, "monitor": monitor, "symptom_detection": symptom_detection}
869880
monitor_failed_tc_count = len(failed_tc["monitor"])
870-
881+
871882
failed_tc_count=conformance_failed_tc_count+symptom_failed_tc_count+monitor_failed_tc_count
872883
error_object = {"conformance": conformance_error_obj, "monitor": monitor_err_obj, "symptom_detection": symptom_error_obj}
873884

874885
return failed_tc,failed_tc_count,error_object
875886

876887
def check_ts_exe_status(spylink,jobtype):
888+
877889
'''
878890
Checks conformance Test suite execution status.
879891

p_auxillary.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,33 @@
55
"4.15 ecosystem": "periodic-ci-openshift-multiarch-master-nightly-4.15-ocp-image-ecosystem-ovn-remote-libvirt-ppc64le",
66
"4.16 ecosystem": "periodic-ci-openshift-multiarch-master-nightly-4.16-ocp-image-ecosystem-ovn-remote-libvirt-ppc64le",
77
"4.17 ecosystem": "periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-image-ecosystem-ovn-remote-libvirt-multi-p-p",
8+
"4.18 ecosystem": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-image-ecosystem-ovn-remote-libvirt-multi-p-p",
89
"4.12 jenkins": "periodic-ci-openshift-multiarch-master-nightly-4.12-ocp-jenkins-e2e-ovn-remote-libvirt-ppc64le",
910
"4.13 jenkins": "periodic-ci-openshift-multiarch-master-nightly-4.13-ocp-jenkins-e2e-ovn-remote-libvirt-ppc64le",
1011
"4.14 jenkins": "periodic-ci-openshift-multiarch-master-nightly-4.14-ocp-jenkins-e2e-ovn-remote-libvirt-ppc64le",
1112
"4.15 jenkins": "periodic-ci-openshift-multiarch-master-nightly-4.15-ocp-jenkins-e2e-ovn-remote-libvirt-ppc64le",
1213
"4.16 jenkins": "periodic-ci-openshift-multiarch-master-nightly-4.16-ocp-jenkins-e2e-ovn-remote-libvirt-ppc64le",
1314
"4.17 jenkins": "periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-jenkins-e2e-ovn-remote-libvirt-multi-p-p",
14-
"4.12 fips": "periodic-ci-openshift-multiarch-master-nightly-4.12-ocp-fips-ovn-remote-libvirt-ppc64le",
15-
"4.13 fips": "periodic-ci-openshift-multiarch-master-nightly-4.13-ocp-fips-ovn-remote-libvirt-ppc64le",
16-
"4.14 fips": "periodic-ci-openshift-multiarch-master-nightly-4.14-ocp-fips-ovn-remote-libvirt-ppc64le",
17-
"4.15 fips": "periodic-ci-openshift-multiarch-master-nightly-4.15-ocp-fips-ovn-remote-libvirt-ppc64le",
18-
"4.16 fips": "periodic-ci-openshift-multiarch-master-nightly-4.16-ocp-fips-ovn-remote-libvirt-ppc64le",
19-
"4.17 fips": "periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-fips-ovn-remote-libvirt-multi-p-p",
15+
"4.18 jenkins": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-jenkins-e2e-ovn-remote-libvirt-multi-p-p",
16+
"4.12 fips": "periodic-ci-openshift-multiarch-master-nightly-4.12-ocp-fips-ovn-remote-libvirt-ppc64le",
17+
"4.13 fips": "periodic-ci-openshift-multiarch-master-nightly-4.13-ocp-fips-ovn-remote-libvirt-ppc64le",
18+
"4.14 fips": "periodic-ci-openshift-multiarch-master-nightly-4.14-ocp-fips-ovn-remote-libvirt-ppc64le",
19+
"4.15 fips": "periodic-ci-openshift-multiarch-master-nightly-4.15-ocp-fips-ovn-remote-libvirt-ppc64le",
20+
"4.16 fips": "periodic-ci-openshift-multiarch-master-nightly-4.16-ocp-fips-ovn-remote-libvirt-ppc64le",
21+
"4.17 fips": "periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-fips-ovn-remote-libvirt-multi-p-p",
22+
"4.18 fips": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-fips-ovn-remote-libvirt-multi-p-p",
2023
"4.12 serial": "periodic-ci-openshift-multiarch-master-nightly-4.12-ocp-e2e-serial-ovn-remote-libvirt-ppc64le",
2124
"4.13 serial": "periodic-ci-openshift-multiarch-master-nightly-4.13-ocp-e2e-serial-ovn-remote-libvirt-ppc64le",
2225
"4.14 serial": "periodic-ci-openshift-multiarch-master-nightly-4.14-ocp-e2e-serial-ovn-remote-libvirt-ppc64le",
2326
"4.15 serial": "periodic-ci-openshift-multiarch-master-nightly-4.15-ocp-e2e-serial-ovn-remote-libvirt-ppc64le",
2427
"4.16 serial": "periodic-ci-openshift-multiarch-master-nightly-4.16-ocp-e2e-serial-ovn-remote-libvirt-ppc64le",
2528
"4.17 serial": "periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-e2e-serial-ovn-remote-libvirt-multi-p-p",
29+
"4.18 serial": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-e2e-serial-ovn-remote-libvirt-multi-p-p",
2630
"4.12 compact": "periodic-ci-openshift-multiarch-master-nightly-4.12-ocp-e2e-compact-ovn-remote-libvirt-ppc64le",
2731
"4.13 compact": "periodic-ci-openshift-multiarch-master-nightly-4.13-ocp-e2e-compact-ovn-remote-libvirt-ppc64le",
2832
"4.14 compact": "periodic-ci-openshift-multiarch-master-nightly-4.14-ocp-e2e-compact-ovn-remote-libvirt-ppc64le",
2933
"4.15 compact": "periodic-ci-openshift-multiarch-master-nightly-4.15-ocp-e2e-compact-ovn-remote-libvirt-ppc64le",
3034
"4.16 compact": "periodic-ci-openshift-multiarch-master-nightly-4.16-ocp-e2e-compact-ovn-remote-libvirt-ppc64le",
31-
"4.17 compact": "periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-e2e-compact-ovn-remote-libvirt-multi-p-p"
32-
33-
}
35+
"4.17 compact": "periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-e2e-compact-ovn-remote-libvirt-multi-p-p",
36+
"4.18 compact": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-e2e-compact-ovn-remote-libvirt-multi-p-p"
37+
}

p_periodic.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,15 @@
2424
"4.17 powervs capi":"periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-e2e-ovn-powervs-capi-multi-p-p",
2525
"4.17 heavy build multi":"periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-heavy-build-ovn-remote-libvirt-multi-p-p",
2626
"4.17 heavy build": "periodic-ci-openshift-multiarch-master-nightly-4.17-ocp-heavy-build-ovn-remote-libvirt-ppc64le",
27-
"4.14 MCE":"periodic-ci-openshift-hypershift-release-4.14-periodics-mce-e2e-mce-power-conformance",
27+
"4.17 to 4.18 upgrade": "periodic-ci-openshift-multiarch-master-nightly-4.18-upgrade-from-nightly-4.17-ocp-ovn-remote-libvirt-multi-p-p",
28+
"4.18 libvirt": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-e2e-ovn-remote-libvirt-ppc64le",
29+
"4.18 libvirt multi": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-e2e-ovn-remote-libvirt-multi-p-p",
30+
"4.18 powervs capi": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-e2e-ovn-powervs-capi-multi-p-p",
31+
"4.18 heavy build": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-heavy-build-ovn-remote-libvirt-ppc64le",
32+
"4.18 heavy build multi": "periodic-ci-openshift-multiarch-master-nightly-4.18-ocp-heavy-build-ovn-remote-libvirt-multi-p-p",
33+
"4.14 MCE": "periodic-ci-openshift-hypershift-release-4.14-periodics-mce-e2e-mce-power-conformance",
2834
"4.15 MCE": "periodic-ci-openshift-hypershift-release-4.15-periodics-mce-e2e-power-ovn-conformance",
2935
"4.16 MCE": "periodic-ci-openshift-hypershift-release-4.16-periodics-mce-e2e-power-ovn-conformance",
36+
"4.17 MCE": "periodic-ci-openshift-hypershift-release-4.17-periodics-mce-e2e-power-ovn-conformance",
3037
"4.14 SNO": "periodic-ci-openshift-multiarch-master-nightly-4.14-ocp-e2e-sno-power"
31-
}
38+
}

0 commit comments

Comments
 (0)