-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
Hi,
Jobs are failing sporadically with the below error.
> git config remote.origin.url ssh://ca_racs_ci@bhgerrit.ext.net.nokia.com:8282/Common_FW # timeout=10
Fetching upstream changes from ssh://ca_racs_ci@bhgerrit.ext.net.nokia.com:8282/Common_FW
> git --version # timeout=10
> git --version # 'git version 2.42.0'
> git fetch --tags --force --progress - ssh://ca_racs_ci@bhgerrit.ext.net.nokia.com:8282/Common_FW +refs/heads/:refs/remotes/origin/ # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from ssh://ca_racs_ci@bhgerrit.ext.net.nokia.com:8282/Common_FW
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:999)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1241)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1305)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:165)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:71)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --force --progress - ssh://ca_racs_ci@bhgerrit.ext.net.nokia.com:8282/Common_FW +refs/heads/:refs/remotes/origin/" returned status code 128:
stdout:
stderr: Could not create directory '/home/ca_racs_ci/.ssh'.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2842)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2185)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:635)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:997)
... 8 more
ERROR: Error fetching remote repo 'origin'
ERROR: Maximum checkout retry attempts reached, aborting
Regards,
Dileepraj