From 4a1270124c8752311c410267e8d700b47db86dfc Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Apr 10 2023 16:34:49 +0000 Subject: greenwave doesn't emit messages anymore, stop checking for them. Signed-off-by: Kevin Fenzi --- diff --git a/monitor_gating/multi_builds.py b/monitor_gating/multi_builds.py index 7e397db..c55a3c5 100644 --- a/monitor_gating/multi_builds.py +++ b/monitor_gating/multi_builds.py @@ -197,16 +197,6 @@ def main(args, utils=None): duration=180, ) - # Check that greenwave reacted to resultsdb's new results - utils.lookup_results_datagrepper( - base_url=conf["datagrepper"], - name="greenwave", - topic=f"org.fedoraproject.{conf['_env']}.greenwave.decision.update", - nevr=nevr, - start=start_dg, - duration=180, - ) - # Check the tag of the build -- build is blocked but should be signed utils.get_build_tags( conf.get("koji_hub"), @@ -234,16 +224,6 @@ def main(args, utils=None): duration=180, ) - # Check that greenwave reacted to the new waiver - utils.lookup_results_datagrepper( - base_url=conf["datagrepper"], - name="greenwave", - topic=f"org.fedoraproject.{conf['_env']}.greenwave.decision.update", - nevrs=nevr_names, - start=start_dg, - duration=180, - ) - # Check the tag of the build -- build was waived, let is through utils.get_build_tags( conf.get("koji_hub"), diff --git a/monitor_gating/single_build.py b/monitor_gating/single_build.py index c870937..687ccf4 100644 --- a/monitor_gating/single_build.py +++ b/monitor_gating/single_build.py @@ -278,16 +278,6 @@ def main(args): start=start_dg, ) - # Check that greenwave reacted to resultsdb's new results - utils.lookup_results_datagrepper( - base_url=conf["datagrepper"], - name="greenwave", - topic=f"org.fedoraproject.{conf['_env']}.greenwave.decision.update", - nevr=nevr, - duration=180, - start=start_dg, - ) - # Check the tag of the build -- build is blocked but should be signed utils.get_build_tags( conf.get("koji_hub"), @@ -314,16 +304,6 @@ def main(args): duration=180, ) - # Check that greenwave reacted to the new waiver - utils.lookup_results_datagrepper( - base_url=conf["datagrepper"], - name="greenwave", - topic=f"org.fedoraproject.{conf['_env']}.greenwave.decision.update", - nevr=nevr, - start=start_dg, - duration=180, - ) - # Check the tag of the build -- build was waived, let is through utils.get_build_tags( conf.get("koji_hub"), diff --git a/monitor_gating/utils.py b/monitor_gating/utils.py index 8bafcce..e1eaa73 100644 --- a/monitor_gating/utils.py +++ b/monitor_gating/utils.py @@ -509,14 +509,6 @@ class MonitoringUtils: returned_status = message["msg"]["outcome"] break - # greenwave messages - if "greenwave" in message["topic"] and ( - message["msg"]["subject_identifier"] == nevr or message["msg"]["subject_identifier"] in nevrs - ): - success = True - returned_status = message["msg"]["policies_satisfied"] - break - # waiverdb messages if "waiverdb" in message["topic"] and ( message["msg"]["subject_identifier"] == nevr or message["msg"]["subject_identifier"] in nevrs