-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
#74 causing asserts on Windows, and failures on osx #75
Comments
Windows
osx
|
|
Related: eclipse-openj9/openj9#4375 |
We are getting the assert again
@hangshao0 please help figure this out. |
23:43:37.432892070 0x0000000000ee9a00 j9prt.58 Exit <j9shmem_stat exit - contents of controlFile C:\Users\jenkins\workspace\Test-extended.system-JDK8-win_x86-64_cmprssptrs\openjdk-tests\TestConfig\test_output_15477678633841\SharedClassesAPI_0\20190117-174310-SharedClassesAPI\results\caches\javasharedresources\C290M4F1A64_DefinedLocationGroupAccessJavaWL4_G35 is corrupted 23:43:37.432899289 0x0000000000ee9a00 j9shr.2233 Exception * SH_OSCachesysv::initializeHeader: The softmx bytes passed in is too big, it is reset to the cache file size 0 The cache file size is 0 and has been corrupted. |
There were updates made to the test by this PR yesterday: #79. A 5x Grinder was run at OpenJ9 for it and it passed: https://ci.eclipse.org/openj9/view/Test/job/Test-Grinder/245/consoleFull The grinder ran on https://ci.eclipse.org/openj9/computer/win2012r2-x86-1/ The release build, in which the test failed, ran on the same machine too : https://ci.eclipse.org/openj9/computer/win2012r2-x86-1/ |
Step 7 & 8 always pass and step 29 & 30 always fail. The only difference I notice is that a cacheDir parameter is passed to step 29 & 30.
j9shr.510 shows the cache file is created successfully (return code 110 means J9PORT_INFO_SHMEM_CREATED). But the trace point j9prt.58 - Trc_PRT_shmem_j9shmem_stat_Exit2 shows up right after that. It is triggered only when CreateFileW() returns NULL or INVALID_HANDLE_VALUE.
So it means the cache file is created then immediately deleted. |
I've created a PR to include the error code in the trace point: eclipse-openj9/openj9#4463 |
Also @Mesbah-Alam launched a 5x grinder (Windows JDK8) in internal Jenkins yesterday, all passed. |
Perhaps the failure is machine specific? Grinders only run on a single machine. |
Although Mesba says in the comment that the same machine was used. |
If it fails in the nightly builds but not in a grinder, maybe one of the other tests is leaving a process running. |
@hangshao0 - you mentioned about the default limit, in osx, for the maximum number of shared classes cache, that is allowed to be created - 3. Just curious, is the limit same on Windows too? |
No. The length of path The JVM should do a better job reporting this error. |
@hangshao0 - I will have a pr with changed path for non-default cache location. |
CacheDir used in grinder is shorter than the one used in builds. So it passed in grinder but failed in builds.
|
Path has been shortened in #80. They should now be less than MAX_PATH(=260). |
This test is now passing on Windows and OSX Windows JDK8:
from https://ci.eclipse.org/openj9/job/Test-extended.system-JDK8-win_x86-64_cmprssptrs/152/consoleFull Window JDK11: OSX JDK8: OSX JDK11:
from https://ci.eclipse.org/openj9/job/Test-extended.system-JDK11-osx_x86-64_cmprssptrs/68/consoleFull |
@hangshao0 - do we have an issue opened for this? |
I will create a pull request to fix this shortly. |
I assume these are the result of #74 and #71
https://ci.eclipse.org/openj9/job/Test-extended.system-JDK8-win_x86-64_cmprssptrs/141/
https://ci.eclipse.org/openj9/job/Test-extended.system-JDK11-win_x86-64_cmprssptrs/137/
https://ci.eclipse.org/openj9/job/Test-extended.system-JDK8-osx_x86-64_cmprssptrs/36/
https://ci.eclipse.org/openj9/job/Test-extended.system-JDK11-osx_x86-64_cmprssptrs/53/
The text was updated successfully, but these errors were encountered: