continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Test failure in continuum-release on Windows
Date Thu, 09 Apr 2009 07:23:03 GMT
cygwin ?

2009/4/9 Wendy Smoak <wsmoak@gmail.com>:
> The Continuum trunk build works fine on OS X, but when I try it on
> Windows I get:
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest
> 17:34:25,656 WARN  net.sf.ehcache.config.ConfigurationFactory [net.sf.ehcache.co
> nfig.ConfigurationFactory] No configuration found. Configuring ehcache from ehca
> che-failsafe.xml  found in the classpath: jar:file:/C:/Documents%20and%20Setting
> s/wsmoak/.m2/repository/net/sf/ehcache/ehcache/1.5.0/ehcache-1.5.0.jar!/ehcache-
> failsafe.xml
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive checkout file://localhost
> /F:/svn/continuum/continuum/continuum-release/target/scm-test/trunk F:\svn\conti
> nuum\continuum\continuum-release\target\test-classes\work-dir"
> [INFO] Working directory: F:\svn\continuum\continuum\continuum-release\target\te
> st-classes
> [INFO] Updating local copy against the scm...
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive update F:\svn\continuum\c
> ontinuum\continuum-release\target\test-classes\work-dir"
> [INFO] Working directory: F:\svn\continuum\continuum\continuum-release\target\te
> st-classes\work-dir
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive status"
> [INFO] Working directory: F:\svn\continuum\continuum\continuum-release\target\te
> st-classes\work-dir
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] Transforming 'Simple Project'...
> [INFO] Not generating release POMs
> [INFO] Checking in modified POMs...
> [INFO] Executing: cmd.exe /X /C "svn --non-interactive commit --file F:\svn\cont
> inuum\continuum\continuum-release\.\target\maven-scm-1786757979.commit --targets
>  F:\svn\continuum\continuum\continuum-release\.\target\maven-scm-22095-targets"
> [INFO] Working directory: F:\svn\continuum\continuum\continuum-release\target\te
> st-classes\work-dir
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to F:\svn\continuum\continuum\continuum-release\target\surefire-rep
> orts for the individual test results.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 31 minutes 17 seconds
> [INFO] Finished at: Wed Apr 08 17:34:37 MST 2009
> [INFO] Final Memory: 48M/63M
> [INFO] ------------------------------------------------------------------------
>
>
> wsmoak@wsmoak-jia7gqcx /cygdrive/f/svn/continuum/continuum/continuum-release
> $ cat target/surefire-reports/*.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 22.563 sec <<<
F
> AILURE!
> testReleases(org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTes
> t)  Time elapsed: 22.36 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error in release:prepare. Release output f
> ollows:
> [INFO] Updating local copy against the scm...
> [INFO] Verifying that there are no local modifications...
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] Transforming 'Simple Project'...
> [INFO] Not generating release POMs
> [ERROR] org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable t
> o commit files
> Provider message:
> The svn command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: Can't open file 'F:\svn\continuum\continuum\continuum-release\target\scm-te
> st\db\locks\d96\d96f69a18f58ca823e9d1ae474438a86': The filename, directory name,
>  or volume label syntax is incorrect.
>
>        at org.apache.maven.shared.release.phase.ScmCommitPhase.checkin(ScmCommi
> tPhase.java:133)
>        at org.apache.maven.shared.release.phase.ScmCommitPhase.execute(ScmCommi
> tPhase.java:109)
>        at org.apache.maven.shared.release.DefaultReleaseManager.prepare(Default
> ReleaseManager.java:196)
>        at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResu
> lt(DefaultReleaseManager.java:109)
>        at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecut
> or.execute(PrepareReleaseTaskExecutor.java:49)
>        at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecu
> tor.executeTask(AbstractReleaseTaskExecutor.java:68)
>        at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.
> doPrepareWithNoError(ReleaseTaskExecutorTest.java:228)
>        at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.
> releaseSimpleProject(ReleaseTaskExecutorTest.java:114)
>        at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.
> testReleases(ReleaseTaskExecutorTest.java:130)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav
> a:213)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> tSet(AbstractDirectoryTestSuite.java:140)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.java:127)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:345)
>        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:1009)
>
>
>        at junit.framework.Assert.fail(Assert.java:47)
>        at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.
> doPrepareWithNoError(ReleaseTaskExecutorTest.java:233)
>        at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.
> releaseSimpleProject(ReleaseTaskExecutorTest.java:114)
>        at org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest.
> testReleases(ReleaseTaskExecutorTest.java:130)
>
> Anyone else?
>
> --
> Wendy
>

Mime
View raw message