RFR: 8258855: Two tests sun/security/krb5/auto/ReplayCacheTestProc.java and ReplayCacheTestProcWithMD5.java failed on OL8.3
Weijun Wang
weijun at openjdk.java.net
Tue Feb 23 18:16:42 UTC 2021
On Mon, 22 Feb 2021 16:39:56 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.
Only one nit.
test/jdk/sun/security/krb5/auto/ReplayCacheTestProcWithMD5.java line 40:
> 38: * -Djdk.net.hosts.file=TestHosts
> 39: * -Dtest.service=host
> 40: * -Dtest.libs=N ReplayCacheTestProc
No need to test native libs with MD5.
-------------
Marked as reviewed by weijun (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2676
More information about the security-dev
mailing list