United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4682501 REGRESSION: Authenticator/AuthNPETest.java, Authenticator/BasicTest4.java failed
JDK-4682501 : REGRESSION: Authenticator/AuthNPETest.java, Authenticator/BasicTest4.java failed

Details
Type:
Bug
Submit Date:
2002-05-09
Status:
Closed
Updated Date:
2002-11-26
Project Name:
JDK
Resolved Date:
2002-10-11
Component:
core-libs
OS:
windows_xp,windows_2000
Sub-Component:
java.net
CPU:
itanium,x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.1
Fixed Versions:
1.4.2 (mantis)

Related Reports
Duplicate:

Sub Tasks

Description
REGRESSION: Authenticator/AuthNPETest.java and  Authenticator/BasicTest4.java failed with Itanium build on Itanium-WindowsXP. This is tested with following PIT build.
java version "1.4.1-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-internal-rammarti_07_may_2002_16_49)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b10, mixed mode)

Yingxian's comments on this..
"...
Please file a bug against the two regression tests. I actually took a look at 
the failures. It looks like a timing issue in the test itself. Basically the 
server went away too quickly for the client to get the reply

..."
###@###.### 2002-05-24

Name: as83306			Date: 05/24/2002

Regression test java/net/Authenticator/AuthNPETest.java fails with Hopper build 13 on windows_2000, host-cwbybkr.

 For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Mon May 20 23:13:32 PDT 2002
#checksum:214674bed2843559
#-----testdescription-----
$file=C:\\regression\\hopper\\jdk1.4.1Tests\\tests\\b13\\java\\net\\Authenticator\\AuthNPETest.java
$root=C:\\regression\\hopper\\jdk1.4.1Tests\\tests\\b13
keywords=bug4662246
run=ASSUMED_ACTION main AuthNPETest\r\n
source=AuthNPETest.java
title=REGRESSION: plugin 14x client authentication dialog returns NullPointerException

#-----environment-----

#-----testresult-----
description=file:///C:/regression/hopper/jdk1.4.1Tests/tests/b13/java/net/Authenticator/AuthNPETest.java
end=Mon May 20 23:13:32 PDT 2002
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.net.SocketException: Software caused connection abort: recv failed
javatestOS=Windows 2000 5.0 (x86)
javatestVersion=2.1.6
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile main
start=Mon May 20 23:13:27 PDT 2002
status=Failed. Execution failed: `main' threw exception: java.net.SocketException: Software caused connection abort: recv failed
test=java/net/Authenticator/AuthNPETest.java
work=C:\\results\\regression\\hopper\\b13\\QAVECTRA-Windows_NT-jth13-jdk141b13.05-20.21-08-ALL\\java\\net\\Authenticator

#section:script_messages
----------messages:(4/200)----------
JDK under test: (C:/Java/jdk141b13)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b13)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b13, mixed mode)

#section:build
----------messages:(3/100)----------
command: build AuthNPETest 
reason: Named class compiled on demand
elapsed time (seconds): 2.924
result: Passed. Compilation successful

#section:compile
----------messages:(3/195)*----------
command: compile C:\\regression\\hopper\\jdk1.4.1Tests\\tests\\b13\\java\\net\\Authenticator\\AuthNPETest.java 
reason: .class file out of date or does not exist
elapsed time (seconds): 2.914
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:main
----------messages:(3/124)----------
command: main AuthNPETest
reason: Assumed action based on file name: run main AuthNPETest 
elapsed time (seconds): 2.454
----------System.out:(5/66)----------
client 1
Server 1: accept
accepted
Server 2: accept
accepted
----------System.err:(22/1416)----------
java.net.SocketException: Software caused connection abort: recv failed
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:741)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:702)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:712)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:576)
	at AuthNPETest.main(AuthNPETest.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
	at java.lang.Thread.run(Thread.java:536)

JavaTest Message: Test threw exception: java.net.SocketException: Software caused connection abort: recv failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.net.SocketException: Software caused connection abort: recv failed
result: Failed. Execution failed: `main' threw exception: java.net.SocketException: Software caused connection abort: recv failed


test result: Failed. Execution failed: `main' threw exception: java.net.SocketException: Software caused connection abort: recv failed
======================================================================

I have run the tests with the latest mantis-beta build = 08

JDK:

$ ./java -version^M
java version "1.4.2-beta"^M
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b08)^M
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2-beta-b08, mixed mode)^M


/java/re/jdk/1.4.2/latest/binaries/windows-ia64

Both the tests passed: REGRESSION: Authenticator/AuthNPETest.java and  Authenticator/BasicTest4.java

Here are the logs: http://sqesvr.sfbay.sun.com/vsn/NET/MANTIS/verify/4682501/JTreport/report.html



                                    

Comments
EVALUATION

See Description.

###@###.### 2002-05-09
                                     
2002-05-09
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis

FIXED IN:
mantis

INTEGRATED IN:
mantis
mantis-b04

VERIFIED IN:
mantis-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together