Bug 1370383 - send a message bus notification for each job status change
Summary: send a message bus notification for each job status change
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 27.0
Assignee: Martin Styk
QA Contact: Martin Styk
URL:
Whiteboard:
: 1636054 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-26 06:09 UTC by Dan Callaghan
Modified: 2019-11-04 07:26 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-04 07:26:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6590 0 None MERGED Enable AMQ messaging in Beaker 2020-09-14 14:07:09 UTC
Red Hat Bugzilla 1273759 0 unspecified CLOSED [RFE] send message notification on task library update 2021-02-22 00:41:40 UTC

Internal Links: 1273759

Description Dan Callaghan 2016-08-26 06:09:06 UTC
Beaker should support sending messages on a message bus for each (un-finished) job when the status changes. Ideally we would send a message for every sub-component down to the recipe-task level. We could also consider sending a notification for every new recipe-task-result added, but it might make sense to handle that separately.

This would let consumers more efficiently wait for their job status to change, rather than polling in a loop.

bkr job-watch is an example of such a consumer, and it might make sense to port it over to consume these messages as part of this bug too. (It will need to support a polling loop too, for Beaker sites where no message bus is available.)

Comment 2 Dan Callaghan 2018-10-10 01:14:57 UTC
*** Bug 1636054 has been marked as a duplicate of this bug. ***

Comment 3 Jan Tluka 2018-10-10 09:22:49 UTC
Having this implemented would simplify the CI workflows for my team (networking-services) and reduce the resource usage to minimum if we remove active polling the beaker job status from our jenkins instance.

I support this request. +1


Note You need to log in before you can comment on or make changes to this bug.