[Engine-devel] build stuck on RunVmCommandTest

Allon Mureinik amureini at redhat.com
Wed Apr 10 13:42:05 UTC 2013



----- Original Message -----
> From: "Juan Hernandez" <jhernand at redhat.com>
> To: "Allon Mureinik" <amureini at redhat.com>
> Cc: "Shireesh Anjal" <sanjal at redhat.com>, engine-devel at 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 at redhat.com>
> >>      *To: *"Allon Mureinik" <amureini at redhat.com>
> >>      *Cc: *engine-devel at 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 at 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 at redhat.com>
> >>              *To: *engine-devel at 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 at ovirt.org
> >>              http://lists.ovirt.org/mailman/listinfo/engine-devel
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Engine-devel mailing list
> >> Engine-devel at 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.
> 



More information about the Engine-devel mailing list