Issue Type: Bug Bug
Assignee: Unassigned
Attachments: cvs-config.png, SI-Jenkkns.pdf
Components: cvs-plugin
Created: 22/Mar/15 10:50 AM
Description:

After upgrading to CVS Plugin 2.12 (from 1.6), the SCM polling is failing.

  1. CVS checkout/update Works fine with same settings (Both on Master & Slaves)
    1. CVS Authentication values : Refer to attached screenshot
  2. Only SCM polling is affected and looking at the error it seems the $HOME Variable not expanded (Though CVS checkout works fine)

Any help would be greatly appreciated.

CVS Polling Log

Started on Mar 21, 2015 10:08:00 PM
cvs rlog -S -d21 Mar 2015 19:13:12 +1100<21 Mar 2015 22:08:00 +1100 lendfast-core-root 
ERROR: Failed to record SCM polling for hudson.maven.MavenModuleSet@5b0973cf[lendfast-core-root-HEAD-Build]
java.lang.RuntimeException: CVS authentication failure while running rlog command
	at hudson.scm.AbstractCvs.executeRlog(AbstractCvs.java:704)
	at hudson.scm.AbstractCvs.getRemoteLogForModule(AbstractCvs.java:660)
	at hudson.scm.AbstractCvs.calculateRepositoryState(AbstractCvs.java:611)
	at hudson.scm.AbstractCvs.compareRemoteRevisionWith(AbstractCvs.java:515)
	at hudson.scm.CVSSCM.compareRemoteRevisionWith(CVSSCM.java:224)
	at hudson.scm.SCM.poll(SCM.java:397)
	at hudson.model.AbstractProject._poll(AbstractProject.java:1446)
	at hudson.model.AbstractProject.poll(AbstractProject.java:1349)
	at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:119)
	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515)
	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544)
	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
	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: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed.
	at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)
	at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374)
	... 1 more
Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: $HOME/.ssh/id_dsa (No such file or directory)
	at com.jcraft.jsch.KeyPair.load(KeyPair.java:524)
	at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:389)
	at com.jcraft.jsch.JSch.addIdentity(JSch.java:370)
	at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:135)
	... 2 more
Caused by: java.io.FileNotFoundException: $HOME/.ssh/id_dsa (No such file or directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at com.jcraft.jsch.Util.fromFile(Util.java:492)
	at com.jcraft.jsch.KeyPair.load(KeyPair.java:521)
	... 6 more
Environment: Environment : Refer to attched pdf


Jenkins Version: Jenkins ver. 1.596.1
Operating System : CentOS 6 (86_x64)
CVS plugin versions : 2.12
Concurrent Versions System (CVS) 1.11.23 (client/server)
Running Jenkins directly
Project: Jenkins
Priority: Critical Critical
Reporter: Chaitanya Pinnamaneni
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to