From 5eccd8d36b06ac2c06efeb5607128f0aa01947f4 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 9 Aug 2023 10:59:42 -0700 Subject: [PATCH] greenwave: disabling gating on desktop_background for f39 We don't have new F39 backgrounds yet, so this test will always fail. Let's split the test into its own policy so we can easily control whether we're gating on it (this will be useful for future cycles, probably). Signed-off-by: Adam Williamson --- .../greenwave/templates/fedora.yaml | 48 ++++++++++++++++++- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/greenwave/templates/fedora.yaml b/roles/openshift-apps/greenwave/templates/fedora.yaml index adb1aff7dc..3fb44d8c52 100644 --- a/roles/openshift-apps/greenwave/templates/fedora.yaml +++ b/roles/openshift-apps/greenwave/templates/fedora.yaml @@ -256,12 +256,33 @@ rules: - !PassingTestCaseRule {test_case_name: update.base_services_start, scenario: "fedora.updates-workstation.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.base_system_logging, scenario: "fedora.updates-workstation.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.base_update_cli, scenario: "fedora.updates-workstation.x86_64.64bit"} - - !PassingTestCaseRule {test_case_name: update.desktop_background, scenario: "fedora.updates-workstation.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.desktop_browser, scenario: "fedora.updates-workstation.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.desktop_printing, scenario: "fedora.updates-workstation.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.desktop_terminal, scenario: "fedora.updates-workstation.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.desktop_update_graphical, scenario: "fedora.updates-workstation.x86_64.64bit"} +--- !Policy +id: "bodhiupdate_bodhipush_openqa_workstation_background" +# this policy contains just the desktop background test; it's split out because +# often, at branch time, we don't yet have new backgrounds for the branched +# release, so the test will always fail, so we cannot gate on it +product_versions: + - fedora-37 + - fedora-38 + - fedora-rawhide +decision_contexts: + - bodhi_update_push_testing_critpath + - bodhi_update_push_stable_critpath + - bodhi_update_push_testing_core_critpath + - bodhi_update_push_stable_core_critpath + - bodhi_update_push_testing_critical-path-base_critpath + - bodhi_update_push_stable_critical-path-base_critpath + - bodhi_update_push_testing_critical-path-gnome_critpath + - bodhi_update_push_stable_critical-path-gnome_critpath +subject_type: bodhi_update +rules: + - !PassingTestCaseRule {test_case_name: update.desktop_background, scenario: "fedora.updates-workstation.x86_64.64bit"} + --- !Policy id: "bodhiupdate_bodhipush_openqa_workstation_live" # the workstation "build a live image and install from it" tests are @@ -320,12 +341,35 @@ rules: - !PassingTestCaseRule {test_case_name: update.base_services_start, scenario: "fedora.updates-kde.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.base_system_logging, scenario: "fedora.updates-kde.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.base_update_cli, scenario: "fedora.updates-kde.x86_64.64bit"} - - !PassingTestCaseRule {test_case_name: update.desktop_background, scenario: "fedora.updates-kde.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.desktop_browser, scenario: "fedora.updates-kde.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.desktop_printing, scenario: "fedora.updates-kde.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.desktop_terminal, scenario: "fedora.updates-kde.x86_64.64bit"} - !PassingTestCaseRule {test_case_name: update.desktop_update_graphical, scenario: "fedora.updates-kde.x86_64.64bit"} +--- !Policy +id: "bodhiupdate_bodhipush_openqa_kde_background" +# this policy contains just the desktop background test; it's split out because +# often, at branch time, we don't yet have new backgrounds for the branched +# release, so the test will always fail, so we cannot gate on it +product_versions: + - fedora-37 + - fedora-38 + - fedora-rawhide +decision_contexts: + - bodhi_update_push_testing_critpath + - bodhi_update_push_stable_critpath + - bodhi_update_push_testing_core_critpath + - bodhi_update_push_stable_core_critpath + - bodhi_update_push_testing_critical-path-base_critpath + - bodhi_update_push_stable_critical-path-base_critpath + - bodhi_update_push_testing_critical-path-kde_critpath + - bodhi_update_push_stable_critical-path-kde_critpath + - bodhi_update_push_testing_critical-path-standard_critpath + - bodhi_update_push_stable_critical-path-standard_critpath +subject_type: bodhi_update +rules: + - !PassingTestCaseRule {test_case_name: update.desktop_background, scenario: "fedora.updates-kde.x86_64.64bit"} + --- !Policy id: "bodhiupdate_bodhipush_openqa_kde" # the kde "build a live image and install from it" tests are