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

Fix Random PG TestSQLRepositoryAPI.testGetChildrenIteratorFilter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.19
    • Component/s: Tests

      Description

      PG transaction timeout:

      Regression
      
      Run unit tests / Run postgresql unit tests / org.nuxeo.ecm.core.TestSQLRepositoryAPI.testGetChildrenIteratorFilter
      Failing for the past 1 build (Since Failed#646 )
      Took 16 min.
      add description
      Error Message
      
      Transaction has timed out
      
      Stacktrace
      
      org.nuxeo.runtime.transaction.TransactionRuntimeException: Transaction has timed out
      	at org.nuxeo.runtime.transaction.TransactionHelper.checkTransactionTimeout(TransactionHelper.java:230)
      	at org.nuxeo.ecm.core.api.local.LocalSession.getSession(LocalSession.java:92)
      	at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:354)
      	at org.nuxeo.ecm.core.api.AbstractSession.getDataModel(AbstractSession.java:2093)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.loadDataModel(DocumentModelImpl.java:467)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getDataModel(DocumentModelImpl.java:477)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getPart(DocumentModelImpl.java:1240)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getProperty(DocumentModelImpl.java:1288)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getPropertyValue(DocumentModelImpl.java:1352)
      	at org.nuxeo.ecm.core.versioning.StandardVersioningService.getVersion(StandardVersioningService.java:149)
      	at org.nuxeo.ecm.core.versioning.StandardVersioningService.getMajor(StandardVersioningService.java:141)
      	at org.nuxeo.ecm.core.versioning.StandardVersioningService.getVersionLabel(StandardVersioningService.java:130)
      	at org.nuxeo.ecm.core.versioning.VersioningComponent.getVersionLabel(VersioningComponent.java:403)
      	at org.nuxeo.ecm.core.api.AbstractSession.notifyCheckedInVersion(AbstractSession.java:1906)
      	at org.nuxeo.ecm.core.api.AbstractSession.checkIn(AbstractSession.java:1890)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.checkIn(DocumentModelImpl.java:672)
      	at org.nuxeo.ecm.core.versioning.StandardVersioningService.doAutomaticVersioning(StandardVersioningService.java:507)
      	at org.nuxeo.ecm.core.versioning.VersioningComponent.doAutomaticVersioning(VersioningComponent.java:451)
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:769)
      	at org.nuxeo.ecm.core.TestSQLRepositoryAPI.testGetChildrenIteratorFilter(TestSQLRepositoryAPI.java:894)
      ...
      	Suppressed: java.lang.AssertionError: Error while invoking afterTeardown on features: [org.nuxeo.ecm.core.test.CoreFeature, org.nuxeo.ecm.core.bulk.CoreBulkFeature, org.nuxeo.ecm.core.work.WorkManagerFeature, org.nuxeo.ecm.core.api.local.DummyLoginFeature, org.nuxeo.runtime.stream.RuntimeStreamFeature, org.nuxeo.runtime.test.runner.TransactionalFeature, org.nuxeo.runtime.cluster.ClusterFeature, org.nuxeo.runtime.test.runner.RuntimeFeature, org.nuxeo.runtime.test.runner.WithFrameworkPropertyFeature, org.nuxeo.runtime.test.runner.RandomBug$Feature, org.nuxeo.runtime.test.runner.ConditionalIgnoreRule$Feature, org.nuxeo.runtime.test.runner.MDCFeature]
      		at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:253)
      		at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:225)
      		at org.nuxeo.runtime.test.runner.FeaturesRunner.afterTeardown(FeaturesRunner.java:218)
      		at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.lambda$evaluate$0(FeaturesRunner.java:445)
      		at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:277)
      		... 38 more
      		Suppressed: org.nuxeo.runtime.transaction.TransactionRuntimeException: Unable to commit: Transaction timeout
      			at org.nuxeo.runtime.transaction.TransactionHelper.commitOrRollbackTransaction(TransactionHelper.java:403)
      			at org.nuxeo.runtime.test.runner.TransactionalFeature.nextTransaction(TransactionalFeature.java:95)
      			at org.nuxeo.runtime.test.runner.TransactionalFeature.nextTransaction(TransactionalFeature.java:78)
      			at org.nuxeo.ecm.core.test.CoreFeature.waitForAsyncCompletion(CoreFeature.java:231)
      			at org.nuxeo.ecm.core.test.CoreFeature.afterTeardown(CoreFeature.java:224)
      			at org.nuxeo.runtime.test.runner.FeaturesRunner.lambda$afterTeardown$8(FeaturesRunner.java:218)
      			at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:239)
      			... 42 more
      		Caused by: javax.transaction.RollbackException: Unable to commit: Transaction timeout
      			at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:267)
      			at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252)
      			at org.nuxeo.runtime.jtajca.NuxeoContainer$UserTransactionImpl.commit(NuxeoContainer.java:576)
      			at org.nuxeo.runtime.transaction.TransactionHelper.commitOrRollbackTransaction(TransactionHelper.java:386)
      			... 48 more
      

      Seen
      https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/job/master/646/testReport/junit/org.nuxeo.ecm.core/TestSQLRepositoryAPI/Run_unit_tests___Run_postgresql_unit_tests___testGetChildrenIteratorFilter/

        Attachments

          Issue Links

            Activity

            Hide
            kleturc Kevin Leturc added a comment -

            Seen there: https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/job/master/653/

            org.nuxeo.runtime.transaction.TransactionRuntimeException: Transaction has timed out
            	at org.nuxeo.runtime.transaction.TransactionHelper.checkTransactionTimeout(TransactionHelper.java:231)
            	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:291)
            	at org.nuxeo.ecm.core.api.local.LocalSession.getSession(LocalSession.java:65)
            	at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:354)
            	at org.nuxeo.ecm.core.api.AbstractSession.getDataModel(AbstractSession.java:2093)
            	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.loadDataModel(DocumentModelImpl.java:467)
            	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getDataModel(DocumentModelImpl.java:477)
            	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getPart(DocumentModelImpl.java:1240)
            	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getProperty(DocumentModelImpl.java:1288)
            	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getPropertyValue(DocumentModelImpl.java:1352)
            	at org.nuxeo.ecm.core.versioning.StandardVersioningService.getVersion(StandardVersioningService.java:149)
            	at org.nuxeo.ecm.core.versioning.StandardVersioningService.getMajor(StandardVersioningService.java:141)
            	at org.nuxeo.ecm.core.versioning.StandardVersioningService.getVersionLabel(StandardVersioningService.java:130)
            	at org.nuxeo.ecm.core.versioning.VersioningComponent.getVersionLabel(VersioningComponent.java:403)
            	at org.nuxeo.ecm.core.api.AbstractSession.notifyCheckedInVersion(AbstractSession.java:1906)
            	at org.nuxeo.ecm.core.api.AbstractSession.checkIn(AbstractSession.java:1890)
            	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.checkIn(DocumentModelImpl.java:672)
            	at org.nuxeo.ecm.core.versioning.StandardVersioningService.doAutomaticVersioning(StandardVersioningService.java:507)
            	at org.nuxeo.ecm.core.versioning.VersioningComponent.doAutomaticVersioning(VersioningComponent.java:451)
            	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:769)
            	at org.nuxeo.ecm.core.TestSQLRepositoryAPI.testGetChildrenIteratorFilter(TestSQLRepositoryAPI.java:894)
            	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
            	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
            	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
            	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
            	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:396)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:410)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:267)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:432)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:267)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:445)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:515)
            	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:326)
            	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
            	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
            	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
            	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
            	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
            	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
            	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
            	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
            	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
            	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:343)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:515)
            	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:326)
            	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
            	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
            	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
            	at org.junit.runners.Suite.runChild(Suite.java:128)
            	at org.junit.runners.Suite.runChild(Suite.java:27)
            	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
            	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
            	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
            	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
            	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
            	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
            	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
            	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
            	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
            	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
            	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
            	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
            	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
            	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
            	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
            	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
            	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
            	Suppressed: java.lang.AssertionError: Error while invoking afterTeardown on features: [org.nuxeo.ecm.core.test.CoreFeature, org.nuxeo.ecm.core.bulk.CoreBulkFeature, org.nuxeo.ecm.core.work.WorkManagerFeature, org.nuxeo.ecm.core.api.local.DummyLoginFeature, org.nuxeo.runtime.stream.RuntimeStreamFeature, org.nuxeo.runtime.test.runner.TransactionalFeature, org.nuxeo.runtime.cluster.ClusterFeature, org.nuxeo.runtime.test.runner.RuntimeFeature, org.nuxeo.runtime.test.runner.WithFrameworkPropertyFeature, org.nuxeo.runtime.test.runner.RandomBug$Feature, org.nuxeo.runtime.test.runner.ConditionalIgnoreRule$Feature, org.nuxeo.runtime.test.runner.MDCFeature]
            		at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:253)
            		at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:225)
            		at org.nuxeo.runtime.test.runner.FeaturesRunner.afterTeardown(FeaturesRunner.java:218)
            		at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.lambda$evaluate$0(FeaturesRunner.java:445)
            		at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:277)
            		... 38 more
            		Suppressed: org.nuxeo.runtime.transaction.TransactionRuntimeException: Unable to commit: Transaction timeout
            			at org.nuxeo.runtime.transaction.TransactionHelper.commitOrRollbackTransaction(TransactionHelper.java:402)
            			at org.nuxeo.runtime.test.runner.TransactionalFeature.nextTransaction(TransactionalFeature.java:95)
            			at org.nuxeo.runtime.test.runner.TransactionalFeature.nextTransaction(TransactionalFeature.java:78)
            			at org.nuxeo.ecm.core.test.CoreFeature.waitForAsyncCompletion(CoreFeature.java:230)
            			at org.nuxeo.ecm.core.test.CoreFeature.afterTeardown(CoreFeature.java:223)
            			at org.nuxeo.runtime.test.runner.FeaturesRunner.lambda$afterTeardown$8(FeaturesRunner.java:218)
            			at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:239)
            			... 42 more
            		Caused by: javax.transaction.RollbackException: Unable to commit: transaction marked for rollback
            			at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:272)
            			at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252)
            			at org.nuxeo.runtime.jtajca.NuxeoContainer$UserTransactionImpl.commit(NuxeoContainer.java:418)
            			at org.nuxeo.runtime.transaction.TransactionHelper.commitOrRollbackTransaction(TransactionHelper.java:387)
            			... 48 more
            		Caused by: java.lang.Exception: Transaction has timed out
            			at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:266)
            			... 51 more
            
            Show
            kleturc Kevin Leturc added a comment - Seen there: https://jenkins.platform.dev.nuxeo.com/job/nuxeo/job/nuxeo/job/master/653/ org.nuxeo.runtime.transaction.TransactionRuntimeException: Transaction has timed out at org.nuxeo.runtime.transaction.TransactionHelper.checkTransactionTimeout(TransactionHelper.java:231) at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:291) at org.nuxeo.ecm.core.api.local.LocalSession.getSession(LocalSession.java:65) at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:354) at org.nuxeo.ecm.core.api.AbstractSession.getDataModel(AbstractSession.java:2093) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.loadDataModel(DocumentModelImpl.java:467) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getDataModel(DocumentModelImpl.java:477) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getPart(DocumentModelImpl.java:1240) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getProperty(DocumentModelImpl.java:1288) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getPropertyValue(DocumentModelImpl.java:1352) at org.nuxeo.ecm.core.versioning.StandardVersioningService.getVersion(StandardVersioningService.java:149) at org.nuxeo.ecm.core.versioning.StandardVersioningService.getMajor(StandardVersioningService.java:141) at org.nuxeo.ecm.core.versioning.StandardVersioningService.getVersionLabel(StandardVersioningService.java:130) at org.nuxeo.ecm.core.versioning.VersioningComponent.getVersionLabel(VersioningComponent.java:403) at org.nuxeo.ecm.core.api.AbstractSession.notifyCheckedInVersion(AbstractSession.java:1906) at org.nuxeo.ecm.core.api.AbstractSession.checkIn(AbstractSession.java:1890) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.checkIn(DocumentModelImpl.java:672) at org.nuxeo.ecm.core.versioning.StandardVersioningService.doAutomaticVersioning(StandardVersioningService.java:507) at org.nuxeo.ecm.core.versioning.VersioningComponent.doAutomaticVersioning(VersioningComponent.java:451) at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:769) at org.nuxeo.ecm.core.TestSQLRepositoryAPI.testGetChildrenIteratorFilter(TestSQLRepositoryAPI.java:894) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeMethodRunStatement.evaluate(FeaturesRunner.java:396) at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeSetupStatement.evaluate(FeaturesRunner.java:410) at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:267) at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterMethodRunStatement.evaluate(FeaturesRunner.java:432) at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:267) at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:445) at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:515) at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:326) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:343) at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:515) at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:326) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Suppressed: java.lang.AssertionError: Error while invoking afterTeardown on features: [org.nuxeo.ecm.core.test.CoreFeature, org.nuxeo.ecm.core.bulk.CoreBulkFeature, org.nuxeo.ecm.core.work.WorkManagerFeature, org.nuxeo.ecm.core.api.local.DummyLoginFeature, org.nuxeo.runtime.stream.RuntimeStreamFeature, org.nuxeo.runtime.test.runner.TransactionalFeature, org.nuxeo.runtime.cluster.ClusterFeature, org.nuxeo.runtime.test.runner.RuntimeFeature, org.nuxeo.runtime.test.runner.WithFrameworkPropertyFeature, org.nuxeo.runtime.test.runner.RandomBug$Feature, org.nuxeo.runtime.test.runner.ConditionalIgnoreRule$Feature, org.nuxeo.runtime.test.runner.MDCFeature] at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:253) at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:225) at org.nuxeo.runtime.test.runner.FeaturesRunner.afterTeardown(FeaturesRunner.java:218) at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.lambda$evaluate$0(FeaturesRunner.java:445) at org.nuxeo.runtime.test.runner.FeaturesRunner.evaluateRunnable(FeaturesRunner.java:277) ... 38 more Suppressed: org.nuxeo.runtime.transaction.TransactionRuntimeException: Unable to commit: Transaction timeout at org.nuxeo.runtime.transaction.TransactionHelper.commitOrRollbackTransaction(TransactionHelper.java:402) at org.nuxeo.runtime.test.runner.TransactionalFeature.nextTransaction(TransactionalFeature.java:95) at org.nuxeo.runtime.test.runner.TransactionalFeature.nextTransaction(TransactionalFeature.java:78) at org.nuxeo.ecm.core.test.CoreFeature.waitForAsyncCompletion(CoreFeature.java:230) at org.nuxeo.ecm.core.test.CoreFeature.afterTeardown(CoreFeature.java:223) at org.nuxeo.runtime.test.runner.FeaturesRunner.lambda$afterTeardown$8(FeaturesRunner.java:218) at org.nuxeo.runtime.test.runner.FeaturesRunner.apply(FeaturesRunner.java:239) ... 42 more Caused by: javax.transaction.RollbackException: Unable to commit: transaction marked for rollback at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:272) at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252) at org.nuxeo.runtime.jtajca.NuxeoContainer$UserTransactionImpl.commit(NuxeoContainer.java:418) at org.nuxeo.runtime.transaction.TransactionHelper.commitOrRollbackTransaction(TransactionHelper.java:387) ... 48 more Caused by: java.lang.Exception: Transaction has timed out at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:266) ... 51 more
            Hide
            ataillefer Antoine Taillefer added a comment -

            Let's try the same fix as for NXP-30946: commit the transaction by batch of created documents.

            Show
            ataillefer Antoine Taillefer added a comment - Let's try the same fix as for  NXP-30946 : commit the transaction by batch of created documents.
            Hide
            hudson Jenkins added a comment -

            NOT_BUILT: Integrated in nuxeo » lts » nuxeo » 2021 #329
            NXP-29675: Fix some SonarQube issues (ataillefer: 9818183dcf5a3a3c55276b0451e192b6898dffd8)
            NXP-29675: Fix random transaction timeout vs PostgreSQL (ataillefer: 41da86c7d4e188b95f5d440932bc60d7cd793ca5)

            Show
            hudson Jenkins added a comment - NOT_BUILT: Integrated in nuxeo » lts » nuxeo » 2021 #329 NXP-29675 : Fix some SonarQube issues (ataillefer: 9818183dcf5a3a3c55276b0451e192b6898dffd8 ) NXP-29675 : Fix random transaction timeout vs PostgreSQL (ataillefer: 41da86c7d4e188b95f5d440932bc60d7cd793ca5 )

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: