java.io.IOException: hudson.plugins.git.GitException: Command "git -c core.askpass=true ls-remote -h git@github.com:EramoxPersonalWork/liberamox.git" returned status code 128: stdout: stderr: error: cannot run GIT_SSH=/var/lib/openshift/579128dc89f5cf45630000cf/app-root /data/compilation/git-ssh-wrapper/bin/myWrapper.sh: No such file or directory fatal: unable to fork

GitHub | eramox | 4 months ago
  1. 0

    GitHub comment 423#234739946

    GitHub | 4 months ago | eramox
    java.io.IOException: hudson.plugins.git.GitException: Command "git -c core.askpass=true ls-remote -h git@github.com:EramoxPersonalWork/liberamox.git" returned status code 128: stdout: stderr: error: cannot run GIT_SSH=/var/lib/openshift/579128dc89f5cf45630000cf/app-root /data/compilation/git-ssh-wrapper/bin/myWrapper.sh: No such file or directory fatal: unable to fork
  2. 0

    [JIRA] (JENKINS-37156) Push notification from pipeline repositories doesnt take credentials

    Google Groups | 4 months ago | nola...@gmail.com (JIRA)
    java.io.IOException: hudson.plugins.git.GitException: Command "git ls-remote -h ssh://git@localhost:10022/poe.git" returned status code 128: stdout: stderr: Permission denied (publickey,keyboard-interactive). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
  3. 0

    Setting up a Pipeline Job on a new Jenkins installation shows some problems with push notifications. The job ist configured to pull a Repository containing the Jenkinsfile and -scripts. The script checks out 4 git repositories, a single one is configured to affect changelog and polling. Interestingly (and as afar as i know undocumented) the webhook would work - I dont know how exactly and under what circumstances ( I guess a previously successfull build?). But the polling then fails to use the credentials that where previously used (it seems to somehow store the correct path and browser). # Its unclear to me me, if this scheme should even work, and what the recommended practice would be. In the job configuration I have to specify the repository with the Jenkins-files (which ideally would not end up polled or in the changelog). The I have a cannonical repository that should be polled, which gets cloned/pulled from the former scripts # The webhook kinda works, but some information (path, browser) seems to be saved and atleast the credentials seem to be missing. On a different Jenkins server it works, likely because added a ssh key to the linux-account runninng jenkins # Seems to be impossible to disable polling for the repository configured in the job directly Here are the logs: *Web hook response* {noformat} Scheduled polling of hugo No Git consumers using SCM API plugin for: ssh://git@localhost:10022/poe.git {noformat} *Git Polling Log* {noformat} Started on Aug 3, 2016 10:51:09 PM Using strategy: Default [poll] Last Built Revision: Revision f5985f5130f66127bdf5f05b746b80c92f7265d4 (refs/remotes/origin/master) using GIT_SSH to set credentials > git ls-remote -h ssh://git@localhost:10022/jobscripts.git # timeout=10 Found 1 remote heads on ssh://git@localhost:10022/jobscripts.git [poll] Latest remote head revision on refs/heads/master is: f5985f5130f66127bdf5f05b746b80c92f7265d4 - already built by 7 no polling baseline in /tmp/jblue/workspace/hugo/jenkins-jobscripts on main Using strategy: Default [poll] Last Built Revision: Revision fa4a4f443d9f5a40b3021e70cfca343508c55609 (refs/remotes/origin/master) > git ls-remote -h ssh://git@localhost:10022/poe.git # timeout=10 ERROR: polling failed in /tmp/jblue/workspace/hugo/poe on main java.io.IOException: hudson.plugins.git.GitException: Command "git ls-remote -h ssh://git@localhost:10022/poe.git" returned status code 128: stdout: stderr: Permission denied (publickey,keyboard-interactive). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:574) at org.jenkinsci.plugins.workflow.job.WorkflowJob.poll(WorkflowJob.java:618) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: hudson.plugins.git.GitException: Command "git ls-remote -h ssh://git@localhost:10022/poe.git" returned status code 128: stdout: stderr: Permission denied (publickey,keyboard-interactive). 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:1735) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1478) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1402) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1393) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2444) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:613) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:572) ... 9 more no polling baseline in /tmp/jblue/workspace/hugo/hipase-firmware on main no polling baseline in /tmp/jblue/workspace/hugo/hipase-buildscripts on main Done. Took 0.15 sec No changes {noformat}

    Jenkins JIRA | 4 months ago | Norbert Lange
    java.io.IOException: hudson.plugins.git.GitException: Command "git ls-remote -h ssh://git@localhost:10022/poe.git" returned status code 128: stdout: stderr: Permission denied (publickey,keyboard-interactive). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins node fails to poll changes

    GitHub | 2 years ago | vircung
    hudson.util.IOException2: hudson.plugins.git.GitException: Command "/usr/bin/git ls-remote -h ssh://git@gitlab.---------------------------------------.git develop" returned status code 128: stdout: stderr: Access denied. fatal: The remote end hung up unexpectedly
  6. 0

    Authentication problem (?) when building through a Github webhook

    Google Groups | 3 years ago | Scott Purcell
    hudson.util.IOException2: hudson.plugins.git.GitException: Failed to connect to https://<obfuscated-Oauth-token>@github.com/cloud-training/Course-OSFundamentals-Dev.git (status = 401)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.plugins.git.GitException

      Command "git -c core.askpass=true ls-remote -h git@github.com:EramoxPersonalWork/liberamox.git" returned status code 128: stdout: stderr: error: cannot run GIT_SSH=/var/lib/openshift/579128dc89f5cf45630000cf/app-root /data/compilation/git-ssh-wrapper/bin/myWrapper.sh: No such file or directory fatal: unable to fork

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn()
    2. org.jenkinsci.plugins
      CliGitAPIImpl.getHeadRev
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1459)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1345)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1336)
      5. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2454)
      5 frames
    3. Hudson GIT plugin
      GitSCM.compareRemoteRevisionWith
      1. hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:615)
      2. hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:574)
      2 frames
    4. Hudson
      AbstractProject.poll
      1. hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)
      2. hudson.scm.SCM.poll(SCM.java:398)
      3. hudson.model.AbstractProject._poll(AbstractProject.java:1453)
      4. hudson.model.AbstractProject.poll(AbstractProject.java:1356)
      4 frames
    5. com.cloudbees.jenkins
      GitHubPushTrigger$1.run
      1. com.cloudbees.jenkins.GitHubPushTrigger$1.runPolling(GitHubPushTrigger.java:88)
      2. com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:114)
      2 frames
    6. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames