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

2015-05-28 Thread Greg Sheremeta


- Original Message -
 From: Sahina Bose sab...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com, infra infra@ovirt.org
 Cc: de...@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@e51ed1a5
  but
  was:org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails@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@71912d4e
 but 
was:org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails@1dfca34e

Stack Trace:
java.lang.AssertionError: 
expected:org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails@71912d4e
 but 
was:org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails@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

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

2015-05-27 Thread Sahina Bose


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@e51ed1a5
 but 
was:org.ovirt.engine.core.common.businessentities.gluster.GlusterGeoRepSessionDetails@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.





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
gsher...@redhat.com
___
Devel mailing list
de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


___
Infra mailing list
Infra@ovirt.org
http://lists.ovirt.org/mailman/listinfo/infra