JDK-6950930 : test failure windows sun/security/krb5/auto/IgnoreChannelBinding.java
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-05-08
  • Updated: 2010-11-04
  • Resolved: 2010-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description
Windows 64bit:

--------------------------------------------------
TEST: sun/security/krb5/auto/IgnoreChannelBinding.java
JDK under test: (C:\temp\jprt\P1\T\172836~1.OHA\TESTPR~1\WINDOW~1.2-P)
java version "1.7.0-201005081728.ohair.jdk"
Java(TM) SE Runtime Environment (build 1.7.0-201005081728.ohair.jdk-jprtadm_2010_05_08_11_21-b00)
Java HotSpot(TM) 64-Bit Server VM (build 18.0-b04, mixed mode)


ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME:   1.328 seconds
messages:
command: build IgnoreChannelBinding
reason: Named class compiled on demand
elapsed time (seconds): 1.328

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   1.328 seconds
messages:
command: compile C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.328
STDOUT:
STDERR:
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:33: warning: GSSUtil is Sun proprietary API and may be removed in a future release
import sun.security.jgss.GSSUtil;
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:46: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:47: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:51: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:57: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:61: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:67: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:76: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:82: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:96: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:97: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
11 warnings

ACTION: main -- Failed. Execution failed: `main' threw exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
REASON: Assumed action based on file name: run main IgnoreChannelBinding 
TIME:   2.015 seconds
messages:
command: main IgnoreChannelBinding
reason: Assumed action based on file name: run main IgnoreChannelBinding 
elapsed time (seconds): 2.015
STDOUT:
Start KDC on 8852
Callback for name: dummy
Callback for pass: bogus
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> dummy sends AS-REQ for krbtgt/RABBIT.HOLE
KrbException: Additional pre-authentication required (25)
	at KDC.processAsReq(KDC.java:789)
	at KDC.processMessage(KDC.java:563)
	at KDC.access$000(KDC.java:125)
	at KDC$1.run(KDC.java:981)
     Error 25 Additional pre-authentication required
>>>>> UDP request honored
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> dummy sends AS-REQ for krbtgt/RABBIT.HOLE
     Return dummy ticket for krbtgt/RABBIT.HOLE
>>>>> UDP request honored
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> server/host.rabbit.hole sends AS-REQ for krbtgt/RABBIT.HOLE
KrbException: Additional pre-authentication required (25)
	at KDC.processAsReq(KDC.java:789)
	at KDC.processMessage(KDC.java:563)
	at KDC.access$000(KDC.java:125)
	at KDC$1.run(KDC.java:981)
     Error 25 Additional pre-authentication required
>>>>> UDP request honored
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> server/host.rabbit.hole sends AS-REQ for krbtgt/RABBIT.HOLE
     Return server/host.rabbit.hole ticket for krbtgt/RABBIT.HOLE
>>>>> UDP request honored
client call initSecContext
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> null sends TGS-REQ for server/host.rabbit.hole
     Return dummy ticket for server/host.rabbit.hole
>>>>> UDP request honored
server called acceptSecContext
client call initSecContext
server side established
client side established
server side established
client call initSecContext
server called acceptSecContext
client call initSecContext
server side established
client side established
server side established
client call initSecContext
server called acceptSecContext
STDERR:
GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
	at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:778)
	at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:342)
	at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:285)
	at Context$8.run(Context.java:434)
	at Context$3.run(Context.java:221)
	at Context$3.run(Context.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at Context.doAs(Context.java:217)
	at Context.handshake(Context.java:421)
	at IgnoreChannelBinding.main(IgnoreChannelBinding.java:73)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)
Caused by: KrbException: Request is a replay (34)
	at sun.security.krb5.KrbApReq.authenticate(KrbApReq.java:310)
	at sun.security.krb5.KrbApReq.<init>(KrbApReq.java:146)
	at sun.security.jgss.krb5.InitSecContextToken.<init>(InitSecContextToken.java:108)
	at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:761)
	... 16 more

JavaTest Message: Test threw exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))

TEST RESULT: Failed. Execution failed: `main' threw exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
--------------------------------------------------
Failing on windows 2000 c1 (c2 passed?) and failing on windows 2003 X64

Windows 2000 32bit:

--------------------------------------------------
TEST: sun/security/krb5/auto/IgnoreChannelBinding.java
JDK under test: (C:\temp\jprt\P1\T\172836~1.OHA\TESTPR~1\WINDOW~1.0-P)
java version "1.7.0-201005081728.ohair.jdk"
Java(TM) SE Runtime Environment (build 1.7.0-201005081728.ohair.jdk-jprtadm_2010_05_08_11_28-b00)
Java HotSpot(TM) Client VM (build 18.0-b04, mixed mode, sharing)


ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME:   0.688 seconds
messages:
command: build IgnoreChannelBinding
reason: Named class compiled on demand
elapsed time (seconds): 0.688

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   0.688 seconds
messages:
command: compile C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.688
STDOUT:
STDERR:
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:33: warning: GSSUtil is Sun proprietary API and may be removed in a future release
import sun.security.jgss.GSSUtil;
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:46: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:47: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:51: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:57: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:61: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:67: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:76: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:82: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:96: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        c.startAsClient(OneKDC.SERVER, GSSUtil.GSS_KRB5_MECH_OID);
                                       ^
C:\temp\jprt\P1\T\172836.ohair\source\test\sun\security\krb5\auto\IgnoreChannelBinding.java:97: warning: GSSUtil is Sun proprietary API and may be removed in a future release
        s.startAsServer(GSSUtil.GSS_KRB5_MECH_OID);
                        ^
11 warnings

ACTION: main -- Failed. Execution failed: `main' threw exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
REASON: Assumed action based on file name: run main IgnoreChannelBinding 
TIME:   1.453 seconds
messages:
command: main IgnoreChannelBinding
reason: Assumed action based on file name: run main IgnoreChannelBinding 
elapsed time (seconds): 1.453
STDOUT:
Start KDC on 17405
Callback for name: dummy
Callback for pass: bogus
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> dummy sends AS-REQ for krbtgt/RABBIT.HOLE
KrbException: Additional pre-authentication required (25)
	at KDC.processAsReq(KDC.java:789)
	at KDC.processMessage(KDC.java:563)
	at KDC.access$000(KDC.java:125)
	at KDC$1.run(KDC.java:981)
     Error 25 Additional pre-authentication required
>>>>> UDP request honored
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> dummy sends AS-REQ for krbtgt/RABBIT.HOLE
     Return dummy ticket for krbtgt/RABBIT.HOLE
>>>>> UDP request honored
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> server/host.rabbit.hole sends AS-REQ for krbtgt/RABBIT.HOLE
KrbException: Additional pre-authentication required (25)
	at KDC.processAsReq(KDC.java:789)
	at KDC.processMessage(KDC.java:563)
	at KDC.access$000(KDC.java:125)
	at KDC$1.run(KDC.java:981)
     Error 25 Additional pre-authentication required
>>>>> UDP request honored
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> server/host.rabbit.hole sends AS-REQ for krbtgt/RABBIT.HOLE
     Return server/host.rabbit.hole ticket for krbtgt/RABBIT.HOLE
>>>>> UDP request honored
client call initSecContext
-----------------------------------------------
>>>>> UDP packet received
RABBIT.HOLE> null sends TGS-REQ for server/host.rabbit.hole
     Return dummy ticket for server/host.rabbit.hole
>>>>> UDP request honored
server called acceptSecContext
client call initSecContext
server side established
client side established
server side established
client call initSecContext
server called acceptSecContext
client call initSecContext
server side established
client side established
server side established
client call initSecContext
server called acceptSecContext
STDERR:
GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
	at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:778)
	at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:342)
	at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:285)
	at Context$8.run(Context.java:434)
	at Context$3.run(Context.java:221)
	at Context$3.run(Context.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at Context.doAs(Context.java:217)
	at Context.handshake(Context.java:421)
	at IgnoreChannelBinding.main(IgnoreChannelBinding.java:73)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)
Caused by: KrbException: Request is a replay (34)
	at sun.security.krb5.KrbApReq.authenticate(KrbApReq.java:310)
	at sun.security.krb5.KrbApReq.<init>(KrbApReq.java:146)
	at sun.security.jgss.krb5.InitSecContextToken.<init>(InitSecContextToken.java:108)
	at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:761)
	... 16 more

JavaTest Message: Test threw exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))

TEST RESULT: Failed. Execution failed: `main' threw exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Request is a replay (34))
--------------------------------------------------