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

Fix UT failures in nuxeo-8.10-fullbuild-part1-multidb with Oracle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 8.10
    • Fix Version/s: None
    • Component/s: Core

      Description

      See https://qa2.nuxeo.org/jenkins/view/8.10/job/8.10/job/nuxeo-8.10-fullbuild-part1-multidb/Slave=MULTIDB_LINUX_810,dbprofile=oracle12c,jdk=java-8-oracle/
      Many tests fail with the same error:

      java.lang.AssertionError: invoke on features error [Holder [type=class org.nuxeo.runtime.test.runner.MDCFeature], Holder [type=class org.nuxeo.runtime.test.runner.ConditionalIgnoreRule$Feature], Holder [type=class org.nuxeo.runtime.test.runner.RandomBug$Feature], Holder [type=class org.nuxeo.runtime.test.runner.RuntimeFeature], Holder [type=class org.nuxeo.runtime.test.runner.ContainerFeature], Holder [type=class org.nuxeo.ecm.core.test.TransactionalFeature], Holder [type=class org.nuxeo.ecm.core.test.CoreFeature], Holder [type=class org.nuxeo.ecm.activity.ActivityFeature]]
      	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.start(FeaturesRunner.java:193)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$BeforeClassStatement.evaluate(FeaturesRunner.java:264)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runners.Suite.runChild(Suite.java:127)
      	at org.junit.runners.Suite.runChild(Suite.java:26)
      	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.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      	Suppressed: org.nuxeo.ecm.core.api.NuxeoException: java.sql.SQLRecoverableException: No more data to read from socket
      		at org.nuxeo.ecm.core.test.StorageConfiguration.initJDBC(StorageConfiguration.java:156)
      		at org.nuxeo.ecm.core.test.StorageConfiguration.init(StorageConfiguration.java:124)
      		at org.nuxeo.ecm.core.test.CoreFeature.start(CoreFeature.java:178)
      		at org.nuxeo.runtime.test.runner.FeaturesRunner$6.call(FeaturesRunner.java:197)
      		at org.nuxeo.runtime.test.runner.FeaturesLoader.apply(FeaturesLoader.java:126)
      		... 22 more
      	Caused by: java.sql.SQLRecoverableException: No more data to read from socket
      		at oracle.jdbc.driver.T4CMAREngineStream.unmarshalUB1(T4CMAREngineStream.java:453)
      		at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:390)
      		at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
      		at oracle.jdbc.driver.T4CTTIoauthenticate.doOSESSKEY(T4CTTIoauthenticate.java:439)
      		at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:580)
      		at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:715)
      		at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:385)
      		at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:30)
      		at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:564)
      		at java.sql.DriverManager.getConnection(DriverManager.java:664)
      		at java.sql.DriverManager.getConnection(DriverManager.java:247)
      		at org.nuxeo.common.utils.JDBCUtils$1.call(JDBCUtils.java:101)
      		at org.nuxeo.common.utils.JDBCUtils$1.call(JDBCUtils.java:97)
      		at org.nuxeo.common.utils.JDBCUtils.callWithRetry(JDBCUtils.java:60)
      		at org.nuxeo.common.utils.JDBCUtils.getConnection(JDBCUtils.java:97)
      		at org.nuxeo.ecm.core.storage.sql.DatabaseHelper.getConnection(DatabaseHelper.java:129)
      		at org.nuxeo.ecm.core.storage.sql.DatabaseOracle.setUp(DatabaseOracle.java:71)
      		at org.nuxeo.ecm.core.test.StorageConfiguration.initJDBC(StorageConfiguration.java:154)
      		... 26 more
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vdutat Vincent Dutat
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: