-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
5.0
-
x86, sparc
-
generic, linux, solaris_9, solaris_10, windows_xp
Name: kaR10181 Date: 12/29/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b32
JCK : JCK1.5-runtime (b10)
Platform[s] : RedHat Advanced Server 3 (Gnome), RedHat Linux 9.0 (GNOME), Turbo Linux 8.0 (GNOME), Windows 2003 (64 bit), Windows XP Pro, Solaris 10 (sparc) (CDE), Solaris 9 (sparc) (CDE), Solaris
9 (x86) (CDE)
switch/Mode : -XX:+UseParallelGC -Xfuture, -Xconcgc -XX:+UseParNewGC -Xfuture, -Xfuture, -Xincgc -Xfuture, -d64 -esa -Xfuture, -server -Xmixed -Xfuture, plugin, plugin
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/org_ietf/jgss/GSSContext/index.html#wrapUnwrapIOTest [wrapUnwrapIOTest_1, result]
JCK1.5-runtime api/org_ietf/jgss/GSSContext/index.html#wrapUnwrapIOTest test fails with JDK1.5.0-b32
The test is new for JCK1.5-b10.
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/org_ietf/jgss/GSSContext/wrapUnwrapIOTest.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol9_sparc_UseParNewGC_novo48/workDir/api/org_ietf/jgss/GSSContext/index_wrapUnwrapIOTest.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b32/binaries/solaris-sparc"
JCK="/java/re/jck/1.5/promoted/beta/b08/binaries/JCK-runtime-15"
#Alternative paths outside Java Software:
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b32/binaries/solaris-sparc"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b08/binaries/JCK-runtime-15"
#Alternative paths for the NSK site:
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"
switches="-Xconcgc -XX:+UseParNewGC -Xfuture"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.org.ietf.jgss.GSSContext.wrapUnwrapIOTest -TestCaseID result wrapUnwrapIOTest_1
--- script end ---
Test output:
============
Test output (jtr part):
=======================
----------log:(50/3221)----------
using this Java property = java.security.auth.login.config
testURL = file:///net/linux-15/export/home/java/jck1.5/JCK-runtime-15/
The machine linux-15.nbsp.nsk.su does exist.
>>> JVM will use Java Login Config file: /net/linux-15/export/home/java/jck1.5/JCK-runtime-15/lib/jck.auth.login.config
Security Manager is null
Previous Property java.security.auth.login.config is null
Current Property java.security.auth.login.config is /net/linux-15/export/home/java/jck1.5/JCK-runtime-15/lib/jck.auth.login.config
Port #38350 was allocated as a free port. This test will use this port.
Security Manager is null
Previous Property java.security.krb5.kdc is null
Current Property java.security.krb5.kdc is linux-15.nbsp.nsk.su
Previous Property java.security.krb5.realm is null
Current Property java.security.krb5.realm is LINUX-15
<GSSCallbackHandler> callbacks.length = 1
<GSSCallbackHandler> Inside GSSCallbackHandler, callbacks is NameCallback.
Kerberos username [akm]: test1
<GSSCallbackHandler> callbacks.length = 1
<GSSCallbackHandler> Inside GSSCallbackHandler, callbacks is PasswordCallback.
Kerberos password for test1: test1
<Server></server> *** Authentication succeeded!
<Server></server> Waiting for incoming connection...
<GSSCallbackHandler> callbacks.length = 1
<GSSCallbackHandler> Inside GSSCallbackHandler, callbacks is NameCallback.
Kerberos username [akm]: test2
<GSSCallbackHandler> callbacks.length = 1
<GSSCallbackHandler> Inside GSSCallbackHandler, callbacks is PasswordCallback.
Kerberos password for test2: test2
<Client> Authentication succeeded!. Will start execution ...
<Client> Connected to server novo48/129.144.234.48
<Server></server> Got connection from client /129.144.234.48
GSSException: Failure unspecified at GSS-API level (Mechanism level: KDC has no support for encryption type (14))
at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:724)
at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:300)
at javasoft.sqe.tests.api.org.ietf.jgss.GSSContext.wrapUnwrapIOServer$Action.run(wrapUnwrapIO.java:222)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:440)
at javasoft.sqe.tests.api.org.ietf.jgss.GSSContext.wrapUnwrapIOServer.thisRun(wrapUnwrapIO.java:167)
at javasoft.sqe.tests.api.org.ietf.jgss.GSSContext.wrapUnwrapIOServer.run(wrapUnwrapIO.java:114)
Caused by: KrbException: KDC has no support for encryption type (14)
at sun.security.krb5.internal.crypto.p.a(DashoA6275:58)
at sun.security.krb5.EncryptedData.decrypt(DashoA6275:117)
at sun.security.krb5.KrbApReq.a(DashoA6275:242)
at sun.security.krb5.KrbApReq.<init>(DashoA6275:127)
at sun.security.jgss.krb5.InitSecContextToken.<init>(InitSecContextToken.java:79)
at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:709)
... 6 more
Exception in Action GSSException: Failure unspecified at GSS-API level (Mechanism level: KDC has no support for encryption type (14))
<Server></server> doAsPrivileged() is done. Exiting ...
wrapUnwrapIOTest_1: Failed. java.lang.Exception: <Client> client<->server took too long, time expired.
STATUS:Failed.test cases: 1; all failed; first test case failure: wrapUnwrapIOTest_1
result: Failed. test cases: 1; all failed; first test case failure: wrapUnwrapIOTest_1
test result: Failed. test cases: 1; all failed; first test case failure: wrapUnwrapIOTest_1
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
Hostname: linux-4
OS: Turbo Linux 8.0 (GNOME)
Hostname: linux-5
OS: RedHat Linux 9.0 (GNOME)
Hostname: linux-6
OS: Solaris 9 (x86) (CDE)
Hostname: linux-8
OS: Solaris 10 (sparc) (CDE)
Hostname: linux-9
OS: Windows 2003 (64 bit)
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
======================================================================