Hi David,

I've done a fresh checkout, and the test in question is passing for me. 
I'm not sure why it would be taking longer than 1000 msec (the default
timeout value) to commission the component in that test case, but that
is triggering the deployment failure.

If you create a merlin.properties file in your home directory, with the
value:
merlin.deployment.timeout=0
It should use that when running the test case and basically wait forever
for the component to commission.

You could also try setting the value to 1500, 2000, etc and see where
the test starts passing.

What environment are you running in (OS, JVM version, etc) and how much
load is on your machine while your build is running?

Regards,

-Cameron

On Wed, 2004-08-25 at 10:21, David Leangen wrote:
> I did an svn checkout in order to do a clean build.
> 
> The build keeps failing at this point:
> 
> 
> info:
> ------------------------------------------------------------------------
> name: avalon-finder-test
> ------------------------------------------------------------------------
> 
> init:
>    [plugin] Install "plugin:avalon/meta/avalon-meta-tools"
>    [plugin] Task "plugin:avalon/meta/avalon-meta-tools:meta"
> 
> prepare:
> [x:prepare] creating target directory
> [x:prepare] Created dir: Y:\avalon\planet\facilities\finder\test\target
> [x:prepare] creating test directory
> [x:prepare] Created dir: Y:\avalon\planet\facilities\finder\test\target\test
> [x:prepare] Created dir:
> Y:\avalon\planet\facilities\finder\test\target\build\ma
> in
> [x:prepare] Copying 4 files to
> Y:\avalon\planet\facilities\finder\test\target\bu
> ild\main
> [x:prepare] Created dir:
> Y:\avalon\planet\facilities\finder\test\target\build\te
> st
> [x:prepare] Copying 1 file to
> Y:\avalon\planet\facilities\finder\test\target\bui
> ld\test
>      [meta] Writing descriptors using 'xml' format.
>      [meta] Processed 2 Types and 0 Services from a total of 4 classes.
>      [meta] Writing descriptors using 'xml' format.
>      [meta] Processed 0 Types and 0 Services from a total of 1 classes.
> 
> standard.build:
>   [x:javac] Compiling 4 source files to
> Y:\avalon\planet\facilities\finder\test\
> target\classes
> 
> build:
>   [x:block] creating plugin declaration
> 
> package:
>     [x:jar] Created dir:
> Y:\avalon\planet\facilities\finder\test\target\delivera
> bles\jars
>     [x:jar] Building jar:
> Y:\avalon\planet\facilities\finder\test\target\deliver
> ables\jars\avalon-finder-test.jar
>     [x:jar] Creating md5 checksum
> 
> test:
>   [x:junit] Compiling 1 source file to
> Y:\avalon\planet\facilities\finder\test\t
> arget\test-classes
>   [x:junit] Created dir:
> Y:\avalon\planet\facilities\finder\test\target\test-rep
> orts
>   [x:junit] Running org.apache.avalon.finder.test.StandardTestCase
> [x:reactor] ---- exception
> report ----------------------------------------------
> ------------
> [x:reactor] Exception: org.apache.avalon.merlin.KernelException
> [x:reactor] Message: Kernel startup failure.
> [x:reactor] ----
> cause ---------------------------------------------------------
> ------------
> [x:reactor] Exception: org.apache.avalon.merlin.KernelException
> [x:reactor] Message: Cannot deploy application.
> [x:reactor] ----
> cause ---------------------------------------------------------
> ------------
> [x:reactor] Exception:
> org.apache.avalon.composition.model.FatalCommissioningExc
> eption
> [x:reactor] Message: target: [[/test/finder]] did not respond within the
> timeout
>  period: [1000] and failed to respond to an interrupt.
> [x:reactor] ---- stack
> trace ---------------------------------------------------
> ------------
> [x:reactor] org.apache.avalon.composition.model.FatalCommissioningException:
> tar
> get: [[/test/finder]] did not respond within the timeout period: [1000] and
> fail
> ed to respond to an interrupt.
> [x:reactor]
> org.apache.avalon.composition.model.impl.CommissionRequest.waitForCo
> mpletion(CommissionRequest.java:116)
> [x:reactor]
> org.apache.avalon.composition.model.impl.Commissioner.commission(Com
> missioner.java:138)
> [x:reactor]
> org.apache.avalon.composition.model.impl.DefaultContainmentModel.com
> mission(DefaultContainmentModel.java:231)
> [x:reactor]
> org.apache.avalon.composition.model.impl.Commissioner.run(Commission
> er.java:185)
> [x:reactor] java.lang.Thread.run(Thread.java:536)
> [x:reactor] ----------------------------------------------------------------
> ----
> ------------
> 
>   [x:junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 44.531 sec
>   [x:junit] Test org.apache.avalon.finder.test.StandardTestCase FAILED
> 
> BUILD FAILED
> Y:\avalon\build.xml:55: The following error occurred while executing this
> line:
> Y:\avalon\central\system\build\reactor.xml:39: The following error occurred
> whil
> e executing this line:
> Y:\avalon\central\system\build\standard.xml:31: One or more unit test
> failures o
> ccured.
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to