com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory)

Jenkins JIRA | Marcus Better | 5 years ago
  1. 0

    After installing the plugin, but before configuring the correct SSH key, the plugin tried to read a non-existing key and spammed the server log with the following several times per second: {code} ALLVARLIG: IOException: com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection.<init>(SshConnection.java:77) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.connect(GerritHandler.java:234) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.run(GerritHandler.java:160) Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) at com.jcraft.jsch.JSch.addIdentity(JSch.java:206) at com.jcraft.jsch.JSch.addIdentity(JSch.java:200) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection.<init>(SshConnection.java:69) ... 2 more Caused by: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at java.io.FileInputStream.<init>(FileInputStream.java:96) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) ... 5 more {code} It should just give up if the key is not found. After configuring the key, but with no Gerrit instance running, the log is spammed with this instead, also several times per second: {code} 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:49 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:49 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit {code}

    Jenkins JIRA | 5 years ago | Marcus Better
    com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory)
  2. 0

    After installing the plugin, but before configuring the correct SSH key, the plugin tried to read a non-existing key and spammed the server log with the following several times per second: {code} ALLVARLIG: IOException: com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection.<init>(SshConnection.java:77) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.connect(GerritHandler.java:234) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.run(GerritHandler.java:160) Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) at com.jcraft.jsch.JSch.addIdentity(JSch.java:206) at com.jcraft.jsch.JSch.addIdentity(JSch.java:200) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection.<init>(SshConnection.java:69) ... 2 more Caused by: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at java.io.FileInputStream.<init>(FileInputStream.java:96) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) ... 5 more {code} It should just give up if the key is not found. After configuring the key, but with no Gerrit instance running, the log is spammed with this instead, also several times per second: {code} 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:48 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:49 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit 2011-sep-12 15:16:49 com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler run INFO: Ready to receive data from Gerrit {code}

    Jenkins JIRA | 5 years ago | Marcus Better
    com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory)
  3. 0

    Adding ssh keyfile in gerrit trigger giving error on linux

    Google Groups | 3 years ago | mani chandel
    com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/mani/.ssh/id_rsa (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    can't find ebs.pem file

    GitHub | 4 years ago | yegor256
    com.netbout.inf.index.EbsVolume: #path(): failed with java.io.IOException: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: file:/opt/tomcat7/webapps/ROOT/WEB-INF/lib/netbout-inf-2.0-SNAPSHOT.jar!/com/netbout/inf/index/ebs.pem (No such file or directory)
  6. 0

    Uploader fails to read windows style path

    GitHub | 2 years ago | krissrex
    com.jcraft.jsch.JSchException: java.io.FileNotFoundException: C:UsersJørgenDesktopScreenCapture tnu_rsa (The filename, directory name, or volume label syntax is incorrect)

  1. r1chjames 1 times, last 5 days ago
  2. richard77 1 times, last 2 weeks ago
  3. gehel 2 times, last 2 weeks ago
  4. Kialandei 100 times, last 2 weeks ago
  5. Reich 1 times, last 3 weeks ago
45 more registered users
50 unregistered visitors
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. java.io.FileNotFoundException

    /home/marcus/.ssh/id_rsa (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:137)
    3. java.io.FileInputStream.<init>(FileInputStream.java:96)
    3 frames
  3. JSch
    JSch.addIdentity
    1. com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83)
    2. com.jcraft.jsch.JSch.addIdentity(JSch.java:206)
    3. com.jcraft.jsch.JSch.addIdentity(JSch.java:200)
    3 frames
  4. com.sonyericsson.hudson
    GerritHandler.run
    1. com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection.<init>(SshConnection.java:69)
    2. com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.connect(GerritHandler.java:234)
    3. com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.run(GerritHandler.java:160)
    3 frames