Open babsingh opened 5 years ago
fyi - @DanHeidinga
This test required DDR but it is not there yet, is not it?
This test required DDR but it is not there yet, is not it?
The two issues: absence of DDR (jdmpview
support) and incorrect core file path are documented in the issue's description. fyi - @dmitripivkine
For the core file not created/found
failure, I think the solution is ulimit -c unlimited
. by default, core file size is set to 0 on macOS:
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 4864
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1418
virtual memory (kbytes, -v) unlimited
fyi - @jdekonin
References:
Should be fine now. jenkins user didn't have rights to /cores folder. chown -R root:staff /cores
Update:
cmdLineTester_GCCheck_SE80_0
is only available in internal builds. Why is it not available in external builds? Should internal and external builds be consistent?Create core file
should pass if the machine is setup properly. Refer to the above comment.Run gccheck
depends on DDRInteractive
. It still fails since DDR support is currently missing on OSX.Target cmdLineTester_GCCheck_SE80_0 is only available in internal builds. Why is it not available in external builds? Should internal and external builds be consistent?
Internal builds contain extra tests that cannot put in external or cannot easily put in external. For details regarding cmdLineTester_GCCheck
, please see https://github.com/eclipse/openj9/issues/3472#issuecomment-434874757
@mikezhang1234567890 or @llxia or @sophia-guo Since DDR support has been enabled on OSX via https://github.com/eclipse/openj9/issues/3483, can you verify if cmdLineTester_GCCheck*
passes, re-enable the test, and close this issue?
cmdLineTester_GCCheck_SE80
is an internal test (in runtimes/test repo) and it is not disabled. All internal tests are suspended in internal Jenkins in order to bring the build stability. Once the internal Jenkins is stabilized, could we re-include the test repo? FYI @vsebe
I tested cmdLineTester_GCCheck_SE80
in internal Grinder/7025 (Create core file
passed and Run gccheck
failed):
Testing: Run gccheck
Test start time: 2020/04/13 14:18:16 Eastern Standard Time
Running command: "/Users/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java" -Xcompressedrefs -Xcompressedrefs -Xjit -Xgcpolicy:gencon -showversion -cp /Users/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/jre/lib/ddr/j9ddr.jar:/Users/jenkins/workspace/Grinder/openjdk-tests/TKG/../../jvmtest/functional/cmdline_options_testresources/cmdlinetestresources.jar:/Users/jenkins/workspace/Grinder/openjdk-tests/TKG/../../jvmtest/functional/IBM_Internal/cmdLineTests_IBM_Internal/gcCheck/caffeine.jar com.ibm.j9ddr.tools.ddrinteractive.DDRInteractive j9core.dmp
Time spent starting: 22 milliseconds
***[TEST INFO 2020/04/13 14:28:16] ProcessKiller detected a timeout after 600000 milliseconds!***
INFO: The current OS is 'Mac OS X'. 'Debug on timeout' is currently only supported on Linux.
***[TEST INFO 2020/04/13 14:28:16] executing kill -ABRT 37000***
***[TEST INFO 2020/04/13 14:28:16] kill -ABRT signal sent***
Time spent executing: 612111 milliseconds
Test result: FAILED
Output from test:
[ERR] openjdk version "1.8.0_252-internal"
[ERR] OpenJDK Runtime Environment (build 1.8.0_252-internal-jenkins_2020_04_12_21_41-b00)
[ERR] Eclipse OpenJ9 VM (build ibm_sdk-2cd9d01c77, JRE 1.8.0 Mac OS X amd64-64-Bit Compressed References 20200412_373 (JIT enabled, AOT enabled)
[ERR] OpenJ9 - 2cd9d01c77
[ERR] OMR - f30df531c
[ERR] JCL - 61d22079a86 based on jdk8u252-b08)
[ERR]
[ERR] _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
[ERR] 2020-04-13 14:18:17.199 java[37000:28159629] GetInputSourceEnabledPrefs user file path = /Users/jenkins/Library/Preferences/com.apple.HIToolbox.plist
[ERR] 2020-04-13 14:18:17.199 java[37000:28159629] GetInputSourceEnabledPrefs effective user id path = 502
[ERR] 2020-04-13 14:18:17.199 java[37000:28159629] GetInputSourceEnabledPrefs user pref content = <CFBasicHash 0x7fc8d0d43ee0 [0x7fff9d95faf0]>{type = immutable dict, count = 4,
[ERR] entries =>
[ERR] 0 : <CFString 0x7fff9d8b3618 [0x7fff9d95faf0]>{contents = "AppleSelectedInputSources"} = <CFArray 0x7fc8d0d43580 [0x7fff9d95faf0]>{type = immutable, count = 1, values = (
[ERR] 0 : <CFBasicHash 0x7fc8d0d3e000 [0x7fff9d95faf0]>{type = immutable dict, count = 3,
[ERR] entries =>
[ERR] 0 : <CFString 0x7fff9d891218 [0x7fff9d95faf0]>{contents = "InputSourceKind"} = <CFString 0x7fff9d8d8098 [0x7fff9d95faf0]>{contents = "Keyboard Layout"}
[ERR] 1 : <CFString 0x7fff9d88bd78 [0x7fff9d95faf0]>{contents = "KeyboardLayout Name"} = <CFString 0x7fff9d8f2b78 [0x7fff9d95faf0]>{contents = "U.S."}
[ERR] 2 : <CFString 0x7fff9d8c3b78 [0x7fff9d95faf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fff9d95faf0]>{value = +0, type = kCFNumberSInt64Type}
[ERR] }
[ERR]
[ERR] )}
[ERR] 2 : <CFString 0x7fc8d0d20f30 [0x7fff9d95faf0]>{contents = "AppleInputSourceHistory"} = <CFArray 0x7fc8d0d43650 [0x7fff9d95faf0]>{type = immutable, count = 1, values = (
[ERR] 0 : <CFBasicHash 0x7fc8d0d435c0 [0x7fff9d95faf0]>{type = immutable dict, count = 3,
[ERR] entries =>
[ERR] 0 : <CFString 0x7fff9d891218 [0x7fff9d95faf0]>{contents = "InputSourceKind"} = <CFString 0x7fff9d8d8098 [0x7fff9d95faf0]>{contents = "Keyboard Layout"}
[ERR] 1 : <CFString 0x7fff9d88bd78 [0x7fff9d95faf0]>{contents = "KeyboardLayout Name"} = <CFString 0x7fff9d8f2b78 [0x7fff9d95faf0]>{contents = "U.S."}
[ERR] 2 : <CFString 0x7fff9d8c3b78 [0x7fff9d95faf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fff9d95faf0]>{value = +0, type = kCFNumberSInt64Type}
[ERR] }
[ERR]
[ERR] )}
[ERR] 3 : <CFString 0x7fc8d0d3fd70 [0x7fff9d95faf0]>{contents = "AppleSavedCurrentInputSource"} = <CFBasicHash 0x7fc8d0d43690 [0x7fff9d95faf0]>{type = immutable dict, count = 3,
[ERR] entries =>
[ERR] 0 : <CFString 0x7fff9d891218 [0x7fff9d95faf0]>{contents = "InputSourceKind"} = <CFString 0x7fff9d8d8098 [0x7fff9d95faf0]>{contents = "Keyboard Layout"}
[ERR] 1 : <CFString 0x7fff9d88bd78 [0x7fff9d95faf0]>{contents = "KeyboardLayout Name"} = <CFString 0x7fff9d8f2b78 [0x7fff9d95faf0]>{contents = "U.S."}
[ERR] 2 : <CFString 0x7fff9d8c3b78 [0x7fff9d95faf0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x37 [0x7fff9d95faf0]>{value = +0, type = kCFNumberSInt64Type}
[ERR] }
[ERR]
[ERR] 5 : <CFString 0x7fff9d907b78 [0x7fff9d95faf0]>{contents = "AppleCurrentKeyboardLayoutInputSourceID"} = <CFString 0x7fff9d925cf8 [0x7fff9d95faf0]>{contents = "com.apple.keylayout.US"}
[ERR] }
[ERR] JVMDUMP039I Processing dump event "abort", detail "" at 2020/04/13 14:28:16 - please wait.
[ERR] JVMDUMP032I JVM requested System dump using '/Users/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15868018651251/cmdLineTester_GCCheck_SE80_1/core.20200413.142816.37000.0001.dmp' in response to an event
[ERR] JVMDUMP010I System dump written to /Users/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15868018651251/cmdLineTester_GCCheck_SE80_1/core.20200413.142816.37000.0001.dmp
[ERR] JVMDUMP032I JVM requested Java dump using '/Users/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15868018651251/cmdLineTester_GCCheck_SE80_1/javacore.20200413.142816.37000.0002.txt' in response to an event
[ERR] JVMDUMP010I Java dump written to /Users/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15868018651251/cmdLineTester_GCCheck_SE80_1/javacore.20200413.142816.37000.0002.txt
[ERR] JVMDUMP032I JVM requested Snap dump using '/Users/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15868018651251/cmdLineTester_GCCheck_SE80_1/Snap.20200413.142816.37000.0003.trc' in response to an event
[ERR] JVMDUMP010I Snap dump written to /Users/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15868018651251/cmdLineTester_GCCheck_SE80_1/Snap.20200413.142816.37000.0003.trc
[ERR] JVMDUMP007I JVM Requesting JIT dump using '/Users/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15868018651251/cmdLineTester_GCCheck_SE80_1/jitdump.20200413.142816.37000.0004.dmp'
[ERR] JVMDUMP010I JIT dump written to /Users/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15868018651251/cmdLineTester_GCCheck_SE80_1/jitdump.20200413.142816.37000.0004.dmp
[ERR] JVMDUMP013I Processed dump event "abort", detail "".
---TEST RESULTS--- Number of PASSED tests: 1 out of 2 Number of FAILED tests: 1 out of 2
cmdLineTester_GCCheck_SE80_1_FAILED
The following tests in the
GCCheck
test suite are failing:Test Create core file fails because core is generated at
/Users/jenkins/workspace/Test-sanity.functional-JDK8-osx_x86-64_cmprssptrs/openjdk-tests/TestConfig/test_output_15427729963309/cmdLineTester_GCCheck_SE80_1/j9core.dmp
. But, the test expects the core at/cores/core.86566
. fyi - @llxiaTest Run gccheck fails because there is no DDR/
jdmpview
support on OSX. fyi - @mikezhang1234567890OSX JDK8 Test Output:
Not verified but the above errors may also be seen with JDK11 OSX. Currently, the test sanity/extended jobs can't run the above tests on OSX because of hangs and test infra failures documented in https://github.com/eclipse/openj9/issues/3787, https://github.com/eclipse/openj9/issues/3789 and https://github.com/eclipse/openj9/issues/3685. Disabling the following tests will allow the test sanity jobs to run the above failing tests: https://github.com/eclipse/openj9/pull/3751/files.