RFR: 8258855: Two tests sun/security/krb5/auto/ReplayCacheTestProc.java and ReplayCacheTestProcWithMD5.java failed on OL8.3 [v2]

Rajan Halade rhalade at openjdk.java.net
Tue Feb 23 22:52:45 UTC 2021


On Tue, 23 Feb 2021 18:56:03 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

>> Kerberos new replay cache format released in 1.18 (installed in OL8.3) is causing the tests failures:
>> `https://web.mit.edu/kerberos/www/krb5-latest/doc/formats/rcache_file_format.html`
>> 
>> New and old format are not compatible, that means they cannot share a rcache file. Since there is no interoperability between java GSS-API and native GSS-API new rcache format at the moment, this patch only enables the test scenarios that mimic AP-REQ replays with multiple processes using native GSS-API only (when available) and multiple processes using Java own implementation API only. 
>> 
>> If there is a decision to support the new format in the future, tests will be revisited accordingly.
>
> Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove native lib test with MD5

test/jdk/sun/security/krb5/auto/ReplayCacheTestProc.java line 127:

> 125:             libs = userLibs.split(",");
> 126:             if (Arrays.asList(libs).contains("N") && !isNativeLibAvailable()) {
> 127:                 System.out.println("Native mode not available - skipped");

Can you please add a comment here with which scenarios are skipped?

-------------

PR: https://git.openjdk.java.net/jdk/pull/2676



More information about the security-dev mailing list