<div dir="ltr">+1 To tune, but my machine still runs everything in 30min while Travis takes more than an hour, so having a beefy machine would make a big difference.<div><br></div><div>BTW remembered the issue with the cache. The cache is downloaded from S3 which takes time, but then if anything changes in it, it&#39;s also uploaded again. Most of the time it is uploaded again due to the lastUpdated files changing as Maven rechecks the dependencies. This is caused by Maven checking dependencies (daily I think). It can be changed in settings.xml, but not through a CLI option AFAIK. This downloading/uploading takes almost as much time as downloading deps from Maven central.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 August 2016 at 18:19, Marek Posolda <span dir="ltr">&lt;<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>This looks better then my workaround of
      having long bash command to log &quot;something&quot; every 10 seconds. That
      worked fine as well, but didn&#39;t really look pretty <span><span> :-) </span></span><br>
      <br>
      BTV. instead of looking at another alternative for Travis, we can
      maybe spend the time to tune our testsuite? We have already JIRA
      for it <a href="https://issues.jboss.org/browse/KEYCLOAK-3123" target="_blank">https://issues.jboss.org/<wbr>browse/KEYCLOAK-3123</a> . <br>
      <br>
      The advantage is, that it will help with the speed of build on our
      laptops too, not just with the speed of CI. I&#39;ve personally ended
      to always run the build with &quot;-DskipTests=true&quot; on my laptop as it
      takes forever to build with tests.<span class="HOEnZb"><font color="#888888"><br>
      <br>
      Marek</font></span><div><div class="h5"><br>
      <br>
      On 17/08/16 08:46, Stian Thorgersen wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">I&#39;ve tweaked the stroppy toddler a bit (<a href="https://github.com/keycloak/keycloak/pull/3147" target="_blank"></a><a href="https://github.com/keycloak/keycloak/pull/3147" target="_blank">https://github.com/keycloak/<wbr>keycloak/pull/3147</a>).
        Ran that PR 5 times and it passed every time, so hopefully it&#39;ll
        make it a bit more stable. Still takes more than 1 hour to
        complete though.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 16 August 2016 at 16:06, Bruno
          Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There are
            some alternatives that we could try:<br>
            <br>
            * <a href="https://www.cloudbees.com/partners/platform/red-hat" rel="noreferrer" target="_blank">https://www.cloudbees.com/part<wbr>ners/platform/red-hat</a><br>
            * <a href="https://developers.openshift.com/managing-your-applications/continuous-integration.html" rel="noreferrer" target="_blank">https://developers.openshift.c<wbr>om/managing-your-applications/<wbr>continuous-integration.html</a><br>
            * Make use of a beefy machine :)<br>
            * Or host Jenkins in some paid cloud infrastructure<br>
            <br>
            If we don&#39;t have any volunteers, count me in.<br>
            <div>
              <div><br>
                On 2016-08-15, Stian Thorgersen wrote:<br>
                &gt; My opinion is that i HATE Travis! It&#39;s slow and has
                a tendency to act like<br>
                &gt; a stroppy toddler.<br>
                &gt;<br>
                &gt; Removing -q doesn&#39;t work because we then end up
                generating more log than<br>
                &gt; Travis allows which kills the build as well.<br>
                &gt;<br>
                &gt; We used to have the caching enabled, but it used to
                result in a lot of<br>
                &gt; issues. Can&#39;t quite remember the details though.
                Maybe we can try it again.<br>
                &gt;<br>
                &gt; There&#39;s also travis_wait option that could work (<br>
                &gt; <a href="https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received" rel="noreferrer" target="_blank">https://docs.travis-ci.com/use<wbr>r/common-build-problems/#Build<wbr>-times-out-because-no-output-<wbr>was-received</a><br>
                &gt; ).<br>
                &gt;<br>
                &gt; My preference would be to migrate away from Travis
                and use something more<br>
                &gt; beefy that can run tests quicker.<br>
                &gt;<br>
                &gt; I&#39;ll need to figure out someone to look into it
                though. Any volunteers?<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; On 28 July 2016 at 17:11, Pedro Igor Silva &lt;<a href="mailto:psilva@redhat.com" target="_blank"></a><a href="mailto:psilva@redhat.com" target="_blank">psilva@redhat.com</a>&gt;
                wrote:<br>
                &gt;<br>
                &gt; &gt; Let&#39;s see what Stian thinks about it :) For
                me, it is also an option.<br>
                &gt; &gt;<br>
                &gt; &gt; ----- Original Message -----<br>
                &gt; &gt; From: &quot;Bruno Oliveira&quot; &lt;<a href="mailto:bruno@abstractj.org" target="_blank"></a><a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;<br>
                &gt; &gt; To: &quot;Pedro Igor Silva&quot; &lt;<a href="mailto:psilva@redhat.com" target="_blank"></a><a href="mailto:psilva@redhat.com" target="_blank">psilva@redhat.com</a>&gt;<br>
                &gt; &gt; Cc: &quot;Bill Burke&quot; &lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;,
                &quot;keycloak-dev&quot; &lt;<br>
                &gt; &gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a>&gt;<br>
                &gt; &gt; Sent: Wednesday, July 27, 2016 10:45:35 PM<br>
                &gt; &gt; Subject: Re: [keycloak-dev] travis seems to be
                down<br>
                &gt; &gt;<br>
                &gt; &gt; Another alternative, but you might not enjoy
                it, is :)<br>
                &gt; &gt;<br>
                &gt; &gt; Before start building Keycloak, pre-download
                all the &#39;.m2&#39; dir with<br>
                &gt; &gt; the dependencies required. Second alternative,
                is to try some caching[1],<br>
                &gt; &gt; but it may<br>
                &gt; &gt; or may not work.<br>
                &gt; &gt;<br>
                &gt; &gt; [1] - <a href="https://docs.travis-ci.com/user/caching/" rel="noreferrer" target="_blank">https://docs.travis-ci.com/use<wbr>r/caching/</a><br>
                &gt; &gt;<br>
                &gt; &gt; On 2016-07-27, Pedro Igor Silva wrote:<br>
                &gt; &gt; &gt; As Bruno suggested, the problem is
                probably related with the build<br>
                &gt; &gt; taking too long. If you look at the first
                command being executed:<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt;     mvn install -Pdistribution
                -DskipTests=true -B -V -q<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; The -q option tells maven to run in quite
                mode and only show errors.<br>
                &gt; &gt; Even in my laptop, if I run the command above
                it takes a bit more time to<br>
                &gt; &gt; show any output (not too long, but more than
                usual). That may explain that<br>
                &gt; &gt; message from Travis.<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; Maybe we should remove -q and just log
                everything. That could make the<br>
                &gt; &gt; builds more stable.<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; I&#39;ve forced a new build to your <a href="https://github.com/keycloak/" rel="noreferrer" target="_blank"></a><a href="https://github.com/keycloak/" target="_blank">https://github.com/keycloak/</a><br>
                &gt; &gt; keycloak/pull/3079 (without changing anything
                to .travis.yml). Now it is<br>
                &gt; &gt; running.<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; ----- Original Message -----<br>
                &gt; &gt; &gt; From: &quot;Bill Burke&quot; &lt;<a href="mailto:bburke@redhat.com" target="_blank"></a><a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;<br>
                &gt; &gt; &gt; To: &quot;Pedro Igor Silva&quot; &lt;<a href="mailto:psilva@redhat.com" target="_blank"></a><a href="mailto:psilva@redhat.com" target="_blank">psilva@redhat.com</a>&gt;,
                &quot;Bruno Oliveira&quot; &lt;<br>
                &gt; &gt; <a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;<br>
                &gt; &gt; &gt; Cc: &quot;keycloak-dev&quot; &lt;<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank"></a><a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a>&gt;<br>
                &gt; &gt; &gt; Sent: Wednesday, July 27, 2016 8:53:16 PM<br>
                &gt; &gt; &gt; Subject: Re: [keycloak-dev] travis seems
                to be down<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; Wrong... :(  I still get this problem.<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; On 7/27/16 7:02 PM, Pedro Igor Silva
                wrote:<br>
                &gt; &gt; &gt; &gt; I think Travis decided to not mess
                with Bill :)<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; ----- Original Message -----<br>
                &gt; &gt; &gt; &gt; From: &quot;Bruno Oliveira&quot; &lt;<a href="mailto:bruno@abstractj.org" target="_blank"></a><a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;<br>
                &gt; &gt; &gt; &gt; To: &quot;Pedro Igor Silva&quot; &lt;<a href="mailto:psilva@redhat.com" target="_blank"></a><a href="mailto:psilva@redhat.com" target="_blank">psilva@redhat.com</a>&gt;<br>
                &gt; &gt; &gt; &gt; Cc: &quot;Bill Burke&quot; &lt;<a href="mailto:bburke@redhat.com" target="_blank"></a><a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;,
                &quot;keycloak-dev&quot; &lt;<br>
                &gt; &gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a>&gt;<br>
                &gt; &gt; &gt; &gt; Sent: Wednesday, July 27, 2016
                6:37:44 PM<br>
                &gt; &gt; &gt; &gt; Subject: Re: [keycloak-dev] travis
                seems to be down<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; Seems like the balance of the Force
                was established again.<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; On 2016-07-27, Pedro Igor Silva
                wrote:<br>
                &gt; &gt; &gt; &gt;&gt; Got that error, but now the
                build was successful.<br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; ----- Original Message -----<br>
                &gt; &gt; &gt; &gt;&gt; From: &quot;Bruno Oliveira&quot; &lt;<a href="mailto:bruno@abstractj.org" target="_blank"></a><a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;<br>
                &gt; &gt; &gt; &gt;&gt; To: &quot;Bill Burke&quot; &lt;<a href="mailto:bburke@redhat.com" target="_blank"></a><a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;<br>
                &gt; &gt; &gt; &gt;&gt; Cc: &quot;keycloak-dev&quot; &lt;<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank"></a><a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a>&gt;<br>
                &gt; &gt; &gt; &gt;&gt; Sent: Wednesday, July 27, 2016
                6:01:47 PM<br>
                &gt; &gt; &gt; &gt;&gt; Subject: Re: [keycloak-dev]
                travis seems to be down<br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; Seems like they are fully
                operational[1]. I believe that this is the<br>
                &gt; &gt; &gt; &gt;&gt; reason:<br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; &quot;No output has been received in
                the last 10 minutes, this potentially<br>
                &gt; &gt; indicates a stalled build or something wrong
                with the build itself.&quot;<br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; Based on my previous
                experiences, it happens when the build takes too<br>
                &gt; &gt; &gt; &gt;&gt; long. Not really sure if that&#39;s
                the root cause, but I can help<br>
                &gt; &gt; &gt; &gt;&gt; investigating it.<br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; [1] - <a href="https://www.traviscistatus.com/" rel="noreferrer" target="_blank">https://www.traviscistatus.com<wbr>/</a><br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; On 2016-07-27, Bill Burke wrote:<br>
                &gt; &gt; &gt; &gt;&gt;&gt; A lot of builds failing in
                initial setup<br>
                &gt; &gt; &gt; &gt;&gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt;&gt; Bill<br>
                &gt; &gt; &gt; &gt;&gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt;&gt;
                ______________________________<wbr>_________________<br>
                &gt; &gt; &gt; &gt;&gt;&gt; keycloak-dev mailing list<br>
                &gt; &gt; &gt; &gt;&gt;&gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                &gt; &gt; &gt; &gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/keycloak-dev</a><br>
                &gt; &gt; &gt; &gt;&gt; --<br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; abstractj<br>
                &gt; &gt; &gt; &gt;&gt; PGP: 0x84DC9914<br>
                &gt; &gt; &gt; &gt;&gt; ______________________________<wbr>_________________<br>
                &gt; &gt; &gt; &gt;&gt; keycloak-dev mailing list<br>
                &gt; &gt; &gt; &gt;&gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                &gt; &gt; &gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/keycloak-dev</a><br>
                &gt; &gt; &gt; &gt; --<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; abstractj<br>
                &gt; &gt; &gt; &gt; PGP: 0x84DC9914<br>
                &gt; &gt; &gt;<br>
                &gt; &gt;<br>
                &gt; &gt; --<br>
                &gt; &gt;<br>
                &gt; &gt; abstractj<br>
                &gt; &gt; PGP: 0x84DC9914<br>
                &gt; &gt; ______________________________<wbr>_________________<br>
                &gt; &gt; keycloak-dev mailing list<br>
                &gt; &gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/keycloak-dev</a><br>
                &gt; &gt;<br>
                <br>
              </div>
            </div>
            --<br>
            <br>
            abstractj<br>
            PGP: 0x84DC9914<br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
keycloak-dev mailing list
<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-dev</a></pre>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>