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

Issue 1407043010: GN(android): Add work-around for "project database corrupted" error (Closed)

Created:
5 years, 1 month ago by agrieve
Modified:
5 years, 1 month ago
Reviewers:
Yaron
CC:
chromium-reviews, klundberg+watch_chromium.org, mikecase+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN(android): Add work-around for "project database corrupted" error Happens randomly when compiling java with enable_incremental_javac=true. BUG=551449 Committed: https://crrev.com/b09587112b3c257f02b9bca2ad19d1a48919b74d Cr-Commit-Position: refs/heads/master@{#357904}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add print #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M build/android/gyp/javac.py View 1 1 chunk +10 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (3 generated)
agrieve
On 2015/11/04 16:13:51, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:yfriedman@chromium.org Not exactly a ...
5 years, 1 month ago (2015-11-04 16:15:00 UTC) #3
Yaron
Have you repro'd locally and seen that a second build Just Works? https://codereview.chromium.org/1407043010/diff/1/build/android/gyp/javac.py File build/android/gyp/javac.py ...
5 years, 1 month ago (2015-11-04 16:45:13 UTC) #4
agrieve
I hit this error two days in a row now :(. Did verify that it ...
5 years, 1 month ago (2015-11-04 18:20:22 UTC) #5
Yaron
lgtm
5 years, 1 month ago (2015-11-04 18:53:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407043010/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407043010/20001
5 years, 1 month ago (2015-11-04 20:07:49 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-04 21:36:35 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b09587112b3c257f02b9bca2ad19d1a48919b74d Cr-Commit-Position: refs/heads/master@{#357904}
5 years, 1 month ago (2015-11-04 21:37:44 UTC) #10
joedow
On 2015/11/04 21:37:44, commit-bot: I haz the power wrote: > Patchset 2 (id:??) landed as ...
5 years, 1 month ago (2015-11-05 18:06:22 UTC) #11
jbudorick
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1411183007/ by jbudorick@chromium.org. ...
5 years, 1 month ago (2015-11-05 18:32:02 UTC) #12
joedow
On 2015/11/05 18:06:22, joedow wrote: > On 2015/11/04 21:37:44, commit-bot: I haz the power wrote: ...
5 years, 1 month ago (2015-11-05 18:48:19 UTC) #13
agrieve
5 years, 1 month ago (2015-11-05 19:17:35 UTC) #14
Message was sent while issue was closed.
On 2015/11/05 18:48:19, joedow wrote:
> On 2015/11/05 18:06:22, joedow wrote:
> > On 2015/11/04 21:37:44, commit-bot: I haz the power wrote:
> > > Patchset 2 (id:??) landed as
> > > https://crrev.com/b09587112b3c257f02b9bca2ad19d1a48919b74d
> > > Cr-Commit-Position: refs/heads/master@{#357904}
> > 
> > With this change in place, I am no longer seeing valid compiler failures
using
> > GYP based ninja builds (i.e. I can edit a java file to introduce an obvious
> > error and compilation succeeds).  Removing this change will cause the
compiler
> > to start showing valid errors again.
> > 
> > Is there a bug tracking this problem already?  If this is causing the
try-bots
> > to miss real errors, then it's possible that there are build breaks hidden
by
> > this change which will surface when it is reverted.
> > 
> > Joe
> 
> After looking a bit more, the problem is that the change above catches all
> exceptions and retries on a subset.  The code should rethrow any unhandled
> exceptions.

Derp. Sorry about that! Thanks for reverting.

Powered by Google App Engine
This is Rietveld 408576698