tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arjit Gupta <arjitk.gu...@gmail.com>
Subject Re: tomcat ant test failure due to java exception.
Date Tue, 02 May 2017 03:24:16 GMT
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)
        at
org.apache.catalina.tribes.transport.nio.NioSender.configureSocket(NioSender.java:146)
        at
org.apache.catalina.tribes.transport.nio.NioSender.connect(NioSender.java:247)
        at
org.apache.catalina.tribes.transport.nio.ParallelNioSender.connect(ParallelNioSender.java:201)
        at
org.apache.catalina.tribes.transport.nio.ParallelNioSender.sendMessage(ParallelNioSender.java:78)
        at
org.apache.catalina.tribes.transport.nio.PooledParallelSender.sendMessage(PooledParallelSender.java:54)
        at
org.apache.catalina.tribes.transport.ReplicationTransmitter.sendMessage(ReplicationTransmitter.java:81)
        at
org.apache.catalina.tribes.group.ChannelCoordinator.sendMessage(ChannelCoordinator.java:79)
        at
org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:79)
        at
org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:79)
        at
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.sendMessage(TcpFailureDetector.java:93)
        at
org.apache.catalina.tribes.group.ChannelInterceptorBase.sendMessage(ChannelInterceptorBase.java:79)
        at
org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.sendElectionMsg(NonBlockingCoordinator.java:255)
        at
org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.startElection(NonBlockingCoordinator.java:222)
        at
org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.memberDisappeared(NonBlockingCoordinator.java:545)
        at
org.apache.catalina.tribes.group.ChannelInterceptorBase.memberDisappeared(ChannelInterceptorBase.java:100)
        at
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.memberDisappeared(TcpFailureDetector.java:158)
        at
org.apache.catalina.tribes.group.ChannelInterceptorBase.memberDisappeared(ChannelInterceptorBase.java:100)
        at
org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor.memberDisappeared(DomainFilterInterceptor.java:84)
        at
org.apache.catalina.tribes.group.ChannelInterceptorBase.memberDisappeared(ChannelInterceptorBase.java:100)
        at
org.apache.catalina.tribes.group.ChannelCoordinator.memberDisappeared(ChannelCoordinator.java:267)
        at
org.apache.catalina.tribes.membership.McastService.memberDisappeared(McastService.java:562)
        at
org.apache.catalina.tribes.membership.McastServiceImpl$1.run(McastServiceImpl.java:376)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)


Arjit Kumar

On Sun, Apr 30, 2017 at 4:36 PM, Mark Thomas <markt@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message