Re: Tomcat ant test failure

2020-03-23 Thread Mark Thomas
On 23/03/2020 12:43, Udupa, Ankitha K wrote:
> Hi Mark,
> 
> We have resolved similar errors like
> "sun.security.validator.ValidatorException: PKIX path validation failed: 
> java.security.cert.CertPath
> ValidatorException: timestamp check failed"
> by downloading the certificates from latest tomcat source code 
> (https://github.com/apache/tomcat/tree/7.0.x/test/org/apache/tomcat/util/net).
> 
> Please let me know if there is any other way to resolve this issue without 
> downloading the latest certificate once they are expired.

Set the date on the server running the tests back far enough that the
certificates appear to be valid?

Mark


> 
> Thanks and Regards,
> Ankitha
> 
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org] 
> Sent: Monday, March 23, 2020 3:08 PM
> To: Tomcat Users List 
> Subject: Re: Tomcat ant test failure
> 
> On 23/03/2020 07:18, Udupa, Ankitha K wrote:
>> Hi,
>>
>> We are facing issue while triggering Ant Test with Tomcat 7.0.84
> 
> That version is over two years old and has a number of known security 
> vulnerabilities that are likely to apply to a typical installation.
> 
> The Tomcat community typically provides support on a "first update to the 
> latest release of a supported version (7.0.103 in this instance), then 
> recreate then problem, then we'll try and help" basis. The further you are 
> away from the latest version of a supported release, the less likely you are 
> to receive help.
> 
>> on HP UX IA/PA architecture with Java ( Java 7.0 in IA and Java 6.0 in PA).
>> Please kindly help me to resolve these failures.
> 
> Why? What are you trying to achieve by this?
> 
> Each test will have a dedicated log file. You'll need to provide the log 
> files associated with each failed test if you want us to try and help.
> 
> Best guess is that the async state errors are highlighting edge case bugs 
> that are fixed in a later release and the TLS bugs are probably due to 
> differences in the HP JVMs. No idea about the Comet errors.
> 
> Mark
> 
> 
>> TEST-org.apache.catalina.comet.TestCometProcessor.NIO.txt:ERROR:null
>> TEST-org.apache.catalina.comet.TestCometProcessor.NIO.txt:ERROR:null
>> TEST-org.apache.catalina.connector.TestCoyoteAdapter.BIO.txt:Exception 
>> in thread "testBug54928" java.lang.IllegalStateException: Calling 
>> [asyncComplete()] is not valid for a request with Async state 
>> [MUST_ERROR] 
>> TEST-org.apache.catalina.connector.TestCoyoteAdapter.NIO.txt:Exception 
>> in thread "testBug54928" java.lang.IllegalStateException: Calling 
>> [asyncComplete()] is not valid for a request with Async state 
>> [MUST_ERROR]
>> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an 
>> ERROR
>> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an ERROR
>> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
>> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
>> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
>> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
>> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
>> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
>> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.BIO.txt:   
>> Caused an ERROR
>> TEST-org.apache.tomcat.

RE: Tomcat ant test failure

2020-03-23 Thread Udupa, Ankitha K
Hi Mark,

We have resolved similar errors like
"sun.security.validator.ValidatorException: PKIX path validation failed: 
java.security.cert.CertPath
ValidatorException: timestamp check failed"
by downloading the certificates from latest tomcat source code 
(https://github.com/apache/tomcat/tree/7.0.x/test/org/apache/tomcat/util/net).

Please let me know if there is any other way to resolve this issue without 
downloading the latest certificate once they are expired.

Thanks and Regards,
Ankitha

-Original Message-
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Monday, March 23, 2020 3:08 PM
To: Tomcat Users List 
Subject: Re: Tomcat ant test failure

On 23/03/2020 07:18, Udupa, Ankitha K wrote:
> Hi,
> 
> We are facing issue while triggering Ant Test with Tomcat 7.0.84

That version is over two years old and has a number of known security 
vulnerabilities that are likely to apply to a typical installation.

The Tomcat community typically provides support on a "first update to the 
latest release of a supported version (7.0.103 in this instance), then recreate 
then problem, then we'll try and help" basis. The further you are away from the 
latest version of a supported release, the less likely you are to receive help.

> on HP UX IA/PA architecture with Java ( Java 7.0 in IA and Java 6.0 in PA).
> Please kindly help me to resolve these failures.

Why? What are you trying to achieve by this?

Each test will have a dedicated log file. You'll need to provide the log files 
associated with each failed test if you want us to try and help.

Best guess is that the async state errors are highlighting edge case bugs that 
are fixed in a later release and the TLS bugs are probably due to differences 
in the HP JVMs. No idea about the Comet errors.

Mark


> TEST-org.apache.catalina.comet.TestCometProcessor.NIO.txt:ERROR:null
> TEST-org.apache.catalina.comet.TestCometProcessor.NIO.txt:ERROR:null
> TEST-org.apache.catalina.connector.TestCoyoteAdapter.BIO.txt:Exception 
> in thread "testBug54928" java.lang.IllegalStateException: Calling 
> [asyncComplete()] is not valid for a request with Async state 
> [MUST_ERROR] 
> TEST-org.apache.catalina.connector.TestCoyoteAdapter.NIO.txt:Exception 
> in thread "testBug54928" java.lang.IllegalStateException: Calling 
> [asyncComplete()] is not valid for a request with Async state 
> [MUST_ERROR]
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an 
> ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.BIO.txt:   
> Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.NIO.txt:   
> Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.NIO.txt:   
> Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.BIO.txt:  
> Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.NIO.txt:  
> Caused an ERROR
> 
> Thanks and Regards,
> Ankitha
> 
> 


-
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



Re: Tomcat ant test failure

2020-03-23 Thread Mark Thomas
On 23/03/2020 07:18, Udupa, Ankitha K wrote:
> Hi,
> 
> We are facing issue while triggering Ant Test with Tomcat 7.0.84

That version is over two years old and has a number of known security
vulnerabilities that are likely to apply to a typical installation.

The Tomcat community typically provides support on a "first update to
the latest release of a supported version (7.0.103 in this instance),
then recreate then problem, then we'll try and help" basis. The further
you are away from the latest version of a supported release, the less
likely you are to receive help.

> on HP UX IA/PA architecture with Java ( Java 7.0 in IA and Java 6.0 in PA).
> Please kindly help me to resolve these failures.

Why? What are you trying to achieve by this?

Each test will have a dedicated log file. You'll need to provide the log
files associated with each failed test if you want us to try and help.

Best guess is that the async state errors are highlighting edge case
bugs that are fixed in a later release and the TLS bugs are probably due
to differences in the HP JVMs. No idea about the Comet errors.

Mark


> TEST-org.apache.catalina.comet.TestCometProcessor.NIO.txt:ERROR:null
> TEST-org.apache.catalina.comet.TestCometProcessor.NIO.txt:ERROR:null
> TEST-org.apache.catalina.connector.TestCoyoteAdapter.BIO.txt:Exception in 
> thread "testBug54928" java.lang.IllegalStateException: Calling 
> [asyncComplete()] is not valid for a request with Async state [MUST_ERROR]
> TEST-org.apache.catalina.connector.TestCoyoteAdapter.NIO.txt:Exception in 
> thread "testBug54928" java.lang.IllegalStateException: Calling 
> [asyncComplete()] is not valid for a request with Async state [MUST_ERROR]
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.BIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestClientCert.NIO.txt: Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.BIO.txt:  Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestCustomSsl.NIO.txt:  Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.BIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.util.net.TestSsl.NIO.txt:Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.BIO.txt:   
> Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.NIO.txt:   
> Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWebSocketFrameClientSSL.NIO.txt:   
> Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.BIO.txt:  
> Caused an ERROR
> TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.NIO.txt:  
> Caused an ERROR
> 
> Thanks and Regards,
> Ankitha
> 
> 


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



Re: tomcat ant test failure due to java exception.

2017-05-01 Thread Mark Thomas
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.



> 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  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



Re: tomcat ant test failure due to java exception.

2017-05-01 Thread Arjit Gupta
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  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,
> > Fa

Re: tomcat ant test failure due to java exception.

2017-04-30 Thread Mark Thomas
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.TestGroupChannelSenderConnections.BIO.txt:Tests
> run: 3, Failures: 3, Errors: 0, Time elapsed: 9.213 sec
> 176
>  
> TEST-org.apache.catalina.tribes.group.TestGroupChannelSenderConnections.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