Build: https://ci-builds.apache.org/job/Solr/job/Solr-Docker-Nightly-9.x/1348/

Log: 
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on lucene-solr-3 (solr lucene) in workspace 
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/solr.git
 > git init /home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/solr.git
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
 > git fetch --tags --force --progress -- 
 > https://gitbox.apache.org/repos/asf/solr.git 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/solr.git # 
 > timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/branch_9x^{commit} # timeout=10
Checking out Revision 1d003f4c5ae7924f34cb91bc905cd742940cf159 
(refs/remotes/origin/branch_9x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1d003f4c5ae7924f34cb91bc905cd742940cf159 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b branch_9x 1d003f4c5ae7924f34cb91bc905cd742940cf159 # 
 > timeout=10
Commit message: "SOLR-18006 Fix reverse distance sorting on 
LatLonPointSpatialField (#3923)"
 > git rev-list --no-walk d54027c72371576cde52d1679f7b1a33354c6129 # timeout=10
No emails were triggered.
provisioning config files...
copy managed file [gradle.properties] to 
file:/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x/gradle.properties
[Solr-Docker-Nightly-9.x] $ /bin/sh -xe /tmp/jenkins3439822874295774530.sh
+ echo ****
+ docker login -u **** --password-stdin
Login Succeeded
[Gradle] - Launching build.
[Solr-Docker-Nightly-9.x] $ 
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x/gradlew 
-Psolr.docker.imageRepo=apache/solr-nightly -Psolr.docker.dist=full testDocker 
dockerPush
Downloading gradle-wrapper.jar from 
https://raw.githubusercontent.com/gradle/gradle/v8.10.2/gradle/wrapper/gradle-wrapper.jar
To honour the JVM settings for this build a single-use Daemon process will be 
forked. For more on this, please refer to 
https://docs.gradle.org/8.10/userguide/gradle_daemon.html#sec:disabling_the_daemon
 in the Gradle documentation.
Daemon will be stopped at the end of the build 

> Task :buildSrc:compileJava
Note: 
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x/buildSrc/src/main/java/org/apache/lucene/gradle/Checksum.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :buildSrc:compileGroovy NO-SOURCE
> Task :buildSrc:processResources NO-SOURCE
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :gitStatus
> Task :checkJdkInternalsExportedToGradle
> Task :solr:api:compileJava
> Task :solr:api:processResources NO-SOURCE
> Task :solr:api:classes

> Task :solr:api:resolve
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.

> Task :solr:solrj:openApiGenerate
Cleaned up output directory 
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x/solr/solrj/build/generated/
 before code generation (cleanupOutput set to true).
Multiple schemas found in the OAS 'content' section, returning only the first 
one (application/json)
Multiple schemas found in the OAS 'content' section, returning only the first 
one (application/json)
Multiple schemas found in the OAS 'content' section, returning only the first 
one (application/vnd.apache.solr.raw)
Multiple schemas found in the OAS 'content' section, returning only the first 
one (application/vnd.apache.solr.raw)
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project 🙏                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
Successfully generated code to 
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x/solr/solrj/build/generated/

> Task :spotlessInternalRegisterDependencies
> Task :solr:solrj:generatedSpotlessHelper
> Task :solr:solrj:generatedSpotless

> Task :solr:solrj:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :solr:solrj-streaming:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :solr:solrj-zookeeper:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :solr:core:compileJava
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x/solr/core/src/java/org/apache/solr/schema/LatLonPointSpatialField.java:347:
 warning: [InconsistentCapitalization] Found the field 'fieldName' with the 
same name as the parameter 'fieldname' but with different capitalization.
            String fieldname,
                   ^
    (see https://errorprone.info/bugpattern/InconsistentCapitalization)
  Did you mean 'String fieldName,'?
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-9.x/solr/core/src/java/org/apache/solr/schema/LatLonPointSpatialField.java:355:
 warning: [EqualsGetClass] Prefer instanceof to getClass when implementing 
Object#equals.
        public boolean equals(Object o) {
                       ^
    (see https://errorprone.info/bugpattern/EqualsGetClass)
  Did you mean 'if (!(o instanceof DistanceFieldComparatorSource)) return 
false;'?
error: warnings found and -Werror specified
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
2 warnings

> Task :solr:core:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':solr:core:compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

For more on this, please refer to 
https://docs.gradle.org/8.10/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 1m 22s
14 actionable tasks: 14 executed

Publishing build scan...
https://develocity.apache.org/s/26zmepggrtp4s

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
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]

Reply via email to