Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000379 [SVNKit] bug major always 2010-07-24 02:58 2010-08-10 23:29
Reporter ltalley View Status public  
Assigned To oka
Priority normal Resolution open  
Status assigned   Product Version 1.3.x
Summary 0000379: svnant checkout fails with authentication cancelled when trying to use svn+ssh with certificate-based authentication
Description I have an Ant target that I want to behave identically on both Windows XP and Solaris 5.10. I do development builds on Windows, but, the scheduled nightly build runs on Solaris.

Currently my build works fine on Windows, but fails in any svn target with "authentication cancelled" on Solaris. If I specify the svnant setting svnkit="false" then it works fine on Solaris, but fails on Windows.

I am sure I could solve the problem on Windows with svnkit="false" given time... but I would prefer to use svnkit="true", because it seems reasonable to me that a pure Java solution would be a better long-term bet for being able to keep my build working identically on both Windows and Solaris.

I had the exact same symptoms on Windows before I discovered the patch "trilead-ssh2-build213-svnkit-1.3-patch.jar". That patch completely resolved my problem on Windows, but, it seems to make no difference on Solaris, I get the same error with or without that file in my classpath.

I have configured certificate-based authentication so that when I use my SSH client I don't have to do any authentication. When I am at the command line on Solaris I can run svn commands against the repository with no manual authentication. When I use svnkit="false" the ant script can get to the repository with no manual authentication. But svnkit (on Solaris) cannot authenticate, even though the same version of svnkit authenticates fine from an ant script run on Windows.
Additional Information svnkit 1.3.3.6648
svnant 1.2.1
Java jdk1.6.0_13 on Windows, Java 1.6.0_16_b01 on Solaris
Tags No tags attached.
planned for version 1.2.x
Attached Files log file icon java0.log [^] (6,355 bytes) 2010-07-24 02:58
xml file icon build-initial-svn-checkout.xml [^] (2,153 bytes) 2010-07-24 02:59
? file icon config [^] (5,361 bytes) 2010-07-26 22:17

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-07-24 02:58 ltalley New Issue
2010-07-24 02:58 ltalley File Added: java0.log
2010-07-24 02:59 ltalley File Added: build-initial-svn-checkout.xml
2010-07-26 22:17 ltalley File Added: config
2010-08-10 23:29 oka Status new => assigned
2010-08-10 23:29 oka Assigned To => oka


Mantis 1.1.0[^]
Copyright © 2000 - 2007 Mantis Group
Powered by Mantis Bugtracker