<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 <<< FAILURE! - in
org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase<br>
testDeploymentStreamApi(org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase)
Time elapsed: 0.473 sec <<< FAILURE!<br>
java.lang.AssertionError:
expected:<[29c4c47c1224a00169a8df02d84c3d6ff014b5fb,
b9227c99efad4b615df0ad5288b6690216ed7bad]> but
was:<[29c4c47c1224a00169a8df02d84c3d6ff014b5fb]><br>
at org.junit.Assert.fail(Assert.java:88)<br>
at org.junit.Assert.failNotEquals(Assert.java:743)<br>
at org.junit.Assert.assertEquals(Assert.java:118)<br>
at org.junit.Assert.assertEquals(Assert.java:144)<br>
at
org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase.testDeployments(ServerInModuleDeploymentTestCase.java:618)<br>
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´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...
<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"><<a moz-do-not-send="true"
href="mailto:qutpeter@gmail.com" target="_blank">qutpeter@gmail.com</a>></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> </div>
<div>I can partially repeat the failure on Windows 8.</div>
<div> </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> </div>
<div>cd testsuite\integration\smoke</div>
<div>mvn clean test
-Dtest=org.jboss.as.test.smoke.mgmt.servermodule.ServerInModuleDeploymentTestCase</div>
<div> </div>
<div>Interestingly, this testcase sometimes passes,
sometimes fails. When failed, with the following info:</div>
<div> </div>
<div>Failed tests:<br>
ServerInModuleDeploymentTestCase.testDeploymentStreamApi:93->testDeployments:614
expected:<[504917ff8990a5f90995d412117e39afbdaf6747]>
but was:<[]></div>
<div> </div>
<div> </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"><<a
moz-do-not-send="true"
href="mailto:qutpeter@gmail.com" target="_blank">qutpeter@gmail.com</a>></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ž Cerar <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:tomaz.cerar@gmail.com"
target="_blank">tomaz.cerar@gmail.com</a>></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"><<a
moz-do-not-send="true"
href="mailto:ewertz@redhat.com"
target="_blank">ewertz@redhat.com</a>></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:
: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: Fedora release
20 (Heisenbug)<br>
Release: 20<br>
Codename: Heisenbug<br>
<br>
Joe Wertz<br>
<div>
<div><br>
<br>
----- Original Message
-----<br>
> From: "Eduardo
Sant´Ana da Silva" <<a
moz-do-not-send="true"
href="mailto:eduardo.santanadasilva@gmail.com"
target="_blank">eduardo.santanadasilva@gmail.com</a>><br>
> To: "Peter Cai" <<a
moz-do-not-send="true"
href="mailto:qutpeter@gmail.com"
target="_blank">qutpeter@gmail.com</a>><br>
> Cc: <a
moz-do-not-send="true"
href="mailto:wildfly-dev@lists.jboss.org"
target="_blank">wildfly-dev@lists.jboss.org</a><br>
> Sent: Tuesday,
October 14, 2014 8:29:11
AM<br>
> Subject: Re:
[wildfly-dev] smoke
testing failure<br>
><br>
><br>
><br>
> I've made the build
successfully on the
following environment as<br>
> well:<br>
><br>
> OS X 10.9.5<br>
> java version
"1.8.0_05"<br>
> Java(TM) SE Runtime
Environment (build
1.8.0_05-b13)<br>
> Java HotSpot(TM)
64-Bit Server VM (build
25.5-b02, mixed mode)<br>
><br>
><br>
> 2014-10-13 20:19
GMT-03:00 Peter Cai < <a
moz-do-not-send="true"
href="mailto:qutpeter@gmail.com"
target="_blank">qutpeter@gmail.com</a>
> :<br>
><br>
> It should be some
environmental issue.<br>
> I can successfully
run the smoke test on
Windows 8,<br>
><br>
> And the JVM is:<br>
> java version
"1.7.0_51"<br>
> Java(TM) SE Runtime
Environment (build
1.7.0_51-b13)<br>
> Java HotSpot(TM)
64-Bit Server VM (build
24.51-b03, mixed mode)<br>
><br>
> Regards<br>
><br>
><br>
> On Mon, Oct 13, 2014
at 8:35 PM, Peter Cai <
<a moz-do-not-send="true"
href="mailto:qutpeter@gmail.com" target="_blank">qutpeter@gmail.com</a>
><br>
> wrote:<br>
><br>
><br>
> OS: Linux dev-01
3.13.0-27-generic
#50-Ubuntu SMP Thu May 15
18:06:16<br>
> UTC 2014 x86_64
x86_64 x86_64 GNU/Linux
(Ubuntu 14.04 desktop)<br>
><br>
> JVM:<br>
> java version
"1.7.0_51"<br>
> Java(TM) SE Runtime
Environment (build
1.7.0_51-b13)<br>
> Java HotSpot(TM)
64-Bit Server VM (build
24.51-b03, mixed mode)<br>
><br>
> My guess is
environmental issue as
well. But can't find
anything so<br>
> far.<br>
><br>
> Regards,<br>
><br>
> Peter<br>
><br>
><br>
> On Mon, Oct 13, 2014
at 8:29 PM, Tomaž Cerar
< <a
moz-do-not-send="true"
href="mailto:tomaz.cerar@gmail.com"
target="_blank">tomaz.cerar@gmail.com</a><br>
> > wrote:<br>
><br>
> os? jvm? arch?<br>
><br>
> looking at our
nightly jobs whole
testsuite passes on our CI
with<br>
> JDK7 & 8 on
windows and on linux.<br>
><br>
> I am guessing it must
be environmental issue.<br>
><br>
><br>
> On Mon, Oct 13, 2014
at 11:47 AM, Peter Cai
< <a
moz-do-not-send="true"
href="mailto:qutpeter@gmail.com"
target="_blank">qutpeter@gmail.com</a>
><br>
> wrote:<br>
><br>
> Hi,<br>
><br>
> It looks like that
the current HEAD of
Wildfly will failed when<br>
> running smoke testing
with the following
information:<br>
><br>
> Results :<br>
><br>
> Failed tests:<br>
>
ServerInModuleDeploymentTestCase.testDeploymentStreamApi:93->testDeployments:614<br>
>
expected:<[c767c5d5e516f6e04ec69f5a0f8ccdc0d63e6fa5,<br>
>
342ae7aec9bff370e3de8704ed9642a718986e61]>
but<br>
>
was:<[342ae7aec9bff370e3de8704ed9642a718986e61]><br>
><br>
> Any cues?<br>
><br>
> Regards,<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><br>
><br>
><br>
><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><br>
><br>
><br>
><br>
> --<br>
><br>
><br>
> ________________
__________<br>
><br>
><br>
> Eduardo Sant'Ana da
Silva - Dr.<br>
> Pesquisador /
Consultor de TI<br>
><br>
><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><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>