GitFileIsolator is failing on some changes |
|||
Issue descriptionExample failure: https://chromium-swarm.appspot.com/task?id=3b57f6cf42f3e810&refresh=10&show_raw=1 Corresponding Gerrit change: https://gerrit-review.googlesource.com/c/gerrit/+/155410 The fetch command is failing and it seems to be due to the file in question being deleted. This information needs to be either propagaed to the function via the GitDetails or the git command needs to be relaxed (if possible).
,
Feb 22 2018
,
Feb 23 2018
,
Feb 26 2018
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/ae28364c740acff97ae118adcb2808b6cb5129c5 commit ae28364c740acff97ae118adcb2808b6cb5129c5 Author: Quinten Yearsley <qyearsley@chromium.org> Date: Mon Feb 26 20:46:58 2018 Filter out deleted files when polling Gerrit GitFileIsolator was failing only when it encountered files that were deleted in a change. This only happens when an AnalyzeRequest was created that includes deleted files. It turns out that Emma had already thought of filtering out deleted files when creating analyze requests when polling Gerrit -- the only reason why they weren't filtered out because the wrong constant was used to indicate deletion. This CL adds a unit test to cover the filtering behavior and makes named constants for the possible Gerrit file statuses. Bug: 806770 Change-Id: If28e22968b383e948d492e673488b450d2be904e Reviewed-on: https://chromium-review.googlesource.com/935677 Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> [modify] https://crrev.com/ae28364c740acff97ae118adcb2808b6cb5129c5/go/src/infra/tricium/appengine/gerrit/poll.go [modify] https://crrev.com/ae28364c740acff97ae118adcb2808b6cb5129c5/go/src/infra/tricium/appengine/gerrit/gerrit.infra_testing [modify] https://crrev.com/ae28364c740acff97ae118adcb2808b6cb5129c5/go/src/infra/tricium/appengine/gerrit/poll_test.go
,
Mar 1 2018
Verified that in https://canary-chromium-review.googlesource.com/c/playground/gerrit-tricium/+/943678, GitFileIsolator now no longer fails since it no longers looks at deleted files. Although, now analyze requests with only deleted files with fail, see bug 817808 . |
|||
►
Sign in to add a comment |
|||
Comment 1 by qyears...@chromium.org
, Jan 31 2018