<p dir="ltr"><br>
On 30 May 2015 20:38, &quot;Niels de Vos&quot; &lt;<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Sat, May 30, 2015 at 01:19:02PM +0200, Niels de Vos wrote:<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; many of the Jenkins regression-tests have finished before all the smoke<br>
&gt; &gt; jobs were done (we have fewer NetBSD slaves and the smoke tests were<br>
&gt; &gt; waiting long in the queue). This caused the Verified +1 from the<br>
&gt; &gt; regression-tests to be overwritten with Verified=0 once the smoke<br>
&gt; &gt; results were available.<br>
&gt; &gt;<br>
&gt; &gt; The configuration change I have made in the several Jenkins jobs that<br>
&gt; &gt; are doing smoke testing, is like this:<br>
&gt; &gt;<br>
&gt; &gt;   - open a Jenkins job configuration<br>
&gt; &gt;   - scroll down to &quot;Gerrit trigger&quot;<br>
&gt; &gt;   - click the [Advanced...] button<br>
&gt; &gt;   - scroll down to &quot;Gerrit Reporting Values&quot;<br>
&gt; &gt;   - enable &quot;Skip Vote&quot; for &quot;Successful&quot;<br>
&gt; &gt;   - click the [Save] button on the bottom of the page<br>
&gt; &gt;<br>
&gt; &gt; This means that any successful result (Verified=0) will not get passed<br>
&gt; &gt; on to Gerrit. If the regression test finished before, it will not be<br>
&gt; &gt; overwritten anymore. This not-overwriting will be marked in a comment in<br>
&gt; &gt; Gerrit with &quot;SUCCESS (skipped)&quot; next to the job. If a smoke test fails,<br>
&gt; &gt; the failure will be reported and Verified=-1 gets set.<br>
&gt; &gt;<br>
&gt; &gt; Well, that is the/my theory at least. Let me know if you notice any<br>
&gt; &gt; issues.<br>
&gt;<br>
&gt; Unfortunately, this does not seem to work :-/ When all smoke tests<br>
&gt; succeed and get marked as &quot;skipped&quot;, the voting is still setting<br>
&gt; Verified=0 and with that overwriting a possible Verified=+/-1 from the<br>
&gt; regressions tests.<br>
&gt;<br>
&gt; So, the other solutions would be:<br>
&gt;<br>
&gt; a. chaining of Jenkins jobs (1. smoked -&gt; 2. regressions)<br>
&gt; b. post results of the smoke test as different users<br>
&gt;<br>
&gt; The problem with &quot;b&quot; is that there is no requirement to wait for all<br>
&gt; responses from Jenkins. Once there is one Verified=+1, patches can get<br>
&gt; merged. Maintainers are supposed to check the passing of all required<br>
&gt; regression tests, but they do get missed on occasion.<br>
Makes sense to me, if we can achieve &#39;a&#39; then definitely its a better option over &#39;b&#39;.<br>
&gt;<br>
&gt; Ideas and suggestions welcome.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Niels<br>
&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
</p>