[MDBF-303] Monitor build status Created: 2022-01-10  Updated: 2022-11-21  Resolved: 2022-11-21

Status: Closed
Project: MariaDB Foundation Development
Component/s: Buildbot
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Vlad Bogolin Assignee: Vlad Bogolin
Resolution: Fixed Votes: 0
Labels: buildbot
Remaining Estimate: 0d
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates MDBF-484 Monitor failing cases for main branches Closed
Relates
relates to MDBF-484 Monitor failing cases for main branches Closed

 Description   

Add monitoring to Grafana/Zabbix that shows failing build tasks due to exceptions/builder not ready errors.

Probably the right field is already in Prometheus, so this would be the easy approach.

Another possibility is something along these lines, as Daniel Black suggested:

* for each masterid in https://buildbot.mariadb.org/api/v2/masters?active=true
* get the workerid (and name from https://buildbot.mariadb.org/api/v2/masters/{masterid}/workers?paused=false)
* then poll each worker https://buildbot.mariadb.org/api/v2/builds?limit=1&order=-started_at&workerid={workerid}&complete=1
* if the .builds[0].results ==4 then .builds[0].state_string is the error (combined with the worker name).



 Comments   
Comment by Vlad Bogolin [ 2022-11-21 ]

Closing since MDBF-484 duplicate issue closed.

Generated at Thu Feb 08 03:36:54 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.