SEVERE: IOException:
com.sonymobile.tools.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused
at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionImpl.connect(SshConnectionImpl.java:181)
at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionFactory.getConnection(SshConnectionFactory.java:98)
at com.sonymobile.tools.gerrit.gerritevents.GerritConnection.connect(GerritConnection.java:380)
at com.sonymobile.tools.gerrit.gerritevents.GerritConnection.run(GerritConnection.java:306)
Caused by: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused
at com.jcraft.jsch.Util.createSocket(Util.java:344)
at com.jcraft.jsch.Session.connect(Session.java:215)
at com.jcraft.jsch.Session.connect(Session.java:183)
at com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionImpl.connect(SshConnectionImpl.java:177)
... 3 more
When I am trying to retrigger older jenkins builds. Getting this message.
A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened.
javax.servlet.ServletException: java.lang.NoClassDefFoundError: java/lang/ReflectiveOperationException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:795) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:391) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:391)
All,The issue was the Java version.I was using open jdk 1.6 on Jenkins master."Gerrit Trigger" plugin works on jdk 1.7.After Upgrading to JDK 1.7, it started working.
Jenkins version : 1.647
Gerrit Trigger : 2.18.3
AWS Server configuration
16 Cores, 30GB RAM.
We have setup gerrit and jenkins in AWS systems for Android ecosystem.
When a +1 is given in gerrit, we want jenkins to start the android build.
The jenkins jobs works well sometimes, but misses the event many times.
Only if we restart the jenkins , the job starts working well.
But after sometime same problem happens.
We have internal memory of 99GB where jenkins is installed and jobs->
workspace is in /mnt folder of AWS. There is no problem in output of
the job.
Problem is that job is not starting for gerrit event. How do we solve this?
Thanks for the help in advance
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.