•  
      request #10093 Jenkins cannot read remote repository ot build Tuleap Mylyn connector
    Infos
    #10093
    William Enright (ewilenr)
    2017-03-27 16:41
    2017-03-27 16:32
    10373
    Details
    Jenkins cannot read remote repository ot build Tuleap Mylyn connector
    Jenkins machine seems to have it's RSA public key invalidated and therefore cannot read from remote repository that I'm trying to build after a commit (tuleap-eclipse).

    Here is the log:

    Triggered by Gerrit: https://gerrit.tuleap.net/8009
    [EnvInject] - Loading node environment variables.
    Building remotely on docker-ci-a98 (docker) in workspace /jenkins/workspace/mylyn_tests
    Cloning the remote Git repository
    Cloning repository ssh://jenkins@gerrit.tuleap.net:29418/tuleap-eclipse
    > git init /jenkins/workspace/mylyn_tests # timeout=10
    Fetching upstream changes from ssh://jenkins@gerrit.tuleap.net:29418/tuleap-eclipse
    > git --version # timeout=10
    > git fetch --tags --progress ssh://jenkins@gerrit.tuleap.net:29418/tuleap-eclipse +refs/heads/*:refs/remotes/origin/*
    ERROR: Error cloning remote repo 'origin'
    hudson.plugins.git.GitException: Command "git fetch --tags --progress ssh://jenkins@gerrit.tuleap.net:29418/tuleap-eclipse +refs/heads/*:refs/remotes/origin/*" returned status code 128:
    stdout:
    stderr: RSA host key for IP address '162.242.229.16' not in list of known hosts.
    Permission denied (publickey).
    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:1793)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1519)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:512)
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
    at hudson.remoting.UserRequest.perform(UserRequest.java:153)
    at hudson.remoting.UserRequest.perform(UserRequest.java:50)
    at hudson.remoting.Request$2.run(Request.java:336)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    at ......remote call to docker-ci-a98(Native Method)
    at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)
    at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
    at hudson.remoting.Channel.call(Channel.java:822)
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
    at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
    at com.sun.proxy.$Proxy145.execute(Unknown Source)
    at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1061)
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101)
    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:1728)
    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
    Notifying upstream projects of job completion
    Finished: FAILURE
    Continuous Integration
    All
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-03-27
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2017-03-27 16:41
    I fixed the job, sorry for the trouble.

    We have rotated our credentials and it seems this job was forgotten in the process.

    • Status changed from New to Closed