On Thu, Sep 30, 2010 at 1:18 AM, Luciano Resende <[email protected]> wrote:
> On Wed, Sep 29, 2010 at 8:27 AM, Simon Nash <[email protected]> wrote:
>> I tried the "brute force" approach today.  Without any changes to the
>> repository definitions in the poms I ran the top-level build and killed it
>> when it hit a "hung" download.  I rebuilt the failing module until the
>> download completed and then I restarted the build.  I continued doing this
>> until the whole build completed.  This worked with only 3 restarts and it
>> seems to be the best we can expect.
>>
>>  Simon
>>
>>
>
> I gave it a try, building 1.6.1 with empty repo, and it went all way
> trough on the first try except for a issue with Jetty trying to use a
> port that was already in use in my server machine. You might be
> experiencing network/latency issues in your environment.
>

I've just tried building the 1.6.1 branch with an empty local repo
too, after almost 5 hours it got to samples/calculator-distributed
which failed with NPEs:

Running calculator.CalculatorDistributedTestCase
Setting up domain
30-Sep-2010 13:26:07 org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: DomainManager.composite
org.osoa.sca.ServiceRuntimeException:
java.lang.IllegalArgumentException: No valid constructor is found for
class org.apache.tuscany
.sca.core.work.impl.DefaultWorkScheduler
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.406
sec <<< FAILURE!
testCalculator(calculator.CalculatorDistributedTestCase)  Time
elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
        at 
calculator.CalculatorDistributedTestCase.testCalculator(CalculatorDistributedTestCase.java:87)
        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:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
        at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)

calculator.CalculatorDistributedTestCase  Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
        at 
calculator.CalculatorDistributedTestCase.destroy(CalculatorDistributedTestCase.java:77)
        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:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)


Results :

Tests in error:
  testCalculator(calculator.CalculatorDistributedTestCase)
  calculator.CalculatorDistributedTestCase

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

Reply via email to