Re:[JENKINS] Lucene-Solr-Tests-8.x - Build # 971 - Failure

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re:[JENKINS] Lucene-Solr-Tests-8.x - Build # 971 - Failure

Christine Poerschke (BLOOMBERG/ LONDON)
I committed a precommit fix for this already. Affected branch_8x only.

From: [hidden email] At: 01/31/20 17:19:38
To: [hidden email]
Subject: [JENKINS] Lucene-Solr-Tests-8.x - Build # 971 - Failure

Build: https://builds.apache.org/job/Lucene-Solr-Tests-8.x/971/

All tests passed

Build Log:
[...truncated 54068 lines...]
-ecj-javadoc-lint-tests:
[mkdir] Created dir: /tmp/ecj1290924576
[ecj-lint] Compiling 570 source files to /tmp/ecj1290924576
[ecj-lint] ----------
[ecj-lint] 1. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/TestAssertions.java (at line 44)
[ecj-lint] new TestTokenStream1();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 2. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/TestAssertions.java (at line 45)
[ecj-lint] new TestTokenStream2();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 3. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/TestAssertions.java (at line 47)
[ecj-lint] new TestTokenStream3();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 4. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/TestMergeSchedulerExternal.java (at line 127)
[ecj-lint] IndexWriter writer = new IndexWriter(dir, iwc);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 5. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCachingTokenFilter.java (at line 120)
[ecj-lint] Analyzer analyzer = new MockAnalyzer(random());
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'analyzer' is never closed
[ecj-lint] ----------
[ecj-lint] 6. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCachingTokenFilter.java (at line 122)
[ecj-lint] CachingTokenFilter buffer = new CachingTokenFilter(input);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'buffer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 7. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCharFilter.java (at line 29)
[ecj-lint] CharFilter cs = new CharFilter1(new StringReader(""));
[ecj-lint] ^^
[ecj-lint] Resource leak: 'cs' is never closed
[ecj-lint] ----------
[ecj-lint] 8. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCharFilter.java (at line 34)
[ecj-lint] CharFilter cs = new CharFilter2(new StringReader(""));
[ecj-lint] ^^
[ecj-lint] Resource leak: 'cs' is never closed
[ecj-lint] ----------
[ecj-lint] 9. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCharFilter.java (at line 39)
[ecj-lint] CharFilter cs = new CharFilter2(new CharFilter1(new
StringReader("")));
[ecj-lint] ^^
[ecj-lint] Resource leak: 'cs' is never closed
[ecj-lint] ----------
[ecj-lint] 10. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCharFilter.java (at line 44)
[ecj-lint] CharFilter cs = new CharFilter1(new CharFilter1(new
StringReader("")));
[ecj-lint] ^^
[ecj-lint] Resource leak: 'cs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 11. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestDelegatingAnalyzerWrapper.java (at line 39)
[ecj-lint] DelegatingAnalyzerWrapper w2 = new
DelegatingAnalyzerWrapper(Analyzer.GLOBAL_REUSE_STRATEGY) {
[ecj-lint] ^^
[ecj-lint] Resource leak: 'w2' is never closed
[ecj-lint] ----------
[ecj-lint] 12. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestDelegatingAnalyzerWrapper.java (at line 50)
[ecj-lint] DelegatingAnalyzerWrapper w1 = new
DelegatingAnalyzerWrapper(Analyzer.GLOBAL_REUSE_STRATEGY) {
[ecj-lint] ^^
[ecj-lint] Resource leak: 'w1' is never closed
[ecj-lint] ----------
[ecj-lint] 13. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestDelegatingAnalyzerWrapper.java (at line 71)
[ecj-lint] DelegatingAnalyzerWrapper w1 = new
DelegatingAnalyzerWrapper(Analyzer.GLOBAL_REUSE_STRATEGY) {
[ecj-lint] ^^
[ecj-lint] Resource leak: 'w1' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 14. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestGraphTokenFilter.java (at line 43)
[ecj-lint] GraphTokenFilter graph = new TestFilter(tok);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'graph' is never closed
[ecj-lint] ----------
[ecj-lint] 15. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestGraphTokenFilter.java (at line 174)
[ecj-lint] GraphTokenFilter gts = new TestFilter(cts);
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'gts' is never closed
[ecj-lint] ----------
[ecj-lint] 16. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestGraphTokenFilter.java (at line 194)
[ecj-lint] GraphTokenFilter gts = new TestFilter(new
CannedTokenStream(tokens));
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'gts' is never closed
[ecj-lint] ----------
[ecj-lint] 17. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestGraphTokenFilter.java (at line 221)
[ecj-lint] GraphTokenFilter graph = new TestFilter(new
CannedTokenStream(tokens));
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'graph' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 18. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestToken.java (at line 103)
[ecj-lint] TokenStream ts = new MockTokenizer(Token.TOKEN_ATTRIBUTE_FACTORY,
MockTokenizer.WHITESPACE, false, MockTokenizer.DEFAULT_MAX_TOKEN_LENGTH);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'ts' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 19. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/standard/TestStandardAnalyzer.java (at line 469)
[ecj-lint] Analyzer a = new StandardAnalyzer();
[ecj-lint] ^
[ecj-lint] Resource leak: 'a' is never closed
[ecj-lint] ----------
[ecj-lint] 20. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/standard/TestStandardAnalyzer.java (at line 500)
[ecj-lint] StandardAnalyzer a = new StandardAnalyzer();
[ecj-lint] ^
[ecj-lint] Resource leak: 'a' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 21. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/tokenattributes/TestCharTermAttributeImpl.java (at
line 173)
[ecj-lint] Formatter formatter = new Formatter(t, Locale.ROOT);
[ecj-lint] ^^^^^^^^^
[ecj-lint] Resource leak: 'formatter' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 22. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/tokenattributes/TestPackedTokenAttributeImpl.java
(at line 62)
[ecj-lint] TokenStream ts = new
MockTokenizer(TokenStream.DEFAULT_TOKEN_ATTRIBUTE_FACTORY,
MockTokenizer.WHITESPACE, false, MockTokenizer.DEFAULT_MAX_TOKEN_LENGTH);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'ts' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 23. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAddIndexes.java (at line 423)
[ecj-lint] IndexWriter writer = new IndexWriter(aux, dontMergeConfig);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] 24. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAddIndexes.java (at line 1433)
[ecj-lint] DirectoryReader wrappedReader = new
SoftDeletesDirectoryReaderWrapper(reader, "soft_delete");
[ecj-lint] ^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'wrappedReader' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 25. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAllFilesCheckIndexHeader.java (at line 58)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 26. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAllFilesDetectTruncation.java (at line 56)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 27. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAllFilesHaveChecksumFooter.java (at line 41)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 28. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAllFilesHaveCodecHeader.java (at line 44)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 29. ERROR in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAtomicUpdate.java (at line 30)
[ecj-lint] import org.apache.lucene.store.ByteBuffersDirectory;
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] The import org.apache.lucene.store.ByteBuffersDirectory is never
used
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 30. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 380)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] 31. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 506)
[ecj-lint] final IndexWriter w = new IndexWriter(dir, iwc);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 32. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 578)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] 33. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 599)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] 34. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 606)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] 35. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 614)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 36. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDeletionPolicy.java (at line 453)
[ecj-lint] writer = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] .setIndexDeletionPolicy(policy)
[ecj-lint] .setIndexCommit(lastCommit));
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'writer' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 37. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocValuesIndexing.java (at line 835)
[ecj-lint] IndexWriter writer = new IndexWriter(dir, conf);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 38. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java (at line 40)
[ecj-lint] DocumentsWriterDeleteQueue queue = new
DocumentsWriterDeleteQueue(null);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'queue' is never closed
[ecj-lint] ----------
[ecj-lint] 39. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java (at line 97)
[ecj-lint] DocumentsWriterDeleteQueue queue = new
DocumentsWriterDeleteQueue(null);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'queue' is never closed
[ecj-lint] ----------
[ecj-lint] 40. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java (at line 120)
[ecj-lint] DocumentsWriterDeleteQueue queue = new
DocumentsWriterDeleteQueue(null);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'queue' is never closed
[ecj-lint] ----------
[ecj-lint] 41. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java (at line 146)
[ecj-lint] final DocumentsWriterDeleteQueue queue = new
DocumentsWriterDeleteQueue(null);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'queue' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 42. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestFilterDirectoryReader.java (at line 140)
[ecj-lint] DirectoryReader directoryReaderWrapper = new
NumDocsCountingFilterDirectoryReader(directoryReader, numDocsCallCount);
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'directoryReaderWrapper' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 43. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestForceMergeForever.java (at line 82)
[ecj-lint] return;
[ecj-lint] ^^^^^^^
[ecj-lint] Resource leak: 'docs' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 44. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexFileDeleter.java (at line 447)
[ecj-lint] RandomIndexWriter w = new RandomIndexWriter(random(), dir, iwc);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 45. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriter.java (at line 213)
[ecj-lint] new IndexWriter(dir, new IndexWriterConfig(new
MockAnalyzer(random()))).rollback();
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 46. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriter.java (at line 1697)
[ecj-lint] IndexWriter w = new IndexWriter(dir,
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 47. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriter.java (at line 1709)
[ecj-lint] IndexWriter w = new IndexWriter(dir,
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 48. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriter.java (at line 3576)
[ecj-lint] new IndexWriter(dir, config);
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 49. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterCommit.java (at line 299)
[ecj-lint] writer = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] .setOpenMode(OpenMode.APPEND));
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'writer' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 50. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterDelete.java (at line 904)
[ecj-lint] IndexWriter modifier = new IndexWriter(dir,
newIndexWriterConfig(new MockAnalyzer(random(), MockTokenizer.WHITESPACE,
false)));
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'modifier' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 51. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterExceptions.java (at line 584)
[ecj-lint] IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 52. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterLockRelease.java (at line 39)
[ecj-lint] new IndexWriter(dir, new IndexWriterConfig(new
MockAnalyzer(random())).setOpenMode(OpenMode.APPEND));
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 53. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterLockRelease.java (at line 42)
[ecj-lint] new IndexWriter(dir, new IndexWriterConfig(new
MockAnalyzer(random())).setOpenMode(OpenMode.APPEND));
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 54. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterMaxDocs.java (at line 313)
[ecj-lint] MultiReader mr = new MultiReader(subReaders);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'mr' is never closed
[ecj-lint] ----------
[ecj-lint] 55. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterMaxDocs.java (at line 403)
[ecj-lint] throw e;
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'w' is not closed at this location
[ecj-lint] ----------
[ecj-lint] 56. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterMaxDocs.java (at line 452)
[ecj-lint] throw e;
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'w' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 57. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterOnDiskFull.java (at line 495)
[ecj-lint] IndexWriter w = new IndexWriter(
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 58. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterOnDiskFull.java (at line 541)
[ecj-lint] IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 59. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterOutOfFileDescriptors.java (at line 40)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 60. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterWithThreads.java (at line 563)
[ecj-lint] final LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 61. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestLongPostings.java (at line 44)
[ecj-lint] Analyzer a = new MockAnalyzer(random());
[ecj-lint] ^
[ecj-lint] Resource leak: 'a' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 62. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestParallelReaderEmptyIndex.java (at line 57)
[ecj-lint] ParallelCompositeReader cpr = new ParallelCompositeReader(
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cpr' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 63. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestParallelTermEnum.java (at line 90)
[ecj-lint] ParallelLeafReader pr = new ParallelLeafReader(ir1, ir2);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'pr' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 64. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestPersistentSnapshotDeletionPolicy.java (at line 136)
[ecj-lint] throw ioe;
[ecj-lint] ^^^^^^^^^^
[ecj-lint] Resource leak: 'writer' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 65. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestRollback.java (at line 40)
[ecj-lint] IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 66. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestSoftDeletesRetentionMergePolicy.java (at line 675)
[ecj-lint] DirectoryReader reader = new IncludeSoftDeletesWrapper(unwrapped);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'reader' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 67. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestSwappedIndexFiles.java (at line 51)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 68. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestTerm.java (at line 34)
[ecj-lint] assertFalse(base.equals(differentType));
[ecj-lint] ^^^^^^^^^^^^^
[ecj-lint] Unlikely argument type for equals(): String seems to be unrelated
to Term
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 69. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestTryDelete.java (at line 79)
[ecj-lint] ReferenceManager<IndexSearcher> mgr = new SearcherManager(writer,
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'mgr' is never closed
[ecj-lint] ----------
[ecj-lint] 70. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestTryDelete.java (at line 124)
[ecj-lint] ReferenceManager<IndexSearcher> mgr = new SearcherManager(writer,
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'mgr' is never closed
[ecj-lint] ----------
[ecj-lint] 71. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestTryDelete.java (at line 166)
[ecj-lint] ReferenceManager<IndexSearcher> mgr = new SearcherManager(writer,
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'mgr' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 72. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestFuzzyQuery.java (at line 406)
[ecj-lint] MockAnalyzer analyzer = new MockAnalyzer(random());
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'analyzer' is never closed
[ecj-lint] ----------
[ecj-lint] 73. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestFuzzyQuery.java (at line 524)
[ecj-lint] RandomIndexWriter w = new RandomIndexWriter(random(), dir);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 74. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestLRUQueryCache.java (at line 185)
[ecj-lint] throw error.get();
[ecj-lint] ^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'w' is not closed at this location
[ecj-lint] ----------
[ecj-lint] 75. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestLRUQueryCache.java (at line 185)
[ecj-lint] throw error.get();
[ecj-lint] ^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'mgr' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 76. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestSameScoresWithThreads.java (at line 49)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 77. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestSearcherManager.java (at line 313)
[ecj-lint] SearcherManager sm = new SearcherManager(writer, false, false, new
SearcherFactory());
[ecj-lint] ^^
[ecj-lint] Resource leak: 'sm' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 78. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestSortedNumericSortField.java (at line 64)
[ecj-lint] assertFalse(sf.equals("foo"));
[ecj-lint] ^^^^^
[ecj-lint] Unlikely argument type for equals(): String seems to be unrelated
to SortField
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 79. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestSortedSetSortField.java (at line 64)
[ecj-lint] assertFalse(sf.equals("foo"));
[ecj-lint] ^^^^^
[ecj-lint] Unlikely argument type for equals(): String seems to be unrelated
to SortField
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 80. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestTermQuery.java (at line 52)
[ecj-lint] new TermQuery(new Term("foo", "bar"), TermStates.build(new
MultiReader().getContext(), new Term("foo", "bar"), true)));
[ecj-lint]
^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 81. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestTotalHits.java (at line 28)
[ecj-lint] assertFalse(totalHits1.equals(totalHits1.value));
[ecj-lint] ^^^^^^^^^^^^^^^^
[ecj-lint] Unlikely argument type for equals(): long seems to be unrelated to
TotalHits
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 82. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestWildcard.java (at line 55)
[ecj-lint] assertFalse(wq1.equals(fq));
[ecj-lint] ^^
[ecj-lint] Unlikely argument type for equals(): FuzzyQuery seems to be
unrelated to WildcardQuery
[ecj-lint] ----------
[ecj-lint] 83. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestWildcard.java (at line 56)
[ecj-lint] assertFalse(fq.equals(wq1));
[ecj-lint] ^^^
[ecj-lint] Unlikely argument type for equals(): WildcardQuery seems to be
unrelated to FuzzyQuery
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 84. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestBufferedIndexInput.java (at line 50)
[ecj-lint] MyBufferedIndexInput input = new MyBufferedIndexInput();
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'input' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 85. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestHugeRamFile.java (at line 88)
[ecj-lint] RAMInputStream in = new RAMInputStream("testcase", f);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'in' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 86. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestNRTCachingDirectory.java (at line 143)
[ecj-lint] Directory nrtDir1 = new NRTCachingDirectory(dir, 1, 1) {
[ecj-lint] ^^^^^^^
[ecj-lint] Resource leak: 'nrtDir1' is never closed
[ecj-lint] ----------
[ecj-lint] 87. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestNRTCachingDirectory.java (at line 155)
[ecj-lint] Directory nrtDir2 = new NRTCachingDirectory(dir, 1, 1) {
[ecj-lint] ^^^^^^^
[ecj-lint] Resource leak: 'nrtDir2' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 88. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestRAMDirectory.java (at line 81)
[ecj-lint] RAMDirectory ramDir = new RAMDirectory(fsDir,
newIOContext(random()));
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'ramDir' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 89. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 32)
[ecj-lint] TrackingDirectoryWrapper dir = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'dir' is never closed
[ecj-lint] ----------
[ecj-lint] 90. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 37)
[ecj-lint] TrackingDirectoryWrapper dir = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'dir' is never closed
[ecj-lint] ----------
[ecj-lint] 91. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 43)
[ecj-lint] TrackingDirectoryWrapper dir = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'dir' is never closed
[ecj-lint] ----------
[ecj-lint] 92. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 51)
[ecj-lint] TrackingDirectoryWrapper dir = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'dir' is never closed
[ecj-lint] ----------
[ecj-lint] 93. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 60)
[ecj-lint] TrackingDirectoryWrapper dest = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'dest' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 94. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/TestCloseableThreadLocal.java (at line 31)
[ecj-lint] CloseableThreadLocal<Object> ctl = new CloseableThreadLocal<>();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'ctl' is never closed
[ecj-lint] ----------
[ecj-lint] 95. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/TestCloseableThreadLocal.java (at line 39)
[ecj-lint] CloseableThreadLocal<Object> ctl = new CloseableThreadLocal<>();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'ctl' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 96. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/Test2BBKDPoints.java (at line 44)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs, dir, "_0", 1, 1, Long.BYTES,
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 97. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/Test2BBKDPoints.java (at line 81)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs, dir, "_0", 2, 2, Long.BYTES,
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 98. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 56)
[ecj-lint] BKDWriter w = new BKDWriter(100, dir, "tmp", 1, 1, 4, 2, 1.0f,
100);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 99. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 132)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs, dir, "tmp", numDims,
numIndexDims, 4, maxPointsInLeafNode, maxMB, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 100. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 273)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs, dir, "tmp", numDims, numDims,
numBytesPerDim, maxPointsInLeafNode, maxMB, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 101. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 788)
[ecj-lint] w = new BKDWriter(numValues, dir, "_" + seg, numDataDims,
numIndexDims, numBytesPerDim, maxPointsInLeafNode, maxMB, docValues.length);
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'w' is not closed at this location
[ecj-lint] ----------
[ecj-lint] 102. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 1069)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs+1, dir, "tmp", 1, 1,
Integer.BYTES, 2, 0.01f, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 103. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 1181)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs+1, dir, "tmp", 2, 2,
Integer.BYTES, 2, 0.01f, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 104. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 1233)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs+1, dir, "tmp", numDims,
numIndexDims, bytesPerDim, 32, 1f, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 105. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/fst/TestFSTs.java (at line 310)
[ecj-lint] final LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] 106. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/fst/TestFSTs.java (at line 573)
[ecj-lint] if (!actual.equals(intsRef)) {
[ecj-lint] ^^^^^^^
[ecj-lint] Unlikely argument type for equals(): IntsRefBuilder seems to be
unrelated to IntsRef
[ecj-lint] ----------
[ecj-lint] 106 problems (1 error, 98 warnings, 98 info)

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/build.xml:634: The
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/build.xml:101: The
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/build.xml:201
: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/common-build.
xml:2117: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/common-build.
xml:2150: Compile failed; see the compiler error output for details.

Total time: 75 minutes 37 seconds
Build step 'Invoke Ant' marked build as failure
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

----------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [JENKINS] Lucene-Solr-Tests-8.x - Build # 971 - Failure

Robert Muir
Oops, thank you again. I've fixed ant so that precommit gets further on modern java versions before failing out. So at least the ECJ check runs, which looks for stuff like this.

On Fri, Jan 31, 2020, 12:35 PM Christine Poerschke (BLOOMBERG/ LONDON) <[hidden email]> wrote:
I committed a precommit fix for this already. Affected branch_8x only.

From: [hidden email] At: 01/31/20 17:19:38
To: [hidden email]
Subject: [JENKINS] Lucene-Solr-Tests-8.x - Build # 971 - Failure

Build: https://builds.apache.org/job/Lucene-Solr-Tests-8.x/971/

All tests passed

Build Log:
[...truncated 54068 lines...]
-ecj-javadoc-lint-tests:
[mkdir] Created dir: /tmp/ecj1290924576
[ecj-lint] Compiling 570 source files to /tmp/ecj1290924576
[ecj-lint] ----------
[ecj-lint] 1. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/TestAssertions.java (at line 44)
[ecj-lint] new TestTokenStream1();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 2. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/TestAssertions.java (at line 45)
[ecj-lint] new TestTokenStream2();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 3. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/TestAssertions.java (at line 47)
[ecj-lint] new TestTokenStream3();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 4. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/TestMergeSchedulerExternal.java (at line 127)
[ecj-lint] IndexWriter writer = new IndexWriter(dir, iwc);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 5. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCachingTokenFilter.java (at line 120)
[ecj-lint] Analyzer analyzer = new MockAnalyzer(random());
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'analyzer' is never closed
[ecj-lint] ----------
[ecj-lint] 6. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCachingTokenFilter.java (at line 122)
[ecj-lint] CachingTokenFilter buffer = new CachingTokenFilter(input);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'buffer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 7. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCharFilter.java (at line 29)
[ecj-lint] CharFilter cs = new CharFilter1(new StringReader(""));
[ecj-lint] ^^
[ecj-lint] Resource leak: 'cs' is never closed
[ecj-lint] ----------
[ecj-lint] 8. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCharFilter.java (at line 34)
[ecj-lint] CharFilter cs = new CharFilter2(new StringReader(""));
[ecj-lint] ^^
[ecj-lint] Resource leak: 'cs' is never closed
[ecj-lint] ----------
[ecj-lint] 9. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCharFilter.java (at line 39)
[ecj-lint] CharFilter cs = new CharFilter2(new CharFilter1(new
StringReader("")));
[ecj-lint] ^^
[ecj-lint] Resource leak: 'cs' is never closed
[ecj-lint] ----------
[ecj-lint] 10. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestCharFilter.java (at line 44)
[ecj-lint] CharFilter cs = new CharFilter1(new CharFilter1(new
StringReader("")));
[ecj-lint] ^^
[ecj-lint] Resource leak: 'cs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 11. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestDelegatingAnalyzerWrapper.java (at line 39)
[ecj-lint] DelegatingAnalyzerWrapper w2 = new
DelegatingAnalyzerWrapper(Analyzer.GLOBAL_REUSE_STRATEGY) {
[ecj-lint] ^^
[ecj-lint] Resource leak: 'w2' is never closed
[ecj-lint] ----------
[ecj-lint] 12. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestDelegatingAnalyzerWrapper.java (at line 50)
[ecj-lint] DelegatingAnalyzerWrapper w1 = new
DelegatingAnalyzerWrapper(Analyzer.GLOBAL_REUSE_STRATEGY) {
[ecj-lint] ^^
[ecj-lint] Resource leak: 'w1' is never closed
[ecj-lint] ----------
[ecj-lint] 13. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestDelegatingAnalyzerWrapper.java (at line 71)
[ecj-lint] DelegatingAnalyzerWrapper w1 = new
DelegatingAnalyzerWrapper(Analyzer.GLOBAL_REUSE_STRATEGY) {
[ecj-lint] ^^
[ecj-lint] Resource leak: 'w1' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 14. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestGraphTokenFilter.java (at line 43)
[ecj-lint] GraphTokenFilter graph = new TestFilter(tok);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'graph' is never closed
[ecj-lint] ----------
[ecj-lint] 15. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestGraphTokenFilter.java (at line 174)
[ecj-lint] GraphTokenFilter gts = new TestFilter(cts);
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'gts' is never closed
[ecj-lint] ----------
[ecj-lint] 16. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestGraphTokenFilter.java (at line 194)
[ecj-lint] GraphTokenFilter gts = new TestFilter(new
CannedTokenStream(tokens));
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'gts' is never closed
[ecj-lint] ----------
[ecj-lint] 17. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestGraphTokenFilter.java (at line 221)
[ecj-lint] GraphTokenFilter graph = new TestFilter(new
CannedTokenStream(tokens));
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'graph' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 18. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/TestToken.java (at line 103)
[ecj-lint] TokenStream ts = new MockTokenizer(Token.TOKEN_ATTRIBUTE_FACTORY,
MockTokenizer.WHITESPACE, false, MockTokenizer.DEFAULT_MAX_TOKEN_LENGTH);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'ts' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 19. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/standard/TestStandardAnalyzer.java (at line 469)
[ecj-lint] Analyzer a = new StandardAnalyzer();
[ecj-lint] ^
[ecj-lint] Resource leak: 'a' is never closed
[ecj-lint] ----------
[ecj-lint] 20. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/standard/TestStandardAnalyzer.java (at line 500)
[ecj-lint] StandardAnalyzer a = new StandardAnalyzer();
[ecj-lint] ^
[ecj-lint] Resource leak: 'a' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 21. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/tokenattributes/TestCharTermAttributeImpl.java (at
line 173)
[ecj-lint] Formatter formatter = new Formatter(t, Locale.ROOT);
[ecj-lint] ^^^^^^^^^
[ecj-lint] Resource leak: 'formatter' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 22. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/analysis/tokenattributes/TestPackedTokenAttributeImpl.java
(at line 62)
[ecj-lint] TokenStream ts = new
MockTokenizer(TokenStream.DEFAULT_TOKEN_ATTRIBUTE_FACTORY,
MockTokenizer.WHITESPACE, false, MockTokenizer.DEFAULT_MAX_TOKEN_LENGTH);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'ts' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 23. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAddIndexes.java (at line 423)
[ecj-lint] IndexWriter writer = new IndexWriter(aux, dontMergeConfig);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] 24. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAddIndexes.java (at line 1433)
[ecj-lint] DirectoryReader wrappedReader = new
SoftDeletesDirectoryReaderWrapper(reader, "soft_delete");
[ecj-lint] ^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'wrappedReader' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 25. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAllFilesCheckIndexHeader.java (at line 58)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 26. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAllFilesDetectTruncation.java (at line 56)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 27. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAllFilesHaveChecksumFooter.java (at line 41)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 28. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAllFilesHaveCodecHeader.java (at line 44)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 29. ERROR in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestAtomicUpdate.java (at line 30)
[ecj-lint] import org.apache.lucene.store.ByteBuffersDirectory;
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] The import org.apache.lucene.store.ByteBuffersDirectory is never
used
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 30. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 380)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] 31. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 506)
[ecj-lint] final IndexWriter w = new IndexWriter(dir, iwc);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 32. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 578)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] 33. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 599)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] 34. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 606)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] 35. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestConcurrentMergeScheduler.java (at line 614)
[ecj-lint] ConcurrentMergeScheduler cms = new ConcurrentMergeScheduler();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cms' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 36. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDeletionPolicy.java (at line 453)
[ecj-lint] writer = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] .setIndexDeletionPolicy(policy)
[ecj-lint] .setIndexCommit(lastCommit));
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'writer' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 37. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocValuesIndexing.java (at line 835)
[ecj-lint] IndexWriter writer = new IndexWriter(dir, conf);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 38. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java (at line 40)
[ecj-lint] DocumentsWriterDeleteQueue queue = new
DocumentsWriterDeleteQueue(null);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'queue' is never closed
[ecj-lint] ----------
[ecj-lint] 39. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java (at line 97)
[ecj-lint] DocumentsWriterDeleteQueue queue = new
DocumentsWriterDeleteQueue(null);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'queue' is never closed
[ecj-lint] ----------
[ecj-lint] 40. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java (at line 120)
[ecj-lint] DocumentsWriterDeleteQueue queue = new
DocumentsWriterDeleteQueue(null);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'queue' is never closed
[ecj-lint] ----------
[ecj-lint] 41. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java (at line 146)
[ecj-lint] final DocumentsWriterDeleteQueue queue = new
DocumentsWriterDeleteQueue(null);
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'queue' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 42. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestFilterDirectoryReader.java (at line 140)
[ecj-lint] DirectoryReader directoryReaderWrapper = new
NumDocsCountingFilterDirectoryReader(directoryReader, numDocsCallCount);
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'directoryReaderWrapper' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 43. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestForceMergeForever.java (at line 82)
[ecj-lint] return;
[ecj-lint] ^^^^^^^
[ecj-lint] Resource leak: 'docs' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 44. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexFileDeleter.java (at line 447)
[ecj-lint] RandomIndexWriter w = new RandomIndexWriter(random(), dir, iwc);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 45. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriter.java (at line 213)
[ecj-lint] new IndexWriter(dir, new IndexWriterConfig(new
MockAnalyzer(random()))).rollback();
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 46. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriter.java (at line 1697)
[ecj-lint] IndexWriter w = new IndexWriter(dir,
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 47. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriter.java (at line 1709)
[ecj-lint] IndexWriter w = new IndexWriter(dir,
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 48. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriter.java (at line 3576)
[ecj-lint] new IndexWriter(dir, config);
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 49. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterCommit.java (at line 299)
[ecj-lint] writer = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] .setOpenMode(OpenMode.APPEND));
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'writer' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 50. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterDelete.java (at line 904)
[ecj-lint] IndexWriter modifier = new IndexWriter(dir,
newIndexWriterConfig(new MockAnalyzer(random(), MockTokenizer.WHITESPACE,
false)));
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'modifier' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 51. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterExceptions.java (at line 584)
[ecj-lint] IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 52. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterLockRelease.java (at line 39)
[ecj-lint] new IndexWriter(dir, new IndexWriterConfig(new
MockAnalyzer(random())).setOpenMode(OpenMode.APPEND));
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 53. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterLockRelease.java (at line 42)
[ecj-lint] new IndexWriter(dir, new IndexWriterConfig(new
MockAnalyzer(random())).setOpenMode(OpenMode.APPEND));
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 54. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterMaxDocs.java (at line 313)
[ecj-lint] MultiReader mr = new MultiReader(subReaders);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'mr' is never closed
[ecj-lint] ----------
[ecj-lint] 55. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterMaxDocs.java (at line 403)
[ecj-lint] throw e;
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'w' is not closed at this location
[ecj-lint] ----------
[ecj-lint] 56. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterMaxDocs.java (at line 452)
[ecj-lint] throw e;
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'w' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 57. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterOnDiskFull.java (at line 495)
[ecj-lint] IndexWriter w = new IndexWriter(
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 58. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterOnDiskFull.java (at line 541)
[ecj-lint] IndexWriter writer = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'writer' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 59. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterOutOfFileDescriptors.java (at line 40)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 60. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestIndexWriterWithThreads.java (at line 563)
[ecj-lint] final LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 61. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestLongPostings.java (at line 44)
[ecj-lint] Analyzer a = new MockAnalyzer(random());
[ecj-lint] ^
[ecj-lint] Resource leak: 'a' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 62. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestParallelReaderEmptyIndex.java (at line 57)
[ecj-lint] ParallelCompositeReader cpr = new ParallelCompositeReader(
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'cpr' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 63. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestParallelTermEnum.java (at line 90)
[ecj-lint] ParallelLeafReader pr = new ParallelLeafReader(ir1, ir2);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'pr' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 64. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestPersistentSnapshotDeletionPolicy.java (at line 136)
[ecj-lint] throw ioe;
[ecj-lint] ^^^^^^^^^^
[ecj-lint] Resource leak: 'writer' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 65. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestRollback.java (at line 40)
[ecj-lint] IndexWriter w = new IndexWriter(dir, newIndexWriterConfig(new
MockAnalyzer(random()))
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 66. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestSoftDeletesRetentionMergePolicy.java (at line 675)
[ecj-lint] DirectoryReader reader = new IncludeSoftDeletesWrapper(unwrapped);
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'reader' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 67. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestSwappedIndexFiles.java (at line 51)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 68. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestTerm.java (at line 34)
[ecj-lint] assertFalse(base.equals(differentType));
[ecj-lint] ^^^^^^^^^^^^^
[ecj-lint] Unlikely argument type for equals(): String seems to be unrelated
to Term
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 69. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestTryDelete.java (at line 79)
[ecj-lint] ReferenceManager<IndexSearcher> mgr = new SearcherManager(writer,
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'mgr' is never closed
[ecj-lint] ----------
[ecj-lint] 70. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestTryDelete.java (at line 124)
[ecj-lint] ReferenceManager<IndexSearcher> mgr = new SearcherManager(writer,
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'mgr' is never closed
[ecj-lint] ----------
[ecj-lint] 71. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/index/TestTryDelete.java (at line 166)
[ecj-lint] ReferenceManager<IndexSearcher> mgr = new SearcherManager(writer,
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'mgr' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 72. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestFuzzyQuery.java (at line 406)
[ecj-lint] MockAnalyzer analyzer = new MockAnalyzer(random());
[ecj-lint] ^^^^^^^^
[ecj-lint] Resource leak: 'analyzer' is never closed
[ecj-lint] ----------
[ecj-lint] 73. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestFuzzyQuery.java (at line 524)
[ecj-lint] RandomIndexWriter w = new RandomIndexWriter(random(), dir);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 74. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestLRUQueryCache.java (at line 185)
[ecj-lint] throw error.get();
[ecj-lint] ^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'w' is not closed at this location
[ecj-lint] ----------
[ecj-lint] 75. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestLRUQueryCache.java (at line 185)
[ecj-lint] throw error.get();
[ecj-lint] ^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'mgr' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 76. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestSameScoresWithThreads.java (at line 49)
[ecj-lint] LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 77. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestSearcherManager.java (at line 313)
[ecj-lint] SearcherManager sm = new SearcherManager(writer, false, false, new
SearcherFactory());
[ecj-lint] ^^
[ecj-lint] Resource leak: 'sm' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 78. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestSortedNumericSortField.java (at line 64)
[ecj-lint] assertFalse(sf.equals("foo"));
[ecj-lint] ^^^^^
[ecj-lint] Unlikely argument type for equals(): String seems to be unrelated
to SortField
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 79. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestSortedSetSortField.java (at line 64)
[ecj-lint] assertFalse(sf.equals("foo"));
[ecj-lint] ^^^^^
[ecj-lint] Unlikely argument type for equals(): String seems to be unrelated
to SortField
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 80. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestTermQuery.java (at line 52)
[ecj-lint] new TermQuery(new Term("foo", "bar"), TermStates.build(new
MultiReader().getContext(), new Term("foo", "bar"), true)));
[ecj-lint]
^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 81. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestTotalHits.java (at line 28)
[ecj-lint] assertFalse(totalHits1.equals(totalHits1.value));
[ecj-lint] ^^^^^^^^^^^^^^^^
[ecj-lint] Unlikely argument type for equals(): long seems to be unrelated to
TotalHits
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 82. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestWildcard.java (at line 55)
[ecj-lint] assertFalse(wq1.equals(fq));
[ecj-lint] ^^
[ecj-lint] Unlikely argument type for equals(): FuzzyQuery seems to be
unrelated to WildcardQuery
[ecj-lint] ----------
[ecj-lint] 83. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/search/TestWildcard.java (at line 56)
[ecj-lint] assertFalse(fq.equals(wq1));
[ecj-lint] ^^^
[ecj-lint] Unlikely argument type for equals(): WildcardQuery seems to be
unrelated to FuzzyQuery
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 84. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestBufferedIndexInput.java (at line 50)
[ecj-lint] MyBufferedIndexInput input = new MyBufferedIndexInput();
[ecj-lint] ^^^^^
[ecj-lint] Resource leak: 'input' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 85. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestHugeRamFile.java (at line 88)
[ecj-lint] RAMInputStream in = new RAMInputStream("testcase", f);
[ecj-lint] ^^
[ecj-lint] Resource leak: 'in' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 86. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestNRTCachingDirectory.java (at line 143)
[ecj-lint] Directory nrtDir1 = new NRTCachingDirectory(dir, 1, 1) {
[ecj-lint] ^^^^^^^
[ecj-lint] Resource leak: 'nrtDir1' is never closed
[ecj-lint] ----------
[ecj-lint] 87. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestNRTCachingDirectory.java (at line 155)
[ecj-lint] Directory nrtDir2 = new NRTCachingDirectory(dir, 1, 1) {
[ecj-lint] ^^^^^^^
[ecj-lint] Resource leak: 'nrtDir2' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 88. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestRAMDirectory.java (at line 81)
[ecj-lint] RAMDirectory ramDir = new RAMDirectory(fsDir,
newIOContext(random()));
[ecj-lint] ^^^^^^
[ecj-lint] Resource leak: 'ramDir' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 89. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 32)
[ecj-lint] TrackingDirectoryWrapper dir = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'dir' is never closed
[ecj-lint] ----------
[ecj-lint] 90. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 37)
[ecj-lint] TrackingDirectoryWrapper dir = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'dir' is never closed
[ecj-lint] ----------
[ecj-lint] 91. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 43)
[ecj-lint] TrackingDirectoryWrapper dir = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'dir' is never closed
[ecj-lint] ----------
[ecj-lint] 92. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 51)
[ecj-lint] TrackingDirectoryWrapper dir = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'dir' is never closed
[ecj-lint] ----------
[ecj-lint] 93. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/store/TestTrackingDirectoryWrapper.java (at line 60)
[ecj-lint] TrackingDirectoryWrapper dest = new TrackingDirectoryWrapper(new
RAMDirectory());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'dest' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 94. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/TestCloseableThreadLocal.java (at line 31)
[ecj-lint] CloseableThreadLocal<Object> ctl = new CloseableThreadLocal<>();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'ctl' is never closed
[ecj-lint] ----------
[ecj-lint] 95. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/TestCloseableThreadLocal.java (at line 39)
[ecj-lint] CloseableThreadLocal<Object> ctl = new CloseableThreadLocal<>();
[ecj-lint] ^^^
[ecj-lint] Resource leak: 'ctl' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 96. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/Test2BBKDPoints.java (at line 44)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs, dir, "_0", 1, 1, Long.BYTES,
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 97. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/Test2BBKDPoints.java (at line 81)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs, dir, "_0", 2, 2, Long.BYTES,
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 98. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 56)
[ecj-lint] BKDWriter w = new BKDWriter(100, dir, "tmp", 1, 1, 4, 2, 1.0f,
100);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 99. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 132)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs, dir, "tmp", numDims,
numIndexDims, 4, maxPointsInLeafNode, maxMB, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 100. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 273)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs, dir, "tmp", numDims, numDims,
numBytesPerDim, maxPointsInLeafNode, maxMB, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 101. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 788)
[ecj-lint] w = new BKDWriter(numValues, dir, "_" + seg, numDataDims,
numIndexDims, numBytesPerDim, maxPointsInLeafNode, maxMB, docValues.length);
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'w' is not closed at this location
[ecj-lint] ----------
[ecj-lint] 102. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 1069)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs+1, dir, "tmp", 1, 1,
Integer.BYTES, 2, 0.01f, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 103. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 1181)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs+1, dir, "tmp", 2, 2,
Integer.BYTES, 2, 0.01f, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] 104. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/bkd/TestBKD.java (at line 1233)
[ecj-lint] BKDWriter w = new BKDWriter(numDocs+1, dir, "tmp", numDims,
numIndexDims, bytesPerDim, 32, 1f, numDocs);
[ecj-lint] ^
[ecj-lint] Resource leak: 'w' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 105. WARNING in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/fst/TestFSTs.java (at line 310)
[ecj-lint] final LineFileDocs docs = new LineFileDocs(random());
[ecj-lint] ^^^^
[ecj-lint] Resource leak: 'docs' is never closed
[ecj-lint] ----------
[ecj-lint] 106. INFO in
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/core/src/test
/org/apache/lucene/util/fst/TestFSTs.java (at line 573)
[ecj-lint] if (!actual.equals(intsRef)) {
[ecj-lint] ^^^^^^^
[ecj-lint] Unlikely argument type for equals(): IntsRefBuilder seems to be
unrelated to IntsRef
[ecj-lint] ----------
[ecj-lint] 106 problems (1 error, 98 warnings, 98 info)

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/build.xml:634: The
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/build.xml:101: The
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/build.xml:201
: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/common-build.
xml:2117: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/common-build.
xml:2150: Compile failed; see the compiler error output for details.

Total time: 75 minutes 37 seconds
Build step 'Invoke Ant' marked build as failure
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

----------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]