Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Issue 3419024: Switch off repo sync --jobs, and turn on repo --trace. (Closed)

Created:
10 years, 3 months ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
anush, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Switch off repo sync --jobs, and turn on repo --trace. repo sync --jobs doesn't check for errors, so we shouldn't use it in automated scripts. repo --trace is needed so that we can diagnose whether git is hanging. BUG=chromium-os:7048, chromium-os:6774 TEST=Ran test suite Change-Id: I9e68cfffe841a231f5fabef951ea2d45b81c1d5e Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=7bf8d27

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M bin/cbuildbot.py View 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
davidjames
10 years, 3 months ago (2010-09-25 05:32:16 UTC) #1
anush
LGTM. So is this only temporary? i.e once we get our new git infra in ...
10 years, 3 months ago (2010-09-25 17:34:31 UTC) #2
davidjames
On 2010/09/25 17:34:31, anush wrote: > LGTM. So is this only temporary? i.e once we ...
10 years, 3 months ago (2010-09-25 18:28:08 UTC) #3
sosa
Can't we just add functionality to repo to add functionality that combines both sync and ...
10 years, 3 months ago (2010-09-25 21:33:41 UTC) #4
sosa
Another qq, why was this TBR'd? On Sat, Sep 25, 2010 at 5:33 PM, Chris ...
10 years, 3 months ago (2010-09-25 21:40:38 UTC) #5
sosa
Nvm about the TBR comment. I apparently fail @ reading.
10 years, 3 months ago (2010-09-25 21:47:02 UTC) #6
davidjames
On 2010/09/25 21:33:41, sosa wrote: > Can't we just add functionality to repo to add ...
10 years, 3 months ago (2010-09-25 22:52:06 UTC) #7
sosa
10 years, 3 months ago (2010-09-26 04:40:51 UTC) #8
LGTM and thanks for filing the upstream bug!

On Sat, Sep 25, 2010 at 6:52 PM,  <davidjames@chromium.org> wrote:
> On 2010/09/25 21:33:41, sosa wrote:
>>
>> Can't we just add functionality to repo to add functionality that
>> combines both sync and trace?  I would really prefer to not slow this
>> down.  I'd honestly rather see it hang every now and have a smaller
>> timeout.
>
> A bit confused here. Is repo --trace sync slower than repo sync? My
> understanding is that it makes little or no difference -- repo --trace sync
> just
> prints more output. I don't think printing more output will necessarily make
> a
> difference in speed.
>
> Turning off --jobs does slow things down, but it's necessary because repo
> doesn't do any error checking when you use --jobs. Without error checking,
> it's
> quite possible you'll get the wrong source code and never know it. Of
> course,
> this shouldn't be too hard to fix upstream, but this work hasn't been done
> yet.
> Upstream bug is http://crosbug.com/6813
>
> I put both the feature of adding --trace and removing --jobs in the same CL
> because they both affect the same line of code.
>
> http://codereview.chromium.org/3419024/show
>

Powered by Google App Engine
This is Rietveld 408576698