[Engine-devel] build stuck on RunVmCommandTest

This is a multi-part message in MIME format. --------------050101090103000106050901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest Running org.ovirt.engine.core.bll.MoveDisksCommandTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec *Running org.ovirt.engine.core.bll.RunVmCommandTest** **Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec** *Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.ovirt.engine.core.bll.RemoveImageCommandTest The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated. Regards, Shireesh --------------050101090103000106050901 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi,<br> <br> From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest<br> <br> Running org.ovirt.engine.core.bll.MoveDisksCommandTest<br> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec<br> <b>Running org.ovirt.engine.core.bll.RunVmCommandTest</b><b><br> </b><b>Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec</b><b><br> </b>Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest<br> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec<br> Running org.ovirt.engine.core.bll.RemoveImageCommandTest<br> <br> The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.<br> <br> Regards,<br> Shireesh<br> </body> </html> --------------050101090103000106050901--

------=_Part_1980765_1661131667.1365581369906 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Real oddness. out of interest, can you run "java -version" and report the version here? ----- Original Message -----
From: "Shireesh Anjal" <sanjal@redhat.com> To: engine-devel@ovirt.org Sent: Wednesday, April 10, 2013 9:40:19 AM Subject: [Engine-devel] build stuck on RunVmCommandTest
Hi,
From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest
Running org.ovirt.engine.core.bll.MoveDisksCommandTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Running org.ovirt.engine.core.bll.RunVmCommandTest Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.ovirt.engine.core.bll.RemoveImageCommandTest
The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.
Regards, Shireesh
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
------=_Part_1980765_1661131667.1365581369906 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Real oddness.<br></div><div>out of interest, can you run<br></div><div>"java -version"<br></div><div><br></div><div>and report the version here?<br></div><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Shireesh Anjal" <sanjal@redhat.com><br><b>To: </b>engine-devel@ovirt.org<br><b>Sent: </b>Wednesday, April 10, 2013 9:40:19 AM<br><b>Subject: </b>[Engine-devel] build stuck on RunVmCommandTest<br><div><br></div> Hi,<br> <br> From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest<br> <br> Running org.ovirt.engine.core.bll.MoveDisksCommandTest<br> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec<br> <b>Running org.ovirt.engine.core.bll.RunVmCommandTest</b><b><br> </b><b>Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec</b><b><br> </b>Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest<br> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec<br> Running org.ovirt.engine.core.bll.RemoveImageCommandTest<br> <br> The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.<br> <br> Regards,<br> Shireesh<br> <br>_______________________________________________<br>Engine-devel mailing list<br>Engine-devel@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/engine-devel<br></blockquote><div><br></div></div></body></html> ------=_Part_1980765_1661131667.1365581369906--

This is a multi-part message in MIME format. --------------020208060903030706070708 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/10/2013 01:39 PM, Allon Mureinik wrote:
Real oddness. out of interest, can you run "java -version"
and report the version here?
shireesh@localhost ovirt-engine]$ java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 9:40:19 AM *Subject: *[Engine-devel] build stuck on RunVmCommandTest
Hi,
From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest
Running org.ovirt.engine.core.bll.MoveDisksCommandTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec *Running org.ovirt.engine.core.bll.RunVmCommandTest** **Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec** *Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.ovirt.engine.core.bll.RemoveImageCommandTest
The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.
Regards, Shireesh
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
--------------020208060903030706070708 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <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">On 04/10/2013 01:39 PM, Allon Mureinik wrote:<br> </div> <blockquote cite="mid:1352516269.1980766.1365581369908.JavaMail.root@redhat.com" type="cite"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <div>Real oddness.<br> </div> <div>out of interest, can you run<br> </div> <div>"java -version"<br> </div> <div><br> </div> <div>and report the version here?<br> </div> </div> </blockquote> <br> shireesh@localhost ovirt-engine]$ java -version<br> java version "1.7.0_09-icedtea"<br> OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64)<br> OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)<br> <br> <blockquote cite="mid:1352516269.1980766.1365581369908.JavaMail.root@redhat.com" type="cite"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <div><br> </div> <div><br> </div> <hr id="zwchr"> <blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Shireesh Anjal" <a class="moz-txt-link-rfc2396E" href="mailto:sanjal@redhat.com"><sanjal@redhat.com></a><br> <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a><br> <b>Sent: </b>Wednesday, April 10, 2013 9:40:19 AM<br> <b>Subject: </b>[Engine-devel] build stuck on RunVmCommandTest<br> <div><br> </div> Hi,<br> <br> From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest<br> <br> Running org.ovirt.engine.core.bll.MoveDisksCommandTest<br> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec<br> <b>Running org.ovirt.engine.core.bll.RunVmCommandTest</b><b><br> </b><b>Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec</b><b><br> </b>Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest<br> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec<br> Running org.ovirt.engine.core.bll.RemoveImageCommandTest<br> <br> The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.<br> <br> Regards,<br> Shireesh<br> <br> _______________________________________________<br> Engine-devel mailing list<br> <a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br> </blockquote> <div><br> </div> </div> </blockquote> <br> </body> </html> --------------020208060903030706070708--

------=_Part_1993237_337488124.1365582660650 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Einav had a similar issue yesterday with RemoveDiskTest (IIRC), which at first pointed me to the direction of Java 7, but this is unrelated. The root of all these problems is commit fd6835059f110f4e14d67c9d2d31aa786a822f4b (core: Locate data source in a loop) - now, whenever we have unmocked DAO calls (like in RunVmCommand), instead of failing them fast and silently, we'll get stuck in a loop. We need to see if we can offer a quick workaround, or perhaps revert this patch until we can offer such a solution. Juan, your input would be appreciates here. Thanks, Allon ----- Original Message -----
From: "Shireesh Anjal" <sanjal@redhat.com> To: "Allon Mureinik" <amureini@redhat.com> Cc: engine-devel@ovirt.org Sent: Wednesday, April 10, 2013 11:15:40 AM Subject: Re: [Engine-devel] build stuck on RunVmCommandTest
On 04/10/2013 01:39 PM, Allon Mureinik wrote:
Real oddness.
out of interest, can you run
"java -version"
and report the version here?
shireesh@localhost ovirt-engine]$ java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
----- Original Message -----
From: "Shireesh Anjal" <sanjal@redhat.com>
To: engine-devel@ovirt.org
Sent: Wednesday, April 10, 2013 9:40:19 AM
Subject: [Engine-devel] build stuck on RunVmCommandTest
Hi,
From last night onwards, my mvn build is getting stuck for a long time (
30 minutes) on RunVmCommandTest
Running org.ovirt.engine.core.bll.MoveDisksCommandTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.ovirt.engine.core.bll.RunVmCommandTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec
Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.ovirt.engine.core.bll.RemoveImageCommandTest
The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.
Regards,
Shireesh
_______________________________________________
Engine-devel mailing list
Engine-devel@ovirt.org
------=_Part_1993237_337488124.1365582660650 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>Einav had a similar issue yester= day with RemoveDiskTest (IIRC), which at first pointed me to the direction = of Java 7, but this is unrelated.<br></div><div><br></div><div>The root of = all these problems is commit fd6835059f110f4e14d67c9d2d31aa786a822f4b (core= : Locate data source in a loop) - now, whenever we have unmocked DAO calls = (like in RunVmCommand), instead of failing them fast and silently, we'll ge= t stuck in a loop.<br></div><div><br></div><div>We need to see if we can of= fer a quick workaround, or perhaps revert this patch until we can offer suc= h a solution.<br></div><div>Juan, your input would be appreciates here.</di= v><div><br></div><div><br></div><div>Thanks,<br></div><div>Allon<br></div><= div><br></div><hr id=3D"zwchr"><blockquote style=3D"border-left:2px solid #= 1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-= style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;fo= nt-size:12pt;"><b>From: </b>"Shireesh Anjal" <sanjal@redhat.com><br><= b>To: </b>"Allon Mureinik" <amureini@redhat.com><br><b>Cc: </b>engine= -devel@ovirt.org<br><b>Sent: </b>Wednesday, April 10, 2013 11:15:40 AM<br><= b>Subject: </b>Re: [Engine-devel] build stuck on RunVmCommandTest<br><div><= br></div> =20 =20 =20 =20 <div class=3D"moz-cite-prefix">On 04/10/2013 01:39 PM, Allon Mureinik wrote:<br> </div> <blockquote cite=3D"mid:1352516269.1980766.1365581369908.JavaMail.root@= redhat.com"> <div style=3D"font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <div>Real oddness.<br> </div> <div>out of interest, can you run<br> </div> <div>"java -version"<br> </div> <div><br> </div> <div>and report the version here?<br> </div> </div> </blockquote> <br> shireesh@localhost ovirt-engine]$ java -version<br> java version "1.7.0_09-icedtea"<br> OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64)<br> OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)<br> <br> <blockquote cite=3D"mid:1352516269.1980766.1365581369908.JavaMail.root@= redhat.com"> <div style=3D"font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <div><br> </div> <div><br> </div> <hr id=3D"zwchr"> <blockquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font= -style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;f= ont-size:12pt;"><b>From: </b>"Shireesh Anjal" <a class=3D"moz-txt-link-rfc2396E" href=3D"m= ailto:sanjal@redhat.com" target=3D"_blank"><sanjal@redhat.com></a><br=
<b>To: </b><a class=3D"moz-txt-link-abbreviated" href=3D"mailto:e= ngine-devel@ovirt.org" target=3D"_blank">engine-devel@ovirt.org</a><br> <b>Sent: </b>Wednesday, April 10, 2013 9:40:19 AM<br> <b>Subject: </b>[Engine-devel] build stuck on RunVmCommandTest<br> <div><br> </div> Hi,<br> <br> From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest<br> <br> Running org.ovirt.engine.core.bll.MoveDisksCommandTest<br> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec<br> <b>Running org.ovirt.engine.core.bll.RunVmCommandTest</b><b><br> </b><b>Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec</b><b><br> </b>Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest<br> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec<br> Running org.ovirt.engine.core.bll.RemoveImageCommandTest<br> <br> The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.<br> <br> Regards,<br> Shireesh<br> <br> _______________________________________________<br> Engine-devel mailing list<br> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Engine-devel= @ovirt.org" target=3D"_blank">Engine-devel@ovirt.org</a><br> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org= /mailman/listinfo/engine-devel" target=3D"_blank">http://lists.ovirt.org/ma= ilman/listinfo/engine-devel</a><br> </blockquote> <div><br> </div> </div> </blockquote> <br> =20 </blockquote><div><br></div></div></body></html> ------=_Part_1993237_337488124.1365582660650--

On 04/10/2013 10:31 AM, Allon Mureinik wrote:
Einav had a similar issue yesterday with RemoveDiskTest (IIRC), which at first pointed me to the direction of Java 7, but this is unrelated.
The root of all these problems is commit fd6835059f110f4e14d67c9d2d31aa786a822f4b (core: Locate data source in a loop) - now, whenever we have unmocked DAO calls (like in RunVmCommand), instead of failing them fast and silently, we'll get stuck in a loop.
We need to see if we can offer a quick workaround, or perhaps revert this patch until we can offer such a solution. Juan, your input would be appreciates here.
As a workaround create /etc/ovirt-engine/engine.conf and add the following two lines: ENGINE_DB_CONNECTION_TIMEOUT=0 ENGINE_DB_CHECK_INTERVAL=0 Then the tests should run faster.
Thanks, Allon
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *"Allon Mureinik" <amureini@redhat.com> *Cc: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 11:15:40 AM *Subject: *Re: [Engine-devel] build stuck on RunVmCommandTest
On 04/10/2013 01:39 PM, Allon Mureinik wrote:
Real oddness. out of interest, can you run "java -version"
and report the version here?
shireesh@localhost ovirt-engine]$ java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 9:40:19 AM *Subject: *[Engine-devel] build stuck on RunVmCommandTest
Hi,
From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest
Running org.ovirt.engine.core.bll.MoveDisksCommandTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec *Running org.ovirt.engine.core.bll.RunVmCommandTest** **Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec** *Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.ovirt.engine.core.bll.RemoveImageCommandTest
The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.
Regards, Shireesh
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

On 04/10/2013 12:12 PM, Juan Hernandez wrote:
On 04/10/2013 10:31 AM, Allon Mureinik wrote:
Einav had a similar issue yesterday with RemoveDiskTest (IIRC), which at first pointed me to the direction of Java 7, but this is unrelated.
The root of all these problems is commit fd6835059f110f4e14d67c9d2d31aa786a822f4b (core: Locate data source in a loop) - now, whenever we have unmocked DAO calls (like in RunVmCommand), instead of failing them fast and silently, we'll get stuck in a loop.
We need to see if we can offer a quick workaround, or perhaps revert this patch until we can offer such a solution. Juan, your input would be appreciates here.
As a workaround create /etc/ovirt-engine/engine.conf and add the following two lines:
ENGINE_DB_CONNECTION_TIMEOUT=0 ENGINE_DB_CHECK_INTERVAL=0
Then the tests should run faster.
This is a way to solve it: http://gerrit.ovirt.org/13782
Thanks, Allon
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *"Allon Mureinik" <amureini@redhat.com> *Cc: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 11:15:40 AM *Subject: *Re: [Engine-devel] build stuck on RunVmCommandTest
On 04/10/2013 01:39 PM, Allon Mureinik wrote:
Real oddness. out of interest, can you run "java -version"
and report the version here?
shireesh@localhost ovirt-engine]$ java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 9:40:19 AM *Subject: *[Engine-devel] build stuck on RunVmCommandTest
Hi,
From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest
Running org.ovirt.engine.core.bll.MoveDisksCommandTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec *Running org.ovirt.engine.core.bll.RunVmCommandTest** **Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec** *Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.ovirt.engine.core.bll.RemoveImageCommandTest
The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.
Regards, Shireesh
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

Juan, thanks! This patch fixed the problem. On 04/10/2013 04:28 PM, Juan Hernandez wrote:
On 04/10/2013 12:12 PM, Juan Hernandez wrote:
On 04/10/2013 10:31 AM, Allon Mureinik wrote:
Einav had a similar issue yesterday with RemoveDiskTest (IIRC), which at first pointed me to the direction of Java 7, but this is unrelated.
The root of all these problems is commit fd6835059f110f4e14d67c9d2d31aa786a822f4b (core: Locate data source in a loop) - now, whenever we have unmocked DAO calls (like in RunVmCommand), instead of failing them fast and silently, we'll get stuck in a loop.
We need to see if we can offer a quick workaround, or perhaps revert this patch until we can offer such a solution. Juan, your input would be appreciates here.
As a workaround create /etc/ovirt-engine/engine.conf and add the following two lines:
ENGINE_DB_CONNECTION_TIMEOUT=0 ENGINE_DB_CHECK_INTERVAL=0
Then the tests should run faster.
This is a way to solve it:
Thanks, Allon
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *"Allon Mureinik" <amureini@redhat.com> *Cc: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 11:15:40 AM *Subject: *Re: [Engine-devel] build stuck on RunVmCommandTest
On 04/10/2013 01:39 PM, Allon Mureinik wrote:
Real oddness. out of interest, can you run "java -version"
and report the version here?
shireesh@localhost ovirt-engine]$ java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 9:40:19 AM *Subject: *[Engine-devel] build stuck on RunVmCommandTest
Hi,
From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest
Running org.ovirt.engine.core.bll.MoveDisksCommandTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec *Running org.ovirt.engine.core.bll.RunVmCommandTest** **Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec** *Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.ovirt.engine.core.bll.RemoveImageCommandTest
The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.
Regards, Shireesh
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Juan Hernandez" <jhernand@redhat.com> To: "Allon Mureinik" <amureini@redhat.com> Cc: "Shireesh Anjal" <sanjal@redhat.com>, engine-devel@ovirt.org Sent: Wednesday, April 10, 2013 1:58:17 PM Subject: Re: [Engine-devel] build stuck on RunVmCommandTest
On 04/10/2013 12:12 PM, Juan Hernandez wrote:
On 04/10/2013 10:31 AM, Allon Mureinik wrote:
Einav had a similar issue yesterday with RemoveDiskTest (IIRC), which at first pointed me to the direction of Java 7, but this is unrelated.
The root of all these problems is commit fd6835059f110f4e14d67c9d2d31aa786a822f4b (core: Locate data source in a loop) - now, whenever we have unmocked DAO calls (like in RunVmCommand), instead of failing them fast and silently, we'll get stuck in a loop.
We need to see if we can offer a quick workaround, or perhaps revert this patch until we can offer such a solution. Juan, your input would be appreciates here.
As a workaround create /etc/ovirt-engine/engine.conf and add the following two lines:
ENGINE_DB_CONNECTION_TIMEOUT=0 ENGINE_DB_CHECK_INTERVAL=0
Then the tests should run faster.
This is a way to solve it:
http://gerrit.ovirt.org/13782 Didn't get a chance to look at it before it was merged, but looks great. Thanks Juan!
Thanks, Allon
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *"Allon Mureinik" <amureini@redhat.com> *Cc: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 11:15:40 AM *Subject: *Re: [Engine-devel] build stuck on RunVmCommandTest
On 04/10/2013 01:39 PM, Allon Mureinik wrote:
Real oddness. out of interest, can you run "java -version"
and report the version here?
shireesh@localhost ovirt-engine]$ java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 9:40:19 AM *Subject: *[Engine-devel] build stuck on RunVmCommandTest
Hi,
From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest
Running org.ovirt.engine.core.bll.MoveDisksCommandTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec *Running org.ovirt.engine.core.bll.RunVmCommandTest** **Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec** *Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.ovirt.engine.core.bll.RemoveImageCommandTest
The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.
Regards, Shireesh
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

This is a multi-part message in MIME format. --------------030805090404080502070607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have the same issue. My build was getting stuck on RunVmCommandTest. When I commented out tests in this, it is now getting stuck at AddVmTemplateCommandTest. java version "1.7.0_17" OpenJDK Runtime Environment (fedora-2.3.8.3.fc17-x86_64) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) On 04/10/2013 01:45 PM, Shireesh Anjal wrote:
On 04/10/2013 01:39 PM, Allon Mureinik wrote:
Real oddness. out of interest, can you run "java -version"
and report the version here?
shireesh@localhost ovirt-engine]$ java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
------------------------------------------------------------------------
*From: *"Shireesh Anjal" <sanjal@redhat.com> *To: *engine-devel@ovirt.org *Sent: *Wednesday, April 10, 2013 9:40:19 AM *Subject: *[Engine-devel] build stuck on RunVmCommandTest
Hi,
From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest
Running org.ovirt.engine.core.bll.MoveDisksCommandTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec *Running org.ovirt.engine.core.bll.RunVmCommandTest** **Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec** *Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.ovirt.engine.core.bll.RemoveImageCommandTest
The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.
Regards, Shireesh
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
--------------030805090404080502070607 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> I have the same issue. My build was getting stuck on RunVmCommandTest. When I commented out tests in this, it is now getting stuck at AddVmTemplateCommandTest.<br> <br> java version "1.7.0_17"<br> OpenJDK Runtime Environment (fedora-2.3.8.3.fc17-x86_64)<br> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)<br> <br> <br> <div class="moz-cite-prefix">On 04/10/2013 01:45 PM, Shireesh Anjal wrote:<br> </div> <blockquote cite="mid:51651FAC.5050508@redhat.com" type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <div class="moz-cite-prefix">On 04/10/2013 01:39 PM, Allon Mureinik wrote:<br> </div> <blockquote cite="mid:1352516269.1980766.1365581369908.JavaMail.root@redhat.com" type="cite"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <div>Real oddness.<br> </div> <div>out of interest, can you run<br> </div> <div>"java -version"<br> </div> <div><br> </div> <div>and report the version here?<br> </div> </div> </blockquote> <br> shireesh@localhost ovirt-engine]$ java -version<br> java version "1.7.0_09-icedtea"<br> OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64)<br> OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)<br> <br> <blockquote cite="mid:1352516269.1980766.1365581369908.JavaMail.root@redhat.com" type="cite"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <div><br> </div> <div><br> </div> <hr id="zwchr"> <blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Shireesh Anjal" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:sanjal@redhat.com"><sanjal@redhat.com></a><br> <b>To: </b><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a><br> <b>Sent: </b>Wednesday, April 10, 2013 9:40:19 AM<br> <b>Subject: </b>[Engine-devel] build stuck on RunVmCommandTest<br> <div><br> </div> Hi,<br> <br> From last night onwards, my mvn build is getting stuck for a long time ( > 30 minutes) on RunVmCommandTest<br> <br> Running org.ovirt.engine.core.bll.MoveDisksCommandTest<br> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec<br> <b>Running org.ovirt.engine.core.bll.RunVmCommandTest</b><b><br> </b><b>Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,983.033 sec</b><b><br> </b>Running org.ovirt.engine.core.bll.lock.InMemoryLockManagerTest<br> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec<br> Running org.ovirt.engine.core.bll.RemoveImageCommandTest<br> <br> The same issue is happening on one of my colleague's system as well. Any help in fixing this will be highly appreciated.<br> <br> Regards,<br> Shireesh<br> <br> _______________________________________________<br> Engine-devel mailing list<br> <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br> </blockquote> <div><br> </div> </div> </blockquote> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Engine-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> </pre> </blockquote> <br> </body> </html> --------------030805090404080502070607--
participants (4)
-
Allon Mureinik
-
Juan Hernandez
-
Sahina Bose
-
Shireesh Anjal