-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
I'm repeating all tests for the 8.5.19 release, so I'll see if I can get it to fail again. Thanks, - -chris On 7/20/17 3:56 PM, Mark Thomas wrote: > On 20/07/17 19:09, Christopher Schultz wrote: >> Mark, >> >> On 7/18/17 9:58 AM, Mark Thomas wrote: >>> The proposed Apache Tomcat 8.5.18 release is now available for >>> voting. > > <snip/> > >>> The proposed 8.5.18 release is: [ ] Broken - do not release >>> [?] Stable - go ahead and release as 8.5.18 >> >> Works fine for me in a development environment. *There was a unit >> test failure I've never seen before.* Someone who knows more >> about this particular test might want to weigh-in on whether or >> not this is a problem. >> >> Details below. > > <snip/> > >> For TestVirtualContext (which only failed for NIO2, oddly), here >> are the errors: >> >> 20-Jul-2017 12:10:16.422 SEVERE >> [http-nio2-127.0.0.1-auto-2-exec-2] >> org.apache.catalina.core.StandardHostValve.invoke Exception >> Processing null java.lang.NullPointerException at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alv >> >> e.java:236) > > OK. That is in the exception handling. That is odd to start with > since we don't expect this test to enter that code. As to what > might be triggering the NPE, it could be any of: - container - > container.getLogger() - wrapper - context > > None of which should ever be null at that point. > > <snip/> > >> 20-Jul-2017 12:10:16.427 SEVERE >> [http-nio2-127.0.0.1-auto-2-exec-2] >> org.apache.coyote.http11.Http11Processor.service Error processing >> reques t java.lang.NullPointerException at >> org.apache.catalina.connector.Request.notifyAttributeAssigned(Request .ja >> >> va:1555) > > That suggests context is null. > > <snip/> > >> 20-Jul-2017 12:10:16.440 SEVERE >> [http-nio2-127.0.0.1-auto-2-exec-2] >> org.apache.coyote.http11.Http11Processor.endRequest Error >> finishing response java.lang.NullPointerException at >> org.apache.coyote.http11.Http11OutputBuffer.commit(Http11OutputBuffer .ja >> >> va:368) > > That suggests socketWrapper is null. > > <snip /> > >> ... and then finally: Testcase: testVirtualClassLoader took >> 14.813 sec Caused an ERROR Read timed out >> java.net.SocketTimeoutException: Read timed out at >> java.net.SocketInputStream.socketRead0(Native Method) > > Hmm. The test should complete in a couple of seconds. > > <snip/> > >> org.apache.catalina.loader.TestVirtualContext.testVirtualClassLoader( Tes >> >> tVirtualContext.java:105) > > and finally that is the first request made to Tomcat as part of > this test. > > I'm guessing that this failure is not repeatable.. > > Given everything is on localhost, a network glitch seems unlikely. > Some sort of threading / timing issue seems more likely. > > If it isn't repeatable, I'm not sure there is a lot we can do > about this. It suggests that there might be an issue somewhere - > maybe in the start-up code - but it could equally be an issue with > the test code. > > I'd be tempted to note this but carry on with the release unless it > is repeatable. > > Mark > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJZeMZwAAoJEBzwKT+lPKRYmIIP/18XTeTMJrbsoB8n7IikIcKH hM3AkU4LyI53d+G8swfDPDZ1FTvf4uG6L85Hxm80KdsLFwlV/AXkAa8WNLQ7SwVZ vXA8VVJfyy8ChgjTQiZ19h9LUtAuqMiQtbJ04WdHyTGF4AA+oL1NS0pQ5U3QHFi8 xeHjSK+4ab4ZazdroIJWvo2xDq9d59ckxqE5kwYUUN7ws6YKtkGiLD5nS+LIYp21 O2RvTbN5gAJjkgX7c4kRC9aL11PDCOnd7KcEkSwWyPaGwMaArPPql0eslKGBPNeF sVSugNJAgwR8bbQ4wJAFFYexHdHUxpSxSJU1Gy4YdeA0HJFZ0BOOnBGkHXOWeugY Y3Es2vN1GZcLlWQtaodnxaHMmk80eCpg1XGsK0X4ClhWzA7bY4k1vu+E54QFfyiN pm1ibViBFFmLHTYHn1iMohJ+UcNgpdHXMiIgrg8yx8lDrsORRYP9mThKMHbJ/rdr xa86GoTO3EDPwvTj34m1KUrPQoTWFvbr/6Ih9QvMvZ/WS3oZt6Tw4IBCbk1kDKUh tp2mCNeMAW9TKvRo+OvwtX3xF3LZ0O7pAU7UbcI6eTn5EOnXxvWZD7FpwD0GUux2 dT1Yqa+19lHUSHM2hNnDGyKJqeKDzhN0XT05zuMdSPas5Y50UJi88f+zDnq/3Rc9 cfZGmU+9LgohEV7Y0UKf =+Rnw -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org