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/