Build:
http://qa.nuxeo.org/jenkins/job/nuxeo-master-fullbuild-part1-multidb-windows/918/
Error Message Failed to execute query: CMISQL: SELECT cmis:name FROM File WHERE CONTAINS('title1 description1'): Cannot overwrite: C:\WORK\Slave\MULTIDB_WINDOWS\dbprofile\default\jdk\java-7-sun\addons\nuxeo-chemistry\nuxeo-opencmis-tests\target\test\h2\nuxeo\nuxeojunittests.lucene\_0.cfs Stacktrace org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Failed to execute query: CMISQL: SELECT cmis:name FROM File WHERE CONTAINS('title1 description1'): Cannot overwrite: C:\WORK\Slave\MULTIDB_WINDOWS\dbprofile\default\jdk\java-7-sun\addons\nuxeo-chemistry\nuxeo-opencmis-tests\target\test\h2\nuxeo\nuxeojunittests.lucene\_0.cfs at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.query(NuxeoCmisService.java:1452) at org.nuxeo.ecm.core.opencmis.impl.TestNuxeoBinding.query(TestNuxeoBinding.java:192) at org.nuxeo.ecm.core.opencmis.impl.TestNuxeoBinding.testQueryContainsSyntax(TestNuxeoBinding.java:2033) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) 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) Caused by: org.nuxeo.ecm.core.api.ClientException: Failed to execute query: CMISQL: SELECT cmis:name FROM File WHERE CONTAINS('title1 description1'): Cannot overwrite: C:\WORK\Slave\MULTIDB_WINDOWS\dbprofile\default\jdk\java-7-sun\addons\nuxeo-chemistry\nuxeo-opencmis-tests\target\test\h2\nuxeo\nuxeojunittests.lucene\_0.cfs at org.nuxeo.ecm.core.api.AbstractSession.queryAndFetch(AbstractSession.java:1398) at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.query(NuxeoCmisService.java:1405) ... 26 more Caused by: org.nuxeo.ecm.core.query.QueryException: Invalid query: CMISQL: SELECT cmis:name FROM File WHERE CONTAINS('title1 description1') at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.queryAndFetch(SQLSession.java:604) at org.nuxeo.ecm.core.api.AbstractSession.queryAndFetch(AbstractSession.java:1394) ... 27 more Caused by: org.nuxeo.ecm.core.storage.StorageException: Invalid query: CMISQL: SELECT cmis:name FROM File WHERE CONTAINS('title1 description1') at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.queryAndFetch(JDBCMapper.java:919) at org.nuxeo.ecm.core.storage.sql.SoftRefCachingMapper.queryAndFetch(SoftRefCachingMapper.java:107) at org.nuxeo.ecm.core.storage.sql.SessionImpl.queryAndFetch(SessionImpl.java:1255) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.queryAndFetch(SQLSession.java:602) ... 28 more Caused by: java.sql.SQLException: Error while indexing document at org.nuxeo.ecm.core.storage.sql.db.H2Fulltext.convertException(H2Fulltext.java:511) at org.nuxeo.ecm.core.storage.sql.db.H2Fulltext.convertException(H2Fulltext.java:507) at org.nuxeo.ecm.core.storage.sql.db.H2Fulltext.search(H2Fulltext.java:360) at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.h2.engine.FunctionAlias$JavaMethod.getValue(FunctionAlias.java:301) at org.h2.expression.JavaFunction.getValue(JavaFunction.java:38) at org.h2.table.FunctionTable.getResult(FunctionTable.java:159) at org.h2.index.FunctionIndex.find(FunctionIndex.java:49) at org.h2.table.TableFilter.next(TableFilter.java:296) at org.h2.table.TableFilter.next(TableFilter.java:351) at org.h2.table.TableFilter.next(TableFilter.java:351) at org.h2.table.TableFilter.next(TableFilter.java:351) at org.h2.command.dml.Select.queryFlat(Select.java:493) at org.h2.command.dml.Select.queryWithoutCache(Select.java:561) at org.h2.command.dml.Query.query(Query.java:234) at org.h2.command.CommandContainer.query(CommandContainer.java:82) at org.h2.command.Command.executeQueryLocal(Command.java:142) at org.h2.command.Command.executeQuery(Command.java:123) at org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:98) at org.nuxeo.ecm.core.storage.sql.jdbc.ResultSetQueryResult.<init>(ResultSetQueryResult.java:74) at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.queryAndFetch(JDBCMapper.java:915) ... 31 more Caused by: java.io.IOException: Cannot overwrite: C:\WORK\Slave\MULTIDB_WINDOWS\dbprofile\default\jdk\java-7-sun\addons\nuxeo-chemistry\nuxeo-opencmis-tests\target\test\h2\nuxeo\nuxeojunittests.lucene\_0.cfs at org.apache.lucene.store.FSDirectory.ensureCanWrite(FSDirectory.java:293) at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:282) at org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:44) at org.apache.lucene.store.CompoundFileWriter.getOutput(CompoundFileWriter.java:103) at org.apache.lucene.store.CompoundFileWriter.createOutput(CompoundFileWriter.java:231) at org.apache.lucene.store.CompoundFileDirectory.createOutput(CompoundFileDirectory.java:332) at org.apache.lucene.store.Directory.copy(Directory.java:184) at org.apache.lucene.store.TrackingDirectoryWrapper.copy(TrackingDirectoryWrapper.java:50) at org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4645) at org.apache.lucene.index.DocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.java:535) at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:502) at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:506) at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:616) at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2864) at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3022) at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2989) at org.nuxeo.ecm.core.storage.sql.db.H2Fulltext.search(H2Fulltext.java:352) ... 51 more Suppressed: java.io.IOException: Cannot overwrite: C:\WORK\Slave\MULTIDB_WINDOWS\dbprofile\default\jdk\java-7-sun\addons\nuxeo-chemistry\nuxeo-opencmis-tests\target\test\h2\nuxeo\nuxeojunittests.lucene\_0.cfs at org.apache.lucene.store.FSDirectory.ensureCanWrite(FSDirectory.java:293) at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:282) at org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:44) at org.apache.lucene.store.CompoundFileWriter.getOutput(CompoundFileWriter.java:103) at org.apache.lucene.store.CompoundFileWriter.close(CompoundFileWriter.java:147) at org.apache.lucene.store.CompoundFileDirectory.close(CompoundFileDirectory.java:256) at org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:81) at org.apache.lucene.index.IndexWriter.createCompoundFile(IndexWriter.java:4653) ... 59 more
- is duplicated by
-
NXP-14488 Fix various errors in repository test cases under master / Windows / h2
- Resolved