Issue metadata
Sign in to add a comment
|
Revert does not land automatically |
||||||||||||||||||||
Issue descriptionAffected Version:2.14.2-2798-gf74c38485e What steps will reproduce the problem? 1. Revert a CL. 2. Check "Send CL to CQ" checkbox. What is the expected output? Revert lands automatically. What do you see instead? One needs to self LGTM the revert and manually send it to CQ. This was discovered in issue 758098 .
,
Aug 28 2017
And is another one: https://chromium-review.googlesource.com/c/v8/v8/+/636762 This has been failing now for roughly a week and is rather dangerous, as people are expecting the revert to land automatically without further interaction usually. According to your own label description is a P1. I'll bluntly assign it to one of the suggested component owners.
,
Aug 28 2017
,
Aug 28 2017
The code that fails is in CQ plugin, although it might be caused by recent PG release. Anyway, this should be assigned to agable@ (who is back to work today) and moved to Chromium tracker, but I can't do that.
,
Aug 28 2017
,
Aug 28 2017
,
Aug 28 2017
,
Aug 28 2017
I'm only temporarily back today; I have another whole week of vacation after today. Andrii, please dig into this since it is Pri-1. The code which sets the Code-Review label (and the Commit-Queue label, if the revert is made within 24 hours of the original landing) is here: http://shortn/_vvGm68nq61 This code hasn't changed in a long time, and simply returns a set of labels which should be applied to a Gerrit API function. So it looks like that Gerrit JS API changed and broke? Viktar, can you comment on that?
,
Aug 28 2017
,
Aug 28 2017
,
Aug 29 2017
Note wyatta@'s comment in https://bugs.chromium.org/p/gerrit/issues/detail?id=7075 : This may be related to Issue gerrit:6969 , where the revert change is sometimes not immediately available after the revert action completes. However, since the error comes from commitqueue.js, I suspect this is separate from 6969 -- but with possibly the same underlying cause.
,
Aug 29 2017
Locally I see errors when reverting even with the commitqueue.js plugin switched off. In the console I see: gr-auth.js:116 GET http://rmistry1.cnc.corp.google.com:8080/changes/demo-project2~76/revisions/6/files?reviewed 404 () _fetchWithXsrfToken @ gr-auth.js:116 fetch @ gr-auth.js:81 _fetchRawJSON @ gr-rest-api-interface.js:107 fetchJSON @ gr-rest-api-interface.js:145 _changeBaseURL.then.url @ gr-rest-api-interface.js:1817 gr-auth.js:116 GET http://rmistry1.cnc.corp.google.com:8080/changes/demo-project2~76/revisions/6/commit?links 404 () _fetchWithXsrfToken @ gr-auth.js:116 fetch @ gr-auth.js:81 _fetchRawJSON @ gr-rest-api-interface.js:107 fetchJSON @ gr-rest-api-interface.js:145 _changeBaseURL.then.url @ gr-rest-api-interface.js:1817 3gr-error-manager.js:103 Not found: 6 [Note the revisions/6 in the error above] This is why I thought it was a Gerrit issue ( Issue gerrit:7075 ) and not a Chromium plugin one. Every time I revert locally I see the files list and patchset drop downs empty. When I refresh, they are populated again. I also think that it works only if the change you are reverting has a single patch set. Gerrit folks, can you please try it out locally to see if you can reproduce the empty files list / patchset during reverts (please make sure that the change that is being reverted has more than 1 patchset)
,
Aug 29 2017
> Gerrit folks, can you please try it out locally to see if you can reproduce the empty files list / patchset during reverts (please make sure that the change that is being reverted has more than 1 patchset) I can repro. Thank you! Reverting a change with multiple patch sets looks like the key repro step. This looks like a bug in PolyGerrit, although I'm not sure if it's the cause of the buildbot- issue in 7075 or the CQ issue in this one (although it might be). I'll reopen issue 6969 for the PolyGerrit fix.
,
Aug 29 2017
[Note: wyatta@ meant Issue gerrit:6969 in the previous comment] Yes, I am not 100% sure either. Once we have a PolyGerrit fix I will test out commitqueue.js locally.
,
Aug 29 2017
sorry, I won't be able to look at this week, assigning to wyatta@ because he has a clue now. Ravi, thanks for help, too :)
,
Sep 6 2017
This is showing up more (e.g. https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/654117); please prioritize
,
Sep 7 2017
The fix for Issue gerrit:6969 has merged and should deploy soon. Once that's live on Chromium I'd like to confirm that fixing the Gerrit part transitively fixes the CQ part.
,
Sep 18 2017
tandrii@ or agable@, the Gerrit fix is live on chromium-reviww. Can you confirm that this resolves the issue in CQ?
,
Sep 18 2017
Yes, it worked correctly for me just now: https://chromium-review.googlesource.com/c/chromium/src/+/671524 |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by cbruni@chromium.org
, Aug 25 2017