Bug 1636054 - [RFE] Please enhance Beaker to support Message Bus - send messages whenever Beaker job status change
Summary: [RFE] Please enhance Beaker to support Message Bus - send messages whenever B...
Keywords:
Status: CLOSED DUPLICATE of bug 1370383
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: develop
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-04 10:56 UTC by Jiri Hladky
Modified: 2020-03-06 14:53 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-10 01:14:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Jiri Hladky 2018-10-04 10:56:14 UTC
Hello,

after talking to several teams who are using Beaker for the CI we have realized that there is a common pattern. There is an automatic CI job (either Jenkins or Upshift container) which will start a Beaker job and it then waits for the Beaker job to finish, polling the status every few minutes via bkr job-watch.

Since Beaker jobs often take several hours to complete (waiting for the resources) we waste the resources by having Jenkins / container allocated all the time waiting for the Beaker to finish. It also creates unnecessary load on the Beaker side when tens or even hundreds of jobs are polling Beaker job status. 

We could solve the problem by adding support for the message bus to the Beaker. The idea is that Beaker would send a message to UMB whenever a Beaker job status would change the state. 

We believe that the whole kernel QE and engineering department would benefit from this enhancement along with other teams. It has been discussed on the kernel-ci mailing list and got a wide support. 

Thanks a lot for considering this RFE. 
Jirka

Comment 1 Dan Callaghan 2018-10-10 01:14:57 UTC
Agreed, this would be a very useful enhancement. It was near the top of the roadmap.

*** This bug has been marked as a duplicate of bug 1370383 ***


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