This might be related to a recent java version update, I asked here
https://issues.apache.org/jira/browse/INFRA-28682.

-- Sanjay

On Thu, Nov 19, 2026 at 12:55 PM Apache Jenkins Server <
[email protected]> wrote:

> Build: https://ci-builds.apache.org/job/Solr/job/Solr-Test-main/15547/
>
> No tests ran.
>
> Build Log:
> [...truncated 10 lines...]
> ERROR: Workspace has a .git repository, but it appears to be corrupt.
> hudson.plugins.git.GitException: Command "git rev-parse --resolve-git-dir
> /home/jenkins/jenkins-agent/workspace/Solr/Solr-Test-main/.git" returned
> status code 128:
> stdout:
> stderr: fatal: not a gitdir
> '/home/jenkins/jenkins-agent/workspace/Solr/Solr-Test-main/.git'
>
>         at PluginClassLoader for
> git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2848)
>         at PluginClassLoader for
> git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2768)
>         at PluginClassLoader for
> git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2763)
>         at PluginClassLoader for
> git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:2052)
>         at PluginClassLoader for
> git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:2064)
>         at PluginClassLoader for
> git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:404)
>         at PluginClassLoader for
> git-client//hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:281)
>         at jdk.internal.reflect.GeneratedMethodAccessor31.invoke(Unknown
> Source)
>         at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:569)
>         at
> hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:986)
>         at
> hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:961)
>         at
> hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:907)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:225)
>         at hudson.remoting.UserRequest.perform(UserRequest.java:50)
>         at hudson.remoting.Request$2.run(Request.java:391)
>         at
> hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81)
>         at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>         at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
>         at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>         at java.base/java.lang.Thread.run(Thread.java:840)
> Cloning the remote Git repository
> Cloning repository https://gitbox.apache.org/repos/asf/solr.git
>  > git init /home/jenkins/jenkins-agent/workspace/Solr/Solr-Test-main #
> 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/main^{commit} # timeout=10
> Checking out Revision f2873bb7783d43d636cc4343ac8b7e84d528c493
> (refs/remotes/origin/main)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f f2873bb7783d43d636cc4343ac8b7e84d528c493 # timeout=10
>  > git branch -a -v --no-abbrev # timeout=10
>  > git checkout -b main f2873bb7783d43d636cc4343ac8b7e84d528c493 #
> timeout=10
> Commit message: "SOLR-18542: Add weighted RRF for combined queries (#5119)"
>  > git rev-list --no-walk f2873bb7783d43d636cc4343ac8b7e84d528c493 #
> timeout=10
> No emails were triggered.
> provisioning config files...
> copy managed file [gradle.properties] to
> file:/home/jenkins/jenkins-agent/workspace/Solr/Solr-Test-main/gradle.properties
> [Gradle] - Launching build.
> [Solr-Test-main] $
> /home/jenkins/jenkins-agent/workspace/Solr/Solr-Test-main/gradlew
> -Dtests.haltonfailure=false -Dtests.badapples=false --continue test
>
> ERROR: JAVA_HOME is set to an invalid directory:
> /home/jenkins/tools/java/latest21
>
> Please set the JAVA_HOME variable in your environment to match the
> location of your Java installation.
>
> Build step 'Invoke Gradle script' changed build result to FAILURE
> Build step 'Invoke Gradle script' marked build as failure
> Archiving artifacts
> Recording test results
> ERROR: Step ‘Publish JUnit test result report’ failed: No test report
> files were found. Configuration error?
> 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