There was still a test failure with the TestStuckThreadDetectionValve in build 
99. But I really don't understand the failure, there's no error in the logs :

Here is the extract from 
http://ci.apache.org/builders/tomcat-trunk/builds/99/steps/compile_1/logs/stdio


    [junit] Running org.apache.catalina.valves.TestStuckThreadDetectionValve
    [junit] 21-May-2014 17:47:58.088 INFO [main] 
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
["http-nio-127.0.0.1-auto-1"]
    [junit] 21-May-2014 17:47:58.115 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
    [junit] 21-May-2014 17:47:58.115 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.0.9-dev
    [junit] 21-May-2014 17:47:58.607 INFO [main] 
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
["http-nio-127.0.0.1-auto-1-43485"]
    [junit] 21-May-2014 17:48:02.602 WARNING 
[ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]]
 org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected 
Thread "http-nio-127.0.0.1-auto-1-exec-1" (id=19) has been active for 
2,918 milliseconds (since 5/21/14 5:47 PM) to serve the same request for 
http://localhost:43485/myservlet and may be stuck (configured threshold for 
this StuckThreadDetectionValve is 2 seconds). There is/are 1 thread(s) in total 
that are monitored by this Valve and may be stuck.
    [junit]  java.lang.Throwable
    [junit]     at java.lang.Thread.sleep(Native Method)
    [junit]     at 
org.apache.catalina.valves.TestStuckThreadDetectionValve$StuckingServlet.doGet(TestStuckThreadDetectionValve.java:153)
    [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
    [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    [junit]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    [junit]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    [junit]     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    [junit]     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    [junit]     at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
    [junit]     at 
org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:208)
    [junit]     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
    [junit]     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:78)
    [junit]     at org.ap</span><span 
class="stdout">ache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    [junit]     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
    [junit]     at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1033)
    [junit]     at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652)
    [junit]     at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
    [junit]     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1565)
    [junit]     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1522)
    [junit]     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    [junit]     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    [junit]     at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [junit]     at java.lang.Thread.run(Thread.java:722)
    [junit] 
    [junit] 21-May-2014 17:48:05.789 INFO [main] 
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler 
[&#34;http-nio-127.0.0.1-auto-1-43485&#34;]
    [junit] 21-May-2014 17:48:05.790 INFO [main] 
org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
    [junit] 21-May-2014 17:48:05.807 INFO [main] 
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
[&#34;http-nio-127.0.0.1-auto-1-43485&#34;]
    [junit] 21-May-2014 17:48:05.809 INFO [main] 
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
[&#34;http-nio-127.0.0.1-auto-1-43485&#34;]
    [junit] 21-May-2014 17:48:05.832 INFO [main] 
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
[&#34;http-nio-127.0.0.1-auto-2&#34;]
    [junit] 21-May-2014 17:48:05.864 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
    [junit] 21-May-2014 17:48:05.865 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.0.9-dev
    [junit] 21-May-2014 17:48:05.903 INFO [main] 
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
[&#34;http-nio-127.0.0.1-auto-2-39963&#34;]
</span><span class="stdout">    [junit] 21-May-2014 17:48:08.898 WARNING 
[ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]]
 org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected 
Thread &#34;http-nio-127.0.0.1-auto-2-exec-1&#34; (id=28) has been active for 
2,970 milliseconds (since 5/21/14 5:48 PM) to serve the same request for 
http://localhost:39963/myservlet and may be stuck (configured threshold for 
this StuckThreadDetectionValve is 2 seconds). There is/are 1 thread(s) in total 
that are monitored by this Valve and may be stuck.
    [junit]  java.lang.Throwable
    [junit]     at java.lang.Thread.sleep(Native Method)
    [junit]     at 
org.apache.catalina.valves.TestStuckThreadDetectionValve$StuckingServlet.doGet(TestStuckThreadDetectionValve.java:153)
    [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
    [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    [junit]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    [junit]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    [junit]     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    [junit]     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    [junit]     at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
    [junit]     at 
org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:208)
    [junit]     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
    [junit]     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:78)
    [junit]     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    [junit]     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
    [junit]     at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1033)
    [junit]     at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652)
    [junit]     at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
    [junit]     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1565)
    [junit]     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1522)
    [junit]     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    [junit]     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    [junit]     at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [junit]     at java.lang.Thread.run(Thread.java:722)
    [junit] 
    [junit] 21-May-2014 17:48:11.905 WARNING 
[ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]]
 
org.apache.catalina.valves.StuckThreadDetectionValve$MonitoredThread.interruptIfStuck
 Thread &#34;http-nio-127.0.0.1-auto-2-exec-1&#34; (id=28) has been interrupted 
because it was active for 5,977 milliseconds (since 5/21/14 5:48 PM) to serve 
the same request for http://localhost:39963/myservlet and was probably stuck 
(configured interruption threshold for this StuckThreadDetectionValve is 5 
seconds).
    [junit]  java.lang.Throwable
    [junit]     at java.lang.Thread.sleep(Native Method)
    [junit]     at 
org.apache.catalina.valves.TestStuckThreadDetectionValve$StuckingServlet.doGet(TestStuckThreadDetectionValve.java:153)
    [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
    [junit]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    [junit]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
    [junit]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    [junit]     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    [junit]     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    [junit]     at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
    [junit]     at 
org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:208)
    [junit]     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
    [junit]     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:78)
    [junit]     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    [junit]     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
    [junit]     at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1033)
    [junit]     at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:652)
    [junit]     at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
    [junit]     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1565)
    [junit]     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1522)
    [junit]     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    [junit]     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    [junit]     at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    [junit]     at java.lang.Thread.run(Thread.java:722)
    [junit] 
    [junit] 21-May-2014 17:48:11.909 WARNING 
[ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]]
 
org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadCompleted 
Thread &#34;http-nio-127.0.0.1-auto-2-exec-1&#34; (id=28) was previously 
reported to be stuck but has completed. It was active for approximately 5,980 
milliseconds.
    [junit] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
17.473 sec
    [junit] 21-May-2014 17:48:13.913 INFO [main] 
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler 
[&#34;http-nio-127.0.0.1-auto-2-39963&#34;]
    [junit] 21-May-2014 17:48:13.914 INFO [main] 
org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
    [junit] 21-May-2014 17:48:13.921 INFO [main] 
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
[&#34;http-nio-127.0.0.1-auto-2-39963&#34;]
    [junit] 21-May-2014 17:48:13.922 INFO [main] 
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
[&#34;http-nio-127.0.0.1-auto-2-39963&#34;]
</span><span class="stderr">    [junit] Test 
org.apache.catalina.valves.TestStuckThreadDetectionValve FAILED


There seems to be a mix and desynchronization of stdout and stderr, but apart 
from that, I cannot see where it failed.
I also tried to look in 
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test-nio/gump_file/TEST-org.apache.catalina.valves.TestStuckThreadDetectionValve.NIO.txt.html
 but it's now a later (passing) build...

any ideas on why it would fail without any error message ?

Sylvain

On 20 mai 2014, at 22:42, Sylvain Laurent <slaur...@apache.org> wrote:

> I think I fixed the problem, which was only in the test case.
> There was a timing issue (the bot seems to be even slower than my 5 years old 
> mac), which provoked an assertion failure.
> It then provoked the class loading issue because the request was still stuck 
> in the background when the test returned...
> 
> I hope this will be ok with the next build...
> 
> Sylvain
> 
> On 20 mai 2014, at 21:14, Sylvain Laurent <slaur...@apache.org> wrote:
> 
>> I'll have a look at this right now.
>> 
>> 
>> On 19 mai 2014, at 23:28, Konstantin Kolinko <knst.koli...@gmail.com> wrote:
>> 
>>> 2014-05-19 23:30 GMT+04:00  <build...@apache.org>:
>>>> The Buildbot has detected a new failure on builder tomcat-trunk while 
>>>> building ASF Buildbot.
>>>> Full details are available at:
>>>> http://ci.apache.org/builders/tomcat-trunk/builds/89
>>>> 
>>>> Buildbot URL: http://ci.apache.org/
>>>> 
>>>> Buildslave for this Build: bb-vm_ubuntu
>>>> 
>>>> Build Reason: scheduler
>>>> Build Source Stamp: [branch tomcat/trunk] 1595898
>>>> Blamelist: markt
>>>> 
>>>> BUILD FAILED: failed compile_1
>>>> 
>>> 
>>> The failed test is
>>> "org.apache.catalina.valves.TestStuckThreadDetectionValve" x NIO.
>>> 
>>> BIO and NIO2 runs were OK.
>>> 
>>> http://ci.apache.org/projects/tomcat/tomcat8/1595898/
>>> 
>>> http://ci.apache.org/projects/tomcat/tomcat8/1595898/TEST-org.apache.catalina.valves.TestStuckThreadDetectionValve.NIO.txt
>>> 
>>> 
>>> A difference is that there was an attempt to load a class which failed
>>> on a stopped web application.
>>> 
>>> Best regards,
>>> Konstantin Kolinko
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: dev-h...@tomcat.apache.org
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: dev-h...@tomcat.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to