Build: https://builds.apache.org/job/Lucene-Solr-Tests-8.x/199/
All tests passed
Build Log:
[...truncated 62462 lines...]
-ecj-javadoc-lint-src:
[mkdir] Created dir: /tmp/ecj769559510
[ecj-lint] Compiling 1272 source files to /tmp/ecj769559510
[ecj-lint] Processing annotations
[ecj-lint] Annotations processed
[ecj-lint] Processing annotations
[ecj-lint] No elements to process
[ecj-lint] invalid Class-Path header in manifest of jar file:
/x1/jenkins/.ivy2/cache/org.restlet.jee/org.restlet/jars/org.restlet-2.3.0.jar
[ecj-lint] invalid Class-Path header in manifest of jar file:
/x1/jenkins/.ivy2/cache/org.restlet.jee/org.restlet.ext.servlet/jars/org.restlet.ext.servlet-2.3.0.jar
[ecj-lint] ----------
[ecj-lint] 1. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.java
(at line 219)
[ecj-lint] return (NamedList<Object>) new
JavaBinCodec(resolver).unmarshal(in);
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 2. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/cloud/api/collections/RestoreCmd.java
(at line 265)
[ecj-lint] throw new SolrException(ErrorCode.BAD_REQUEST, "Unexpected
number of replicas, replicationFactor, " +
[ecj-lint] Replica.Type.NRT + " or " + Replica.Type.TLOG + "
must be greater than 0");
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'repository' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 3. ERROR in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScalingHandler.java
(at line 74)
[ecj-lint] import static org.apache.solr.common.util.Utils.fromJSON;
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] The import org.apache.solr.common.util.Utils.fromJSON is never used
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 4. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/cloud/autoscaling/sim/SimCloudManager.java
(at line 788)
[ecj-lint] throw new UnsupportedOperationException("must add at least 1
node first");
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'queryRequest' is not closed at this location
[ecj-lint] ----------
[ecj-lint] 5. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/cloud/autoscaling/sim/SimCloudManager.java
(at line 794)
[ecj-lint] throw new UnsupportedOperationException("must add at least 1
node first");
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'queryRequest' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 6. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/handler/admin/SegmentsInfoRequestHandler.java
(at line 215)
[ecj-lint] leafReader = ((FilterLeafReader)leafReader).getDelegate();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'leafReader' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 7. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandler.java
(at line 142)
[ecj-lint] return new JavaBinCodec(null,
stringCache).setReadStringAsCharSeq(true);
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 8. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/handler/loader/JavabinLoader.java
(at line 137)
[ecj-lint] new JavaBinCodec() {
[ecj-lint] SolrParams params;
[ecj-lint] AddUpdateCommand addCmd = null;
[ecj-lint]
[ecj-lint] @Override
[ecj-lint] public List<Object> readIterator(DataInputInputStream fis)
throws IOException {
[ecj-lint] while (true) {
[ecj-lint] Object o = readVal(fis);
[ecj-lint] if (o == END_OBJ) break;
[ecj-lint] if (o instanceof NamedList) {
[ecj-lint] params = ((NamedList) o).toSolrParams();
[ecj-lint] } else {
[ecj-lint] try {
[ecj-lint] if (o instanceof byte[]) {
[ecj-lint] if (params != null) req.setParams(params);
[ecj-lint] byte[] buf = (byte[]) o;
[ecj-lint] contentStreamLoader.load(req, rsp, new
ContentStreamBase.ByteArrayStream(buf, null), processor);
[ecj-lint] } else {
[ecj-lint] throw new RuntimeException("unsupported type ");
[ecj-lint] }
[ecj-lint] } catch (Exception e) {
[ecj-lint] throw new RuntimeException(e);
[ecj-lint] } finally {
[ecj-lint] params = null;
[ecj-lint] req.setParams(old);
[ecj-lint] }
[ecj-lint] }
[ecj-lint] }
[ecj-lint] return Collections.emptyList();
[ecj-lint] }
[ecj-lint]
[ecj-lint] }.unmarshal(in);
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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int] ----------
[ecj-lint] ----------
[ecj-lint] 9. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/update/UpdateLog.java
(at line 1867)
[ecj-lint] if (exceptionOnExecuteUpdate.get() != null) throw
exceptionOnExecuteUpdate.get();
[ecj-lint]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'proc' is not closed at this location
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 10. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/util/FileUtils.java
(at line 50)
[ecj-lint] in = new FileInputStream(src).getChannel();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] 11. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/util/FileUtils.java
(at line 51)
[ecj-lint] out = new FileOutputStream(destination).getChannel();
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: '<unassigned Closeable value>' is never closed
[ecj-lint] ----------
[ecj-lint] ----------
[ecj-lint] 12. WARNING in
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/core/src/java/org/apache/solr/util/SolrCLI.java
(at line 1143)
[ecj-lint] SnapshotCloudManager snapshotCloudManager = new
SnapshotCloudManager(simCloudManager, config);
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^
[ecj-lint] Resource leak: 'snapshotCloudManager' is never closed
[ecj-lint] ----------
[ecj-lint] 12 problems (1 error, 11 warnings)
BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/build.xml:634: The
following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/build.xml:101: The
following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/solr/build.xml:680:
The following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/common-build.xml:2094:
The following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-8.x/lucene/common-build.xml:2133:
Compile failed; see the compiler error output for details.
Total time: 104 minutes 59 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: [email protected]
For additional commands, e-mail: [email protected]