Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Speed-up of gerrit builds

Hi Jonah,

Just wanted to say, thanks a lot for putting in the effort into making this change! This, together with your fixing or disabling of the most common intermittent failures, has significantly improved the experience of testing one's patch.

From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Jonah Graham <jonah@xxxxxxxxxxxxxxxx>
Sent: April 15, 2017 12:13 AM
To: CDT General developers list.
Subject: [cdt-dev] Speed-up of gerrit builds

Hi cdt-devers,

I have made an update to how gerrit patches are verified with Hudson.
Rather than one large job (cdt-verify) that does all the work, 4
smaller jobs are run in parallel that each test a different part of
CDT. This allows for the following highlights:

1) Time from git push to build result reduced from 52 minutes to 25 minutes

       2x improvement

2) Time from git push to compile-only build completing so you know if
there is a silly compile only error (like forgetting to commit a file
or forgetting to update pom.xml when version changes) reduced from 52
minutes to 7 minutes -

       7x improvement

3) Time to rebuild failing test because Bug 499777 isn't resolved yet
reduced from 52 minutes to as little as 17 (depending on what failed).
This takes advantage of being able to retrigger only the job that
failed instead of the whole build -

       3x improvement

In gerrit the Hudson job votes the same, but instead of reporting one
job result, it reports 4, for example:

    Hudson CI
    Patch Set 3: Verified-1

You can see all the jobs here:
You can see my notes in the bug:

Please let me know on cdt-dev or in the bug above if you have any
comments/concerns on my approach.


Jonah Graham
Kichwa Coders Ltd.
cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top