<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Saw the same issue locally and from
      what I see in that testcase, it doesn't appear to be a JVM
      vendor/version issue. This actually is a race condition in the
      test method execution and removal of content from content
      repository. <br>
      <br>
      That ServerInModuleDeploymentTestCase testcase has multiple test
      methods which deal with deploying and undeploying. From what I am
      observing it looks like one of the test methods first runs (I
      guess the testDeploymentFileApi) and does its deploy/undeploy
      sequence and then the testDeploymentStreamApi runs which first
      does a file listing of the content directory and turns out the
      undeploy operation from the previous test method hasn't yet
      removed the content from the content repository yet. So this test
      picks up those (to be deleted) hashes as initial hashes in the
      content repo. While this test method is running, a background
      thread cleans up previously undeployed the hashes from the content
      repository. As a result a subsequent file listing of the content
      directory from this current test method doesn't find those
      expected initial hashes.<br>
      <br>
      I'm not sure what the expected behaviour of a undeploy operation
      is - whether the undeploy should complete only after the content
      has been removed (probably not) from the content repository or
      whether it can return before that (as it seems to be happening
      now).<br>
      <br>
      FWIW, here's my environment details:<br>
      <br>
      java version "1.7.0_15"<br>
      Java(TM) SE Runtime Environment (build 1.7.0_15-b03)<br>
      Java HotSpot(TM) Server VM (build 23.7-b01, mixed mode)<br>
      <br>
      Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
      10.618 sec &lt;&lt;&lt; FAILURE! - in
org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase<br>
      testDeploymentStreamApi(org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase)&nbsp;

      Time elapsed: 0.473 sec&nbsp; &lt;&lt;&lt; FAILURE!<br>
      java.lang.AssertionError:
      expected:&lt;[29c4c47c1224a00169a8df02d84c3d6ff014b5fb,
      b9227c99efad4b615df0ad5288b6690216ed7bad]&gt; but
      was:&lt;[29c4c47c1224a00169a8df02d84c3d6ff014b5fb]&gt;<br>
      &nbsp;&nbsp;&nbsp; at org.junit.Assert.fail(Assert.java:88)<br>
      &nbsp;&nbsp;&nbsp; at org.junit.Assert.failNotEquals(Assert.java:743)<br>
      &nbsp;&nbsp;&nbsp; at org.junit.Assert.assertEquals(Assert.java:118)<br>
      &nbsp;&nbsp;&nbsp; at org.junit.Assert.assertEquals(Assert.java:144)<br>
      &nbsp;&nbsp;&nbsp; at
org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase.testDeployments(ServerInModuleDeploymentTestCase.java:618)<br>
      &nbsp;&nbsp;&nbsp; at
org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase.testDeploymentStreamApi(ServerInModuleDeploymentTestCase.java:96)<br>
      <br>
      <br>
      -Jaikiran<br>
      On Wednesday 15 October 2014 06:28 PM, Eduardo Sant&acute;Ana da Silva
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFVp3Z6TcmjNuFd1-U6Ej1wpZ6uCoJo65nrJn0coS3yrFogVdQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Could be some change regarding some message digest
        used on ShrinkWrap API based upon a different JVM version?
        <div><br>
          Just a guess... &nbsp;
          <div><br>
          </div>
          <div>---</div>
          <div>Eduardo Sant'Ana da Silva</div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2014-10-15 1:40 GMT-03:00 Peter Cai <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:qutpeter@gmail.com" target="_blank">qutpeter@gmail.com</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>Well, I have no luck on tracking down what is
                happening in this test case.</div>
              <div>But things is becoming more interesting.</div>
              <div>&nbsp;</div>
              <div>I can partially repeat the failure on Windows 8.</div>
              <div>&nbsp;</div>
              <div>Now, on both Ubuntu 14.04 and Windows 8, using JVM
                1.7.0_51,</div>
              <div>run the test from the smoke testing module. i.e.,</div>
              <div>&nbsp;</div>
              <div>cd testsuite\integration\smoke</div>
              <div>mvn clean test
-Dtest=org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase</div>
              <div>&nbsp;</div>
              <div>Interestingly, this testcase sometimes passes,
                sometimes fails.&nbsp; When failed, with the following info:</div>
              <div>&nbsp;</div>
              <div>Failed tests:<br>
                &nbsp;
                ServerInModuleDeploymentTestCase.testDeploymentStreamApi:93-&gt;testDeployments:614
                expected:&lt;[504917ff8990a5f90995d412117e39afbdaf6747]&gt;
                but was:&lt;[]&gt;</div>
              <div>&nbsp;</div>
              <div>&nbsp;</div>
              <div>Regards,</div>
              <div>Peter</div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Tue, Oct 14, 2014 at 10:33
                    PM, Peter Cai <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:qutpeter@gmail.com" target="_blank">qutpeter@gmail.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 dir="ltr">
                        <div>
                          <div>
                            <div>
                              <div>On my side, I use "mvn -fae
                                -Dmaven.test.failure.ignore=true clean
                                install", this test mentioned above is
                                the only test that failed.<br>
                              </div>
                              <br>
                            </div>
                            I am trying to track it down.<br>
                            <br>
                          </div>
                          Regards,<br>
                        </div>
                        Peter<br>
                      </div>
                      <div>
                        <div>
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote">On Tue, Oct 14,
                              2014 at 7:23 PM, Toma&#382; Cerar <span
                                dir="ltr">&lt;<a moz-do-not-send="true"
                                  href="mailto:tomaz.cerar@gmail.com"
                                  target="_blank">tomaz.cerar@gmail.com</a>&gt;</span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
                                <div dir="ltr">
                                  <div>
                                    <div>Guys, is problem only this test
                                      or also something else?<br>
                                      <br>
                                      it is possible that this tests has
                                      problems that makes it fail on
                                      certain scenarios.<br>
                                      <br>
                                    </div>
                                    Any chance anyone of you that can
                                    reproduce it, can try to track it
                                    down what the issue is?<br>
                                    <br>
                                  </div>
                                  if you add "-fae
                                  -Dmaven.test.failure.ignore=true " as
                                  param to build, it will continue
                                  building/testing after test
                                  failure(s), <br>
                                  so you can see what all tests fail for
                                  you or only this one.<br>
                                </div>
                                <div>
                                  <div>
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote">On Tue,
                                        Oct 14, 2014 at 7:19 AM, Edward
                                        Wertz <span dir="ltr">&lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:ewertz@redhat.com"
                                            target="_blank">ewertz@redhat.com</a>&gt;</span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">I've
                                          gotten that error for a while,
                                          so you're not alone, but
                                          haven't been able to track it
                                          down either, so I'm not much
                                          help fixing it. Java/Maven
                                          versions don't effect it and I
                                          can build fine on my Windows 7
                                          machine. It's a mystery to me
                                          what's causing it.<br>
                                          <br>
                                          Linux localhost.localdomain
                                          3.16.2-201.fc20.x86_64 #1 SMP
                                          Mon Sep 15 19:57:50 UTC 2014
                                          x86_64 x86_64 x86_64 GNU/Linux<br>
                                          LSB Version:&nbsp; &nbsp;
:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch<br>
                                          Distributor ID: Fedora<br>
                                          Description:&nbsp; &nbsp; Fedora release
                                          20 (Heisenbug)<br>
                                          Release:&nbsp; &nbsp; &nbsp; &nbsp; 20<br>
                                          Codename:&nbsp; &nbsp; &nbsp; &nbsp;Heisenbug<br>
                                          <br>
                                          Joe Wertz<br>
                                          <div>
                                            <div><br>
                                              <br>
                                              ----- Original Message
                                              -----<br>
                                              &gt; From: "Eduardo
                                              Sant&acute;Ana da Silva" &lt;<a
                                                moz-do-not-send="true"
                                                href="mailto:eduardo.santanadasilva@gmail.com"
                                                target="_blank">eduardo.santanadasilva@gmail.com</a>&gt;<br>
                                              &gt; To: "Peter Cai" &lt;<a
                                                moz-do-not-send="true"
                                                href="mailto:qutpeter@gmail.com"
                                                target="_blank">qutpeter@gmail.com</a>&gt;<br>
                                              &gt; Cc: <a
                                                moz-do-not-send="true"
                                                href="mailto:wildfly-dev@lists.jboss.org"
                                                target="_blank">wildfly-dev@lists.jboss.org</a><br>
                                              &gt; Sent: Tuesday,
                                              October 14, 2014 8:29:11
                                              AM<br>
                                              &gt; Subject: Re:
                                              [wildfly-dev] smoke
                                              testing failure<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; I've made the build
                                              successfully on the
                                              following environment as<br>
                                              &gt; well:<br>
                                              &gt;<br>
                                              &gt; OS X 10.9.5<br>
                                              &gt; java version
                                              "1.8.0_05"<br>
                                              &gt; Java(TM) SE Runtime
                                              Environment (build
                                              1.8.0_05-b13)<br>
                                              &gt; Java HotSpot(TM)
                                              64-Bit Server VM (build
                                              25.5-b02, mixed mode)<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; 2014-10-13 20:19
                                              GMT-03:00 Peter Cai &lt; <a
                                                moz-do-not-send="true"
                                                href="mailto:qutpeter@gmail.com"
                                                target="_blank">qutpeter@gmail.com</a>
                                              &gt; :<br>
                                              &gt;<br>
                                              &gt; It should be some
                                              environmental issue.<br>
                                              &gt; I can successfully
                                              run the smoke test on
                                              Windows 8,<br>
                                              &gt;<br>
                                              &gt; And the JVM is:<br>
                                              &gt; java version
                                              "1.7.0_51"<br>
                                              &gt; Java(TM) SE Runtime
                                              Environment (build
                                              1.7.0_51-b13)<br>
                                              &gt; Java HotSpot(TM)
                                              64-Bit Server VM (build
                                              24.51-b03, mixed mode)<br>
                                              &gt;<br>
                                              &gt; Regards<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; On Mon, Oct 13, 2014
                                              at 8:35 PM, Peter Cai &lt;
                                              <a moz-do-not-send="true"
href="mailto:qutpeter@gmail.com" target="_blank">qutpeter@gmail.com</a>
                                              &gt;<br>
                                              &gt; wrote:<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; OS: Linux dev-01
                                              3.13.0-27-generic
                                              #50-Ubuntu SMP Thu May 15
                                              18:06:16<br>
                                              &gt; UTC 2014 x86_64
                                              x86_64 x86_64 GNU/Linux
                                              (Ubuntu 14.04 desktop)<br>
                                              &gt;<br>
                                              &gt; JVM:<br>
                                              &gt; java version
                                              "1.7.0_51"<br>
                                              &gt; Java(TM) SE Runtime
                                              Environment (build
                                              1.7.0_51-b13)<br>
                                              &gt; Java HotSpot(TM)
                                              64-Bit Server VM (build
                                              24.51-b03, mixed mode)<br>
                                              &gt;<br>
                                              &gt; My guess is
                                              environmental issue as
                                              well. But can't find
                                              anything so<br>
                                              &gt; far.<br>
                                              &gt;<br>
                                              &gt; Regards,<br>
                                              &gt;<br>
                                              &gt; Peter<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; On Mon, Oct 13, 2014
                                              at 8:29 PM, Toma&#382; Cerar
                                              &lt; <a
                                                moz-do-not-send="true"
                                                href="mailto:tomaz.cerar@gmail.com"
                                                target="_blank">tomaz.cerar@gmail.com</a><br>
                                              &gt; &gt; wrote:<br>
                                              &gt;<br>
                                              &gt; os? jvm? arch?<br>
                                              &gt;<br>
                                              &gt; looking at our
                                              nightly jobs whole
                                              testsuite passes on our CI
                                              with<br>
                                              &gt; JDK7 &amp; 8 on
                                              windows and on linux.<br>
                                              &gt;<br>
                                              &gt; I am guessing it must
                                              be environmental issue.<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; On Mon, Oct 13, 2014
                                              at 11:47 AM, Peter Cai
                                              &lt; <a
                                                moz-do-not-send="true"
                                                href="mailto:qutpeter@gmail.com"
                                                target="_blank">qutpeter@gmail.com</a>
                                              &gt;<br>
                                              &gt; wrote:<br>
                                              &gt;<br>
                                              &gt; Hi,<br>
                                              &gt;<br>
                                              &gt; It looks like that
                                              the current HEAD of
                                              Wildfly will failed when<br>
                                              &gt; running smoke testing
                                              with the following
                                              information:<br>
                                              &gt;<br>
                                              &gt; Results :<br>
                                              &gt;<br>
                                              &gt; Failed tests:<br>
                                              &gt;
ServerInModuleDeploymentTestCase.testDeploymentStreamApi:93-&gt;testDeployments:614<br>
                                              &gt;
                                              expected:&lt;[c767c5d5e516f6e04ec69f5a0f8ccdc0d63e6fa5,<br>
                                              &gt;
                                              342ae7aec9bff370e3de8704ed9642a718986e61]&gt;
                                              but<br>
                                              &gt;
                                              was:&lt;[342ae7aec9bff370e3de8704ed9642a718986e61]&gt;<br>
                                              &gt;<br>
                                              &gt; Any cues?<br>
                                              &gt;<br>
                                              &gt; Regards,<br>
                                              &gt;<br>
                                              &gt;
                                              _______________________________________________<br>
                                              &gt; wildfly-dev mailing
                                              list<br>
                                              &gt; <a
                                                moz-do-not-send="true"
                                                href="mailto:wildfly-dev@lists.jboss.org"
                                                target="_blank">wildfly-dev@lists.jboss.org</a><br>
                                              &gt; <a
                                                moz-do-not-send="true"
                                                href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
                                                target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt;
                                              _______________________________________________<br>
                                              &gt; wildfly-dev mailing
                                              list<br>
                                              &gt; <a
                                                moz-do-not-send="true"
                                                href="mailto:wildfly-dev@lists.jboss.org"
                                                target="_blank">wildfly-dev@lists.jboss.org</a><br>
                                              &gt; <a
                                                moz-do-not-send="true"
                                                href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
                                                target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; --<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; ________________
                                              __________<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt; Eduardo Sant'Ana da
                                              Silva - Dr.<br>
                                              &gt; Pesquisador /
                                              Consultor de TI<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt;<br>
                                              &gt;
                                              _______________________________________________<br>
                                              &gt; wildfly-dev mailing
                                              list<br>
                                              &gt; <a
                                                moz-do-not-send="true"
                                                href="mailto:wildfly-dev@lists.jboss.org"
                                                target="_blank">wildfly-dev@lists.jboss.org</a><br>
                                              &gt; <a
                                                moz-do-not-send="true"
                                                href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
                                                target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
                                              <br>
_______________________________________________<br>
                                              wildfly-dev mailing list<br>
                                              <a moz-do-not-send="true"
href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
                                              <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
                                                target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></div>
                                          </div>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            wildfly-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
              target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr">
          <div><span style="font-family:Arial;font-size:small">________________</span><span
              style="font-family:Arial;font-size:small">__________</span><br>
          </div>
          <div>
            <div style="font-family:Arial;font-size:small" align="left">Eduardo
              Sant'Ana da Silva - Dr.</div>
            <div style="font-family:Arial;font-size:small"><font
                face="Arial">Pesquisador / Consultor de TI<br>
              </font></div>
            <div style="font-family:Arial;font-size:small"><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
wildfly-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>