It's all about the answers!

Ask a question

Build progress info: how is it calculated


Tom Frauenhofer (1.3k58435) | asked Feb 07 '08, 12:48 p.m.
Using Jazz/RTC 1.0beta2a

When a build is running, RTC reports percent complete info and estimated
time to complete.

The info I'm seeing doesn't seem quite right and I'm wondering how the
percent number and estimated completion time are derived ?

Thanks

2 answers



permanent link
Jason Bird (26) | answered Feb 08 '08, 1:08 p.m.
David Ward wrote:
Using Jazz/RTC 1.0beta2a

When a build is running, RTC reports percent complete info and estimated
time to complete.

The info I'm seeing doesn't seem quite right and I'm wondering how the
percent number and estimated completion time are derived ?

Thanks

The estimated completion time is computed using the historical average
duration of that build. So this number can be thrown off if you have
several recent builds that completed early (e.g. due to failed builds).

The percent completion number is not computed based on build duration.
Instead, it is based on the activity count of the build. In beta2 this
activity count is incremented each time the activity label for the build
is updated using the "currentActivityLabel" attribute of a Build ant
task. In M5, the "currentActivityLabel" attribute is removed and the
activity count is instead incremented each time the startBuildActivity
task is used. An average activity count is associated with each build
definition.

The percent completion number is intended to supplement the estimated
completion time and to give you an idea of how much work has actually
been done in the build.

--
Jason Bird
Jazz Team Build

permanent link
Tom Frauenhofer (1.3k58435) | answered Feb 11 '08, 11:28 a.m.
Thanks

I'll keep an eye out for M5


Jason Bird wrote:
David Ward wrote:
Using Jazz/RTC 1.0beta2a

When a build is running, RTC reports percent complete info and
estimated time to complete.

The info I'm seeing doesn't seem quite right and I'm wondering how the
percent number and estimated completion time are derived ?

Thanks

The estimated completion time is computed using the historical average
duration of that build. So this number can be thrown off if you have
several recent builds that completed early (e.g. due to failed builds).

The percent completion number is not computed based on build duration.
Instead, it is based on the activity count of the build. In beta2 this
activity count is incremented each time the activity label for the build
is updated using the "currentActivityLabel" attribute of a Build ant
task. In M5, the "currentActivityLabel" attribute is removed and the
activity count is instead incremented each time the startBuildActivity
task is used. An average activity count is associated with each build
definition.

The percent completion number is intended to supplement the estimated
completion time and to give you an idea of how much work has actually
been done in the build.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.