Return-Path: X-Original-To: apmail-continuum-issues-archive@www.apache.org Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A048E687 for ; Tue, 20 Nov 2012 13:47:40 +0000 (UTC) Received: (qmail 38788 invoked by uid 500); 20 Nov 2012 13:47:40 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 38769 invoked by uid 500); 20 Nov 2012 13:47:40 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 38738 invoked by uid 99); 20 Nov 2012 13:47:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 13:47:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 13:47:34 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 513E7B06BE for ; Tue, 20 Nov 2012 07:47:13 -0600 (CST) Date: Tue, 20 Nov 2012 07:47:13 -0600 (CST) From: "Brett Porter (JIRA)" To: issues@continuum.apache.org Message-ID: <986919026.11799.1353419233333.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> In-Reply-To: <28348067.38709.1275487453577.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] (CONTINUUM-2533) UpdateWorkingCopyPhaseTest fails in continuum-release, file url is incorrect MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/CONTINUUM-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter closed CONTINUUM-2533. ----------------------------------- Resolution: Fixed Assignee: Emmanuel Venisse Fixed way back in r990780 > UpdateWorkingCopyPhaseTest fails in continuum-release, file url is incorrect > ---------------------------------------------------------------------------- > > Key: CONTINUUM-2533 > URL: https://jira.codehaus.org/browse/CONTINUUM-2533 > Project: Continuum > Issue Type: Bug > Components: SCM > Affects Versions: 1.4.0 (Beta) > Environment: Subversion-Kommandozeilenclient, Version 1.6.6-SlikSvn-tag-1.6.6@40358-WIN32. > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) > Java version: 1.6.0_17 > Reporter: Reimer Prochnow > Assignee: Emmanuel Venisse > Priority: Trivial > Fix For: 1.4.1 > > Attachments: urlpatch > > > The error is: "Unable to open an ra_local session to URL". > This can be corrected by adding a third "/" to the scm URL > in line 114 (Revision 928595) to org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest > so that the URL reads: > "scm:svn:file:///" + projectUrl > There is an empty hostname, so the third slash seems to be required, > See > http://svnbook.red-bean.com/nightly/en/svn.basic.in-action.html#svn.advanced.reposurls > for reference. > ------------------------------------------------------------------------------- > Test set: org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest > ------------------------------------------------------------------------------- > Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 12.032 sec <<< FAILURE! > testWorkingDirDoesNotExist(org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest) Time elapsed: 10.922 sec <<< ERROR! > org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to checkout project > Provider message: > The svn command failed. > Command output: > svn: Unable to open an ra_local session to URL > svn: Unable to open repository 'file://d:/Development/workspace/external/continuum-1.4.0/continuum-release/target/scm-test/trunk' > at org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhase.execute(UpdateWorkingCopyPhase.java:126) > at org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest.testWorkingDirDoesNotExist(UpdateWorkingCopyPhaseTest.java:63) > testWorkingDirAlreadyExistsWithProjectCheckout(org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest) Time elapsed: 0.453 sec <<< FAILURE! > junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertTrue(Assert.java:27) > at org.apache.maven.continuum.release.phase.UpdateWorkingCopyPhaseTest.testWorkingDirAlreadyExistsWithProjectCheckout(UpdateWorkingCopyPhaseTest.java:79) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira