Created
May 7, 2020 17:35
-
-
Save solvingj/c23f571d67e3824763452ee8bcd6c0b4 to your computer and use it in GitHub Desktop.
casc job first run failure stacktrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ranch indexing | |
> /usr/local/bin/git rev-parse --is-inside-work-tree # timeout=10 | |
ERROR: Workspace has a .git repository, but it appears to be corrupt. | |
hudson.plugins.git.GitException: Error performing git command: /usr/local/bin/git rev-parse --is-inside-work-tree | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2437) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2360) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2356) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1916) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1928) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.hasGitRepo(CliGitAPIImpl.java:343) | |
at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:232) | |
at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:351) | |
at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:330) | |
at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:396) | |
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:582) | |
at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:98) | |
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:309) | |
at hudson.model.ResourceController.execute(ResourceController.java:97) | |
at hudson.model.Executor.run(Executor.java:428) | |
Caused by: java.io.IOException: Cannot run program "/usr/local/bin/git" (in directory "/var/jenkins_home/caches/git-0aadc266e25dc5083e94a773d80da9f3"): error=2, No such file or directory | |
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) | |
at hudson.Proc$LocalProc.<init>(Proc.java:252) | |
at hudson.Proc$LocalProc.<init>(Proc.java:221) | |
at hudson.Launcher$LocalLauncher.launch(Launcher.java:936) | |
at hudson.Launcher$ProcStarter.start(Launcher.java:454) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2423) | |
... 14 more | |
Caused by: java.io.IOException: error=2, No such file or directory | |
at java.lang.UNIXProcess.forkAndExec(Native Method) | |
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) | |
at java.lang.ProcessImpl.start(ProcessImpl.java:134) | |
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) | |
... 19 more | |
Creating git repository in /var/jenkins_home/caches/git-0aadc266e25dc5083e94a773d80da9f3 | |
> /usr/local/bin/git init /var/jenkins_home/caches/git-0aadc266e25dc5083e94a773d80da9f3 # timeout=10 | |
java.io.IOException: error=2, No such file or directory | |
at java.lang.UNIXProcess.forkAndExec(Native Method) | |
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) | |
at java.lang.ProcessImpl.start(ProcessImpl.java:134) | |
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) | |
Caused: java.io.IOException: Cannot run program "/usr/local/bin/git" (in directory "/var/jenkins_home/caches/git-0aadc266e25dc5083e94a773d80da9f3"): error=2, No such file or directory | |
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) | |
at hudson.Proc$LocalProc.<init>(Proc.java:252) | |
at hudson.Proc$LocalProc.<init>(Proc.java:221) | |
at hudson.Launcher$LocalLauncher.launch(Launcher.java:936) | |
at hudson.Launcher$ProcStarter.start(Launcher.java:454) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2423) | |
Caused: hudson.plugins.git.GitException: Error performing git command: /usr/local/bin/git init /var/jenkins_home/caches/git-0aadc266e25dc5083e94a773d80da9f3 | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2437) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2360) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2356) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1916) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:988) | |
Caused: hudson.plugins.git.GitException: Could not init /var/jenkins_home/caches/git-0aadc266e25dc5083e94a773d80da9f3 | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:990) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.init(CliGitAPIImpl.java:328) | |
at hudson.plugins.git.GitAPI.init(GitAPI.java:217) | |
at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:353) | |
at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:330) | |
at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:396) | |
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:582) | |
at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:98) | |
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:309) | |
at hudson.model.ResourceController.execute(ResourceController.java:97) | |
at hudson.model.Executor.run(Executor.java:428) | |
Finished: FAILURE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment