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

BIRT test failures on SQL Server

    XMLWordPrintable

    Details

      Description

      BIRT tests fail to initialize on SQL Sever:

      • TestAdapters.testParams
      • TestAdapters.testAdapters
      • TestBirtDesign.testNuxeoReport
      • TestBirtDesign.testNuxeoReportWithParams
      java.lang.AssertionError: Cannot create session
      	at org.nuxeo.ecm.core.test.RepositorySettings.createSession(RepositorySettings.java:220)
      	at org.nuxeo.ecm.core.test.CoreFeature.cleanupSession(CoreFeature.java:182)
      	at org.nuxeo.ecm.core.test.CoreFeature.afterTeardown(CoreFeature.java:151)
      Caused by: org.nuxeo.ecm.core.api.DocumentException: Failed to update read acls
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getSession(ConnectionFactoryImpl.java:168)
      	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:226)
      	... 47 more
      Caused by: java.sql.SQLException: Invalid object name 'aclr'.
      	at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)
      	at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2893)
      	at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2335)
      	at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:638)
      	at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:613)
      	at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:572)
      	at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:809)
      	at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1282)
      	at org.tranql.connector.jdbc.StatementHandle.execute(StatementHandle.java:119)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.updateReadAcls(JDBCMapper.java:1005)
      	... 79 more
      

      https://qa.nuxeo.org/jenkins/job/nuxeo-master-fullbuild-part1-multidb-linux/1345/Slave=MULTIDB_LINUX,dbprofile=mssql,jdk=java-8-oracle/testReport/junit/org.nuxeo.ecm.platform.reporting.tests/TestAdapters/testParams/

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: