-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
None
Hi
i cannot connect to the repository with jenkins over cntlm,socat on linux.
When i start a linux shell as jenkins user and go to the workspace directory
and execute the following commands:
git init /home/jenkins/workspace/MultipleSCMTest001/meta-oe-test1
git version
git fetch --tags --progress git://git.openembedded.org/meta-openembedded +refs/heads/:refs/remotes/meta-java/
it works perfectly.
But when its executed in jenkins i get the following trace:
uilding in workspace /home/jenkins/workspace/MultipleSCMTest001
Cloning the remote Git repository
Cloning repository git://git.openembedded.org/meta-openembedded
> git init /home/jenkins/workspace/MultipleSCMTest001/meta-oe-test # timeout=10
Fetching upstream changes from git://git.openembedded.org/meta-openembedded
> git --version # timeout=10
> git fetch --tags --progress git://git.openembedded.org/meta-openembedded +refs/heads/:refs/remotes/meta-java/
ERROR: Error cloning remote repo 'meta-java'
hudson.plugins.git.GitException: Command "git fetch --tags --progress git://git.openembedded.org/meta-openembedded +refs/heads/:refs/remotes/meta-java/" returned status code 128:
stdout:
stderr: 2017/02/09 13:05:51 socat[24886] E connect(5, AF=2 104.236.212.160:9418, 16): Connection timed out
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:1772)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1516)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:67)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:318)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:515)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1054)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094)
at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:143)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1729)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
ERROR: null
Finished: FAILURE
Best regards