-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
extended.openjdk failure: sun/security/krb5/auto/ReplayCacheTestProc.java.ReplayCacheTestProc #2349
Comments
Has shown to pass on test-docker-ubuntu1804-x64-1 and fail on test-docker-fedora33-x64-2 (see history) |
Submitted Grinder on test-docker-ubuntu1804-x64-1 https://ci.adoptopenjdk.net/job/Grinder/7603/ |
20x Grinder to see if intermittent: https://ci.adoptopenjdk.net/job/Grinder/7629/ |
Running some grinders I only saw it failing on linux (not Windows or Mac) On linux, the test fails on some machines but not others. For jdk8, these are some grinder results:
From this we can see that for x86-64_linux the test passed on test-packet-ubuntu1604-x64-3 (hotspot) but failed on test-docker-fedora33-x64-1 (openj9). When the test was rerun on test-docker-fedora33-x64-1 This all indicates some issue in the configuration of the test machines. The symptoms are similar to https://bugs.openjdk.java.net/browse/JDK-8262033, where the failures were deemed to be due to the new rcache format of krb release 1.18. So I guess a first step is to identify the krb release levels on the passing and failing machines. |
Finding the installed Kerberos version proved to be a little trickier than I thought. On the ubuntu machines, I ran
|
So it looks as though maybe older (linux) operating system installations are more likely to run the test successfully than newer ones. |
The
On the ubuntu machines, the only trace of a
Does this help? |
Are you saying that test-marist-ubuntu1604-s390x-2X (where the test passes) and test-docker-ubuntu1604-x64 (where the test fails) both have both packages installed, or that one machine has one package installed and the other machine has the other package? |
Both machines, passing and failing, have both packages installed. test-marist-ubuntu1604-s390x-2X
test-docker-ubuntu1604-x64
|
So possibly kerberos 1.16 test passes, 1.17 test fails? |
Some quick notes
(Also tagging my docker-specifc issue because while this is not specific to docker, it looks like none of the docker hosts have passed. It may be that it needs an extra package of some sort to pass, and none of the docker containers have it which may provide a clue) |
My hunch is still that it is a package version issue. The test failed on |
This is what I think is going on...... The test starts a number of client and server processes, and then either sends new requests from a client to a server, or tries to reuse a token from a previous request. The server processes are either native (ns) or java (js) servers. The server to which the requests are sent is selected randomly. Also, whether the request is a new request or reuses a token from an old request is selected randomly. In the event that an old token is being used, the The test fails because a Here is a sample output file from a failing test.
Because of the random nature of the test it is not guaranteed that the failing condition will always be executed leading to the apparent intermittent nature of the test failure. This is the exception thrown by the java server (when an exception is expected):
This is the exception thrown by the native server (when an exception is expected):
This fork / branch has a version of the test which removes the randomness and just runs a minimum failing execution path (request to native server followed by request to java server reusing old token): https://github.com/lumpfish/openjdk-jdk8u/tree/fix_ReplayCacheTestProc. The test fails consistently (i.e. the expected exception is not thrown) on all jdk8 platforms. If the test is amended to change the order and nature of the two servers remianing:
I have not been able to determine whether the fault lies in native server, the java server or in the test case. Some help from upstream may be required. Until the underlying cause has been established and fixed I suggest the test be excluded to prevent seeing the failure over and over again. The test passes on jdk11 but there are significant changes to the test case between the releases. |
sun/security/krb5/auto/ReplayCacheTestProc.java.ReplayCacheTestProc fails both Hotspot and OpenJ9
https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_extended.openjdk_aarch64_linux/9/consoleFull
openj9:
Suspect upstream testcase issue...?
The text was updated successfully, but these errors were encountered: