I've fixed a couple of issues in the tests for the Axis2 transports,
but none of these issues accounts for the NHTTP test failures. I
think/hope those are fixed by r944697/r944701, but we need some more
builds before this can be confirmed. In the meantime I (re)enabled the
failure notifications for the Synapse trunk build.

Andreas

On Fri, May 7, 2010 at 06:43, Hiranya Jayathilaka <[email protected]> wrote:
>
>
> On Thu, May 6, 2010 at 11:24 PM, Andreas Veithen <[email protected]>
> wrote:
>>
>> That's a longstanding issue, but until now I have never been able to
>> figure out whether it's a problem in the test kit or a bug in the
>> transport. Interestingly, after adding the Axis2 transports to the
>> Hudson build last week, I noticed that those tests also have some
>> random failures. This would suggest a problem in the test kit.
>> Probably we should first focus on fixing the Axis2 transport build
>> because it is easier to debug.
>
> +1
> Thanks,
> Hiranya
>
>>
>> Andreas
>>
>> On Thu, May 6, 2010 at 09:39, Hiranya Jayathilaka <[email protected]>
>> wrote:
>> > Hi Devs,
>> > Every once in a while I get the following error when running NHTTP
>> > tests.
>> > -------------------------------------------------------
>> >  T E S T S
>> > -------------------------------------------------------
>> > Running org.apache.synapse.transport.nhttp.HttpCoreNIOListenerTest
>> > [isolatedclassloa...@41ac1fe4] weaveinfo Join point 'method-call(void
>> >
>> > org.apache.axis2.transport.MessageFormatter.writeTo(org.apache.axis2.context.MessageContext,
>> > org.apache.axiom.om.OMOutputFormat, java.io.OutputStream, boolean))' in
>> > Type
>> > 'org.apache.synapse.transport.nhttp.Axis2HttpRequest'
>> > (Axis2HttpRequest.java:281) advised by around advice from
>> > 'org.apache.axis2.transport.testkit.axis2.LogAspect' (LogAspect.java)
>> > [isolatedclassloa...@41ac1fe4] weaveinfo Join point 'method-call(void
>> >
>> > org.apache.axis2.transport.MessageFormatter.writeTo(org.apache.axis2.context.MessageContext,
>> > org.apache.axiom.om.OMOutputFormat, java.io.OutputStream, boolean))' in
>> > Type
>> > 'org.apache.synapse.transport.nhttp.Axis2HttpRequest'
>> > (Axis2HttpRequest.java:330) advised by around advice from
>> > 'org.apache.axis2.transport.testkit.axis2.LogAspect' (LogAspect.java)
>> > ERROR [HttpServerWorker-2] NativeWorkerPool Uncaught exception
>> > java.lang.IllegalMonitorStateException
>> > at java.lang.Object.wait(Native Method)
>> > at java.lang.Object.wait(Object.java:485)
>> > at
>> >
>> > org.apache.axis2.transport.testkit.tests.misc.MinConcurrencyTest$1.receive(MinConcurrencyTest.java:91)
>> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178)
>> > at
>> >
>> > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
>> > at
>> >
>> > org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
>> > at
>> >
>> > org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
>> > at
>> >
>> > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> > at java.lang.Thread.run(Thread.java:619)
>> > ERROR [HttpServerWorker-3] NativeWorkerPool Uncaught exception
>> > java.lang.IllegalMonitorStateException
>> > at java.lang.Object.wait(Native Method)
>> > at java.lang.Object.wait(Object.java:485)
>> > at
>> >
>> > org.apache.axis2.transport.testkit.tests.misc.MinConcurrencyTest$1.receive(MinConcurrencyTest.java:91)
>> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178)
>> > at
>> >
>> > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
>> > at
>> >
>> > org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
>> > at
>> >
>> > org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
>> > at
>> >
>> > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> > at java.lang.Thread.run(Thread.java:619)
>> > ERROR [HttpServerWorker-4] NativeWorkerPool Uncaught exception
>> > java.lang.IllegalMonitorStateException
>> > at java.lang.Object.wait(Native Method)
>> > at java.lang.Object.wait(Object.java:485)
>> > at
>> >
>> > org.apache.axis2.transport.testkit.tests.misc.MinConcurrencyTest$1.receive(MinConcurrencyTest.java:91)
>> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178)
>> > at
>> >
>> > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
>> > at
>> >
>> > org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
>> > at
>> >
>> > org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
>> > at
>> >
>> > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> > at java.lang.Thread.run(Thread.java:619)
>> > ERROR [HttpServerWorker-5] NativeWorkerPool Uncaught exception
>> > java.lang.IllegalMonitorStateException
>> > at java.lang.Object.wait(Native Method)
>> > at java.lang.Object.wait(Object.java:485)
>> > at
>> >
>> > org.apache.axis2.transport.testkit.tests.misc.MinConcurrencyTest$1.receive(MinConcurrencyTest.java:91)
>> > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178)
>> > at
>> >
>> > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
>> > at
>> >
>> > org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
>> > at
>> >
>> > org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
>> > at
>> >
>> > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> > at java.lang.Thread.run(Thread.java:619)
>> > Tests run: 77, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.655
>> > sec
>> > <<< FAILURE!
>> > Results :
>> > Failed tests:
>> >
>> >   0055:test=AsyncSOAPLarge,forceHTTP10=true,client=axis,endpoint=jetty(org.apache.synapse.transport.nhttp.HttpCoreNIOListenerTest)
>> > Tests run: 77, Failures: 1, Errors: 0, Skipped: 0
>> > Any idea what's going on? Note that this does not happen consistently
>> > (at
>> > least in my environment).
>> > Thanks,
>> > Hiranya
>> > --
>> > Hiranya Jayathilaka
>> > Software Engineer;
>> > WSO2 Inc.;  http://wso2.org
>> > E-mail: [email protected];  Mobile: +94 77 633 3491
>> > Blog: http://techfeast-hiranya.blogspot.com
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
>
> --
> Hiranya Jayathilaka
> Senior Software Engineer;
> WSO2 Inc.;  http://wso2.org
> E-mail: [email protected];  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to