United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6952814 sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/InterruptedIO.java failing in PIT
JDK-6952814 : sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/InterruptedIO.java failing in PIT

Details
Type:
Bug
Submit Date:
2010-05-14
Status:
Closed
Updated Date:
2013-06-26
Project Name:
JDK
Resolved Date:
2012-09-19
Component:
security-libs
OS:
generic
Sub-Component:
javax.net.ssl
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
We've seen this failing in PIT from time to time.  Should eventually be looked at:

----------messages:(3/127)----------
command: main InterruptedIO
reason: Assumed action based on file name: run main InterruptedIO
elapsed time (seconds): 120.237
----------System.out:(14/518)----------
Test valid only on SunOS.
=========================
It was determined that Thread.interrupt() could
not be reliably return InterruptedIOException
on non-Solaris implementations.  Thread.interrupt()
API was updated in merlin (JDK 1.4) to reflect this.

Server - Will accept connections on port 36808
Client - Connected to: localhost:36808
Client - Doing SSL Handshake...
Client - Done with SSL Handshake
Main - Pausing for 5 seconds...
Client - Reading from input stream ...
Main - Interrupting client reader thread
----------System.err:(0/0)----------
result: Error. Program `/net/jano1.sfbay/export1/jcg/ws-depot/7/tl/build-archive
/latest.tl-pit/solaris_sparc/bin/java' interrupted! (timed out?)

                                    

Comments
EVALUATION

This test relies on legacy interruptible I/O that is disabled in jdk7. It can be re-enabled by running with -XX:+UseVMInterruptibleIO but it will break again in jdk8 once interruptible I/O is completely removed from the platform. A better choice would be to remove the test.
                                     
2011-06-22
log: 
----------System.out:(14/518)---------- 
Test valid only on SunOS. 
========================= 
It was determined that Thread.interrupt() could 
not be reliably return InterruptedIOException 
on non-Solaris implementations. Thread.interrupt() 
API was updated in merlin (JDK 1.4) to reflect this. 

Server - Will accept connections on port 62966 
Client - Connected to: localhost:62966 
Client - Doing SSL Handshake... 
Client - Done with SSL Handshake 
Main - Pausing for 5 seconds... 
Client - Reading from input stream ... 
Main - Interrupting client reader thread 
----------System.err:(0/0)---------- 
result: Error. Program `/export/jdk/jdk1.7.0_10b17/bin/java' interrupted! (timed out?) 


test result: Error. test was interrupted! (timeout?)
                                     
2012-11-27



Hardware and Software, Engineered to Work Together