[ovirt-devel] [TICKET] build failed, gluster test, "Failed tests testSaveDetails(org.ovirt.engine.core.dao.gluster.GlusterGeoRepDaoTest)"

Greg Sheremeta gshereme at redhat.com
Thu May 28 14:53:05 UTC 2015



----- Original Message -----
> From: "Sahina Bose" <sabose at redhat.com>
> To: "Greg Sheremeta" <gshereme at redhat.com>, "infra" <infra at ovirt.org>
> Cc: devel at ovirt.org
> Sent: Wednesday, May 27, 2015 5:11:24 AM
> Subject: Re: [ovirt-devel] [TICKET] build failed, gluster test, "Failed tests
> testSaveDetails(org.ovirt.engine.core.dao.gluster.GlusterGeoRepDaoTest)"
> 
> 
> On 05/26/2015 10:14 PM, Greg Sheremeta wrote:
> > """
> > The patch seems to break the DAO tests, please fix
> > """
> >
> >
> > """
> > Results :
> > 20:07:48
> > 20:07:48 Failed tests:
> > 20:07:48
> > testSaveDetails(org.ovirt.engine.core.dao.gluster.GlusterGeoRepDaoTest):
> > expected:<org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails at e51ed1a5>
> > but
> > was:<org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails at 918a47a5>
> > """
> >
> > I reran the build for this patch and it worked, but I'm not sure
> > if that's because someone fixed it or it's a flaky test.
> >
> > Can someone from Gluster comment?
> 
> Looking at the test, could not figure what could cause the flakiness.
> 
> It's a simple enough test - that saves details to db, retrieves it and
> checks equality of objects.

It just happened again. Please disable the test until you figure out what's
wrong with it :)


Project: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/ 
Build: http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/11502/
Build Number: 11502
Build Status:  Unstable
Triggered By: Triggered by Gerrit: https://gerrit.ovirt.org/41228

-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #11502
[Greg Sheremeta] userportal, webadmin: include jQuery 1.11.3

-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED:  org.ovirt.engine.core.dao.gluster.GlusterGeoRepDaoTest.testSaveDetails

Error Message:
expected:<org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails at 71912d4e> but was:<org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails at 1dfca34e>

Stack Trace:
java.lang.AssertionError: expected:<org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails at 71912d4e> but was:<org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails at 1dfca34e>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:743)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at org.ovirt.engine.core.dao.gluster.GlusterGeoRepDaoTest.testSaveDetails(GlusterGeoRepDaoTest.java:88)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
        at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
        at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
        at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
        at org.junit.rules.RunRules.evaluate(RunRules.java:20)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at com.sun.proxy.$Proxy0.invoke(Unknown Source)
        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)




> 
> >
> >
> > http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_merged/11460/
> > https://gerrit.ovirt.org/#/c/41298/
> >
> >
> > Greg Sheremeta
> > Red Hat, Inc.
> > Sr. Software Engineer, RHEV
> > Cell: 919-807-1086
> > gshereme at redhat.com
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> 
> 



More information about the Devel mailing list