-
Bug
-
Resolution: Unresolved
-
Trivial
-
None
-
Jenkins 2.138.3
I see an incorrect display of task execution time.
For example,
This run spent:
- 11 min waiting;
- 13 min build duration;
- 13 min total from scheduled to completion.
In fact, the build was executed in just 2 minutes, but i see 13 minutes (waiting + exec time).
JSON contains correct timings:
"buildableTimeMillis":702663,"buildingDurationMillis":832158,"executingTimeMillis":129299.
[JENKINS-54689] Incorrect display build duration time
Environment | New: Jenkins 2.138.3 | |
Priority | Original: Minor [ 4 ] | New: Trivial [ 5 ] |
Component/s | New: core [ 15593 ] |
Assignee | New: Stephen French [ stephenfrench9 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |
Attachment | New: Screenshot 2019-02-07 at 12.23.35.png [ 45937 ] |
Attachment | New: build.png [ 45939 ] |
Attachment | New: spisok.png [ 45940 ] |
I am working on reproducing this error.
Can you clarify which two reports of build time disagree?
Which display of task execution time are you speaking of? (The pipeline dashboard? For example, I browse to my Jenkins server running on an aws instance at http://54.198.76.254:8080/ , and then click on my project, to take me to the pipeline dashboard. I named my project 'foo'. So the final address in my browser is http://54.198.76.254:8080/job/foo/. This page gives me times for all the different stages of my Jenkins pipeline)
And the second source for build time (the JSON source), are you finding this at $BUILD_URL/api/json? For example, when I go to http://54.198.76.254:8080/job/foo/1/api/json?pretty=true I can see a "duration" entry with a value of 17994.