On 02/05/2017 04:24, Arjit Gupta wrote: > Hi Mark, > > Below is the full stack trace of errors. > > java.lang.AssertionError: Option not found > at sun.nio.ch.Net.setSocketOption(Net.java:352) > at > sun.nio.ch.SocketChannelImpl.setOption(SocketChannelImpl.java:179) > at sun.nio.ch.SocketAdaptor.setIntOption(SocketAdaptor.java:305) > at sun.nio.ch.SocketAdaptor.setTrafficClass(SocketAdaptor.java:405)
That method is part of the public API for java.net.Socket and has been since Java 1.4. The only documented exceptions are SocketException and IllegalArgumentException. AssertionError should not be thrown there. That is a JRE bug and should be reported to your JRE vendor. <snip/> > at > org.apache.catalina.tribes.transport.nio.NioSender.configureSocket(NioSender.java:146) Since this is happening during the tests, you can exclude the failing tests use the test.exclude property. See BUILDING.txt for details. Mark > > Arjit Kumar > > On Sun, Apr 30, 2017 at 4:36 PM, Mark Thomas <ma...@apache.org> wrote: > >> On 29/04/17 03:47, Arjit Gupta wrote: >>> Hi, >>> >>> I am building tomcat 7.0.77 with java7 on HP-UX(OS) itanium(IA64) >> processor. >>> After building it successful I am running *ant test*. >>> Multiple tests are failing due to below exception. >>> >>> *Exception in thread "Thread-18" java.lang.AssertionError: Option not >> found* >> >> Full stack trace for one of those errors? >> >> Mark >> >> >>> >>> Fail test cases are:- >>> 175 >>> TEST-org.apache.catalina.tribes.group.TestGroupChannelSenderConnecti >> ons.BIO.txt:Tests >>> run: 3, Failures: 3, Errors: 0, Time elapsed: 9.213 sec >>> 176 >>> TEST-org.apache.catalina.tribes.group.TestGroupChannelSenderConnecti >> ons.NIO.txt:Tests >>> run: 3, Failures: 3, Errors: 0, Time elapsed: 9.572 sec >>> 183 >>> TEST-org.apache.catalina.tribes.group.interceptors. >> TestNonBlockingCoordinator.BIO.txt:Tests >>> run: 2, Failures: 2, Errors: 0, Time elapsed: 43.762 sec >>> 184 >>> TEST-org.apache.catalina.tribes.group.interceptors. >> TestNonBlockingCoordinator.NIO.txt:Tests >>> run: 2, Failures: 2, Errors: 0, Time elapsed: 43.897 sec >>> 185 >>> TEST-org.apache.catalina.tribes.group.interceptors. >> TestOrderInterceptor.BIO.txt:Tests >>> run: 2, Failures: 2, Errors: 0, Time elapsed: 30.797 sec >>> 186 >>> TEST-org.apache.catalina.tribes.group.interceptors. >> TestOrderInterceptor.NIO.txt:Tests >>> run: 2, Failures: 2, Errors: 0, Time elapsed: 31.078 sec >>> 187 >>> TEST-org.apache.catalina.tribes.group.interceptors. >> TestTcpFailureDetector.BIO.txt:Tests >>> run: 3, Failures: 2, Errors: 0, Time elapsed: 27.097 sec >>> 188 >>> TEST-org.apache.catalina.tribes.group.interceptors. >> TestTcpFailureDetector.NIO.txt:Tests >>> run: 3, Failures: 2, Errors: 0, Time elapsed: 33.172 sec >>> 359 TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt:Tests run: >> 5, >>> Failures: 0, Errors: 5, Time elapsed: 7.45 sec >>> 360 TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt:Tests run: >> 5, >>> Failures: 0, Errors: 5, Time elapsed: 8.081 sec >>> 361 TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:Tests run: 3, >>> Failures: 0, Errors: 3, Time elapsed: 7.54 sec >>> 362 TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:Tests run: 3, >>> Failures: 0, Errors: 3, Time elapsed: 8.156 sec >>> 363 TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Tests run: 4, >>> Failures: 0, Errors: 3, Time elapsed: 8.117 sec >>> 364 TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Tests run: 4, >>> Failures: 0, Errors: 3, Time elapsed: 8.933 sec >>> >>> Arjit Kumar >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org