From d9f8dfce2e2bbf8f94d51ba46999efbe6f642623 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Oct 20 2017 19:02:12 +0000 Subject: Don't test modular composes (for now) Tweak the fedmsg consumer scheduler to not schedule tests for modular composes, since they always fail and it's just a waste of time. --- diff --git a/fedora_openqa/consumer.py b/fedora_openqa/consumer.py index 3b2bc64..2de1468 100755 --- a/fedora_openqa/consumer.py +++ b/fedora_openqa/consumer.py @@ -106,6 +106,11 @@ class OpenQAScheduler(fedmsg.consumers.FedmsgConsumer): status = message['body']['msg'].get('status') location = message['body']['msg'].get('location') compstr = message['body']['msg'].get('compose_id', location) + # don't schedule tests on modular composes, for now, as we know + # many fail + if 'Fedora-Modular' in compstr: + self._log('info', "Not scheduling jobs for modular compose %s", compstr) + return if 'FINISHED' in status and location: # We have a complete pungi4 compose