aqa-test-tools
aqa-test-tools copied to clipboard
Add queue time information
We currently pull and parse information from Jenkins pipelines, but do not include the queue time (how long a job waits for a particular machine resource). It will be useful to include this information in what we gather, and then make it available via the TRSS API (just like we do for test execution times) so that we might better forecast resource needs.
yes, I agree. I think we should use Jenkins API to get all the stage duration time that we have and display them in a logical way. (i.e., in descending order per stage, group by pipeline/platform, with machine name, etc)
Related: GSoC 2023 proposal to pull some of this information and consider how to best optimize machine usage
https://github.com/jenkinsci/pipeline-stage-view-plugin/tree/master/rest-api#get-jobjob-namewfapiruns
https://github.com/adoptium/aqa-test-tools/pull/784 is the initial step.