continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reimer Prochnow (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-2533) UpdateWorkingCopyPhaseTest fails in continuum-release, file url is incorrect
Date Wed, 02 Jun 2010 14:04:13 GMT
UpdateWorkingCopyPhaseTest fails in continuum-release, file url is incorrect
----------------------------------------------------------------------------

                 Key: CONTINUUM-2533
                 URL: http://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
            Priority: Trivial
         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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message