You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by Emmanuel Venisse <em...@venisse.net> on 2005/01/07 14:40:12 UTC

Cvs provider tests fails

Brett,

On windows, I can't build the cvs providers because the Update test failed.
Do you have the same problem?

Emmanuel

The test output :

----------------------------------------------------------------------------
---
Battery:
org.apache.maven.scm.provider.cvslib.command.update.CvsUpdateCommandTckTest
----------------------------------------------------------------------------
---
testUpdateCommand(org.apache.maven.scm.provider.cvslib.command.update.CvsUpd
ateCommandTckTest)

[ stdout ] ---------------------------------------------------------------

[INFO] Executing: cvs -q update
[INFO] Working directory:
D:\cvs_repo\jakarta\maven-scm\maven-scm-providers\maven-scm-provider-cvs\tar
get\scm-test\updating-copy

[ stderr ] ---------------------------------------------------------------


[ stacktrace ] -----------------------------------------------------------

junit.framework.AssertionFailedError: Expected 3 files in the updated files
list [[project.xml:updated], [readme.txt:updated]] expected:<3> but was:<2>
 at junit.framework.Assert.fail(Assert.java:47)
 at junit.framework.Assert.failNotEquals(Assert.java:282)
 at junit.framework.Assert.assertEquals(Assert.java:64)
 at junit.framework.Assert.assertEquals(Assert.java:201)
 at
org.apache.maven.scm.tck.command.update.UpdateCommandTckTest.testUpdateComma
nd(UpdateCommandTckTest.java:208)
 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:324)
 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:324)
 at
org.codehaus.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
 at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:159)
 at org.codehaus.surefire.Surefire.run(Surefire.java:109)
 at org.codehaus.surefire.Surefire.run(Surefire.java:63)
 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:324)
 at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:83)
 at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:186)
 at
org.apache.maven.lifecycle.goal.phase.GoalAttainmentPhase.execute(GoalAttain
mentPhase.java:80)
 at
org.apache.maven.lifecycle.goal.DefaultMavenGoalPhaseManager.execute(Default
MavenGoalPhaseManager.java:49)
 at
org.apache.maven.lifecycle.session.phase.GoalExecutionPhase.execute(GoalExec
utionPhase.java:53)
 at
org.apache.maven.lifecycle.session.DefaultMavenSessionPhaseManager.execute(D
efaultMavenSessionPhaseManager.java:51)
 at
org.apache.maven.execution.AbstractMavenExecutionRequestHandler.handle(Abstr
actMavenExecutionRequestHandler.java:192)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:56)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:151)
 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:324)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:363)


Re: Cvs provider tests fails

Posted by Brett Porter <br...@gmail.com>.
Thanks!


On Fri, 7 Jan 2005 16:59:41 +0100, Emmanuel Venisse
<em...@venisse.net> wrote:
> It's fixed.
> 
> Emmanuel
> 
> ----- Original Message -----
> From: "Brett Porter" <br...@gmail.com>
> To: <sc...@maven.apache.org>
> Sent: Friday, January 07, 2005 2:42 PM
> Subject: Re: Cvs provider tests fails
> 
> > no, I don't - but continuum on linux does. Fishy!
> >
> > If you can figure it out, that'd be fantastic. I can't replicate it -
> > and this is on 3 different machines, clean checkouts and repos,
> > different o/s, etc.
> >
> > - Brett
> >
> >
> > On Fri, 7 Jan 2005 14:40:12 +0100, Emmanuel Venisse
> > <em...@venisse.net> wrote:
> > > Brett,
> > >
> > > On windows, I can't build the cvs providers because the Update test
> failed.
> > > Do you have the same problem?
> > >
> > > Emmanuel
> > >
> > > The test output :
> > >
> >
> > --------------------------------------------------------------------------
> --
> > > ---
> > > Battery:
> > >
> org.apache.maven.scm.provider.cvslib.command.update.CvsUpdateCommandTckTest
> >
> > --------------------------------------------------------------------------
> --
> > > ---
> > >
> testUpdateCommand(org.apache.maven.scm.provider.cvslib.command.update.CvsUpd
> > > ateCommandTckTest)
> > >
> > > [
> stdout ] ---------------------------------------------------------------
> > >
> > > [INFO] Executing: cvs -q update
> > > [INFO] Working directory:
> > >
> D:\cvs_repo\jakarta\maven-scm\maven-scm-providers\maven-scm-provider-cvs\tar
> > > get\scm-test\updating-copy
> > >
> > > [
> stderr ] ---------------------------------------------------------------
> > >
> > > [
> stacktrace ] -----------------------------------------------------------
> > >
> > > junit.framework.AssertionFailedError: Expected 3 files in the updated
> files
> > > list [[project.xml:updated], [readme.txt:updated]] expected:<3> but
> was:<2>
> > >  at junit.framework.Assert.fail(Assert.java:47)
> > >  at junit.framework.Assert.failNotEquals(Assert.java:282)
> > >  at junit.framework.Assert.assertEquals(Assert.java:64)
> > >  at junit.framework.Assert.assertEquals(Assert.java:201)
> > >  at
> > >
> org.apache.maven.scm.tck.command.update.UpdateCommandTckTest.testUpdateComma
> > > nd(UpdateCommandTckTest.java:208)
> > >  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:324)
> > >  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:324)
> > >  at
> > >
> org.codehaus.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
> > >  at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:159)
> > >  at org.codehaus.surefire.Surefire.run(Surefire.java:109)
> > >  at org.codehaus.surefire.Surefire.run(Surefire.java:63)
> > >  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:324)
> > >  at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:83)
> > >  at
> org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:186)
> > >  at
> > >
> org.apache.maven.lifecycle.goal.phase.GoalAttainmentPhase.execute(GoalAttain
> > > mentPhase.java:80)
> > >  at
> > >
> org.apache.maven.lifecycle.goal.DefaultMavenGoalPhaseManager.execute(Default
> > > MavenGoalPhaseManager.java:49)
> > >  at
> > >
> org.apache.maven.lifecycle.session.phase.GoalExecutionPhase.execute(GoalExec
> > > utionPhase.java:53)
> > >  at
> > >
> org.apache.maven.lifecycle.session.DefaultMavenSessionPhaseManager.execute(D
> > > efaultMavenSessionPhaseManager.java:51)
> > >  at
> > >
> org.apache.maven.execution.AbstractMavenExecutionRequestHandler.handle(Abstr
> > > actMavenExecutionRequestHandler.java:192)
> > >  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:56)
> > >  at org.apache.maven.cli.MavenCli.main(MavenCli.java:151)
> > >  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:324)
> > >  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
> > >  at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
> > >  at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
> > >  at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> > >
> > >
> >
> 
>

Re: Cvs provider tests fails

Posted by Emmanuel Venisse <em...@venisse.net>.
It's fixed.

Emmanuel

----- Original Message ----- 
From: "Brett Porter" <br...@gmail.com>
To: <sc...@maven.apache.org>
Sent: Friday, January 07, 2005 2:42 PM
Subject: Re: Cvs provider tests fails


> no, I don't - but continuum on linux does. Fishy!
>
> If you can figure it out, that'd be fantastic. I can't replicate it -
> and this is on 3 different machines, clean checkouts and repos,
> different o/s, etc.
>
> - Brett
>
>
> On Fri, 7 Jan 2005 14:40:12 +0100, Emmanuel Venisse
> <em...@venisse.net> wrote:
> > Brett,
> >
> > On windows, I can't build the cvs providers because the Update test
failed.
> > Do you have the same problem?
> >
> > Emmanuel
> >
> > The test output :
> >
>
> --------------------------------------------------------------------------
--
> > ---
> > Battery:
> >
org.apache.maven.scm.provider.cvslib.command.update.CvsUpdateCommandTckTest
>
> --------------------------------------------------------------------------
--
> > ---
> >
testUpdateCommand(org.apache.maven.scm.provider.cvslib.command.update.CvsUpd
> > ateCommandTckTest)
> >
> > [
stdout ] ---------------------------------------------------------------
> >
> > [INFO] Executing: cvs -q update
> > [INFO] Working directory:
> >
D:\cvs_repo\jakarta\maven-scm\maven-scm-providers\maven-scm-provider-cvs\tar
> > get\scm-test\updating-copy
> >
> > [
stderr ] ---------------------------------------------------------------
> >
> > [
stacktrace ] -----------------------------------------------------------
> >
> > junit.framework.AssertionFailedError: Expected 3 files in the updated
files
> > list [[project.xml:updated], [readme.txt:updated]] expected:<3> but
was:<2>
> >  at junit.framework.Assert.fail(Assert.java:47)
> >  at junit.framework.Assert.failNotEquals(Assert.java:282)
> >  at junit.framework.Assert.assertEquals(Assert.java:64)
> >  at junit.framework.Assert.assertEquals(Assert.java:201)
> >  at
> >
org.apache.maven.scm.tck.command.update.UpdateCommandTckTest.testUpdateComma
> > nd(UpdateCommandTckTest.java:208)
> >  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:324)
> >  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:324)
> >  at
> >
org.codehaus.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
> >  at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:159)
> >  at org.codehaus.surefire.Surefire.run(Surefire.java:109)
> >  at org.codehaus.surefire.Surefire.run(Surefire.java:63)
> >  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:324)
> >  at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:83)
> >  at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:186)
> >  at
> >
org.apache.maven.lifecycle.goal.phase.GoalAttainmentPhase.execute(GoalAttain
> > mentPhase.java:80)
> >  at
> >
org.apache.maven.lifecycle.goal.DefaultMavenGoalPhaseManager.execute(Default
> > MavenGoalPhaseManager.java:49)
> >  at
> >
org.apache.maven.lifecycle.session.phase.GoalExecutionPhase.execute(GoalExec
> > utionPhase.java:53)
> >  at
> >
org.apache.maven.lifecycle.session.DefaultMavenSessionPhaseManager.execute(D
> > efaultMavenSessionPhaseManager.java:51)
> >  at
> >
org.apache.maven.execution.AbstractMavenExecutionRequestHandler.handle(Abstr
> > actMavenExecutionRequestHandler.java:192)
> >  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:56)
> >  at org.apache.maven.cli.MavenCli.main(MavenCli.java:151)
> >  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:324)
> >  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
> >  at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
> >  at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
> >  at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> >
> >
>


Re: Cvs provider tests fails

Posted by Brett Porter <br...@gmail.com>.
no, I don't - but continuum on linux does. Fishy!

If you can figure it out, that'd be fantastic. I can't replicate it -
and this is on 3 different machines, clean checkouts and repos,
different o/s, etc.

- Brett


On Fri, 7 Jan 2005 14:40:12 +0100, Emmanuel Venisse
<em...@venisse.net> wrote:
> Brett,
> 
> On windows, I can't build the cvs providers because the Update test failed.
> Do you have the same problem?
> 
> Emmanuel
> 
> The test output :
> 
> ----------------------------------------------------------------------------
> ---
> Battery:
> org.apache.maven.scm.provider.cvslib.command.update.CvsUpdateCommandTckTest
> ----------------------------------------------------------------------------
> ---
> testUpdateCommand(org.apache.maven.scm.provider.cvslib.command.update.CvsUpd
> ateCommandTckTest)
> 
> [ stdout ] ---------------------------------------------------------------
> 
> [INFO] Executing: cvs -q update
> [INFO] Working directory:
> D:\cvs_repo\jakarta\maven-scm\maven-scm-providers\maven-scm-provider-cvs\tar
> get\scm-test\updating-copy
> 
> [ stderr ] ---------------------------------------------------------------
> 
> [ stacktrace ] -----------------------------------------------------------
> 
> junit.framework.AssertionFailedError: Expected 3 files in the updated files
> list [[project.xml:updated], [readme.txt:updated]] expected:<3> but was:<2>
>  at junit.framework.Assert.fail(Assert.java:47)
>  at junit.framework.Assert.failNotEquals(Assert.java:282)
>  at junit.framework.Assert.assertEquals(Assert.java:64)
>  at junit.framework.Assert.assertEquals(Assert.java:201)
>  at
> org.apache.maven.scm.tck.command.update.UpdateCommandTckTest.testUpdateComma
> nd(UpdateCommandTckTest.java:208)
>  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:324)
>  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:324)
>  at
> org.codehaus.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
>  at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:159)
>  at org.codehaus.surefire.Surefire.run(Surefire.java:109)
>  at org.codehaus.surefire.Surefire.run(Surefire.java:63)
>  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:324)
>  at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:83)
>  at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:186)
>  at
> org.apache.maven.lifecycle.goal.phase.GoalAttainmentPhase.execute(GoalAttain
> mentPhase.java:80)
>  at
> org.apache.maven.lifecycle.goal.DefaultMavenGoalPhaseManager.execute(Default
> MavenGoalPhaseManager.java:49)
>  at
> org.apache.maven.lifecycle.session.phase.GoalExecutionPhase.execute(GoalExec
> utionPhase.java:53)
>  at
> org.apache.maven.lifecycle.session.DefaultMavenSessionPhaseManager.execute(D
> efaultMavenSessionPhaseManager.java:51)
>  at
> org.apache.maven.execution.AbstractMavenExecutionRequestHandler.handle(Abstr
> actMavenExecutionRequestHandler.java:192)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:56)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:151)
>  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:324)
>  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
>  at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
>  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
>  at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> 
>