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

Fix TestAclProcessingExceedingTimeout on Nuxeo 6.0 with Java 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF31
    • Component/s: Core, Tests

      Description

      On Nuxeo 6.0 using Java 8 the test tearDown fails. It runs ok with Java 7.

      java.lang.AssertionError: invoke on features error [org.nuxeo.ecm.platform.test.PlatformFeature@7ff2a664, org.nuxeo.ecm.directory.sql.SQLDirectoryFeature@6a472554, org.nuxeo.ecm.platform.login.test.ClientLoginFeature@3d36e4cd, org.nuxeo.ecm.core.test.CoreFeature@709ba3fb, org.nuxeo.ecm.core.test.TransactionalFeature@5d20e46, org.nuxeo.runtime.test.runner.RuntimeFeature@7364985f]
      	at org.nuxeo.runtime.test.runner.FeaturesRunner.invokeFeatures(FeaturesRunner.java:468)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner.afterTeardown(FeaturesRunner.java:302)
      	Suppressed: org.nuxeo.ecm.directory.DirectoryException: error remove links to Administrator
      		at org.nuxeo.ecm.directory.sql.TableReference.removeLinksFor(TableReference.java:315)
      		at org.nuxeo.ecm.directory.sql.TableReference.removeLinksForSource(TableReference.java:329)
      		at org.nuxeo.ecm.directory.sql.SQLSession.deleteEntry(SQLSession.java:637)
      		at org.nuxeo.ecm.directory.sql.SQLDirectoryFeature.afterTeardown(SQLDirectoryFeature.java:140)
      		at org.nuxeo.runtime.test.runner.FeaturesRunner$9.call(FeaturesRunner.java:306)
      		at org.nuxeo.runtime.test.runner.FeaturesRunner.invokeFeatures(FeaturesRunner.java:472)
      		... 16 more
      	Caused by: org.h2.jdbc.JdbcSQLException: Table "user2group" not found; SQL statement:
      DELETE FROM "user2group" WHERE "userId" = ? [42102-177]
      		at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
      		at org.h2.message.DbException.get(DbException.java:178)
      		at org.h2.message.DbException.get(DbException.java:154)
      		at org.h2.command.Parser.readTableOrView(Parser.java:5213)
      		at org.h2.command.Parser.readTableOrView(Parser.java:5190)
      		at org.h2.command.Parser.readSimpleTableFilter(Parser.java:758)
      		at org.h2.command.Parser.parseDelete(Parser.java:781)
      		at org.h2.command.Parser.parsePrepared(Parser.java:363)
      		at org.h2.command.Parser.parse(Parser.java:306)
      		at org.h2.command.Parser.parse(Parser.java:278)
      		at org.h2.command.Parser.prepareCommand(Parser.java:243)
      		at org.h2.engine.Session.prepareLocal(Session.java:442)
      		at org.h2.engine.Session.prepareCommand(Session.java:384)
      		at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1188)
      		at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:73)
      		at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:276)
      		at org.nuxeo.ecm.directory.sql.TableReference.removeLinksFor(TableReference.java:311)
      		... 21 more
      

      Seen on https://qa.nuxeo.org/jenkins/view/6.0/job/6.0/job/nuxeo-6.0-fullbuild-jdk8-daily/76/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: