You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Reimer Prochnow (JIRA)" <ji...@codehaus.org> on 2010/06/02 16:04:13 UTC

[jira] Created: (CONTINUUM-2533) UpdateWorkingCopyPhaseTest fails in continuum-release, file url is incorrect

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

        

[jira] Updated: (CONTINUUM-2533) UpdateWorkingCopyPhaseTest fails in continuum-release, file url is incorrect

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-2533:
------------------------------------

    Fix Version/s: 1.4.1 (Beta)

> 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
>             Fix For: 1.4.1 (Beta)
>
>         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

        

[jira] (CONTINUUM-2533) UpdateWorkingCopyPhaseTest fails in continuum-release, file url is incorrect

Posted by "Brett Porter (JIRA)" <ji...@codehaus.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