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

Fix Nuxeo 10.10 build

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF49
    • Component/s: CI/CD, Tests
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #36, nxplatform #37
    • Story Points:
      3

      Description

      https://qa2.nuxeo.org/jenkins/view/10.10/job/10.10/job/nuxeo-10.10/

      Failing for ~ 1 month.
      Latest failures:

      org.nuxeo.lib.stream.tests.pattern.TestPatternBoundedQueuingChronicle.producersThenConsumers
      org.nuxeo.ecm.restapi.server.jaxrs.routing.TaskObjectTest.shouldCallNonPaginatedMethodWhenNoParameter
      org.nuxeo.ecm.restapi.server.jaxrs.routing.TaskObjectTest.shouldCallNonPaginatedMethodWhenParameterIsFalse
      org.nuxeo.ecm.restapi.server.jaxrs.routing.TaskObjectTest.shouldCallPaginatedMethodWhenParameterIsTrue
      org.nuxeo.ecm.restapi.server.jaxrs.routing.TaskObjectTest.org.nuxeo.ecm.restapi.server.jaxrs.routing.TaskObjectTest
      

      TaskObjectTest logs extract :

      [ERROR] Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 3.801 s <<< FAILURE! - in org.nuxeo.ecm.restapi.server.jaxrs.routing.TaskObjectTest
      [ERROR] shouldCallNonPaginatedMethodWhenNoParameter(org.nuxeo.ecm.restapi.server.jaxrs.routing.TaskObjectTest)  Time elapsed: 1.163 s  <<< FAILURE!
      java.lang.AssertionError: invoke on features error [Holder [type=class org.nuxeo.runtime.mockito.MockitoFeature], Holder [type=class org.nuxeo.ecm.platform.routing.test.WorkflowFeature], Holder [type=class org.nuxeo.ecm.automation.test.EmbeddedAutomationServerFeature], Holder [type=class org.nuxeo.ecm.automation.test.AutomationServerFeature], Holder [type=class org.nuxeo.ecm.automation.test.AutomationFeature], Holder [type=class org.nuxeo.ecm.webengine.test.WebEngineFeature], Holder [type=class org.nuxeo.ecm.webengine.test.WebEngineFeatureCore], Holder [type=class org.nuxeo.ecm.core.test.ServletContainerTransactionalFeature], Holder [type=class org.nuxeo.runtime.test.runner.ServletContainerFeature], Holder [type=class org.nuxeo.runtime.test.runner.web.WebDriverFeature], Holder [type=class org.nuxeo.ecm.platform.test.PlatformFeature], Holder [type=class org.nuxeo.directory.test.DirectoryFeature], Holder [type=class org.nuxeo.ecm.platform.login.test.ClientLoginFeature], Holder [type=class org.nuxeo.ecm.core.test.CoreFeature], Holder [type=class org.nuxeo.ecm.core.bulk.CoreBulkFeature], Holder [type=class org.nuxeo.ecm.core.io.CoreIOFeature], Holder [type=class org.nuxeo.ecm.core.work.WorkManagerFeature], Holder [type=class org.nuxeo.runtime.stream.RuntimeStreamFeature], Holder [type=class org.nuxeo.runtime.test.runner.TransactionalFeature], Holder [type=class org.nuxeo.runtime.test.runner.RuntimeFeature], Holder [type=class org.nuxeo.runtime.test.runner.WithFrameworkPropertyFeature], Holder [type=class org.nuxeo.runtime.test.runner.RandomBug$Feature], Holder [type=class org.nuxeo.runtime.test.runner.ConditionalIgnoreRule$Feature], Holder [type=class org.nuxeo.runtime.test.runner.MDCFeature], Holder [type=class org.nuxeo.ecm.core.test.DetectThreadDeadlocksFeature]]
      	at org.nuxeo.runtime.test.runner.FeaturesLoader.apply(FeaturesLoader.java:123)
      	at org.nuxeo.runtime.test.runner.FeaturesLoader.apply(FeaturesLoader.java:113)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner.afterTeardown(FeaturesRunner.java:184)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterTeardownStatement.evaluate(FeaturesRunner.java:364)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:440)
      	at org.nuxeo.runtime.test.runner.RuntimeDeployment$DeploymentStatement.evaluate(RuntimeDeployment.java:326)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:440)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$AfterClassStatement.evaluate(FeaturesRunner.java:235)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$RulesFactory$1.evaluate(FeaturesRunner.java:440)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:218)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	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:383)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
      	Suppressed: java.lang.IllegalArgumentException: interface org.nuxeo.ecm.core.storage.sql.Mapper is not visible from class loader
      		at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:581)
      		at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
      		at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
      		at java.lang.reflect.WeakCache.get(WeakCache.java:127)
      		at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
      		at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719)
      		at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.newConnector(JDBCMapperConnector.java:143)
      		at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCBackend.newMapper(JDBCBackend.java:148)
      		at org.nuxeo.ecm.core.storage.sql.RepositoryImpl.newMapper(RepositoryImpl.java:249)
      		at org.nuxeo.ecm.core.storage.sql.VCSLockManager.getMapper(VCSLockManager.java:141)
      		at org.nuxeo.ecm.core.storage.sql.VCSLockManager.removeLock(VCSLockManager.java:292)
      		at org.nuxeo.ecm.core.storage.sql.SessionImpl.removeNode(SessionImpl.java:982)
      		at org.nuxeo.ecm.core.storage.sql.ra.ConnectionImpl.removeNode(ConnectionImpl.java:257)
      		at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.remove(SQLSession.java:616)
      		at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.remove(SQLDocumentLive.java:164)
      		at org.nuxeo.ecm.core.api.AbstractSession.removeNotifyOneDoc(AbstractSession.java:1454)
      		at org.nuxeo.ecm.core.api.AbstractSession.removeChildren(AbstractSession.java:1361)
      		at org.nuxeo.ecm.core.test.CoreFeature.lambda$cleanupSession$1(CoreFeature.java:264)
      		at org.nuxeo.runtime.transaction.TransactionHelper.lambda$runInNewTransaction$3(TransactionHelper.java:594)
      		at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:636)
      		at org.nuxeo.runtime.transaction.TransactionHelper.lambda$runInNewTransaction$4(TransactionHelper.java:605)
      		at org.nuxeo.runtime.transaction.TransactionHelper.runAndCleanupTransactionContext(TransactionHelper.java:690)
      		at org.nuxeo.runtime.transaction.TransactionHelper.lambda$runWithoutTransaction$2(TransactionHelper.java:584)
      		at org.nuxeo.runtime.transaction.TransactionHelper.lambda$runWithoutTransactionInternal$6(TransactionHelper.java:667)
      		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      		at java.lang.Thread.run(Thread.java:748)
      

       Also notice this error in the previous test WorkflowEndpointTest:

      2021-06-09 09:02:13,129 [main] ERROR [ComponentManagerImpl$Listeners] An error occurred during afterStart listener execution
      java.lang.NullPointerException: null
      	at org.nuxeo.ecm.platform.routing.core.impl.DocumentRoutingServiceImpl.importRouteModel(DocumentRoutingServiceImpl.java:709) ~[nuxeo-routing-core-10.10-HF49-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.platform.routing.core.impl.DocumentRoutingServiceImpl.importAllRouteModels(DocumentRoutingServiceImpl.java:691) ~[nuxeo-routing-core-10.10-HF49-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.platform.routing.core.listener.RouteModelsInitializator.lambda$importWorkflows$1(RouteModelsInitializator.java:58) ~[nuxeo-routing-core-10.10-HF49-SNAPSHOT.jar:?] 

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: