You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/10/27 18:06:44 UTC
Test failure in continuum-release
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
Re: Test failure in continuum-release
Posted by Wendy Smoak <ws...@gmail.com>.
On 10/30/06, Philippe Faes <Ph...@elis.ugent.be> wrote:
> 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?
Done, though I didn't see an email come from JIRA yet. Can someone
please re-open it?
http://jira.codehaus.org/browse/CONTINUUM-968
--
Wendy
Re: Test failure in continuum-release
Posted by Philippe Faes <Ph...@elis.UGent.be>.
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
Re: Test failure in continuum-release
Posted by Wendy Smoak <ws...@gmail.com>.
On 10/27/06, Edwin Punzalan <ep...@exist.com> wrote:
> Did that failure just return? I tried building it and I didn't get the
> failure. I remember evenisse fixed something like this.
I've never been able to build Continuum without skipping the tests (in
continuum-release).
> Again, was probably caused by the outdated snapshot repo, this time for
> the maven-scm. Installing maven-scm locally should do the trick.
Tried that. Ouch. Something in scm called 'bzr' makes Windows *very*
unhappy: "16 bit MS-DOS Subsystem ... The NTVDM has encountered an
illegal instruction ..." Repeatedly.
I'll wait for that new snapshot. :)
--
Wendy
Re: Test failure in continuum-release
Posted by Edwin Punzalan <ep...@exist.com>.
Did that failure just return? I tried building it and I didn't get the
failure. I remember evenisse fixed something like this.
Again, was probably caused by the outdated snapshot repo, this time for
the maven-scm. Installing maven-scm locally should do the trick.
And again, someone should re-deploy the artifacts into the snapshot repo.
Hope that helped.
^_^
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
>