[Engine-devel] NPE in RunVmCommandTest

Greg Sheremeta gshereme at redhat.com
Tue Aug 27 14:57:39 UTC 2013


Excellent, thanks. Reviewing now.

Greg

----- Original Message -----
> From: "Laszlo Hornyak" <lhornyak at redhat.com>
> To: "Greg Sheremeta" <gshereme at redhat.com>
> Cc: "Roy Golan" <rgolan at redhat.com>, engine-devel at ovirt.org
> Sent: Tuesday, August 27, 2013 9:45:17 AM
> Subject: Re: [Engine-devel] NPE in RunVmCommandTest
> 
> Hi,
> 
> I ran into the same, sent a patch, my explanation for the problem is in the
> commit msg:
> http://gerrit.ovirt.org/18608
> 
> Thx,
> Laszlo
> 
> ----- Original Message -----
> > From: "Greg Sheremeta" <gshereme at redhat.com>
> > To: "Roy Golan" <rgolan at redhat.com>
> > Cc: engine-devel at ovirt.org
> > Sent: Wednesday, August 21, 2013 10:07:25 PM
> > Subject: [Engine-devel] NPE in RunVmCommandTest
> > 
> > Hi Roy,
> > 
> > On a fresh clone of ovirt-engine master, I'm experiencing a very strange
> > test
> > failure in RunVmCommandTest. I believe it's race-condition based. It's
> > related to the osRepository variable that you added to RunVmCommand in
> > ba8ada49. Sometimes it's just null in the 16 of the 17 RunVmCommandTest
> > tests, causing an NPE at RunVmCommand:680. Surefire report attached. I can
> > duplicate it pretty well on my home workstation running a command-line
> > build
> > (which is a little slower than my T520). I can't duplicate it on the T520
> > running a command-line build. I can duplicate it on the T520 if I run the
> > tests inside Eclipse (right click on a test method, Run As > JUnit test,
> > wait 30 seconds, fail). If there is a race condition, maybe it's related to
> > setting osRepository in the initializer. That's just a guess.
> > 
> > Can you assist?
> > 
> > Thanks,
> > Greg
> > 
> > 
> > Greg Sheremeta
> > Red Hat, Inc.
> > Sr. Software Engineer, RHEV
> > Cell: 919-807-1086
> > gshereme at redhat.com
> > 
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > 
> 



More information about the Engine-devel mailing list