Re: Build of maven 2.0.x branch: test failures

2007-06-08 Thread Kenney Westerhof



Graham Leggett wrote:

On Wed, June 6, 2007 4:53 pm, Jason van Zyl wrote:


Just built and it works fine. You on windows?


On windows and inside a firewall:


---
 T E S T S
---
Running org.apache.maven.cli.BatchModeDownloadMonitorTest
Downloading: null://nullnull/null



This looks like an URL that's gone pear shaped. It may be the test falls
off the tracks if it cannot reach the net.


I have the same output on linux, but the test passes. This isn't the test that 
fails
though, this is:


Running org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.391 sec  FAILURE! 


(later on in the output:


Results :

Failed tests:
 testTwoExpressions(org.apache.maven.plugin.PluginParameterExpressionEvaluatorT
est)

Tests run: 52, Failures: 1, Errors: 0, Skipped: 0 


)

can you give me the contents of 
maven-core/target/surefire-reports/org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest.txt?

Mine is:

---
Test set: org.apache.maven.plugin.PluginParameterExpressionEvaluatorTest
---
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.631 sec


Cheers,

 Kenney




Regards,
Graham
--



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Build of maven 2.0.x branch: test failures

2007-06-06 Thread Graham Leggett
Hi all,

When an attempt is made to build a fresh checkout of the 2.0.x branch of
maven from
https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x
using maven v2.0.6, I get test failures as below:

[INFO]
-
---
[INFO] Building Maven Core
[INFO]task-segment: [clean, install]
[INFO]
-
---
[INFO] [clean:clean]
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\classes
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\test-classes
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 59 source files to
C:\Java\development\maven\maven-2.0.x\maven-
core\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 9 source files to
C:\Java\development\maven\maven-2.0.x\maven-c
ore\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\Java\development\maven\maven-2.0.x\maven-co
re\target\surefire-reports

---
 T E S T S
---
Running org.apache.maven.cli.BatchModeDownloadMonitorTest
Downloading: null://nullnull/null
97K downloaded
java.lang.RuntimeException
at
org.apache.maven.cli.AbstractConsoleDownloadMonitorTest.testTransferE
rror(AbstractConsoleDownloadMonitorTest.java:86)
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:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:818)
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
Running org.apache.maven.plugin.version.IntervalUtilsTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.apache.maven.cli.ConsoleDownloadMonitorTest
Downloading: null://nullnull/null
0/97K
97K downloaded
java.lang.RuntimeException
at
org.apache.maven.cli.AbstractConsoleDownloadMonitorTest.testTransferE
rror(AbstractConsoleDownloadMonitorTest.java:86)
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 

Re: Build of maven 2.0.x branch: test failures

2007-06-06 Thread Jason van Zyl

Just built and it works fine. You on windows?

On 6 Jun 07, at 10:17 AM 6 Jun 07, Graham Leggett wrote:


Hi all,

When an attempt is made to build a fresh checkout of the 2.0.x  
branch of

maven from
https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x
using maven v2.0.6, I get test failures as below:

[INFO]
-- 
---

---
[INFO] Building Maven Core
[INFO]task-segment: [clean, install]
[INFO]
-- 
---

---
[INFO] [clean:clean]
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\classes
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\test-classes
[INFO] Deleting directory
C:\Java\development\maven\maven-2.0.x\maven-core\targe
t\site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 59 source files to
C:\Java\development\maven\maven-2.0.x\maven-
core\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 9 source files to
C:\Java\development\maven\maven-2.0.x\maven-c
ore\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\Java\development\maven\maven-2.0.x\maven-co
re\target\surefire-reports

---
 T E S T S
---
Running org.apache.maven.cli.BatchModeDownloadMonitorTest
Downloading: null://nullnull/null
97K downloaded
java.lang.RuntimeException
at
org.apache.maven.cli.AbstractConsoleDownloadMonitorTest.testTransferE
rror(AbstractConsoleDownloadMonitorTest.java:86)
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:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:818)
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
0.094 sec

Running org.apache.maven.plugin.version.IntervalUtilsTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
0.046 sec

Running org.apache.maven.cli.ConsoleDownloadMonitorTest
Downloading: null://nullnull/null
0/97K
97K downloaded
java.lang.RuntimeException
at
org.apache.maven.cli.AbstractConsoleDownloadMonitorTest.testTransferE
rror(AbstractConsoleDownloadMonitorTest.java:86)
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 

Re: Build of maven 2.0.x branch: test failures

2007-06-06 Thread Graham Leggett
On Wed, June 6, 2007 4:53 pm, Jason van Zyl wrote:

 Just built and it works fine. You on windows?

On windows and inside a firewall:

 ---
  T E S T S
 ---
 Running org.apache.maven.cli.BatchModeDownloadMonitorTest
 Downloading: null://nullnull/null


This looks like an URL that's gone pear shaped. It may be the test falls
off the tracks if it cannot reach the net.

Regards,
Graham
--



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]