-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8258855: Two tests sun/security/krb5/auto/ReplayCacheTestProc.java and ReplayCacheTestProcWithMD5.java failed on OL8.3 #481
Conversation
👋 Welcome back andrew! A progress list of the required criteria for merging this PR into |
@gnu-andrew This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 7 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
This backport pull request has now been updated with issue from the original commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for proposing this backport. Looks good to me.
|
None of them relate to this change. |
/approval request Nearly clean test backport which fixes the Kerberos replay test on systems with a newer version of mit-krb5 (e.g. RHEL 8). Backport was reviewed by Martin Balao and Sergey Bylokhov. |
@gnu-andrew |
/approve yes |
@jerboaa |
/integrate |
Going to push as commit 6b53212.
Your commit was automatically rebased without conflicts. |
@gnu-andrew Pushed as commit 6b53212. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
In testing
sun/security/krb5/auto/ReplayCacheTestProc.java
following JDK-8168518, I found both it andsun/security/krb5/auto/rcache_usemd5.sh
failed on RHEL 8. This did not seem to be a regression caused by the 8u412 change as it failed on the current release, 8u402. The failure was further confirmed by @martinuy who found it was due to the newer Kerberos version on RHEL 8, and it passed on Fedora 31.@jerboaa alerted me to JDK-8258855 and backporting this change to 8u makes the tests pass.
The code changes apply as is. The headers have to be adjusted slightly to take into account the different DNS options used in 8u. The change to
test/jdk/sun/security/krb5/auto/ReplayCacheTestProcWithMD5.java
also moves tojdk/test/sun/security/krb5/auto/rcache_usemd5.sh
on 8u and has to be manually applied. I looked briefly at backporting JDK-8180569 which refactors these Kerberos shell tests into Java tests, and I think it has merit, but is likely quite involved and requires other test library backports. For now, we can just backport this change as the shell script is different to the one removed by 8180569 with or without this patch applied first.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/481/head:pull/481
$ git checkout pull/481
Update a local copy of the PR:
$ git checkout pull/481
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/481/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 481
View PR using the GUI difftool:
$ git pr show -t 481
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/481.diff
Webrev
Link to Webrev Comment