Build: https://ci-builds.apache.org/job/Solr/job/Solr-Docker-Nightly-10.x/57/

Log: 
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on lucene-solr-4 (solr lucene) in workspace 
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-10.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-10.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_10x^{commit} # timeout=10
Checking out Revision 9c439dd0ec128f56667768d94907c45aef07aeee 
(refs/remotes/origin/branch_10x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9c439dd0ec128f56667768d94907c45aef07aeee # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b branch_10x 9c439dd0ec128f56667768d94907c45aef07aeee # 
 > timeout=10
Commit message: "Update dependency org.apache.commons:commons-lang3 to v3.20.0 
(#3873)"
 > git rev-list --no-walk c59a289ffea770b03b1ff573ae6b7661fcb2fdfa # 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-10.x/gradle.properties
[Solr-Docker-Nightly-10.x] $ /bin/sh -xe /tmp/jenkins3541296266133425820.sh
+ echo ****
+ docker login -u **** --password-stdin
Login Succeeded
[Gradle] - Launching build.
[Solr-Docker-Nightly-10.x] $ 
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-10.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 :build-infra:compileJava
Note: 
/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-10.x/build-tools/build-infra/src/main/java/org/apache/lucene/gradle/Checksum.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :build-infra:pluginDescriptors
> Task :build-infra:processResources
> Task :build-infra:classes
> Task :build-infra:jar
> Task :gitStatus
> Task :checkJdkInternalsExportedToGradle

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

> 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-10.x/solr/solrj/build/generated/
 before code generation (cleanupOutput set to true).
No application/json content media type found in response. Response examples can 
currently only be generated for application/json media type.
############################################################################################
# Thanks for using OpenAPI Generator.                                           
           #
# We appreciate your support! 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-10.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-10.x/solr/core/src/java/org/apache/solr/search/vector/SolrKnnFloatVectorQuery.java:54:
 warning: [EqualsGetClass] Prefer instanceof to getClass when implementing 
Object#equals.
  public boolean equals(Object obj) {
                 ^
    (see https://errorprone.info/bugpattern/EqualsGetClass)
  Did you mean 'if (!(obj instanceof SolrKnnFloatVectorQuery)) 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
1 warning

> 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 20s
16 actionable tasks: 16 executed

Publishing build scan...
https://develocity.apache.org/s/zspwe3lydlmp2

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