aqa-test-tools icon indicating copy to clipboard operation
aqa-test-tools copied to clipboard

Add queue time information

Open smlambert opened this issue 2 years ago • 5 comments

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.

Screen Shot 2023-02-24 at 8 05 41 AM

smlambert avatar Feb 24 '23 13:02 smlambert

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)

llxia avatar Feb 24 '23 13:02 llxia

Related: GSoC 2023 proposal to pull some of this information and consider how to best optimize machine usage

smlambert avatar Feb 24 '23 14:02 smlambert

https://github.com/jenkinsci/pipeline-stage-view-plugin/tree/master/rest-api#get-jobjob-namewfapiruns

llxia avatar Mar 24 '23 20:03 llxia

https://github.com/adoptium/aqa-test-tools/pull/784 is the initial step.

llxia avatar Mar 31 '23 16:03 llxia