Re: java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSet

2014-03-17 Thread Ulli Hafner
You might get more answers in the dev list.

Does it work if you install the hpi file into a Jenkins instance?
 
Am 15.03.2014 um 10:03 schrieb dev123 delber...@gmail.com:

 I am writing a jenkins plugin. In the plugin I have a class that extends 
 Builder which has a method that checks if a given project is a MavenModuleSet:
 
 if (workerProject instanceof MavenModuleSet) {
   MavenModuleSet mavenModuleSet = (MavenModuleSet) workerProject;
   mavenModuleSet.setGoals(clean package);
 }
   }
 
 
 when I run mvn hpi:run to test my plugin and run it I get:
 
 java.lang.NoClassDefFoundError: hudson/maven/MavenModuleSet
 
 In the pom of my plugin I have tried to add the maven-plugin explicitly:
 
   parent
   groupIdorg.jenkins-ci.plugins/groupId
   artifactIdplugin/artifactId
   version1.553/version
   /parent
   
 
   groupIdcom.samples/groupId
   artifactIdmy-plugin/artifactId
   version1.0.0-SNAPSHOT/version
   packaginghpi/packaging
 
   dependencies
 
   dependency
   groupIdorg.jenkins-ci.plugins/groupId
   artifactIdparameterized-trigger/artifactId
   version2.22/version
   /dependency
   dependency
   groupIdorg.jenkins-ci.main/groupId
   artifactIdmaven-plugin/artifactId
   version2.1/version
   /dependency
   dependency
   groupIdorg.jenkins-ci.plugins/groupId
   artifactIdbuild-name-setter/artifactId
   version1.3/version
   /dependency
   dependency
   groupIdjunit/groupId
   artifactIdjunit/artifactId
   version4.11/version
   scopetest/scope
   /dependency
   /dependencies
 
 but it does not help. Any suggestions?
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: How do I persist changes to the model made via a Groovy script to disk?

2014-03-17 Thread Daniel Beck
On 17.03.2014, at 00:50, Richard Lavoie lavoie.rich...@gmail.com wrote:

 But do we have for LTS or previous versions ?


Everything introduced later is (or should be) annotated with @since, see e.g.

http://javadoc.jenkins-ci.org/hudson/model/AbstractItem.html#getRelativeDisplayNameFrom%28hudson.model.ItemGroup%29
http://javadoc.jenkins-ci.org/jenkins/model/Jenkins.html#createProjectFromXML(java.lang.String,%20java.io.InputStream)
http://javadoc.jenkins-ci.org/jenkins/security/SecurityListener.html

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Slaves fail to launch since plugin upgrade

2014-03-17 Thread David Aldrich
Hi

I am running Jenkins 1.552. I upgraded to the latest verstion of the Active 
Directory (1.34) and Parameterised Trigger plugin (1.24) and Static Analysis 
plugin (1.56).  Now many of our slaves do not launch:


Connecting to r102

ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins

java.net.UnknownHostExceptionhttp://stacktrace.jenkins-ci.org/search?query=java.net.UnknownHostException:
 rsds102

at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)

at java.net.InetAddress.getAddressFromNameService(Unknown Source)

at java.net.InetAddress.getAllByName0(Unknown Source)

at java.net.InetAddress.getAllByName(Unknown Source)

at java.net.InetAddress.getAllByName(Unknown Source)

at java.net.InetAddress.getByName(Unknown Source)

at 
hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:202)

at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:228)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I have tried rolling back the Active Directory and Parameterised Trigger 
plugins to their previous versions but the problem remains.

Any suggestions as to what is going wrong please?

Best regards

David

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Stop node exception (1.555)

2014-03-17 Thread Juan Pablo Hernandez Vogt
Hello,

I've just installed v1.555 in a CentOS 6.5. I added:
+ WinXP node
+ Win8.1 node
+ Job to make a dir C:\

I start the slave from JNPL and execute the job correctly on both nodes.

When I select JenkinsNodesNODIDDisconnect the following error message 
raises [1]. The jenkins slave did not stop and the log file did not change, 
I guess due to the previous error.

A similar environment in a different server (but with Jenkins version 
1.443) works correctly.

Do you know how to debug Jenkins? At least where to find the complete dump 
on those exception messages
It's a new fresh installation, probably I'm missing something.

Other info:
java version 1.7.0_45
OpenJDK Runtime Environment (rhel-2.4.3.3.el6-x86_64 u45-b15)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)


Do you know the correct place to post these? Bug tracker, in which section?


Thanks!!


References:
[1] Error:
A problem occurred while processing the request. Please check our bug 
tracker https://issues.jenkins-ci.org/ 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 listhttp://jenkins-ci.org/content/mailing-lists
 might be also useful in understanding what has happened.

Stack trace

javax.servlet.ServletException: java.lang.NullPointerException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:778)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:210)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
at 
hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at 
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)

Failure to trigger builds on nodes sharing a label.

2014-03-17 Thread David tha Dude
Hello,

I cannot seem to trigger jobs to run on several nodes using the Node Label 
Parameter Plug-In. See this 
JIRAhttps://issues.jenkins-ci.org/browse/JENKINS-22185for more details. Has 
anybody else experienced this issue? What other 
techniques are there to trigger builds on all nodes sharing a label?

Thank you,

/David

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failure to trigger builds on nodes sharing a label.

2014-03-17 Thread Mark Waite
The elastic axis plugin has worked quite well for me when I wanted to
trigger a job on all nodes with a specific label.  I wanted to trigger a
job on all Linux slaves, so I used the implied labels plugin to define that
all my Debian machines should be labeled linux, then I defined a job with
the elastic axis plugin which created an axis to run instances of the job
on all nodes labeled linux.

Mark Waite


On Mon, Mar 17, 2014 at 8:03 AM, David tha Dude ogd...@googlemail.comwrote:

 Hello,

 I cannot seem to trigger jobs to run on several nodes using the Node
 Label Parameter Plug-In. See this 
 JIRAhttps://issues.jenkins-ci.org/browse/JENKINS-22185for more details. Has 
 anybody else experienced this issue? What other
 techniques are there to trigger builds on all nodes sharing a label?

 Thank you,

 /David

 --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Thanks!
Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: analysis plugins

2014-03-17 Thread Ulli Hafner
If you are using a maven job type then the site goal does not work:
https://issues.jenkins-ci.org/browse/JENKINS-3654

You need to call the plugins as individual goals like checkstyle:checkyle

Ulli

Am 17.03.2014 um 17:19 schrieb Philipp Kraus philipp.kr...@flashpixx.de:

 Hello,
 
 I have installed the following plugins:
 
 https://wiki.jenkins-ci.org/display/JENKINS/CCM+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Checkstyle+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/DRY+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/FindBugs+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/PMD+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins
 https://wiki.jenkins-ci.org/display/JENKINS/Task+Scanner+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Warnings+Plugin
 
 I have defined in a post-build-action the compiler warning reading, In the 
 Jenkins UI I can read the warning, but
 the CCM, Check Analysis, FindBugs, PMD, duplicated source code etc does not 
 work although I run a Maven 3
 build, with the goal site . The goal is run and a checkstyle-result.xml is 
 created and has got a lot of warnings. 
 IMHO Jenkins does not read the resulting XML files in the target project dir.
 
 How can I configure the analysis plugins?
 
 Thx
 
 Phil
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



signature.asc
Description: Message signed with OpenPGP using GPGMail


Order that patchsets are triggered using gerrit-trigger

2014-03-17 Thread Matt Baker
Hi all,

I'm having an issue and I hope that someone might be able to point me in
the right direction.

I'm interfacing Jenkins with Gerrit using gerrit-trigger.  Everything works
well until I approve multiple patch sets at the same time.

Before we start with the example I need to explain that the job in question
has gerrit-trigger configured to trigger on Change Merged.  Also the job
runs a deploy script.

Example:

Lets say that I submit four patch sets to Gerrit that depend on each other.

ps1 - ps2 - ps3 -  ps4  (patch set 2 depends or 1 etc..)

Now using Gerrit I submit patch set 4.  Nothing happens because it is
dependent on ps3.  Next I submit ps3, then ps2 and finally ps1.  Once I
submit ps1 then Gerrit merges them all at the same time.

At this point gerrit-trigger correctly triggers four jobs in Jenkins.
These jobs are dependent on each other so they run one at a time.  The
first one that runs is for ps4.  The next one is for ps3.  The next one is
for ps2.  The last one is for ps1.

The problem is that I end up with ps1 being the final deployed version.  I
want ps4 to be the last one that is run.  Anyone have any ideas?  I
appreciate your help!


Here are the versions of relevant plugins.

Jenkins 1.551
gerrit-trigger 2.11.0
git-cilient 1.6.2
git-plugin 2.0.1

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How can I reset my Jenkins Jira Password? reset doesn't not come to my email.

2014-03-17 Thread Jeff
So I get updates about the Jira tickets that I have created, but when I 
goto https://jenkins-ci.org/account/ to reset my accounts password, and 
give it my username, it says it has emailed me, but I never get the email. 
 I have checked my spam folder, and its not there ether.  I know I am 
checking the right email because this is where I receive my ticket 
notifications?  Can anyone please help me?

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: analysis plugins

2014-03-17 Thread Philipp Kraus
Thanks for the link, this is not nice, but I hope it works with a manual 
call

Am Montag, 17. März 2014 18:50:33 UTC+1 schrieb Ullrich Hafner:

 If you are using a maven job type then the site goal does not work:
 https://issues.jenkins-ci.org/browse/JENKINS-3654

 You need to call the plugins as individual goals like checkstyle:checkyle

 Ulli

 Am 17.03.2014 um 17:19 schrieb Philipp Kraus 
 philip...@flashpixx.dejavascript:
 :

 Hello,

 I have installed the following plugins:

 https://wiki.jenkins-ci.org/display/JENKINS/CCM+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Checkstyle+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/DRY+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/FindBugs+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/PMD+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins
 https://wiki.jenkins-ci.org/display/JENKINS/Task+Scanner+Plugin
 https://wiki.jenkins-ci.org/display/JENKINS/Warnings+Plugin

 I have defined in a post-build-action the compiler warning reading, In the 
 Jenkins UI I can read the warning, but
 the CCM, Check Analysis, FindBugs, PMD, duplicated source code etc does 
 not work although I run a Maven 3
 build, with the goal site . The goal is run and a checkstyle-result.xml 
 is created and has got a lot of warnings. 
 IMHO Jenkins does not read the resulting XML files in the target project 
 dir.

 How can I configure the analysis plugins?

 Thx

 Phil

 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Master [Execute Shell] Host Key Verification Failed

2014-03-17 Thread Jonathan Cope
Hello,

I'm new to Jenkins have some issue getting my jenkins master to connect to 
my slave via SSH.

My setup:

1.  AWS EC2 instances ( 2 ) - m1.medium
2.  Fedora-x86_64-20-20131211.1-sda  - AMI
3.  Jenkins ver. 1.555
4.  Passwordless Authentication from master to slave

When I input the credentials
user:jenkins
credentials:  master ~/.ssh   OR  direct ssh key input

It fails, with the log producing:

[03/17/14 23:08:24] [SSH] Opening SSH connection to 
ec2-000.00.00.000-us-west-2.compute.amazonaws.com:22 
http://ec2-54-186-69-58.us-west-2.compute.amazonaws.com:22/.
[03/17/14 23:08:24] [SSH] Authentication failed.
hudson.AbortException: Authentication failed.
at 
hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1143)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:648)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:642)
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:744)
[03/17/14 23:08:24] [SSH] Connection closed.
[03/17/14 23:08:24] Launch failed - cleaning up connection




I've been trying to diagnose the problem by running a simple job that passes to 
the command line:


ssh -Tv $usern...@ec2-000.00.00.000-us-west-2.compute.amazonaws.com:22 
http://ec2-54-186-69-58.us-west-2.compute.amazonaws.com:22/

or

ssh -Tv $username@PRIVATE-IP


where username= root, jenkins, fedora, or no username


This method consistently produces:


Started by timer
Building on master in workspace /var/lib/jenkins/jobs/test_jenkins/workspace
[workspace] $ /bin/sh -xe /tmp/hudson5026502830242434855.sh
+ ssh -Tv slave ls  ### or username@slave
OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 51: Applying options for *
debug1: Connecting to slave [##PRIVATE-IP##] port 22.
debug1: Connection established.
debug1: identity file /var/lib/jenkins/.ssh/id_rsa type -1
debug1: identity file /var/lib/jenkins/.ssh/id_rsa-cert type -1
debug1: identity file /var/lib/jenkins/.ssh/id_dsa type -1
debug1: identity file /var/lib/jenkins/.ssh/id_dsa-cert type -1
debug1: identity file /var/lib/jenkins/.ssh/id_ecdsa type -1
debug1: identity file /var/lib/jenkins/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.4
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.3
debug1: match: OpenSSH_6.3 pat OpenSSH*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-ctr hmac-md5-...@openssh.com none
debug1: kex: client-server aes128-ctr hmac-md5-...@openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA  # key valuedebug1: read_passphrase: can't open 
/dev/tty: No such device or address
Host key verification failed.
Build step 'Execute shell' marked build as failure
Finished: FAILURE


Hours of googling have produced myriad posts about this but I haven't found a 
single working solution.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Master [Execute Shell] Host Key Verification Failed

2014-03-17 Thread Richard Bywater
Given that you get the same on the command-line, it definitely looks like
your id_rsa key (or similar) has a passphrase attached.

Try doing a ssh-keygen -y. If you get prompted for a passphrase then I'd
say its definitely got a key attached.

Richard.


On Tue, Mar 18, 2014 at 12:37 PM, Jonathan Cope jcope.red...@gmail.comwrote:

 Hello,

 I'm new to Jenkins have some issue getting my jenkins master to connect to
 my slave via SSH.

 My setup:

 1.  AWS EC2 instances ( 2 ) - m1.medium
 2.  Fedora-x86_64-20-20131211.1-sda  - AMI
 3.  Jenkins ver. 1.555
 4.  Passwordless Authentication from master to slave

 When I input the credentials
 user:jenkins
 credentials:  master ~/.ssh   OR  direct ssh key input

 It fails, with the log producing:

 [03/17/14 23:08:24] [SSH] Opening SSH connection to 
 ec2-000.00.00.000-us-west-2.compute.amazonaws.com:22 
 http://ec2-54-186-69-58.us-west-2.compute.amazonaws.com:22/.
 [03/17/14 23:08:24] [SSH] Authentication failed.
 hudson.AbortException: Authentication failed.
   at 
 hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1143)
   at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:648)
   at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:642)
   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:744)
 [03/17/14 23:08:24] [SSH] Connection closed.
 [03/17/14 23:08:24] Launch failed - cleaning up connection




 I've been trying to diagnose the problem by running a simple job that passes 
 to the command line:


 ssh -Tv $usern...@ec2-000.00.00.000-us-west-2.compute.amazonaws.com:22 
 http://ec2-54-186-69-58.us-west-2.compute.amazonaws.com:22/

 or

 ssh -Tv $username@PRIVATE-IP


 where username= root, jenkins, fedora, or no username


 This method consistently produces:


 Started by timer
 Building on master in workspace /var/lib/jenkins/jobs/test_jenkins/workspace
 [workspace] $ /bin/sh -xe /tmp/hudson5026502830242434855.sh
 + ssh -Tv slave ls  ### or username@slave
 OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: /etc/ssh/ssh_config line 51: Applying options for *
 debug1: Connecting to slave [##PRIVATE-IP##] port 22.
 debug1: Connection established.
 debug1: identity file /var/lib/jenkins/.ssh/id_rsa type -1
 debug1: identity file /var/lib/jenkins/.ssh/id_rsa-cert type -1
 debug1: identity file /var/lib/jenkins/.ssh/id_dsa type -1
 debug1: identity file /var/lib/jenkins/.ssh/id_dsa-cert type -1
 debug1: identity file /var/lib/jenkins/.ssh/id_ecdsa type -1
 debug1: identity file /var/lib/jenkins/.ssh/id_ecdsa-cert type -1
 debug1: Enabling compatibility mode for protocol 2.0
 debug1: Local version string SSH-2.0-OpenSSH_6.4
 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.3
 debug1: match: OpenSSH_6.3 pat OpenSSH*
 debug1: SSH2_MSG_KEXINIT sent
 debug1: SSH2_MSG_KEXINIT received
 debug1: kex: server-client aes128-ctr hmac-md5-...@openssh.com none
 debug1: kex: client-server aes128-ctr hmac-md5-...@openssh.com none
 debug1: sending SSH2_MSG_KEX_ECDH_INIT
 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
 debug1: Server host key: RSA  # key valuedebug1: read_passphrase: can't open 
 /dev/tty: No such device or address
 Host key verification failed.
 Build step 'Execute shell' marked build as failure
 Finished: FAILURE


 Hours of googling have produced myriad posts about this but I haven't found a 
 single working solution.


  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.