<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 15, 2016 at 4:22 PM, Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jan 14, 2016 at 10:26:46PM +0530, Kaushal M wrote:<br>
</span><span class="">&gt; I&#39;d pushed the config to a new branch instead of updating the<br>
&gt; `refs/meta/config` branch. I&#39;ve corrected this now.<br>
&gt;<br>
&gt; The 3 new labels are,<br>
&gt; - Smoke<br>
&gt; - CentOS-regression<br>
&gt; - NetBSD-regression<br>
&gt;<br>
&gt; The new labels are active now. Changes cannot be merged without all of<br>
&gt; them being +1. Only the bot accounts (Gluster Build System and NetBSD<br>
&gt; Build System) can set them.<br></span></blockquote><div><br></div><div>Thanks Kaushal !</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
</span>It seems that Verified is also a label that is required. Because this is<br>
now the label for manual testing by reviewers/qa, I do not think it<br>
should be a requirement anymore.<br>
<br>
Could the labels that are needed for merging be setup like this?<br>
<br>
  Code-Review=+2 &amp;&amp; (Verified=+1 || (Smoke=+1 &amp;&amp; CentOS-regression=+1 &amp;&amp; NetBSD-regression=+1))<br></blockquote><div><br></div><div>I would prefer not having Verified=+1 here. A dev should not be allowed to override the restrictions.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I managed to get <a href="http://review.gluster.org/13208" rel="noreferrer" target="_blank">http://review.gluster.org/13208</a> merged now, please<br>
check if the added tags in the commit message are ok, or need to get<br>
modified.<br>
<br>
Thanks,<br>
Niels<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
&gt;<br>
&gt; On Thu, Jan 14, 2016 at 9:22 PM, Kaushal M &lt;<a href="mailto:kshlmster@gmail.com">kshlmster@gmail.com</a>&gt; wrote:<br>
&gt; &gt; On Thu, Jan 14, 2016 at 5:12 PM, Niels de Vos &lt;<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>&gt; wrote:<br>
&gt; &gt;&gt; On Thu, Jan 14, 2016 at 03:46:02PM +0530, Kaushal M wrote:<br>
&gt; &gt;&gt;&gt; On Thu, Jan 14, 2016 at 2:43 PM, Niels de Vos &lt;<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt; &gt; On Thu, Jan 14, 2016 at 11:51:15AM +0530, Raghavendra Talur wrote:<br>
&gt; &gt;&gt;&gt; &gt;&gt; On Tue, Jan 12, 2016 at 7:59 PM, Atin Mukherjee &lt;<a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a>&gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; wrote:<br>
&gt; &gt;&gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; -Atin<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; Sent from one plus one<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; On Jan 12, 2016 7:41 PM, &quot;Niels de Vos&quot; &lt;<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>&gt; wrote:<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; On Tue, Jan 12, 2016 at 07:21:37PM +0530, Raghavendra Talur wrote:<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; We have now changed the gerrit-jenkins workflow as follows:<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; 1. Developer works on a new feature/bug fix and tests it locally(run<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; run-tests.sh completely).<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; 2. Developer sends the patch to gerrit using rfc.sh.<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; +++Note that no regression runs have started automatically for this<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; patch<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; at this point.+++<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; 3. Developer marks the patch as +1 verified on gerrit as a promise of<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; having tested the patch completely. For cases where patches don&#39;t have<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; a +1<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; verified from the developer, maintainer has the following options<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; a. just do the code-review and award a +2 code review.<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; b. pull the patch locally and test completely and award a +1 verified.<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; Both the above actions would result in triggering of regression runs<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; for<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; &gt; the patch.<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; Would it not help if anyone giving +1 code-review starts the regression<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; tests too? When developers ask me to review, I prefer to see reviews<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; done by others first, and any regression failures should have been fixed<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; &gt; by the time I look at the change.<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; When this idea was originated (long back) I was in favour of having<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; regression triggered on a +1, however verified flag set by the developer<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; would still trigger the regression. Being a maintainer I would always<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; prefer to look at a patch when its verified  flag is +1 which means the<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt; regression result would also be available.<br>
&gt; &gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; Niels requested in IRC that it is good have a mechanism of getting all<br>
&gt; &gt;&gt;&gt; &gt;&gt; patches that have already passed all regressions before starting review.<br>
&gt; &gt;&gt;&gt; &gt;&gt; Here is what I found<br>
&gt; &gt;&gt;&gt; &gt;&gt; a. You can use the search string<br>
&gt; &gt;&gt;&gt; &gt;&gt; status:open label:Verified+1,user=build AND label:Verified+1,user=nb7build<br>
&gt; &gt;&gt;&gt; &gt;&gt; b. You can bookmark this link and it will take you directly to the page<br>
&gt; &gt;&gt;&gt; &gt;&gt; with list of such patches.<br>
&gt; &gt;&gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; &gt;&gt; <a href="http://review.gluster.org/#/q/status:open+label:Verified%252B1%252Cuser%253Dbuild+AND+label:Verified%252B1%252Cuser%253Dnb7build" rel="noreferrer" target="_blank">http://review.gluster.org/#/q/status:open+label:Verified%252B1%252Cuser%253Dbuild+AND+label:Verified%252B1%252Cuser%253Dnb7build</a><br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; Hmm, copy/pasting this URL does not work for me, I get an error:<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;     Code Review - Error<br>
&gt; &gt;&gt;&gt; &gt;     line 1:26 no viable alternative at character &#39;%&#39;<br>
&gt; &gt;&gt;&gt; &gt;     [Continue]<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; Kaushal, could you add the following labels to gerrit, so that we can<br>
&gt; &gt;&gt;&gt; &gt; update the Jenkins jobs and they can start setting their own labels?<br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; <a href="http://review.gluster.org/Documentation/config-labels.html#label_custom" rel="noreferrer" target="_blank">http://review.gluster.org/Documentation/config-labels.html#label_custom</a><br>
&gt; &gt;&gt;&gt; &gt;<br>
&gt; &gt;&gt;&gt; &gt; - Smoke: misc smoke testing, compile, bug check, posix, ..<br>
&gt; &gt;&gt;&gt; &gt; - NetBSD: NetBSD-7 regression<br>
&gt; &gt;&gt;&gt; &gt; - Linux: Linux regression on CentOS-6<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; I added these labels to the gluster projects&#39; project.config, but they<br>
&gt; &gt;&gt;&gt; don&#39;t seem to be showing up. I&#39;ll check once more when I get back<br>
&gt; &gt;&gt;&gt; home.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Might need a restart/reload of Gerrit? It seems required for the main<br>
&gt; &gt;&gt; gerrit.config file too:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;   <a href="http://review.gluster.org/Documentation/config-gerrit.html#_file_code_etc_gerrit_config_code" rel="noreferrer" target="_blank">http://review.gluster.org/Documentation/config-gerrit.html#_file_code_etc_gerrit_config_code</a><br>
&gt; &gt;<br>
&gt; &gt; I was using Chromium and did a restart. Both hadn&#39;t helped. I&#39;ll try again.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Niels<br>
</div></div></blockquote></div><br></div></div>