<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 12, 2014 at 11:21 AM, Kaleb S. KEITHLEY <span dir="ltr">&lt;<a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@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"><br>
Then maybe we should run regression tests on check-in. I&#39;m getting tired of queuing up regression tests. (And I know I&#39;m not the only one doing it.)<br>
<br>
Or run them after they pass the smoke test,<br>
<br>
Or....</blockquote><div><br></div><div>If we can make regression test trigger automatically, conditional on smoke-test passing, that would be great. Last time I checked I couldn&#39;t figure how to (did not look very deep) and left it manual trigger.</div>
<div><br></div><div>Avati</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
<br>
On 05/12/2014 02:17 PM, Anand Avati wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
It is much better to code review after regression tests pass (premise<br>
being human eye time is more precious than build server run time)<br>
<br>
<br>
On Mon, May 12, 2014 at 10:53 AM, Kaleb S. KEITHLEY &lt;<a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@redhat.com</a><br></div><div class="">
&lt;mailto:<a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@redhat.com</a>&gt;&gt; wrote:<br>
<br>
    &lt;top-post&gt;<br>
    How about also an auto run of regression at +1 or +2 code review?<br>
    &lt;/top-post&gt;<br>
<br>
<br>
    On 05/12/2014 01:49 PM, Raghavendra G wrote:<br>
<br>
        +1 to create RPMs when there is atleast a +1 on code review.<br>
<br>
<br>
        On Mon, May 5, 2014 at 8:06 PM, Niels de Vos &lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a><br>
        &lt;mailto:<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;<br></div><div><div class="h5">
        &lt;mailto:<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a> &lt;mailto:<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;&gt;&gt; wrote:<br>
<br>
             On Mon, May 05, 2014 at 07:13:14PM +0530, Lalatendu Mohanty<br>
        wrote:<br>
              &gt; On 05/02/2014 04:07 PM, Niels de Vos wrote:<br>
              &gt; &gt;Hi all,<br>
              &gt; &gt;<br>
              &gt; &gt;at the moment we have some duplicate RPM-building tests<br>
        running:<br>
              &gt; &gt;<br>
              &gt; &gt;1. upon patch submission, next to smoke (compile+posix)<br>
        tests<br>
              &gt; &gt;2. rpm.t in the regression tests framework<br>
              &gt; &gt;<br>
              &gt; &gt;Both have their own advantages, and both cover a little<br>
        different<br>
              &gt; &gt;use-case.<br>
              &gt; &gt;<br>
              &gt; &gt;Notes and observations for 1:<br>
              &gt; &gt;<br>
              &gt; &gt;   The advantage of (1) is that the built rpm-packages<br>
        are made<br>
             available<br>
              &gt; &gt;   for downloading, and users can test the change easier.<br>
              &gt; &gt;<br>
              &gt; &gt;   It is unclear to me how often this is used, many<br>
        patches need<br>
             several<br>
              &gt; &gt;   revisions before they get accepted, each new<br>
        revision gets new<br>
              &gt; &gt;   packages build (takes time for each patch<br>
        submission). I do<br>
             not know<br>
              &gt; &gt;   how long these packages are kept, or when they are<br>
        deleted.<br>
              &gt; &gt;<br>
              &gt; &gt;   Building is done for EPEL-6 and Fedora (exact<br>
        version unclear<br>
             to me).<br>
              &gt; &gt;<br>
              &gt; &gt;<br>
              &gt; &gt;Notes and observations for 2:<br>
              &gt; &gt;<br>
              &gt; &gt;   Building is only done when there are changes related<br>
        to the<br>
             packaging.<br>
              &gt; &gt;   When there are only changes in source code or<br>
        documentation,<br>
             there is<br>
              &gt; &gt;   no need to try and build the rpms (saves ca. 5 minutes).<br>
              &gt; &gt;<br>
              &gt; &gt;   The packages are build for EPEL-5 and EPEL-6 only.<br>
        The resulting<br>
              &gt; &gt;   packages are deleted automatically and can not be<br>
        downloaded.<br>
              &gt; &gt;<br>
              &gt; &gt;   When writing rpm.t, we decided that building for<br>
        Fedora was a<br>
             little<br>
              &gt; &gt;   dangerous, there are the occasional incompatible changes<br>
             introduced.<br>
              &gt; &gt;   We also don&#39;t want to bother every developer too<br>
        much with the<br>
              &gt; &gt;   packaging.<br>
              &gt; &gt;<br>
              &gt; &gt;<br>
              &gt; &gt;Suggestion for improving the current duplicate package<br>
        building:<br>
              &gt; &gt;<br>
              &gt; &gt;   Building packages takes a lot of resources. It does<br>
        not seem<br>
             efficient<br>
              &gt; &gt;   to me to build packages for two EPEL-6 and Fedora<br>
        for each patch<br>
              &gt; &gt;   submission. This takes additional time for a check<br>
        (smoke.sh)<br>
             that is<br>
              &gt; &gt;   tried to keep quick. I also doubt that many of the<br>
        generated<br>
             packages<br>
              &gt; &gt;   are actually used by anyone. Most developers<br>
        (hopefully) test<br>
             their<br>
              &gt; &gt;   changes before submitting the patch(es) to Gerrit.<br>
              &gt; &gt;<br>
              &gt; &gt;   There is a definite need to verify that the<br>
        packaging still<br>
             works, it<br>
              &gt; &gt;   helps to catch packaging errors as early as<br>
        possible. Testing<br>
             each<br>
              &gt; &gt;   patch submission might be overkill. Creating<br>
        packages as part<br>
             of the<br>
              &gt; &gt;   regression tests (and make them available) might be<br>
        too late,<br>
              &gt; &gt;   regression testing tends to take quite long.<br>
              &gt; &gt;<br>
              &gt; &gt;   From my understanding, the only users that are<br>
        interested in<br>
             these<br>
              &gt; &gt;   very early packages, are the QA folks. We definitely<br>
        want<br>
             them to test<br>
              &gt; &gt;   whatever the developers change, so we should<br>
        accommodate them<br>
             as much<br>
              &gt; &gt;   as possible.<br>
              &gt; &gt;<br>
              &gt; &gt;   After some discussion, Pranith tossed the idea about<br>
        building<br>
             packages<br>
              &gt; &gt;   when at lease some review of the change has been done. I<br>
             think this is<br>
              &gt; &gt;   a great idea! So, I&#39;d like to propose building<br>
        packages when<br>
             at least<br>
              &gt; &gt;   one +1 has been given on a change. Alternatively, it<br>
        should be<br>
              &gt; &gt;   possible for the QA people to submit a Jenkins job that<br>
             builds the<br>
              &gt; &gt;   packages earlier already. This can then replace both<br>
        current<br>
             building<br>
              &gt; &gt;   jobs.<br>
              &gt; &gt;<br>
              &gt; &gt;<br>
              &gt; &gt;Ideas and further discussions are very much welcome,<br>
        thanks,<br>
              &gt; &gt;Niels<br>
              &gt; &gt;<br>
              &gt; &gt;Related: <a href="http://review.gluster.org/7610" target="_blank">http://review.gluster.org/7610</a><br>
              &gt;<br>
              &gt; I am not sure if we have a Jenkins job to create RPM for a<br>
              &gt; particular change-id. if not, we should have one. Should<br>
        we also<br>
              &gt; plan for &quot;deb&quot; (Debian packages)  too? As we have quite<br>
        a few users<br>
              &gt; using Debian/Ubuntu distribution.<br>
<br>
             Yes, .deb would be a next step, probably followed by NetBSD<br>
        and OSX.<br>
<br>
             Any objections if the current devrpms jobs (upon patch<br>
        submission) will<br>
             be removed, and inserted at a +1 Code-Review or +1<br>
        Verified? Any<br>
             volunteers that know Jenkins and its Gerrit integration<br>
        well enough to<br>
             make this happen?<br>
<br>
             I have no idea how to create Jenkins jobs that can create<br>
        RPMs, probably<br>
             Luis can help with that.<br>
<br>
             Thanks,<br>
             Niels<br></div></div>
             ______________________________<u></u>___________________<div class=""><br>
             Gluster-devel mailing list<br>
        <a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.<u></u>org</a>&gt;<br></div>
        &lt;mailto:<a href="mailto:Gluster-devel@gluster." target="_blank">Gluster-devel@gluster.</a><u></u>__org<br>
        &lt;mailto:<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.<u></u>org</a>&gt;&gt;<br>
<br>
        <a href="http://supercolony.gluster." target="_blank">http://supercolony.gluster.</a>__<u></u>org/mailman/listinfo/gluster-_<u></u>_devel &lt;<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.<u></u>org/mailman/listinfo/gluster-<u></u>devel</a>&gt;<br>

<br>
<br>
<br>
<br>
        --<br>
        Raghavendra G<br>
<br>
<br>
        ______________________________<u></u>___________________<div class=""><br>
        Gluster-devel mailing list<br>
        <a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.<u></u>org</a>&gt;<br></div>
        <a href="http://supercolony.gluster." target="_blank">http://supercolony.gluster.</a>__<u></u>org/mailman/listinfo/gluster-_<u></u>_devel &lt;<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.<u></u>org/mailman/listinfo/gluster-<u></u>devel</a>&gt;<br>

<br>
<br>
    --<br>
<br>
    Kaleb<br>
<br>
    ______________________________<u></u>___________________<div class=""><br>
    Gluster-devel mailing list<br>
    <a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.<u></u>org</a>&gt;<br></div>
    <a href="http://supercolony.gluster." target="_blank">http://supercolony.gluster.</a>__<u></u>org/mailman/listinfo/gluster-_<u></u>_devel<br>
    &lt;<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.<u></u>org/mailman/listinfo/gluster-<u></u>devel</a>&gt;<br>
<br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
<br>
Kaleb<br>
</font></span></blockquote></div><br></div></div>