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

Fix TestBulkProcessor.testSequentialCommand random test

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF53, 2021.10
    • Component/s: CI/CD, Tests

      Description

      TestBulkProcessor.testSequentialCommand test seems to be random, it has failed on a PG build.
      Console Output:

      [2020-06-08T13:01:26.182Z] [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.574 s <<< FAILURE! - in org.nuxeo.ecm.core.bulk.TestBulkProcessor
      [2020-06-08T13:01:26.182Z] [ERROR] testSequentialCommand(org.nuxeo.ecm.core.bulk.TestBulkProcessor)  Time elapsed: 4.57 s  <<< FAILURE!
      [2020-06-08T13:01:26.182Z] java.lang.AssertionError
      [2020-06-08T13:01:26.182Z] 	at org.junit.Assert.fail(Assert.java:87)
      [2020-06-08T13:01:26.183Z] 	at org.junit.Assert.assertTrue(Assert.java:42)
      [2020-06-08T13:01:26.183Z] 	at org.junit.Assert.assertTrue(Assert.java:53)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.ecm.core.bulk.TestBulkProcessor.testSequentialCommand(TestBulkProcessor.java:256)
      [2020-06-08T13:01:26.183Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2020-06-08T13:01:26.183Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [2020-06-08T13:01:26.183Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2020-06-08T13:01:26.183Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      [2020-06-08T13:01:26.183Z] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      [2020-06-08T13:01:26.183Z] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:396)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:410)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:267)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:432)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:267)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:445)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:515)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:326)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:343)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:515)
      [2020-06-08T13:01:26.183Z] 	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:326)
      [2020-06-08T13:01:26.183Z] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.Suite.runChild(Suite.java:128)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.Suite.runChild(Suite.java:27)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      [2020-06-08T13:01:26.183Z] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      [2020-06-08T13:01:26.183Z] 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: