-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
cmdLineTester_callsitedbgddrext_openj9 fail with jdk8,11,15 on linux and Macos #50
Comments
Removing bug label, as that would indicate there is a defect in the run-aqa repo (yet TBD). Same issue is seen in newly added OpenJ9 Jenkins _cm builds (mentioned today in their general Slack channel), may be related to a recent change eclipse-openj9/openj9#11085 |
re-run in Adopt jenkins test passed: re-run 20 times and all passed : https://ci.adoptopenjdk.net/view/work-in-progress/job/grinder_sandbox/171/console |
Adopt Mac build does have same issue: https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_sanity.functional_x86-64_mac/51/consoleFull |
Looks like it's not related with eclipse-openj9/openj9#11085. Tried with the jdk from Oct 30 and get the same issue with run-aqa. In Adopt tests pass on linux https://ci.adoptopenjdk.net/view/Test_functional/job/Test_openjdk11_j9_sanity.functional_x86-64_linux/ Also with grinder the problem can also be consistently reproduced on https://ci.adoptopenjdk.net/computer/test-aws-rhel8-x64-1/ https://ci.adoptopenjdk.net/view/work-in-progress/job/grinder_sandbox/192/consoleFull
|
On ubuntu runners the failure is Could not load dump file and/or could not load XML file: null. Checking the uploaded test results we can see the file j9core.dmp exists but its empty( size ZERO). On macos runners the failures is Image file '/Users/runner/work/runaqaTest/runaqaTest/openjdk-tests/TKG/test_output_16097963089553/cmdLineTester_callsitedbgddrext_openj9_0/j9core.dmp' not found. Combining the comment of #50 (comment) looks like the test "Create core file" fails. No correct core file is created and test passed, which should fail. The root reason is why the file was not created correctly. Looks like related with machine configuration as tests pass on most linux machine and fail on https://ci.adoptopenjdk.net/computer/test-aws-rhel8-x64-1/. Is there specific|special machine requirements for creating the core file? @pshipton |
@sophia-guo you can try running |
Thanks @pshipton . Yes, I did get following message by running with -Xcheck:dump on ubuntu runner:
So would try disabling ABRT. |
On mac runner: create the core file:
|
Seems to me that Mac signed builds (as produced by Adopt) can't create core files when running on newer OSes (10.15+ ?) |
For Ubuntu, the doc suggests checking |
All mac runners are 10.15+ https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners. However same issue happened in AdoptOpenJDK: https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_sanity.functional_x86-64_mac/74/consoleFull and the mac is labeled as https://ci.adoptopenjdk.net/label/macos10.10/ , which looks like is 10.10. |
OpenJ9 doesn't have any 10.10 machines so we can't compare, they are all 10.11, 10.13, 10.14. @jdekonin are you aware of any configuration settings that need to be done on Mac in order to get proper core files? |
not sure if related: adoptium/infrastructure#1282 |
As @smlambert mentioned in the previous comment and related issue, I had found that the user needed to be granted permissions to write to the https://developer.apple.com/library/archive/technotes/tn2124/_index.html; search |
@pshipton The file /var/log/apport.log is empty. So I tried to disable the apport looks good. https://github.com/sophia-guo/runaqaTest/runs/1657422047?check_suite_focus=true |
Looks like there are two different issues here with Macos. In Adopt environment there is no issues about permission. I have tried to modify the tests to directly create the dmp file to /cores/j9core.dmp and jdumpview the file and looks good on both mac 10.10 and mac 10.14. https://ci.adoptopenjdk.net/view/work-in-progress/job/grinder_sandbox/197/console The problem is the dump file cannot be written to the directory other than /cores ( /cores directory is writable under currently configuration) . @jdekonin is there any configuration settings that can enable dump files written to any user preferred location? |
In github mac runners it's different. I've tried enable the permission and tried to create the dump file to /core/j9core.dmp and the file can be found.
The message is same as before The core file created by child process with pid = 1662 was not found. Expected to find core file with name "/cores/core.1662". And upload the /cores directory and shows the /cores directory is empty. |
https://github.com/AdoptOpenJDK/run-aqa/runs/1526577429?check_suite_focus=true
The failure happened before. Looks like an intermittent one.
Testing: Run !printallcallsites
Test start time: 2020/12/09 21:47:46 Coordinated Universal Time
Running command: /opt/hostedtoolcache/jdk-11-openj9/1.0.0/x64/bin/jdmpview -core j9core.dmp
Time spent starting: 2 milliseconds
Time spent executing: 1546 milliseconds
Test result: FAILED
Output from test:
[OUT] DTFJView version 4.29.5, using DTFJ version 1.12.29003
[OUT] Loading image from DTFJ...
[OUT]
[OUT] Could not load dump file and/or could not load XML file: null
[OUT] For a list of commands, type "help"; for how to use "help", type "help help"
[OUT] > DDR is not enabled for this core file, '!' commands are disabled
[OUT] >
Testing: Run !findallcallsites
Test start time: 2020/12/09 21:47:48 Coordinated Universal Time
Running command: /opt/hostedtoolcache/jdk-11-openj9/1.0.0/x64/bin/jdmpview -core j9core.dmp
Time spent starting: 4 milliseconds
Time spent executing: 914 milliseconds
Test result: FAILED
Output from test:
[OUT] DTFJView version 4.29.5, using DTFJ version 1.12.29003
[OUT] Loading image from DTFJ...
[OUT]
[OUT] Could not load dump file and/or could not load XML file: null
[OUT] For a list of commands, type "help"; for how to use "help", type "help help"
[OUT] > DDR is not enabled for this core file, '!' commands are disabled
[OUT] >
The text was updated successfully, but these errors were encountered: