testXXArgumentTesting_0
[2024-08-08T03:39:13.840Z] Running test testXXArgumentTesting_0 ...
[2024-08-08T03:39:13.840Z] ===============================================
[2024-08-08T03:39:13.840Z] testXXArgumentTesting_0 Start Time: Wed Aug 7 20:39:12 2024 Epoch Time (ms): 1723088352476
[2024-08-08T03:39:13.840Z] variation: Mode150
[2024-08-08T03:39:13.840Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-08-08T03:39:13.840Z] { \
[2024-08-08T03:39:13.840Z] echo ""; echo "TEST SETUP:"; \
[2024-08-08T03:39:13.840Z] echo "Nothing to be done for setup."; \
[2024-08-08T03:39:13.840Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17230883411459/testXXArgumentTesting_0"; \
[2024-08-08T03:39:13.840Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17230883411459/testXXArgumentTesting_0"; \
[2024-08-08T03:39:13.840Z] echo ""; echo "TESTING:"; \
[2024-08-08T03:39:13.840Z] "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -DEXE='"/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" ' -jar "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdline_options_tester/cmdlinetester.jar" \
[2024-08-08T03:39:13.840Z] -config "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/xxargtest/XXArgumentTesting.xml"; \
[2024-08-08T03:39:13.840Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "testXXArgumentTesting_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17230883411459/testXXArgumentTesting_0"; else echo "-----------------------------------"; echo "testXXArgumentTesting_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-08-08T03:39:13.840Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-08-08T03:39:13.840Z] echo "Nothing to be done for teardown."; \
[2024-08-08T03:39:13.840Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17230883411459/TestTargetResult";
[2024-08-08T03:39:13.840Z]
[2024-08-08T03:39:13.840Z] TEST SETUP:
[2024-08-08T03:39:13.840Z] Nothing to be done for setup.
[2024-08-08T03:39:13.840Z]
[2024-08-08T03:39:13.840Z] TESTING:
[2024-08-08T03:39:14.406Z] *** Starting test suite: XXArgumentTesting.xml ***
[2024-08-08T03:39:14.406Z] Testing: Ensure -XXnosuballoc32bitmem is recognized on all platforms
[2024-08-08T03:39:14.904Z] Test start time: 2024/08/07 20:39:13 Pacific Standard Time
[2024-08-08T03:39:14.904Z] Running command: "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -Xcompressedrefs -XXnosuballoc32bitmem -version
[2024-08-08T03:39:14.904Z] Time spent starting: 54 milliseconds
[2024-08-08T03:39:14.904Z] Time spent executing: 141 milliseconds
[2024-08-08T03:39:14.904Z] Test result: FAILED
[2024-08-08T03:39:14.904Z] Output from test:
[2024-08-08T03:39:14.904Z] [ERR] Unrecognized option: -Xcompressedrefs
[2024-08-08T03:39:14.904Z] [ERR] Error: Could not create the Java Virtual Machine.
[2024-08-08T03:39:14.904Z] [ERR] Error: A fatal exception has occurred. Program will exit.
[2024-08-08T03:39:14.904Z] >> Success condition was not found: [Output match: (java|openjdk|semeru) version]
[2024-08-08T03:39:14.904Z] >> Failure condition was not found: [Output match: Command-line option unrecognised]
[2024-08-08T03:39:14.904Z] >> Failure condition was not found: [Output match: Unhandled Exception]
[2024-08-08T03:39:14.904Z] >> Failure condition was not found: [Output match: Exception:]
[2024-08-08T03:39:14.904Z] >> Failure condition was not found: [Output match: Processing dump event]
[2024-08-08T03:39:14.904Z]
[2024-08-08T03:39:14.904Z] Executing command: rm -f testjavacore.txt
[2024-08-08T03:39:14.904Z]
[2024-08-08T03:39:14.904Z] Testing: Generate a javacore without -XXnosuballoc32bitmem
[2024-08-08T03:39:14.904Z] Test start time: 2024/08/07 20:39:13 Pacific Standard Time
[2024-08-08T03:39:14.904Z] Running command: "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -Xcompressedrefs -Xdump:java:events=vmstop,file=testjavacore.txt -version
[2024-08-08T03:39:14.904Z] Time spent starting: 44 milliseconds
[2024-08-08T03:39:14.904Z] Time spent executing: 89 milliseconds
[2024-08-08T03:39:14.904Z] Test result: FAILED
[2024-08-08T03:39:14.904Z] Output from test:
[2024-08-08T03:39:14.904Z] [ERR] Unrecognized option: -Xcompressedrefs
[2024-08-08T03:39:14.904Z] [ERR] Error: Could not create the Java Virtual Machine.
[2024-08-08T03:39:14.904Z] [ERR] Error: A fatal exception has occurred. Program will exit.
[2024-08-08T03:39:14.904Z] >> Success condition was not found: [Output match: (java|openjdk|semeru) version]
[2024-08-08T03:39:14.904Z] >> Failure condition was not found: [Output match: Command-line option unrecognised]
[2024-08-08T03:39:14.904Z] >> Failure condition was not found: [Output match: Unhandled Exception]
[2024-08-08T03:39:14.904Z] >> Failure condition was not found: [Output match: Exception:]
[2024-08-08T03:39:14.904Z]
[2024-08-08T03:39:14.904Z] Testing: Verify that the sub allocator memory is listed in the javacore
[2024-08-08T03:39:14.904Z] Test start time: 2024/08/07 20:39:13 Pacific Standard Time
[2024-08-08T03:39:14.904Z] Running command: cat testjavacore.txt
[2024-08-08T03:39:14.904Z] Time spent starting: 10 milliseconds
[2024-08-08T03:39:14.904Z] Time spent executing: 13 milliseconds
[2024-08-08T03:39:14.904Z] Test result: FAILED
[2024-08-08T03:39:14.904Z] Output from test:
[2024-08-08T03:39:14.904Z] [ERR] cat: testjavacore.txt: No such file or directory
[2024-08-08T03:39:14.904Z] >> Success condition was not found: [Output match: 32bit allocation regions]
[2024-08-08T03:39:14.904Z]
[2024-08-08T03:39:14.904Z] Executing command: rm -f testjavacore.txt
[2024-08-08T03:39:14.904Z]
[2024-08-08T03:39:14.904Z] Testing: Generate a javacore with -XXnosuballoc32bitmem
[2024-08-08T03:39:14.904Z] Test start time: 2024/08/07 20:39:13 Pacific Standard Time
[2024-08-08T03:39:14.904Z] Running command: "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -Xcompressedrefs -XXnosuballoc32bitmem -Xdump:java:events=vmstop,file=testjavacore.txt -version
[2024-08-08T03:39:14.904Z] Time spent starting: 22 milliseconds
[2024-08-08T03:39:15.425Z] Time spent executing: 127 milliseconds
[2024-08-08T03:39:15.425Z] Test result: FAILED
[2024-08-08T03:39:15.425Z] Output from test:
[2024-08-08T03:39:15.425Z] [ERR] Unrecognized option: -Xcompressedrefs
[2024-08-08T03:39:15.425Z] [ERR] Error: Could not create the Java Virtual Machine.
[2024-08-08T03:39:15.425Z] [ERR] Error: A fatal exception has occurred. Program will exit.
[2024-08-08T03:39:15.425Z] >> Success condition was not found: [Output match: (java|openjdk|semeru) version]
[2024-08-08T03:39:15.425Z] >> Failure condition was not found: [Output match: Command-line option unrecognised]
[2024-08-08T03:39:15.425Z] >> Failure condition was not found: [Output match: Unhandled Exception]
[2024-08-08T03:39:15.425Z] >> Failure condition was not found: [Output match: Exception:]
[2024-08-08T03:39:15.425Z]
[2024-08-08T03:39:15.425Z] Testing: Verify that the sub allocator memory is not listed in the javacore on z/OS. All other platforms should use the sub-allocator when -XXnosuballoc32bitmem is used.
[2024-08-08T03:39:15.425Z] Test start time: 2024/08/07 20:39:13 Pacific Standard Time
[2024-08-08T03:39:15.425Z] Running command: cat testjavacore.txt
[2024-08-08T03:39:15.425Z] Time spent starting: 14 milliseconds
[2024-08-08T03:39:15.425Z] Time spent executing: 16 milliseconds
[2024-08-08T03:39:15.425Z] Test result: FAILED
[2024-08-08T03:39:15.425Z] Output from test:
[2024-08-08T03:39:15.425Z] [ERR] cat: testjavacore.txt: No such file or directory
[2024-08-08T03:39:15.425Z] >> Success condition was not found: [Output match: Javacore filename]
[2024-08-08T03:39:15.425Z]
[2024-08-08T03:39:15.425Z] Testing: Verify -XX:MaxHeapSize -XX:InitialHeapSize -XX:ThreadStackSize
[2024-08-08T03:39:15.425Z] Test start time: 2024/08/07 20:39:13 Pacific Standard Time
[2024-08-08T03:39:15.425Z] Running command: "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -XX:MaxHeapSize=234m -XX:InitialHeapSize=11m -verbose:sizes -version
[2024-08-08T03:39:15.425Z] Time spent starting: 21 milliseconds
[2024-08-08T03:39:15.990Z] Time spent executing: 536 milliseconds
[2024-08-08T03:39:15.990Z] Test result: FAILED
[2024-08-08T03:39:15.990Z] Output from test:
[2024-08-08T03:39:15.990Z] [ERR] openjdk version "17.0.13-beta" 2024-10-15
[2024-08-08T03:39:15.990Z] [ERR] OpenJDK Runtime Environment Temurin-17.0.13+2-202408071937 (build 17.0.13-beta+2-ea)
[2024-08-08T03:39:15.990Z] [ERR] OpenJDK 64-Bit Server VM Temurin-17.0.13+2-202408071937 (build 17.0.13-beta+2-ea, mixed mode)
[2024-08-08T03:39:15.990Z] >> Success condition was not found: [Output match: OpenJ9]
[2024-08-08T03:39:15.990Z] >> Required condition was not found: [Output match: -Xmx234M]
[2024-08-08T03:39:15.990Z] >> Required condition was not found: [Output match: -Xms11M]
[2024-08-08T03:39:15.990Z]
[2024-08-08T03:39:15.990Z] Testing: Verify -XX:+PrintFlagsFinal
[2024-08-08T03:39:15.990Z] Test start time: 2024/08/07 20:39:14 Pacific Standard Time
[2024-08-08T03:39:15.990Z] Running command: "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -XX:+PrintFlagsFinal -version
[2024-08-08T03:39:15.990Z] Time spent starting: 22 milliseconds
[2024-08-08T03:39:16.438Z] Time spent executing: 795 milliseconds
[2024-08-08T03:39:16.438Z] Test result: PASSED
[2024-08-08T03:39:16.438Z]
[2024-08-08T03:39:16.438Z] Testing: Verify rightmost -XX:+PrintFlagsFinal overrides earlier -XX:-PrintFlagsFinal
[2024-08-08T03:39:16.438Z] Test start time: 2024/08/07 20:39:15 Pacific Standard Time
[2024-08-08T03:39:16.438Z] Running command: "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -XX:-PrintFlagsFinal -XX:+PrintFlagsFinal -version
[2024-08-08T03:39:16.438Z] Time spent starting: 9 milliseconds
[2024-08-08T03:39:17.436Z] Time spent executing: 725 milliseconds
[2024-08-08T03:39:17.436Z] Test result: PASSED
[2024-08-08T03:39:17.436Z]
[2024-08-08T03:39:17.436Z] Testing: Verify rightmost -XX:-PrintFlagsFinal overrides earlier -XX:+PrintFlagsFinal
[2024-08-08T03:39:17.437Z] Test start time: 2024/08/07 20:39:15 Pacific Standard Time
[2024-08-08T03:39:17.437Z] Running command: "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.functional_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -XX:+PrintFlagsFinal -XX:-PrintFlagsFinal -version
[2024-08-08T03:39:17.437Z] Time spent starting: 8 milliseconds
[2024-08-08T03:39:17.972Z] Time spent executing: 459 milliseconds
[2024-08-08T03:39:17.972Z] Test result: PASSED
[2024-08-08T03:39:17.972Z]
[2024-08-08T03:39:17.972Z]
[2024-08-08T03:39:17.972Z] ---TEST RESULTS---
[2024-08-08T03:39:17.972Z] Number of PASSED tests: 3 out of 9
[2024-08-08T03:39:17.972Z] Number of FAILED tests: 6 out of 9
[2024-08-08T03:39:17.972Z]
[2024-08-08T03:39:17.972Z] ---SUMMARY OF FAILED TESTS---
[2024-08-08T03:39:17.972Z] Ensure -XXnosuballoc32bitmem is recognized on all platforms
[2024-08-08T03:39:17.972Z] Generate a javacore without -XXnosuballoc32bitmem
[2024-08-08T03:39:17.972Z] Verify that the sub allocator memory is listed in the javacore
[2024-08-08T03:39:17.972Z] Generate a javacore with -XXnosuballoc32bitmem
[2024-08-08T03:39:17.972Z] Verify that the sub allocator memory is not listed in the javacore on z/OS. All other platforms should use the sub-allocator when -XXnosuballoc32bitmem is used.
[2024-08-08T03:39:17.972Z] Verify -XX:MaxHeapSize -XX:InitialHeapSize -XX:ThreadStackSize
[2024-08-08T03:39:17.972Z] -----------------------------
[2024-08-08T03:39:17.972Z]
[2024-08-08T03:39:17.972Z] -----------------------------------
[2024-08-08T03:39:17.972Z] testXXArgumentTesting_0_PASSED
[2024-08-08T03:39:17.972Z] -----------------------------------
[2024-08-08T03:39:17.972Z]
[2024-08-08T03:39:17.972Z] TEST TEARDOWN:
[2024-08-08T03:39:17.972Z] Nothing to be done for teardown.
[2024-08-08T03:39:17.972Z] testXXArgumentTesting_0 Finish Time: Wed Aug 7 20:39:16 2024 Epoch Time (ms): 1723088356510