testXXArgumentTesting_0

[2024-08-28T23:43:43.541Z] Running test testXXArgumentTesting_0 ... [2024-08-28T23:43:43.541Z] =============================================== [2024-08-28T23:43:43.541Z] testXXArgumentTesting_0 Start Time: Wed Aug 28 23:43:43 2024 Epoch Time (ms): 1724888623362 [2024-08-28T23:43:43.541Z] variation: Mode150 [2024-08-28T23:43:43.541Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-08-28T23:43:43.541Z] { \ [2024-08-28T23:43:43.541Z] echo ""; echo "TEST SETUP:"; \ [2024-08-28T23:43:43.541Z] echo "Nothing to be done for setup."; \ [2024-08-28T23:43:43.541Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17248885996617/testXXArgumentTesting_0"; \ [2024-08-28T23:43:43.541Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17248885996617/testXXArgumentTesting_0"; \ [2024-08-28T23:43:43.541Z] echo ""; echo "TESTING:"; \ [2024-08-28T23:43:43.541Z] "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" -DEXE='"/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" ' -jar "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/aqa-tests/TKG/../../jvmtest/functional/cmdline_options_tester/cmdlinetester.jar" \ [2024-08-28T23:43:43.541Z] -config "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/xxargtest/XXArgumentTesting.xml"; \ [2024-08-28T23:43:43.541Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "testXXArgumentTesting_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17248885996617/testXXArgumentTesting_0"; else echo "-----------------------------------"; echo "testXXArgumentTesting_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-28T23:43:43.541Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-28T23:43:43.541Z] echo "Nothing to be done for teardown."; \ [2024-08-28T23:43:43.541Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17248885996617/TestTargetResult"; [2024-08-28T23:43:43.541Z] [2024-08-28T23:43:43.541Z] TEST SETUP: [2024-08-28T23:43:43.541Z] Nothing to be done for setup. [2024-08-28T23:43:43.541Z] [2024-08-28T23:43:43.541Z] TESTING: [2024-08-28T23:43:44.344Z] *** Starting test suite: XXArgumentTesting.xml *** [2024-08-28T23:43:44.344Z] Testing: Ensure -XXnosuballoc32bitmem is recognized on all platforms [2024-08-28T23:43:44.344Z] Test start time: 2024/08/28 23:43:43 Greenwich Mean Time [2024-08-28T23:43:44.344Z] Running command: "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" -Xcompressedrefs -XXnosuballoc32bitmem -version [2024-08-28T23:43:45.139Z] Time spent starting: 168 milliseconds [2024-08-28T23:43:45.139Z] Time spent executing: 249 milliseconds [2024-08-28T23:43:45.139Z] Test result: FAILED [2024-08-28T23:43:45.139Z] Output from test: [2024-08-28T23:43:45.139Z] [ERR] Unrecognized option: -Xcompressedrefs [2024-08-28T23:43:45.139Z] [ERR] Error: Could not create the Java Virtual Machine. [2024-08-28T23:43:45.139Z] [ERR] Error: A fatal exception has occurred. Program will exit. [2024-08-28T23:43:45.139Z] >> Success condition was not found: [Output match: (java|openjdk|semeru) version] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Command-line option unrecognised] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Unhandled Exception] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Exception:] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Processing dump event] [2024-08-28T23:43:45.139Z] [2024-08-28T23:43:45.139Z] Executing command: rm -f testjavacore.txt [2024-08-28T23:43:45.139Z] [2024-08-28T23:43:45.139Z] Testing: Generate a javacore without -XXnosuballoc32bitmem [2024-08-28T23:43:45.139Z] Test start time: 2024/08/28 23:43:44 Greenwich Mean Time [2024-08-28T23:43:45.139Z] Running command: "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" -Xcompressedrefs -Xdump:java:events=vmstop,file=testjavacore.txt -version [2024-08-28T23:43:45.139Z] Time spent starting: 25 milliseconds [2024-08-28T23:43:45.139Z] Time spent executing: 40 milliseconds [2024-08-28T23:43:45.139Z] Test result: FAILED [2024-08-28T23:43:45.139Z] Output from test: [2024-08-28T23:43:45.139Z] [ERR] Unrecognized option: -Xcompressedrefs [2024-08-28T23:43:45.139Z] [ERR] Error: Could not create the Java Virtual Machine. [2024-08-28T23:43:45.139Z] [ERR] Error: A fatal exception has occurred. Program will exit. [2024-08-28T23:43:45.139Z] >> Success condition was not found: [Output match: (java|openjdk|semeru) version] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Command-line option unrecognised] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Unhandled Exception] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Exception:] [2024-08-28T23:43:45.139Z] [2024-08-28T23:43:45.139Z] Testing: Verify that the sub allocator memory is listed in the javacore [2024-08-28T23:43:45.139Z] Test start time: 2024/08/28 23:43:44 Greenwich Mean Time [2024-08-28T23:43:45.139Z] Running command: cat testjavacore.txt [2024-08-28T23:43:45.139Z] Time spent starting: 10 milliseconds [2024-08-28T23:43:45.139Z] Time spent executing: 15 milliseconds [2024-08-28T23:43:45.139Z] Test result: FAILED [2024-08-28T23:43:45.139Z] Output from test: [2024-08-28T23:43:45.139Z] [ERR] cat: can't open 'testjavacore.txt': No such file or directory [2024-08-28T23:43:45.139Z] >> Success condition was not found: [Output match: 32bit allocation regions] [2024-08-28T23:43:45.139Z] [2024-08-28T23:43:45.139Z] Executing command: rm -f testjavacore.txt [2024-08-28T23:43:45.139Z] [2024-08-28T23:43:45.139Z] Testing: Generate a javacore with -XXnosuballoc32bitmem [2024-08-28T23:43:45.139Z] Test start time: 2024/08/28 23:43:44 Greenwich Mean Time [2024-08-28T23:43:45.139Z] Running command: "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" -Xcompressedrefs -XXnosuballoc32bitmem -Xdump:java:events=vmstop,file=testjavacore.txt -version [2024-08-28T23:43:45.139Z] Time spent starting: 8 milliseconds [2024-08-28T23:43:45.139Z] Time spent executing: 19 milliseconds [2024-08-28T23:43:45.139Z] Test result: FAILED [2024-08-28T23:43:45.139Z] Output from test: [2024-08-28T23:43:45.139Z] [ERR] Unrecognized option: -Xcompressedrefs [2024-08-28T23:43:45.139Z] [ERR] Error: Could not create the Java Virtual Machine. [2024-08-28T23:43:45.139Z] [ERR] Error: A fatal exception has occurred. Program will exit. [2024-08-28T23:43:45.139Z] >> Success condition was not found: [Output match: (java|openjdk|semeru) version] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Command-line option unrecognised] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Unhandled Exception] [2024-08-28T23:43:45.139Z] >> Failure condition was not found: [Output match: Exception:] [2024-08-28T23:43:45.139Z] [2024-08-28T23:43:45.139Z] 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-28T23:43:45.139Z] Test start time: 2024/08/28 23:43:44 Greenwich Mean Time [2024-08-28T23:43:45.139Z] Running command: cat testjavacore.txt [2024-08-28T23:43:45.139Z] Time spent starting: 7 milliseconds [2024-08-28T23:43:45.139Z] Time spent executing: 9 milliseconds [2024-08-28T23:43:45.139Z] Test result: FAILED [2024-08-28T23:43:45.139Z] Output from test: [2024-08-28T23:43:45.139Z] [ERR] cat: can't open 'testjavacore.txt': No such file or directory [2024-08-28T23:43:45.139Z] >> Success condition was not found: [Output match: Javacore filename] [2024-08-28T23:43:45.139Z] [2024-08-28T23:43:45.139Z] Testing: Verify -XX:MaxHeapSize -XX:InitialHeapSize -XX:ThreadStackSize [2024-08-28T23:43:45.139Z] Test start time: 2024/08/28 23:43:44 Greenwich Mean Time [2024-08-28T23:43:45.139Z] Running command: "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" -XX:MaxHeapSize=234m -XX:InitialHeapSize=11m -verbose:sizes -version [2024-08-28T23:43:45.139Z] Time spent starting: 2 milliseconds [2024-08-28T23:43:45.139Z] Time spent executing: 229 milliseconds [2024-08-28T23:43:45.139Z] Test result: FAILED [2024-08-28T23:43:45.139Z] Output from test: [2024-08-28T23:43:45.139Z] [ERR] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-28T23:43:45.140Z] [ERR] OpenJDK Runtime Environment Temurin-17.0.13+5-202408281952 (build 17.0.13-beta+5-ea) [2024-08-28T23:43:45.140Z] [ERR] OpenJDK 64-Bit Server VM Temurin-17.0.13+5-202408281952 (build 17.0.13-beta+5-ea, mixed mode, sharing) [2024-08-28T23:43:45.140Z] >> Success condition was not found: [Output match: OpenJ9] [2024-08-28T23:43:45.140Z] >> Required condition was not found: [Output match: -Xmx234M] [2024-08-28T23:43:45.140Z] >> Required condition was not found: [Output match: -Xms11M] [2024-08-28T23:43:45.140Z] [2024-08-28T23:43:45.140Z] Testing: Verify -XX:+PrintFlagsFinal [2024-08-28T23:43:45.140Z] Test start time: 2024/08/28 23:43:44 Greenwich Mean Time [2024-08-28T23:43:45.140Z] Running command: "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" -XX:+PrintFlagsFinal -version [2024-08-28T23:43:45.140Z] Time spent starting: 3 milliseconds [2024-08-28T23:43:45.941Z] Time spent executing: 543 milliseconds [2024-08-28T23:43:45.941Z] Test result: PASSED [2024-08-28T23:43:45.941Z] [2024-08-28T23:43:45.941Z] Testing: Verify rightmost -XX:+PrintFlagsFinal overrides earlier -XX:-PrintFlagsFinal [2024-08-28T23:43:45.941Z] Test start time: 2024/08/28 23:43:45 Greenwich Mean Time [2024-08-28T23:43:45.941Z] Running command: "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" -XX:-PrintFlagsFinal -XX:+PrintFlagsFinal -version [2024-08-28T23:43:45.941Z] Time spent starting: 2 milliseconds [2024-08-28T23:43:45.941Z] Time spent executing: 359 milliseconds [2024-08-28T23:43:45.941Z] Test result: PASSED [2024-08-28T23:43:45.941Z] [2024-08-28T23:43:45.941Z] Testing: Verify rightmost -XX:-PrintFlagsFinal overrides earlier -XX:+PrintFlagsFinal [2024-08-28T23:43:45.941Z] Test start time: 2024/08/28 23:43:45 Greenwich Mean Time [2024-08-28T23:43:45.941Z] Running command: "/home/jenkins/workspace/Test_openjdk17_hs_sanity.functional_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java" -XX:+PrintFlagsFinal -XX:-PrintFlagsFinal -version [2024-08-28T23:43:45.941Z] Time spent starting: 7 milliseconds [2024-08-28T23:43:46.734Z] Time spent executing: 337 milliseconds [2024-08-28T23:43:46.734Z] Test result: PASSED [2024-08-28T23:43:46.734Z] [2024-08-28T23:43:46.734Z] [2024-08-28T23:43:46.734Z] ---TEST RESULTS--- [2024-08-28T23:43:46.734Z] Number of PASSED tests: 3 out of 9 [2024-08-28T23:43:46.734Z] Number of FAILED tests: 6 out of 9 [2024-08-28T23:43:46.734Z] [2024-08-28T23:43:46.734Z] ---SUMMARY OF FAILED TESTS--- [2024-08-28T23:43:46.734Z] Ensure -XXnosuballoc32bitmem is recognized on all platforms [2024-08-28T23:43:46.734Z] Generate a javacore without -XXnosuballoc32bitmem [2024-08-28T23:43:46.734Z] Verify that the sub allocator memory is listed in the javacore [2024-08-28T23:43:46.734Z] Generate a javacore with -XXnosuballoc32bitmem [2024-08-28T23:43:46.734Z] 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-28T23:43:46.734Z] Verify -XX:MaxHeapSize -XX:InitialHeapSize -XX:ThreadStackSize [2024-08-28T23:43:46.734Z] ----------------------------- [2024-08-28T23:43:46.734Z] [2024-08-28T23:43:46.734Z] ----------------------------------- [2024-08-28T23:43:46.734Z] testXXArgumentTesting_0_PASSED [2024-08-28T23:43:46.734Z] ----------------------------------- [2024-08-28T23:43:46.734Z] [2024-08-28T23:43:46.734Z] TEST TEARDOWN: [2024-08-28T23:43:46.734Z] Nothing to be done for teardown. [2024-08-28T23:43:46.734Z] testXXArgumentTesting_0 Finish Time: Wed Aug 28 23:43:46 2024 Epoch Time (ms): 1724888626241