Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20468

Drive: random failures on versioning tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.10-SNAPSHOT
    • Fix Version/s: 8.10-HF01, 9.1
    • Component/s: Nuxeo Drive

      Description

      Several randomly failing tests in TestVersioningFileSystemItemFactory.
      Last one occurred in https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-build/253/console

      14:55:29 Running org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory
      14:56:00 main 14:56:00,571 WARN  [CacheServiceImpl] Unregistery leaked contribution driveDescendantsScroll{{fState,afterRun}{fSuite,class org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory}}
      14:56:03 StorageConfiguration: Deploying JDBC using DatabaseH2
      14:56:03 StorageConfiguration: Deploying a VCS repository
      14:56:03 main 14:56:03,980 WARN  [NuxeoConnectionManagerConfiguration] maxActive deprecated dbcp pool attribute usage, should use maxPoolSize geronimo pool attribute instead{{fState,beforeRun}{tx,1000000047544d4944}}
      14:56:03 main 14:56:03,981 WARN  [NuxeoConnectionManagerConfiguration] maxIdle deprecated dbcp pool attribute usage, should use minPoolSize geronimo pool attribute instead{{fState,beforeRun}{tx,1000000047544d4944}}
      14:56:03 main 14:56:03,981 WARN  [NuxeoConnectionManagerConfiguration] maxWait deprecated dbcp pool attribute usage, should use blockingTimeoutMillis geronimo pool attribute instead{{fState,beforeRun}{tx,1000000047544d4944}}
      14:56:03 main 14:56:03,993 ERROR [SchemaManagerImpl] XSD Schema not found: schemas/expired_search.xsd{{fState,beforeRun}{tx,1000000047544d4944}}
      14:56:05 main 14:56:05,465 ERROR [OSGiRuntimeService] Nuxeo Platform Started
      14:56:05 ======================================================================
      14:56:05 = Component Loading Status: Pending: 0 / Missing: 3 / Unstarted: 0 / Total: 165
      14:56:05   * service:org.nuxeo.collections.operations references missing [target=org.nuxeo.ecm.core.operation.OperationServiceComponent;point=operations]
      14:56:05   * service:org.nuxeo.drive.listeners references missing [target=org.nuxeo.ecm.platform.audit.service.NXAuditEventsService;point=event]
      14:56:05   * service:org.nuxeo.ecm.collections.audit references missing [target=org.nuxeo.ecm.platform.audit.service.NXAuditEventsService;point=event]
      14:56:05 ======================================================================{{fState,beforeRun}{tx,1000000047544d4944}}
      14:56:05 Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 35.874 sec <<< FAILURE! - in org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory
      14:56:05 testDefaultConfiguration(org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory)  Time elapsed: 5.779 sec  <<< FAILURE!
      14:56:05 org.junit.ComparisonFailure: expected:<[2].0+> but was:<[3].0+>
      14:56:05 	at org.junit.Assert.assertEquals(Assert.java:115)
      14:56:05 	at org.junit.Assert.assertEquals(Assert.java:144)
      14:56:05 	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testDefaultConfiguration(TestVersioningFileSystemItemFactory.java:305)
      14:56:05 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:56:05 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      14:56:05 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      14:56:05 	at java.lang.reflect.Method.invoke(Method.java:498)
      14:56:05 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      14:56:05 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      14:56:05 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      14:56:05 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$15.evaluate(FeaturesRunner.java:467)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:346)
      14:56:05 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:362)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:393)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:412)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      14:56:05 	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:270)
      14:56:05 	at org.nuxeo.runtime.test.runner.RuntimeFeature$2$1.evaluate(RuntimeFeature.java:124)
      14:56:05 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      14:56:05 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      14:56:05 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      14:56:05 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      14:56:05 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      14:56:05 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      14:56:05 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      14:56:05 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14:56:05 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:285)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:268)
      14:56:05 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      14:56:05 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      14:56:05 	at org.junit.runners.Suite.runChild(Suite.java:127)
      14:56:05 	at org.junit.runners.Suite.runChild(Suite.java:26)
      14:56:05 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      14:56:05 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      14:56:05 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      14:56:05 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14:56:05 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      14:56:05 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      14:56:05 	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      14:56:05 	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      14:56:05 
      14:56:05 testDriveForceVersionDisabled(org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory)  Time elapsed: 2.486 sec  <<< FAILURE!
      14:56:05 org.junit.ComparisonFailure: expected:<[0.0]> but was:<[1.0+]>
      14:56:05 	at org.junit.Assert.assertEquals(Assert.java:115)
      14:56:05 	at org.junit.Assert.assertEquals(Assert.java:144)
      14:56:05 	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testDriveForceVersionDisabled(TestVersioningFileSystemItemFactory.java:421)
      14:56:05 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:56:05 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      14:56:05 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      14:56:05 	at java.lang.reflect.Method.invoke(Method.java:498)
      14:56:05 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      14:56:05 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      14:56:05 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      14:56:05 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$15.evaluate(FeaturesRunner.java:467)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:346)
      14:56:05 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:362)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:393)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:412)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      14:56:05 	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:270)
      14:56:05 	at org.nuxeo.runtime.test.runner.RuntimeFeature$2$1.evaluate(RuntimeFeature.java:124)
      14:56:05 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      14:56:05 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      14:56:05 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      14:56:05 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      14:56:05 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      14:56:05 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      14:56:05 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      14:56:05 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14:56:05 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:285)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:268)
      14:56:05 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      14:56:05 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      14:56:05 	at org.junit.runners.Suite.runChild(Suite.java:127)
      14:56:05 	at org.junit.runners.Suite.runChild(Suite.java:26)
      14:56:05 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      14:56:05 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      14:56:05 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      14:56:05 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14:56:05 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      14:56:05 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      14:56:05 	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      14:56:05 	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      14:56:05 
      14:56:05 testAutomaticVersioning(org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory)  Time elapsed: 8.021 sec  <<< FAILURE!
      14:56:05 org.junit.ComparisonFailure: expected:<1.[2+]> but was:<1.[3]>
      14:56:05 	at org.junit.Assert.assertEquals(Assert.java:115)
      14:56:05 	at org.junit.Assert.assertEquals(Assert.java:144)
      14:56:05 	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioning(TestVersioningFileSystemItemFactory.java:640)
      14:56:05 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:56:05 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      14:56:05 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      14:56:05 	at java.lang.reflect.Method.invoke(Method.java:498)
      14:56:05 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      14:56:05 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      14:56:05 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      14:56:05 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$15.evaluate(FeaturesRunner.java:467)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:346)
      14:56:05 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:362)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:393)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:412)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      14:56:05 	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:270)
      14:56:05 	at org.nuxeo.runtime.test.runner.RuntimeFeature$2$1.evaluate(RuntimeFeature.java:124)
      14:56:05 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      14:56:05 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      14:56:05 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      14:56:05 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      14:56:05 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      14:56:05 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      14:56:05 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      14:56:05 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14:56:05 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:285)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      14:56:05 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:268)
      14:56:05 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      14:56:05 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      14:56:05 	at org.junit.runners.Suite.runChild(Suite.java:127)
      14:56:05 	at org.junit.runners.Suite.runChild(Suite.java:26)
      14:56:05 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      14:56:05 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      14:56:05 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      14:56:05 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14:56:05 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      14:56:05 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      14:56:05 	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      14:56:05 	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      14:56:05 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      14:56:05 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      

      Also seen under MySQL:
      TestVersioningFileSystemItemFactory.testAutomaticVersioning
      TestVersioningFileSystemItemFactory.testAutomaticVersioningAndDriveForceVersionDisabled

      18:27:34 Running org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory
      18:27:48 StorageConfiguration: Deploying JDBC using DatabaseMySQL
      18:27:48 StorageConfiguration: Deploying a VCS repository
      18:27:48 16:28:06,601 WARN  [NuxeoConnectionManagerConfiguration] maxActive deprecated dbcp pool attribute usage, should use maxPoolSize geronimo pool attribute instead
      18:27:48 16:28:06,602 WARN  [NuxeoConnectionManagerConfiguration] maxIdle deprecated dbcp pool attribute usage, should use minPoolSize geronimo pool attribute instead
      18:27:48 16:28:06,602 WARN  [NuxeoConnectionManagerConfiguration] maxWait deprecated dbcp pool attribute usage, should use blockingTimeoutMillis geronimo pool attribute instead
      18:27:49 Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 14.707 sec <<< FAILURE! - in org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory
      18:27:49 testAutomaticVersioning(org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory)  Time elapsed: 0.095 sec  <<< FAILURE!
      18:27:49 org.junit.ComparisonFailure: expected:<[0.0]> but was:<[1.1]>
      18:27:49 	at org.junit.Assert.assertEquals(Assert.java:115)
      18:27:49 	at org.junit.Assert.assertEquals(Assert.java:144)
      18:27:49 	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioning(TestVersioningFileSystemItemFactory.java:589)
      18:27:49 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      18:27:49 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      18:27:49 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      18:27:49 	at java.lang.reflect.Method.invoke(Method.java:498)
      18:27:49 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      18:27:49 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      18:27:49 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      18:27:49 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$15.evaluate(FeaturesRunner.java:467)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:346)
      18:27:49 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:362)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:393)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:412)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      18:27:49 	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:270)
      18:27:49 	at org.nuxeo.runtime.test.runner.RuntimeFeature$2$1.evaluate(RuntimeFeature.java:124)
      18:27:49 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      18:27:49 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      18:27:49 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      18:27:49 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      18:27:49 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      18:27:49 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      18:27:49 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      18:27:49 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      18:27:49 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:285)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:268)
      18:27:49 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      18:27:49 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      18:27:49 	at org.junit.runners.Suite.runChild(Suite.java:127)
      18:27:49 	at org.junit.runners.Suite.runChild(Suite.java:26)
      18:27:49 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      18:27:49 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      18:27:49 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      18:27:49 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      18:27:49 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      18:27:49 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      18:27:49 	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      18:27:49 	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      18:27:49 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      18:27:49 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      18:27:49 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      18:27:49 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      18:27:49 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      18:27:49 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      18:27:49 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      18:27:49 
      18:27:49 testAutomaticVersioningAndDriveForceVersionDisabled(org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory)  Time elapsed: 0.046 sec  <<< FAILURE!
      18:27:49 java.lang.AssertionError
      18:27:49 	at org.junit.Assert.fail(Assert.java:86)
      18:27:49 	at org.junit.Assert.assertTrue(Assert.java:41)
      18:27:49 	at org.junit.Assert.assertFalse(Assert.java:64)
      18:27:49 	at org.junit.Assert.assertFalse(Assert.java:74)
      18:27:49 	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioningAndDriveForceVersionDisabled(TestVersioningFileSystemItemFactory.java:735)
      18:27:49 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      18:27:49 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      18:27:49 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      18:27:49 	at java.lang.reflect.Method.invoke(Method.java:498)
      18:27:49 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      18:27:49 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      18:27:49 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      18:27:49 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$15.evaluate(FeaturesRunner.java:467)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:346)
      18:27:49 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:362)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:393)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:412)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      18:27:49 	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:270)
      18:27:49 	at org.nuxeo.runtime.test.runner.RuntimeFeature$2$1.evaluate(RuntimeFeature.java:124)
      18:27:49 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      18:27:49 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      18:27:49 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      18:27:49 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      18:27:49 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      18:27:49 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      18:27:49 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      18:27:49 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      18:27:49 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:285)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:525)
      18:27:49 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:268)
      18:27:49 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      18:27:49 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      18:27:49 	at org.junit.runners.Suite.runChild(Suite.java:127)
      18:27:49 	at org.junit.runners.Suite.runChild(Suite.java:26)
      18:27:49 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      18:27:49 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      18:27:49 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      18:27:49 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      18:27:49 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      18:27:49 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      18:27:49 	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      18:27:49 	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      18:27:49 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      18:27:49 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      18:27:49 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      18:27:49 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      18:27:49 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      18:27:49 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      18:27:49 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      

      Also seen under Oracle:
      org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioning

      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertFalse(Assert.java:64)
      	at org.junit.Assert.assertFalse(Assert.java:74)
      	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioning(TestVersioningFileSystemItemFactory.java:556)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioningAndDriveForceVersionDisabled

      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertFalse(Assert.java:64)
      	at org.junit.Assert.assertFalse(Assert.java:74)
      	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testAutomaticVersioningAndDriveForceVersionDisabled(TestVersioningFileSystemItemFactory.java:735)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
      

      org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testDriveForceVersionDisabled

      org.junit.ComparisonFailure: expected:<[0.0]> but was:<[1.0+]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.nuxeo.drive.service.adapter.TestVersioningFileSystemItemFactory.testDriveForceVersionDisabled(TestVersioningFileSystemItemFactory.java:427)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty