Re: [chromium-dev] Stop using NOTRY=true, stop LGTMing changes with NOTRY=true!

14 views
Skip to first unread message

Paweł Hajdan, Jr.

unread,
Jan 30, 2015, 7:30:45 AM1/30/15
to John Abd-El-Malek, infr...@chromium.org, Jason Robbins, Ravi, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn, chromium-dev
+infra-dev,jrobbins,rmistry

I don't know the answer to the question about "Revert Patchset" behavior. Adding Jason and Ravi that should know it.

Thanks John for starting this thread, I totally +1 it.

By the way, instead of bypassing presubmit checks why don't we fix them? I find it annoying that it's apparently accepted to have checks with false positives.

Paweł

On Fri, Jan 30, 2015 at 5:50 AM, John Abd-El-Malek <j...@chromium.org> wrote:
If you're referring to things to say to the CQ, there's https://sites.google.com/a/chromium.org/dev/developers/testing/commit-queue?pli=1#TOC-Options. I just edited it to strongly discourage NOTRY=true


On Thu, Jan 29, 2015 at 8:16 PM, Scott Hess <sh...@chromium.org> wrote:
Is there some sort of docs for the set of magical things I can say to
accomplish stuff, in a place I'm likely to be able to find when
needed?  Right now I just kind of cargo-cult things until someone
yells at me, then I search around on chromium-dev or in the sheriff
docs looking for hints.

-scott


On Thu, Jan 29, 2015 at 6:28 PM, Ilya Sherman <ishe...@chromium.org> wrote:
> On Thu, Jan 29, 2015 at 6:14 PM, Daniel Cheng <dch...@chromium.org> wrote:
>>
>> NOPRESUBMIT=true should skip presubmit checks.
>
>
> Great!  I'll try to use that instead from now on.  Thanks for the info!
>
>
> On Thu, Jan 29, 2015 at 6:12 PM, Dana Jansens <dan...@google.com> wrote:
>>
>> Which warnings?
>
> Mostly this one, due to the unresolved TODO:
> https://code.google.com/p/chromium/codesearch#chromium/src/tools/strict_enum_value_checker/strict_enum_value_checker.py&l=242-264
>
>>
>> On Thu Jan 29 2015 at 6:11:03 PM Mark Seaborn <msea...@chromium.org>
>> wrote:
>>>
>>> On 29 January 2015 at 17:57, John Abd-El-Malek <j...@chromium.org> wrote:
>>>>
>>>> A lot of the causes of tree breakage now is when the CQ is skipped. So
>>>> we should try to drastically reduce the number of times this is used.
>>>>
>>>> Please don't use NOTRY=true. Please don't LGTM changes with it.
>>>>
>>>> Skipping the trybots should only be done for immediate reverts.
>>>
>>>
>>> I agree.
>>>
>>> By the way, I recently accidentally committed a non-immediate revert with
>>> NOTRY=true + NOTREECHECKS=true, because Rietveld's "Revert Patchset" button
>>> creates reverts that way by default.  See
>>> https://codereview.chromium.org/847413002 -- I was reverting a day-old
>>> change.
>>>
>>> It would be nice if "Revert Patchset" omitted NOTRY/NOTREECHECKS/TBR when
>>> the change being reverted is no longer recent -- e.g. when it was committed
>>> >6 hours ago (to pick an arbitrary threshold).
>>>
>>> Cheers,
>>> Mark
>>>
>>> --
>>> --
>>> Chromium Developers mailing list: chromi...@chromium.org
>>> View archives, change email options, or unsubscribe:
>>> http://groups.google.com/a/chromium.org/group/chromium-dev
>>
>> --
>> --
>> Chromium Developers mailing list: chromi...@chromium.org
>> View archives, change email options, or unsubscribe:
>> http://groups.google.com/a/chromium.org/group/chromium-dev
>
>
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Ravi

unread,
Jan 30, 2015, 8:04:20 AM1/30/15
to chromi...@chromium.org, j...@chromium.org, infr...@chromium.org, jrob...@google.com, rmi...@chromium.org, sh...@chromium.org, ishe...@chromium.org, dch...@chromium.org, msea...@chromium.org, phajd...@chromium.org


On Friday, January 30, 2015 at 7:31:26 AM UTC-5, Paweł Hajdan, Jr. wrote:
+infra-dev,jrobbins,rmistry

I don't know the answer to the question about "Revert Patchset" behavior. Adding Jason and Ravi that should know it.

The one-click revert button used to leave off "TBR=" for CLs older than 14 days, but this functionality was removed in crrev/124470043 because it was found to be confusing (chromium:401513). I agreed with the change and personally did not like the idea of the button automatically behaving differently based on how old the CL is.

How about instead putting in a checkbox below the "Automatically send Revert CL to CQ" that says "Commit immediately". If the CL is X days old then you get an extra prompt "This CL is X days old, are you sure you want to commit immediately?" or maybe the "Commit immediately" can be unchecked by default for old CLs instead.

John Abd-El-Malek

unread,
Jan 30, 2015, 10:41:42 AM1/30/15
to Ravi, chromium-dev, infr...@chromium.org, Jason Robbins, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn, Paweł Hajdan Jr.
On Fri, Jan 30, 2015 at 5:04 AM, Ravi <rmi...@chromium.org> wrote:


On Friday, January 30, 2015 at 7:31:26 AM UTC-5, Paweł Hajdan, Jr. wrote:
+infra-dev,jrobbins,rmistry

I don't know the answer to the question about "Revert Patchset" behavior. Adding Jason and Ravi that should know it.

The one-click revert button used to leave off "TBR=" for CLs older than 14 days, but this functionality was removed in crrev/124470043 because it was found to be confusing (chromium:401513). I agreed with the change and personally did not like the idea of the button automatically behaving differently based on how old the CL is. 

How about instead putting in a checkbox below the "Automatically send Revert CL to CQ" that says "Commit immediately". If the CL is X days old then you get an extra prompt "This CL is X days old, are you sure you want to commit immediately?" or maybe the "Commit immediately" can be unchecked by default for old CLs instead.

I think we should use sane defaults, and the user can (always) override. It seems that this old reverted behavior was slightly different though, in that it left out TBR so the change wouldn't let.

Proposal: for commits <  6 hours, current behavior stays the same. The reason is that something in the tree is broken and  it might have taken a while to track it down during sheriff-switchover. Since it's less than 6 hours, the chance that it'll collide with another landed change is low.

For commits longer than 6 hours, then we leave TBR as is, but we don't add NOTRY=true. The older a change is, the more chance that its revert will collide with other commits. Also, if a change is old then there's no urgent rush to revert it and it can wait an hour.

Ravi

unread,
Jan 30, 2015, 11:29:26 AM1/30/15
to chromi...@chromium.org, rmi...@chromium.org, infr...@chromium.org, jrob...@google.com, sh...@chromium.org, ishe...@chromium.org, dch...@chromium.org, msea...@chromium.org, phajd...@chromium.org


On Friday, January 30, 2015 at 10:42:17 AM UTC-5, John Abd-El-Malek wrote:


On Fri, Jan 30, 2015 at 5:04 AM, Ravi <rmi...@chromium.org> wrote:


On Friday, January 30, 2015 at 7:31:26 AM UTC-5, Paweł Hajdan, Jr. wrote:
+infra-dev,jrobbins,rmistry

I don't know the answer to the question about "Revert Patchset" behavior. Adding Jason and Ravi that should know it.

The one-click revert button used to leave off "TBR=" for CLs older than 14 days, but this functionality was removed in crrev/124470043 because it was found to be confusing (chromium:401513). I agreed with the change and personally did not like the idea of the button automatically behaving differently based on how old the CL is. 

How about instead putting in a checkbox below the "Automatically send Revert CL to CQ" that says "Commit immediately". If the CL is X days old then you get an extra prompt "This CL is X days old, are you sure you want to commit immediately?" or maybe the "Commit immediately" can be unchecked by default for old CLs instead.

I think we should use sane defaults, and the user can (always) override. It seems that this old reverted behavior was slightly different though, in that it left out TBR so the change wouldn't let.

Proposal: for commits <  6 hours, current behavior stays the same. The reason is that something in the tree is broken and  it might have taken a while to track it down during sheriff-switchover. Since it's less than 6 hours, the chance that it'll collide with another landed change is low.

For commits longer than 6 hours, then we leave TBR as is, but we don't add NOTRY=true. The older a change is, the more chance that its revert will collide with other commits. Also, if a change is old then there's no urgent rush to revert it and it can wait an hour.

My 2c:
* 6 hours is IMHO too short a timeframe, some projects correctness/perf tests may reliably identify a CL that needs to be reverted after that. We could make the timeframe project specific with a way to specify whether a project would like to opt out of this.
* The problem with the previous removing TBR= implementation was that it was never clear to the revert'er what was going to happen. If we do implement this NOTRY proposal, then lets make it crystal clear what is going to happen either with a new dialog or a descriptive message in the revert popup.

John Abd-El-Malek

unread,
Jan 30, 2015, 11:37:01 AM1/30/15
to Ravi, chromium-dev, infr...@chromium.org, Jason Robbins, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn, Paweł Hajdan Jr.
On Fri, Jan 30, 2015 at 8:29 AM, Ravi <rmi...@chromium.org> wrote:


On Friday, January 30, 2015 at 10:42:17 AM UTC-5, John Abd-El-Malek wrote:


On Fri, Jan 30, 2015 at 5:04 AM, Ravi <rmi...@chromium.org> wrote:


On Friday, January 30, 2015 at 7:31:26 AM UTC-5, Paweł Hajdan, Jr. wrote:
+infra-dev,jrobbins,rmistry

I don't know the answer to the question about "Revert Patchset" behavior. Adding Jason and Ravi that should know it.

The one-click revert button used to leave off "TBR=" for CLs older than 14 days, but this functionality was removed in crrev/124470043 because it was found to be confusing (chromium:401513). I agreed with the change and personally did not like the idea of the button automatically behaving differently based on how old the CL is. 

How about instead putting in a checkbox below the "Automatically send Revert CL to CQ" that says "Commit immediately". If the CL is X days old then you get an extra prompt "This CL is X days old, are you sure you want to commit immediately?" or maybe the "Commit immediately" can be unchecked by default for old CLs instead.

I think we should use sane defaults, and the user can (always) override. It seems that this old reverted behavior was slightly different though, in that it left out TBR so the change wouldn't let.

Proposal: for commits <  6 hours, current behavior stays the same. The reason is that something in the tree is broken and  it might have taken a while to track it down during sheriff-switchover. Since it's less than 6 hours, the chance that it'll collide with another landed change is low.

For commits longer than 6 hours, then we leave TBR as is, but we don't add NOTRY=true. The older a change is, the more chance that its revert will collide with other commits. Also, if a change is old then there's no urgent rush to revert it and it can wait an hour.

My 2c:
* 6 hours is IMHO too short a timeframe, some projects correctness/perf tests may reliably identify a CL that needs to be reverted after that. We could make the timeframe project specific with a way to specify whether a project would like to opt out of this.
* The problem with the previous removing TBR= implementation was that it was never clear to the revert'er what was going to happen. If we do implement this NOTRY proposal, then lets make it crystal clear what is going to happen either with a new dialog or a descriptive message in the revert popup.

In general I prefer to avoid extra dialogs or new checkboxes to avoid cluttering up the UI.

With the previous removal of TBR=, it was confusing because people hit "revert" and might close the page and the revert never lands. With the proposal above, I don't think there's much confusion. The reverter has the same flow (just hit one button). It's just sometimes it takes an hour while other times it takes a few minutes. Devs are already trained that CQ takes variable amount of time, depending on how queued it is, if the tree is closed, how many files their change touches etc..

--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/d1bd3786-5096-4036-bfd6-825eb7f4a88a%40chromium.org.

Ravi

unread,
Jan 30, 2015, 12:38:36 PM1/30/15
to chromi...@chromium.org, rmi...@chromium.org, infr...@chromium.org, jrob...@google.com, sh...@chromium.org, ishe...@chromium.org, dch...@chromium.org, msea...@chromium.org, phajd...@chromium.org


On Friday, January 30, 2015 at 11:37:39 AM UTC-5, John Abd-El-Malek wrote:


On Fri, Jan 30, 2015 at 8:29 AM, Ravi <rmi...@chromium.org> wrote:


On Friday, January 30, 2015 at 10:42:17 AM UTC-5, John Abd-El-Malek wrote:


On Fri, Jan 30, 2015 at 5:04 AM, Ravi <rmi...@chromium.org> wrote:


On Friday, January 30, 2015 at 7:31:26 AM UTC-5, Paweł Hajdan, Jr. wrote:
+infra-dev,jrobbins,rmistry

I don't know the answer to the question about "Revert Patchset" behavior. Adding Jason and Ravi that should know it.

The one-click revert button used to leave off "TBR=" for CLs older than 14 days, but this functionality was removed in crrev/124470043 because it was found to be confusing (chromium:401513). I agreed with the change and personally did not like the idea of the button automatically behaving differently based on how old the CL is. 

How about instead putting in a checkbox below the "Automatically send Revert CL to CQ" that says "Commit immediately". If the CL is X days old then you get an extra prompt "This CL is X days old, are you sure you want to commit immediately?" or maybe the "Commit immediately" can be unchecked by default for old CLs instead.

I think we should use sane defaults, and the user can (always) override. It seems that this old reverted behavior was slightly different though, in that it left out TBR so the change wouldn't let.

Proposal: for commits <  6 hours, current behavior stays the same. The reason is that something in the tree is broken and  it might have taken a while to track it down during sheriff-switchover. Since it's less than 6 hours, the chance that it'll collide with another landed change is low.

For commits longer than 6 hours, then we leave TBR as is, but we don't add NOTRY=true. The older a change is, the more chance that its revert will collide with other commits. Also, if a change is old then there's no urgent rush to revert it and it can wait an hour.

My 2c:
* 6 hours is IMHO too short a timeframe, some projects correctness/perf tests may reliably identify a CL that needs to be reverted after that. We could make the timeframe project specific with a way to specify whether a project would like to opt out of this.
* The problem with the previous removing TBR= implementation was that it was never clear to the revert'er what was going to happen. If we do implement this NOTRY proposal, then lets make it crystal clear what is going to happen either with a new dialog or a descriptive message in the revert popup.

In general I prefer to avoid extra dialogs or new checkboxes to avoid cluttering up the UI.

With the previous removal of TBR=, it was confusing because people hit "revert" and might close the page and the revert never lands. With the proposal above, I don't think there's much confusion. The reverter has the same flow (just hit one button). It's just sometimes it takes an hour while other times it takes a few minutes. Devs are already trained that CQ takes variable amount of time, depending on how queued it is, if the tree is closed, how many files their change touches etc..

The confusion would result from the revert CL not landing immediately. I personally would rather click through an extra dialog or read an info message telling me what is going to happen, than having my expected keywords be automatically missing and spend time trying to figure out where they went. Leaving the decision to Jason.


 
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+unsubscribe@chromium.org.

Sergiy Byelozyorov

unread,
Feb 1, 2015, 1:47:13 AM2/1/15
to Ravi, chromi...@chromium.org, infr...@chromium.org, jrob...@google.com, sh...@chromium.org, ishe...@chromium.org, dch...@chromium.org, msea...@chromium.org, phajd...@chromium.org
On Fri Jan 30 2015 at 6:38:36 PM Ravi <rmi...@chromium.org> wrote:
The confusion would result from the revert CL not landing immediately. I personally would rather click through an extra dialog or read an info message telling me what is going to happen, than having my expected keywords be automatically missing and spend time trying to figure out where they went. Leaving the decision to Jason.

+1
 
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.

To post to this group, send email to infr...@chromium.org.

Sergiy Byelozyorov

unread,
Feb 1, 2015, 1:48:07 AM2/1/15
to Ravi, chromi...@chromium.org, infr...@chromium.org, jrob...@google.com, sh...@chromium.org, ishe...@chromium.org, dch...@chromium.org, msea...@chromium.org, phajd...@chromium.org
On Fri Jan 30 2015 at 6:38:36 PM Ravi <rmi...@chromium.org> wrote:
The confusion would result from the revert CL not landing immediately. I personally would rather click through an extra dialog or read an info message telling me what is going to happen, than having my expected keywords be automatically missing and spend time trying to figure out where they went. Leaving the decision to Jason.

+1
 
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.

To post to this group, send email to infr...@chromium.org.

Jason Robbins

unread,
Feb 3, 2015, 4:22:27 PM2/3/15
to Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, dch...@chromium.org, msea...@chromium.org, Paweł Hajdan, Jr.
My first thought about it is that I agree that users should not be uncertain about the affect of a revert, and that the dialog for doing a revert has some room to add information that could clarify what will happen.  

I am thinking that we could just make all the revert options more explicit.  E.g., in ASCII-art:

Reason for revert:
  [text entry box]

NOPRESUBMIT       [X]
NOTREECHECKS   [X]
NOTRY                    [_]
BUG:                        [________]


I'm thinking that the rule for NOTRY on reverts should just be that it defaults to false because (ideally) a revert should still pass tests. The user doing the revert can get in the habit of checking it by clicking on it if they need it (e.g., to quickly roll back a series of changes).  If we later put in a more tricky rule for the NOTRY default, the user will still be able to see it and override it before pressing the submit button.

Thanks,
jason!

Daniel Bratell

unread,
Feb 5, 2015, 5:02:09 AM2/5/15
to Ravi, chromi...@chromium.org, Sergiy Byelozyorov, infr...@chromium.org, jrob...@google.com, sh...@chromium.org, ishe...@chromium.org, dch...@chromium.org, msea...@chromium.org, phajd...@chromium.org
On Sun, 01 Feb 2015 07:48:05 +0100, Sergiy Byelozyorov <ser...@chromium.org> wrote:



On Fri Jan 30 2015 at 6:38:36 PM Ravi <rmi...@chromium.org> wrote:
The confusion would result from the revert CL not landing immediately. I personally would rather click through an extra dialog or read an info message telling me what is going to happen, than having my expected keywords be automatically missing and spend time trying to figure out where they went. Leaving the decision to Jason.

+1

It sounds to me like the problem you (rmistry and sergeiyb and most likely many others) are seeing is that you don't trust the CQ and don't know how to check what it's working on and prioritizing at the moment?

Is there a summary page listing ongoing integrations? I think I might have seen one at some point but I couldn't possibly remember where and when.

Is it possible to boost one integration so that it happens faster at the expense of other integrations?

/Daniel

Ravi

unread,
Feb 5, 2015, 7:28:09 AM2/5/15
to chromi...@chromium.org, rmi...@chromium.org, ser...@chromium.org, infr...@chromium.org, jrob...@google.com, sh...@chromium.org, ishe...@chromium.org, dch...@chromium.org, msea...@chromium.org, phajd...@chromium.org


On Thursday, February 5, 2015 at 5:02:44 AM UTC-5, Daniel Bratell wrote:
On Sun, 01 Feb 2015 07:48:05 +0100, Sergiy Byelozyorov <ser...@chromium.org> wrote:



On Fri Jan 30 2015 at 6:38:36 PM Ravi <rmi...@chromium.org> wrote:
The confusion would result from the revert CL not landing immediately. I personally would rather click through an extra dialog or read an info message telling me what is going to happen, than having my expected keywords be automatically missing and spend time trying to figure out where they went. Leaving the decision to Jason.

+1

It sounds to me like the problem you (rmistry and sergeiyb and most likely many others) are seeing is that you don't trust the CQ and don't know how to check what it's working on and prioritizing at the moment?

My comments were to ask for transparency into what the revert button was going to do if we started taking away expected CQ keywords like NOTRY. Jason's proposal sufficiently addressed my concerns.
There is no distrust of the CQ :) the CQ has been fast and reliable because of the great work done by the infra CQ team.

These are the pages I use to see what the CQ is doing (there may be other useful ones that the infra team can point to):
You can also substitute chromium in the links above for another project to see its CQ (eg: skia).

John Abd-El-Malek

unread,
Feb 5, 2015, 10:19:15 AM2/5/15
to Jason Robbins, Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn, Paweł Hajdan, Jr.
On Tue, Feb 3, 2015 at 1:22 PM, 'Jason Robbins' via infra-dev <infr...@chromium.org> wrote:
My first thought about it is that I agree that users should not be uncertain about the affect of a revert, and that the dialog for doing a revert has some room to add information that could clarify what will happen.  

I am thinking that we could just make all the revert options more explicit.  E.g., in ASCII-art:

Reason for revert:
  [text entry box]

NOPRESUBMIT       [X]
NOTREECHECKS   [X]
NOTRY                    [_]
BUG:                        [________]


I'm thinking that the rule for NOTRY on reverts should just be that it defaults to false because (ideally) a revert should still pass tests. The user doing the revert can get in the habit of checking it by clicking on it if they need it (e.g., to quickly roll back a series of changes).  If we later put in a more tricky rule for the NOTRY default, the user will still be able to see it and override it before pressing the submit button.

Can we leave the 3 checkboxes unchecked and disable them if a commit is older than a certain time (6 or 12 hours?). We can put a red message saying something to the effect that a change is too old to be reverted without going through CQ.
 

Nico Weber

unread,
Feb 10, 2015, 10:43:00 AM2/10/15
to John Abd-El-Malek, Jason Robbins, Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn, Paweł Hajdan, Jr.
I have a question on how the analyze stuff works. Someone on this thread might know the answer to that. https://codereview.chromium.org/898183005/ (an OWNERS file change) got committed almost immediately after I hit "cq" – apparently from the presubmit bot, not by the cq (?). Very fast, cool. However, hitting cq still kicked off builds on 25 bots, and they all think that they should actually compile things (which seems wasteful).

How does the presubmit bot know that it can land this CL, if all the other bots can't even figure out that there's no need to compile anything?

John Abd-El-Malek

unread,
Feb 10, 2015, 10:50:32 AM2/10/15
to Nico Weber, she...@chromium.org, Sergey Berezin, Jason Robbins, Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn, Paweł Hajdan, Jr.
On Tue, Feb 10, 2015 at 7:42 AM, Nico Weber <tha...@chromium.org> wrote:
I have a question on how the analyze stuff works. Someone on this thread might know the answer to that. https://codereview.chromium.org/898183005/ (an OWNERS file change) got committed almost immediately after I hit "cq" – apparently from the presubmit bot, not by the cq (?).

Sheyang/Sergey/Pawel: this is new to me; I would expect that CQ would need the same bots to pass (the full list) independent of how the try was triggered?

I guess I have seen this before where a "git cl try", on Android only file, might only trigger the android boy because of the presubmit filters. However it seems that the CQ verifier should trigger any other trybot in the full list that's not there, instead of just looking that the ones in Rietveld are green.
 
Very fast, cool. However, hitting cq still kicked off builds on 25 bots, and they all think that they should actually compile things (which seems wasteful).

Note that this happened because we have a blacklist of paths that if changed, avoid analyze.py shortcuts. See the "read filter exclusion spec" step in your cl, which lists the list (that contains your changed file).

John Abd-El-Malek

unread,
Feb 10, 2015, 10:57:24 AM2/10/15
to Nico Weber, she...@chromium.org, Sergey Berezin, Jason Robbins, Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn, Paweł Hajdan, Jr.
On Tue, Feb 10, 2015 at 7:50 AM, John Abd-El-Malek <j...@chromium.org> wrote:


On Tue, Feb 10, 2015 at 7:42 AM, Nico Weber <tha...@chromium.org> wrote:
I have a question on how the analyze stuff works. Someone on this thread might know the answer to that. https://codereview.chromium.org/898183005/ (an OWNERS file change) got committed almost immediately after I hit "cq" – apparently from the presubmit bot, not by the cq (?).

Sheyang/Sergey/Pawel: this is new to me; I would expect that CQ would need the same bots to pass (the full list) independent of how the try was triggered?

I guess I have seen this before where a "git cl try", on Android only file, might only trigger the android boy because of the presubmit filters. However it seems that the CQ verifier should trigger any other trybot in the full list that's not there, instead of just looking that the ones in Rietveld are green.

Paweł Hajdan, Jr.

unread,
Feb 16, 2015, 6:04:34 AM2/16/15
to John Abd-El-Malek, Nico Weber, she...@chromium.org, Sergey Berezin, Jason Robbins, Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn
On Tue, Feb 10, 2015 at 4:50 PM, John Abd-El-Malek <j...@chromium.org> wrote:
On Tue, Feb 10, 2015 at 7:42 AM, Nico Weber <tha...@chromium.org> wrote:
I have a question on how the analyze stuff works. Someone on this thread might know the answer to that. https://codereview.chromium.org/898183005/ (an OWNERS file change) got committed almost immediately after I hit "cq" – apparently from the presubmit bot, not by the cq (?).

Sheyang/Sergey/Pawel: this is new to me; I would expect that CQ would need the same bots to pass (the full list) independent of how the try was triggered?

Maybe something else is going on, but all sources available to me say https://codereview.chromium.org/898183005/ was landed manually and not using CQ:

1. Committed patchset #1 (id:1) manually as b2648b98a6826b6e5d0fa7fa072984546901e0ad (presubmit successful).

2. https://chromium-cq-status.appspot.com/patch-status/898183005/1 shows CQ triggered bots but stopped processing the CL very shortly afterwards since the CQ checkbox has been unchecked.

3. Raw CQ logs confirm the above.

I hope that addresses the surprise, and for bots compiling on that CL - consider adding OWNERS to "analyze" blacklist. Note that we still benefit from CQ in that case to run PRESUBMIT on the OWNERS changes.

Paweł

Christian Biesinger

unread,
Mar 4, 2015, 9:44:25 PM3/4/15
to Paweł Hajdan, Jr., John Abd-El-Malek, Nico Weber, she...@chromium.org, Sergey Berezin, Jason Robbins, Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn
Hi there,

so I just did use NOTRY=true for
https://codereview.chromium.org/978123002 because it seemed like the
analyze step wasn't working -- gdb.py is not part of the build in any
way, yet bots like
http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/53612
were compiling everything and
http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/50825
was running tests. Is that expected?

-christian

Dirk Pranke

unread,
Mar 4, 2015, 9:53:44 PM3/4/15
to Christian Biesinger, Paweł Hajdan, Jr., John Abd-El-Malek, Nico Weber, she...@chromium.org, Sergey Berezin, Jason Robbins, Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn
That's a Blink change, and I don't think analyze is wired up on any of the Blink trybots yet, so yes, I would expect to see what you're seeing. John's logic therefore doesn't apply so much to Blink changes.

However, for your change I also see no compelling reason to do NOTRY=true; it's true that your change won't break anything, but there's also no reason to rush the change into landing and no real reason not to skip the normal workflow. We' re not so short on resources that it's worth trying to optimize things here.

-- Dirk

-- Dirk

Christian Biesinger

unread,
Mar 4, 2015, 9:56:39 PM3/4/15
to Dirk Pranke, Paweł Hajdan, Jr., John Abd-El-Malek, Nico Weber, she...@chromium.org, Sergey Berezin, Jason Robbins, Sergiy Byelozyorov, Ravi, Chromium-dev, infr...@chromium.org, Scott Hess, Ilya Sherman, Daniel Cheng, Mark Seaborn
Oh, I see. Makes sense. The reason I used NOTRY was because
mac_blink_rel was red, and because that made my local workflow a bit
simpler. But, I will avoid doing that in the future.

-christian
Reply all
Reply to author
Forward
0 new messages