continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Faes <Philippe.F...@elis.UGent.be>
Subject Re: Test failure in continuum-release
Date Mon, 30 Oct 2006 07:50:51 GMT
Looks like the path to work-dir gets messed up. I'll give it a try on a
cygwin machine tomorrow. Today I have a deadline.
Are any other cygwin users getting the same problem?

Wendy, can you add your comments to CONTINUUM-968?

grtz
Philippe

On Fri, 2006-10-27 at 09:06 -0700, Wendy Smoak wrote:
> I'm still seeing a test failure in continuum-release.  (Windows XP + Cygwin)
> 
> /svn/maven/continuum
> $ svn up; mvn clean install
> ...
> Results :
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> 
> [INFO] ------------------------------------------
> [ERROR] BUILD FAILURE
> 
> The Surefire output is:
> -------------------------------------------------------------------------------
> Test set: org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.563
> sec <<< FAILURE!
> testReleases(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest)
>  Time elapsed: 2.469 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error in release:prepare.
> Release output follows:
> [INFO] Verifying that there are no local modifications...
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] Transforming 'Simple Project'...
> [ERROR] org.apache.maven.shared.release.scm.ReleaseScmCommandException:
> Unable to commit files
> Provider message:
> The svn command failed.
> Command output:
> svn: '/cygdrive/c/svn/maven/continuum/continuum-release/target/test-classes/work-dir/c:/svn/maven/continuum/continuum-release/target/test-classes/work-dir'
> is not a working copy
> 
> 	at org.apache.maven.shared.release.phase.ScmCommitPhase.execute(ScmCommitPhase.java:102)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:202)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:108)
> 	at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.executeTask(PrepareReleaseTaskExecutor.java:81)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.doPrepareWithNoError(ReleaseTaskExecutorTest.java:166)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.releaseSimpleProject(ReleaseTaskExecutorTest.java:101)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleases(ReleaseTaskExecutorTest.java:115)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
> 
> 
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.doPrepareWithNoError(ReleaseTaskExecutorTest.java:171)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.releaseSimpleProject(ReleaseTaskExecutorTest.java:101)
> 	at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.testReleases(ReleaseTaskExecutorTest.java:115)
> 
> Thanks,
> Wendy


Mime
View raw message