It looks like there was another run away verification build today.  I have had 
Linux Foundation install the Jenkins build timeout plug-in.

As an initial starting point, I set the build timeout to 250% of the last 5 
successful builds or 90 minutes (whichever comes first).  Successful build 
times are currently averaging around 14 min 28 min.  The longer jobs appear to 
have roughly 4x as many unit tests as the faster builds, according to the 
Jenkins "Test Result Trend" graph.
If anyone expects increase the build time by more than 2.5x the average or push 
it past 90 minutes, please let me know.

Thanks,
Bill.

From: Dieter, William R
Sent: Tuesday, March 24, 2015 11:17 AM
To: Lankswert, Patrick; iotivity-dev at lists.iotivity.org
Subject: RE: Jenkins build timeout plugin

I believe it was Sam and Erich were working on building the unit tests and ran 
into the problem...

Bill.

From: Lankswert, Patrick
Sent: Tuesday, March 24, 2015 11:00 AM
To: Dieter, William R; iotivity-dev at lists.iotivity.org<mailto:iotivity-dev 
at lists.iotivity.org>
Subject: RE: Jenkins build timeout plugin

Bill,

That makes sense. I am going to start by applying gross numbers to each of the 
steps and then refine.
For instance, what was the last item that hung the job? I can go add a timeout 
to that step.

Pat

From: Dieter, William R
Sent: Monday, March 23, 2015 11:04 PM
To: Lankswert, Patrick; iotivity-dev at lists.iotivity.org<mailto:iotivity-dev 
at lists.iotivity.org>
Subject: RE: Jenkins build timeout plugin

Pat,

I have not used the plugin before.  There is an open bug against the 
build-timeout plugin complaining that no output is written to the console log 
when a build is killed for taking too long.   So, when a job is killed, the 
developer looking at the console output would have to realize that the job was 
running for a long time and assume it was probably killed because of that.  
Granularity is at the Jenkins job level.

Maybe it would make sense to do both.  The verification builds are running 
prior to code review.  We could set the Jenkins build-timeout plugin to catch 
cases where the build runs for 30 minutes or more because someone forgot to use 
"timeout -k", but should have.  That is well outside the current 6 sigma build 
time range, and could be adjusted upwards if builds start taking significantly 
longer.

Bill.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150330/7cb184ce/attachment.html>

Reply via email to