Hi
I am using
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06,
mixed mode) and
maven 1.0-rc1-SNAPSHOT on
Windows 98 second edition. I am getting the
following non-deterministic
error. I had to delete ControlProtocolTest because it
was failing.
..................
.
.
[depend] Deleted 0 out of date files in 1 seconds
[echo] Compiling to
D:\anita\geronimo\incubator-geronimo\modules\network/tar
get/classes
java:jar-resources:
test:prepare-filesystem:
test:test-resources:
test:compile:
test:test:
[junit] Running
org.apache.geronimo.network.protocol.DatagramProtocolTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 8.3 sec
[junit] Running
org.apache.geronimo.network.protocol.GSSAPIProtocolTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 0.44 sec
[junit] Running
org.apache.geronimo.network.protocol.PacketStreamTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time
elapsed: 0.44 sec
[junit] Running
org.apache.geronimo.network.protocol.ProtocolStackTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 8.52 sec
[junit] java.lang.NullPointerException
[junit] at
sun.nio.ch.WindowsSelectorImpl$SubSelector.processFDSet(Windo
wsSelectorImpl.java:309)
[junit] at
sun.nio.ch.WindowsSelectorImpl$SubSelector.processSelectedKey
s(WindowsSelectorImpl.java:282)
[junit] at
sun.nio.ch.WindowsSelectorImpl$SubSelector.access$2600(Window
sSelectorImpl.java:245)
[junit] at
sun.nio.ch.WindowsSelectorImpl.updateSelectedKeys(WindowsSele
ctorImpl.java:427)
[junit] at
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.j
ava:142)
[junit] at
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
[junit] at
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
[junit] at
org.apache.geronimo.network.SelectorManager.run(SelectorManag
er.java:137)
[junit] at
java.lang.Thread.run(Thread.java:534)
[junit] Running
org.apache.geronimo.network.protocol.SocketProtocolStressTes
t
[junit] [ERROR] TEST
org.apache.geronimo.network.protocol.SocketProtocolStre
ssTest FAILED
.
.
^C
After deleting
SocketProtocolStressTest I was able to continue
until this -
test:compile:
[javac] Compiling 3 source files to
D:\anita\geronimo\incubator-geronimo\mod
ules\jetty\target\test-classes
test:test:
[junit] Running
org.apache.geronimo.jetty.deployment.WebAppDConfigTest
[junit] Tests run: 2, Failures: 0, Errors: 2, Time
elapsed: 5.44 sec
[junit] [ERROR] TEST
org.apache.geronimo.jetty.deployment.WebAppDConfigTest
FAILED
[junit] Running
org.apache.geronimo.jetty.ApplicationTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time
elapsed: 17.9 sec
[junit] [ERROR] TEST
org.apache.geronimo.jetty.ApplicationTest FAILED
[junit] Running
org.apache.geronimo.jetty.ContainerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time
elapsed: 8.68 sec
BUILD FAILED
File...... file:/D:/anita/geronimo/incubator-geronimo/
Element... maven:reactor
Line...... 180
Column.... 27
Unable to obtain goal [default] --
file:/C:/WINDOWS/.maven/plugins/maven-test-pl
ugin-1.4/:130:54: <fail> There were test failures.
Total time: 9 minutes 35 seconds
Finished at: Thu Apr 29 00:09:56 EDT 2004
Anita
--- [EMAIL PROTECTED] wrote:
> FWIW I've seen similar things with the network
> module when running on a
> linux box too with this environment...
>
> Linux beaver.codehaus.org 2.4.24 #1 SMP Tue Jan 6
> 13:37:59 EST 2004
> i686 i686 i386 GNU/Linux
>
> java version "1.4.2_03"
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.4.2_03-b02)
> Java HotSpot(TM) Client VM (build 1.4.2_03-b02,
> mixed mode)
>
>
> On 28 Apr 2004, at 18:44, David Jencks wrote:
> > On my linux box I'm seeing a test hang
> >
> >
>
org.apache.geronimo.network.protocol.control.ControlProtocolTest
> >
> > thread dump:
> > "VM Thread" prio=1 tid=0x0808fda0 nid=0x7fa4
> runnable
> >
> > "VM Periodic Task Thread" prio=1 tid=0x08099230
> nid=0x7fa4 waiting on
> > condition
> > "Suspend Checker Thread" prio=1 tid=0x08095c48
> nid=0x7fa4 runnable
> > [junit] Full thread dump Java HotSpot(TM)
> Client VM (1.4.2_02-b03
> > mixed mode):
> > [junit]
> > [junit] "CP " daemon prio=1 tid=0x0829bc88
> nid=0x3a7 in
> > Object.wait() [4d351000..4d3518bc]
> > [junit] at java.lang.Object.wait(Native
> Method)
> > [junit] - waiting on <0x44c774a0> (a
> > EDU.oswego.cs.dl.util.concurrent.ClockDaemon)
> > [junit] at
> >
>
EDU.oswego.cs.dl.util.concurrent.ClockDaemon.nextTask(ClockDaemon.java:
>
> > 328)
> > [junit] - locked <0x44c774a0> (a
> > EDU.oswego.cs.dl.util.concurrent.ClockDaemon)
> > [junit] at
> >
>
EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.ja
>
> > va:362)
> > [junit] at
> java.lang.Thread.run(Thread.java:534)
> > [junit]
> > [junit] "SM" prio=1 tid=0x0828acb0 nid=0x3a7
> runnable
> > [4d0aa000..4d0aa8bc]
> > [junit] at
> sun.nio.ch.PollArrayWrapper.poll0(Native Method)
> > [junit] at
> >
>
sun.nio.ch.PollArrayWrapper.poll(PollArrayWrapper.java:100)
> > [junit] at
> >
>
sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:64)
> > [junit] at
> >
>
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
> > [junit] - locked <0x44c783e8> (a
> java.util.HashSet)
> > [junit] - locked <0x44c783f8> (a
> java.util.HashSet)
> > [junit] - locked <0x44c773a8> (a
> sun.nio.ch.PollSelectorImpl)
> > [junit] at
> sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
> > [junit] at
> >
>
org.apache.geronimo.network.SelectorManager.run(SelectorManager.java:
>
> > 137)
> > [junit] at
> java.lang.Thread.run(Thread.java:534)
> > [junit]
> > [junit] "Signal Dispatcher" daemon prio=1
> tid=0x0808eb40 nid=0x3a7
> > runnable [0..0]
> > [junit]
> > [junit] "Finalizer" daemon prio=1
> tid=0x0808a388 nid=0x3a7 in
> > Object.wait() [4c92f000..4c92f8bc]
> > [junit] at java.lang.Object.wait(Native
> Method)
> > [junit] - waiting on <0x44c283d0> (a
> > java.lang.ref.ReferenceQueue$Lock)
> > [junit] at
> >
>
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
> > [junit] - locked <0x44c283d0> (a
> > java.lang.ref.ReferenceQueue$Lock)
> > [junit] at
> >
>
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
> > [junit] at
> >
>
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
> > [junit]
> > [junit] "Reference Handler" daemon prio=1
> tid=0x08089710 nid=0x3a7
> > in Object.wait() [4c8af000..4c8af8bc]
> > [junit] at java.lang.Object.wait(Native
> Method)
> > [junit] - waiting on <0x44c28438> (a
> > java.lang.ref.Reference$Lock)
> > [junit] at
> java.lang.Object.wait(Object.java:429)
> > [junit] at
> >
>
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
> > [junit] - locked <0x44c28438> (a
> java.lang.ref.Reference$Lock)
> > [junit]
> > [junit] "main" prio=1 tid=0x080537a0 nid=0x3a7
> in Object.wait()
> > [bfffc000..bfffd03c]
> > [junit] at java.lang.Object.wait(Native
> Method)
> > [junit] - waiting on <0x44c7c0e0> (a
> > EDU.oswego.cs.dl.util.concurrent.Latch)
> > [junit] at
> >
>
EDU.oswego.cs.dl.util.concurrent.Latch.attempt(Latch.java:79)
> > [junit] - locked <0x44c7c0e0> (a
> > EDU.oswego.cs.dl.util.concurrent.Latch)
> > [junit] at
> >
>
org.apache.geronimo.network.protocol.control.ControlClientProtocolKitch
>
> > en.sendDown(ControlClientProtocolKitchen.java:
> > 130)
> > [junit] at
> >
>
org.apache.geronimo.network.protocol.ProtocolStack.sendDown(ProtocolSta
>
> > ck.java:125)
> > [junit] at
> >
>
org.apache.geronimo.network.protocol.control.ControlProtocolTest.test(C
>
> > ontrolProtocolTest.java:136)
> > [junit] at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>
> > Method)
> > [junit] at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
>
> > va:39)
> > [junit] at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
>
> > rImpl.java:25)
> > [junit] at
> java.lang.reflect.Method.invoke(Method.java:324)
> > [junit] at
> junit.framework.TestCase.runTest(TestCase.java:154)
> > [junit] at
> junit.framework.TestCase.runBare(TestCase.java:127)
> > [junit] at
> >
>
junit.framework.TestResult$1.protect(TestResult.java:106)
> > [junit] at
> >
>
junit.framework.TestResult.runProtected(TestResult.java:124)
> > [junit] at
> junit.framework.TestResult.run(TestResult.java:109)
> > [junit] at
> junit.framework.TestCase.run(TestCase.java:118)
> > [junit] at
> >
>
junit.framework.TestSuite.runTest(TestSuite.java:208)
> > [junit] at
> junit.framework.TestSuite.run(TestSuite.java:203)
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitT
>
> > estRunner.java:325)
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnit
>
> > TestRunner.java:536)
> > [junit]
> > [junit] "VM Thread" prio=1 tid=0x080882e0
> nid=0x3a7 runnable
> > [junit]
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover