Jlink_ReqMod_0

[2025-02-05T21:02:02.560Z] Running test Jlink_ReqMod_0 ... [2025-02-05T21:02:02.560Z] =============================================== [2025-02-05T21:02:02.560Z] Jlink_ReqMod_0 Start Time: Wed Feb 5 15:02:01 2025 Epoch Time (ms): 1738789321786 [2025-02-05T21:02:02.560Z] variation: Mode150 [2025-02-05T21:02:02.560Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-05T21:02:02.560Z] { \ [2025-02-05T21:02:02.560Z] echo ""; echo "TEST SETUP:"; \ [2025-02-05T21:02:02.560Z] echo "Nothing to be done for setup."; \ [2025-02-05T21:02:02.560Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0"; \ [2025-02-05T21:02:02.560Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0"; \ [2025-02-05T21:02:02.560Z] echo ""; echo "TESTING:"; \ [2025-02-05T21:02:02.560Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0" -test=JlinkTest -test-args="variant=ReqdMod"; \ [2025-02-05T21:02:02.560Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_ReqMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0"; else echo "-----------------------------------"; echo "Jlink_ReqMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-05T21:02:02.560Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-05T21:02:02.560Z] echo "Nothing to be done for teardown."; \ [2025-02-05T21:02:02.560Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/TestTargetResult"; [2025-02-05T21:02:02.560Z] [2025-02-05T21:02:02.560Z] TEST SETUP: [2025-02-05T21:02:02.560Z] Nothing to be done for setup. [2025-02-05T21:02:02.560Z] [2025-02-05T21:02:02.560Z] TESTING: [2025-02-05T21:02:02.560Z] STF 15:02:01.846 - ========================= S T F ========================= [2025-02-05T21:02:02.560Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0 [2025-02-05T21:02:02.560Z] df: getattrlist failed: Input/output error [2025-02-05T21:02:02.560Z] There is 89409 Mb free [2025-02-05T21:02:02.560Z] STF 15:02:01.851 - ================== G E N E R A T I O N ================== [2025-02-05T21:02:02.560Z] STF 15:02:01.851 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-05T21:02:02.560Z] STF 15:02:01.851 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest" [2025-02-05T21:02:02.560Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:02.560Z] GEN 15:02:02.405 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-05T21:02:02.560Z] GEN 15:02:02.414 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkTest' [2025-02-05T21:02:03.341Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-05T21:02:03.341Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-05T21:02:03.341Z] GEN 15:02:02.536 - Using Mode NoOptions. Values = '' [2025-02-05T21:02:03.341Z] GEN 15:02:02.594 - [2025-02-05T21:02:03.341Z] GEN 15:02:02.594 - Test command summary: [2025-02-05T21:02:03.341Z] GEN 15:02:02.594 - Step Stage Command Description [2025-02-05T21:02:03.341Z] GEN 15:02:02.594 - -----+--------+-----------------+------------ [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 1 setUp cpDir Copying com.test.jlink [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 3 setUp jar Create com.test.jlink jar [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 4 setUp jar Create com.hello jar [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 5 setUp fileCheck Check com.test.jlink modular jar created [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 6 setUp fileCheck Check com.hello modular jar created [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 7 setUp rm Removing conf folder from com.test.jLinkDirCopy [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 8 setUp cpDir Copying .so from com.test.jlink/native [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 9 setUp jmod Creating jmod of com.test.jlink module [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 10 setUp jmod Creating jmod for com.hello module [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 11 setUp fileCheck Check com.test.jlink jmod created [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 12 setUp fileCheck Check com.hello jmod created [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 13 execute jlink Create runtime image [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 14 execute Run java Running listmods [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 15 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 16 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.595 - 17 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 18 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 19 execute jlink Create runtime image [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 20 execute Run java Running listmods [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 21 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 22 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 23 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 24 execute Run java Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 25 execute jlink Create runtime image [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 26 execute Run java Running listmods [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 27 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 28 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 29 execute count Check output [2025-02-05T21:02:03.341Z] GEN 15:02:02.596 - 30 execute Run java Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:02:03.341Z] STF 15:02:02.616 - [2025-02-05T21:02:03.341Z] STF 15:02:02.616 - Script generation completed [2025-02-05T21:02:03.341Z] STF 15:02:02.616 - [2025-02-05T21:02:03.341Z] STF 15:02:02.616 - [2025-02-05T21:02:03.341Z] STF 15:02:02.616 - ======================= S E T U P ======================= [2025-02-05T21:02:03.341Z] STF 15:02:02.616 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/setUp.pl [2025-02-05T21:02:03.341Z] STF 15:02:02.662 - [2025-02-05T21:02:03.341Z] STF 15:02:02.662 - +------ Step 1 - Copying com.test.jlink [2025-02-05T21:02:03.341Z] STF 15:02:02.662 - | Copy a directory to a new directory [2025-02-05T21:02:03.341Z] STF 15:02:02.662 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-05T21:02:03.341Z] STF 15:02:02.662 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/com.test.jLinkDirCopy [2025-02-05T21:02:03.341Z] STF 15:02:02.662 - | [2025-02-05T21:02:03.341Z] STF 15:02:02.666 - [2025-02-05T21:02:03.341Z] STF 15:02:02.667 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2025-02-05T21:02:03.341Z] STF 15:02:02.667 - | Recursively delete a directory [2025-02-05T21:02:03.341Z] STF 15:02:02.667 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/com.test.jLinkDirCopy/native [2025-02-05T21:02:03.341Z] STF 15:02:02.667 - | [2025-02-05T21:02:03.341Z] STF 15:02:02.667 - [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - +------ Step 3 - Create com.test.jlink jar [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - | Create modular jar [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - | ModuleVersion: null [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - | MainClass: null [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - | HashModules: null [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - | [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/modules/3.com.test.jlink.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/3.CMJ.stderr [2025-02-05T21:02:03.342Z] STF 15:02:02.667 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/3.CMJ.stdout [2025-02-05T21:02:03.342Z] STF 15:02:02.676 - Monitoring processes: CMJ [2025-02-05T21:02:03.342Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - Monitoring Report Summary: [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - o Process CMJ ended with the expected exit code (0) [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - Created modular jar: 3.com.test.jlink.jar [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - +------ Step 4 - Create com.hello jar [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - | Create modular jar [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - | ModuleVersion: null [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - | MainClass: null [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - | HashModules: null [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - | [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/modules/4.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/4.CMJ.stderr [2025-02-05T21:02:03.342Z] STF 15:02:02.903 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/4.CMJ.stdout [2025-02-05T21:02:03.342Z] STF 15:02:02.904 - Monitoring processes: CMJ [2025-02-05T21:02:03.342Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:03.342Z] STF 15:02:03.113 - Monitoring Report Summary: [2025-02-05T21:02:03.342Z] STF 15:02:03.113 - o Process CMJ ended with the expected exit code (0) [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - Created modular jar: 4.com.hello.jar [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - +------ Step 5 - Check com.test.jlink modular jar created [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | Validate file exists [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/modules/3.com.test.jlink.jar [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - +------ Step 6 - Check com.hello modular jar created [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | Validate file exists [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/modules/4.com.hello.jar [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - +------ Step 7 - Removing conf folder from com.test.jLinkDirCopy [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | Recursively delete a directory [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | Directory: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/com.test.jLinkDirCopy/conf [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - +------ Step 8 - Copying .so from com.test.jlink/native [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | Copy a directory to a new directory [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | Source dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/osx [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | Dest dir: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/native [2025-02-05T21:02:03.342Z] STF 15:02:03.114 - | [2025-02-05T21:02:03.342Z] STF 15:02:03.115 - [2025-02-05T21:02:03.342Z] STF 15:02:03.115 - +------ Step 9 - Creating jmod of com.test.jlink module [2025-02-05T21:02:03.342Z] STF 15:02:03.115 - | Run jmod utility [2025-02-05T21:02:03.342Z] STF 15:02:03.115 - | jmod: com.test.jlink.jmod [2025-02-05T21:02:03.342Z] STF 15:02:03.115 - | [2025-02-05T21:02:03.342Z] STF 15:02:03.115 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/com.test.jLinkDirCopy --config /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/native /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/com.test.jlink.jmod [2025-02-05T21:02:03.342Z] STF 15:02:03.115 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/9.JMOD.stderr [2025-02-05T21:02:03.342Z] STF 15:02:03.115 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/9.JMOD.stdout [2025-02-05T21:02:03.342Z] STF 15:02:03.116 - Monitoring processes: JMOD [2025-02-05T21:02:03.342Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:04.128Z] STF 15:02:03.321 - Monitoring Report Summary: [2025-02-05T21:02:04.128Z] STF 15:02:03.321 - o Process JMOD ended with the expected exit code (0) [2025-02-05T21:02:04.128Z] STF 15:02:03.322 - [2025-02-05T21:02:04.128Z] STF 15:02:03.322 - +------ Step 10 - Creating jmod for com.hello module [2025-02-05T21:02:04.128Z] STF 15:02:03.322 - | Run jmod utility [2025-02-05T21:02:04.128Z] STF 15:02:03.322 - | jmod: com.hello.jmod [2025-02-05T21:02:04.128Z] STF 15:02:03.322 - | [2025-02-05T21:02:04.128Z] STF 15:02:03.322 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jmod create --class-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/com.hello.jmod [2025-02-05T21:02:04.128Z] STF 15:02:03.322 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/10.JMOD.stderr [2025-02-05T21:02:04.128Z] STF 15:02:03.322 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/10.JMOD.stdout [2025-02-05T21:02:04.128Z] STF 15:02:03.323 - Monitoring processes: JMOD [2025-02-05T21:02:04.128Z] JMOD stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:04.128Z] STF 15:02:03.515 - Monitoring Report Summary: [2025-02-05T21:02:04.128Z] STF 15:02:03.515 - o Process JMOD ended with the expected exit code (0) [2025-02-05T21:02:04.128Z] STF 15:02:03.515 - [2025-02-05T21:02:04.128Z] STF 15:02:03.515 - +------ Step 11 - Check com.test.jlink jmod created [2025-02-05T21:02:04.128Z] STF 15:02:03.515 - | Validate file exists [2025-02-05T21:02:04.129Z] STF 15:02:03.515 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/com.test.jlink.jmod [2025-02-05T21:02:04.129Z] STF 15:02:03.515 - | [2025-02-05T21:02:04.129Z] STF 15:02:03.515 - [2025-02-05T21:02:04.129Z] STF 15:02:03.515 - +------ Step 12 - Check com.hello jmod created [2025-02-05T21:02:04.129Z] STF 15:02:03.515 - | Validate file exists [2025-02-05T21:02:04.129Z] STF 15:02:03.515 - | File: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/com.hello.jmod [2025-02-05T21:02:04.129Z] STF 15:02:03.515 - | [2025-02-05T21:02:04.129Z] STF 15:02:03.515 - SETUP stage completed [2025-02-05T21:02:04.129Z] STF 15:02:03.522 - [2025-02-05T21:02:04.129Z] STF 15:02:03.522 - ==================== E X E C U T E - ==================== [2025-02-05T21:02:04.129Z] STF 15:02:03.522 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/execute.pl [2025-02-05T21:02:04.129Z] STF 15:02:03.569 - [2025-02-05T21:02:04.129Z] STF 15:02:03.569 - Java version [2025-02-05T21:02:04.129Z] STF 15:02:03.569 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-05T21:02:04.129Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:04.129Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-05T21:02:04.129Z] OpenJDK Runtime Environment Temurin-21.0.7+1-202502052004 (build 21.0.7-beta+1-ea) [2025-02-05T21:02:04.129Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+1-202502052004 (build 21.0.7-beta+1-ea, mixed mode) [2025-02-05T21:02:04.129Z] STF 15:02:03.631 - [2025-02-05T21:02:04.129Z] STF 15:02:03.631 - +------ Step 13 - Create runtime image [2025-02-05T21:02:04.129Z] STF 15:02:03.631 - | Run jlink to create runtime image [2025-02-05T21:02:04.129Z] STF 15:02:03.631 - | ImageName: CRI1 [2025-02-05T21:02:04.129Z] STF 15:02:03.631 - | [2025-02-05T21:02:04.129Z] STF 15:02:03.631 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/modules --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/13.CRI1 [2025-02-05T21:02:04.129Z] STF 15:02:03.631 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/13.JLNK.stderr [2025-02-05T21:02:04.129Z] STF 15:02:03.631 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/13.JLNK.stdout [2025-02-05T21:02:04.129Z] STF 15:02:03.638 - Monitoring processes: JLNK [2025-02-05T21:02:04.129Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - Monitoring Report Summary: [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - o Process JLNK ended with the expected exit code (0) [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - +------ Step 14 - Running listmods [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - | Run foreground process [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/13.CRI1/bin/java [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - | Mnemonic: LIST [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - | Echo: ECHO_ON [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - | [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/13.CRI1/bin/java --list-modules -XX:+UseCompressedOops [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/14.LIST.stderr [2025-02-05T21:02:04.914Z] STF 15:02:04.725 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/14.LIST.stdout [2025-02-05T21:02:04.914Z] STF 15:02:04.726 - Monitoring processes: LIST [2025-02-05T21:02:04.914Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:05.704Z] LIST com.hello [2025-02-05T21:02:05.704Z] LIST com.test.jlink [2025-02-05T21:02:05.704Z] LIST java.base@21.0.7-beta [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - Monitoring Report Summary: [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - o Process LIST ended with the expected exit code (0) [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - +------ Step 15 - Check output [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | Count file matches [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/14.LIST.stdout [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | ExpectedNumMatches: 1 [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | SearchStrings: ["com.hello"] [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - Found 1 instances of ["com.hello"] [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - +------ Step 16 - Check output [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | Count file matches [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/14.LIST.stdout [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | ExpectedNumMatches: 1 [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | SearchStrings: ["com.test.jlink"] [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - Found 1 instances of ["com.test.jlink"] [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - +------ Step 17 - Check output [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | Count file matches [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/14.LIST.stdout [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | ExpectedNumMatches: 1 [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | SearchStrings: ["java.base"] [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - Found 1 instances of ["java.base"] [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - +------ Step 18 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | Run foreground process [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/13.CRI1/bin/java [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | Mnemonic: T1 [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | Echo: ECHO_ON [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - | [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/13.CRI1/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/18.T1.stderr [2025-02-05T21:02:05.704Z] STF 15:02:04.866 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/18.T1.stdout [2025-02-05T21:02:05.704Z] STF 15:02:04.868 - Monitoring processes: T1 [2025-02-05T21:02:05.704Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:05.704Z] T1 JUnit version 4.12 [2025-02-05T21:02:05.704Z] T1 . [2025-02-05T21:02:05.704Z] T1 Time: 0.004 [2025-02-05T21:02:05.704Z] T1 [2025-02-05T21:02:05.704Z] T1 OK (1 test) [2025-02-05T21:02:05.704Z] T1 [2025-02-05T21:02:05.704Z] STF 15:02:05.046 - Monitoring Report Summary: [2025-02-05T21:02:05.704Z] STF 15:02:05.046 - o Process T1 ended with the expected exit code (0) [2025-02-05T21:02:05.704Z] STF 15:02:05.047 - [2025-02-05T21:02:05.704Z] STF 15:02:05.047 - +------ Step 19 - Create runtime image [2025-02-05T21:02:05.704Z] STF 15:02:05.047 - | Run jlink to create runtime image [2025-02-05T21:02:05.704Z] STF 15:02:05.047 - | ImageName: CRI2 [2025-02-05T21:02:05.704Z] STF 15:02:05.047 - | [2025-02-05T21:02:05.704Z] STF 15:02:05.047 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/19.CRI2 [2025-02-05T21:02:05.704Z] STF 15:02:05.047 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/19.JLNK.stderr [2025-02-05T21:02:05.704Z] STF 15:02:05.047 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/19.JLNK.stdout [2025-02-05T21:02:05.704Z] STF 15:02:05.048 - Monitoring processes: JLNK [2025-02-05T21:02:05.704Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - Monitoring Report Summary: [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - o Process JLNK ended with the expected exit code (0) [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - +------ Step 20 - Running listmods [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - | Run foreground process [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/19.CRI2/bin/java [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - | Mnemonic: LIST [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - | Echo: ECHO_ON [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - | [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/19.CRI2/bin/java --list-modules -XX:+UseCompressedOops [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/20.LIST.stderr [2025-02-05T21:02:06.487Z] STF 15:02:06.208 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/20.LIST.stdout [2025-02-05T21:02:06.487Z] STF 15:02:06.211 - Monitoring processes: LIST [2025-02-05T21:02:06.487Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:06.487Z] LIST com.hello [2025-02-05T21:02:06.487Z] LIST com.test.jlink [2025-02-05T21:02:06.487Z] LIST java.base@21.0.7-beta [2025-02-05T21:02:06.487Z] STF 15:02:06.354 - Monitoring Report Summary: [2025-02-05T21:02:06.487Z] STF 15:02:06.354 - o Process LIST ended with the expected exit code (0) [2025-02-05T21:02:06.487Z] STF 15:02:06.354 - [2025-02-05T21:02:06.487Z] STF 15:02:06.354 - +------ Step 21 - Check output [2025-02-05T21:02:06.487Z] STF 15:02:06.354 - | Count file matches [2025-02-05T21:02:06.487Z] STF 15:02:06.354 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/20.LIST.stdout [2025-02-05T21:02:06.487Z] STF 15:02:06.354 - | ExpectedNumMatches: 1 [2025-02-05T21:02:06.488Z] STF 15:02:06.354 - | SearchStrings: ["com.hello"] [2025-02-05T21:02:06.488Z] STF 15:02:06.354 - | [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - Found 1 instances of ["com.hello"] [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - +------ Step 22 - Check output [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | Count file matches [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/20.LIST.stdout [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | ExpectedNumMatches: 1 [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | SearchStrings: ["com.test.jlink"] [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - Found 1 instances of ["com.test.jlink"] [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - +------ Step 23 - Check output [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | Count file matches [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/20.LIST.stdout [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | ExpectedNumMatches: 1 [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | SearchStrings: ["java.base"] [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - Found 1 instances of ["java.base"] [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - +------ Step 24 - Running adoptopenjdk.test.modularity.jlink.JniTest [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | Run foreground process [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/19.CRI2/bin/java [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | Mnemonic: T2 [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | Echo: ECHO_ON [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - | [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/19.CRI2/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JniTest [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/24.T2.stderr [2025-02-05T21:02:06.488Z] STF 15:02:06.355 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/24.T2.stdout [2025-02-05T21:02:06.488Z] STF 15:02:06.356 - Monitoring processes: T2 [2025-02-05T21:02:06.488Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:07.267Z] T2 JUnit version 4.12 [2025-02-05T21:02:07.267Z] T2 . [2025-02-05T21:02:07.267Z] T2 Time: 0.004 [2025-02-05T21:02:07.267Z] T2 [2025-02-05T21:02:07.267Z] T2 OK (1 test) [2025-02-05T21:02:07.267Z] T2 [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - Monitoring Report Summary: [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - o Process T2 ended with the expected exit code (0) [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - +------ Step 25 - Create runtime image [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - | Run jlink to create runtime image [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - | ImageName: CRI3 [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - | [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules com.test.jlink --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/25.CRI3 [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/25.JLNK.stderr [2025-02-05T21:02:07.267Z] STF 15:02:06.530 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/25.JLNK.stdout [2025-02-05T21:02:07.267Z] STF 15:02:06.532 - Monitoring processes: JLNK [2025-02-05T21:02:07.267Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - Monitoring Report Summary: [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - o Process JLNK ended with the expected exit code (0) [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - +------ Step 26 - Running listmods [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - | Run foreground process [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/25.CRI3/bin/java [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - | Mnemonic: LIST [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - | Echo: ECHO_ON [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:02:08.048Z] STF 15:02:07.658 - | [2025-02-05T21:02:08.048Z] STF 15:02:07.659 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/25.CRI3/bin/java --list-modules -XX:+UseCompressedOops [2025-02-05T21:02:08.048Z] STF 15:02:07.659 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/26.LIST.stderr [2025-02-05T21:02:08.048Z] STF 15:02:07.659 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/26.LIST.stdout [2025-02-05T21:02:08.048Z] STF 15:02:07.661 - Monitoring processes: LIST [2025-02-05T21:02:08.048Z] LIST stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:08.048Z] LIST com.hello [2025-02-05T21:02:08.048Z] LIST com.test.jlink [2025-02-05T21:02:08.048Z] LIST java.base@21.0.7-beta [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - Monitoring Report Summary: [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - o Process LIST ended with the expected exit code (0) [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - +------ Step 27 - Check output [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | Count file matches [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/26.LIST.stdout [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | ExpectedNumMatches: 1 [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | SearchStrings: ["com.hello"] [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - Found 1 instances of ["com.hello"] [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - +------ Step 28 - Check output [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | Count file matches [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/26.LIST.stdout [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | ExpectedNumMatches: 1 [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | SearchStrings: ["com.test.jlink"] [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - Found 1 instances of ["com.test.jlink"] [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - +------ Step 29 - Check output [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | Count file matches [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/26.LIST.stdout [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | ExpectedNumMatches: 1 [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | SearchStrings: ["java.base"] [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - Found 1 instances of ["java.base"] [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - +------ Step 30 - Running adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | Run foreground process [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/25.CRI3/bin/java [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | Mnemonic: T3 [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | Echo: ECHO_ON [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | Expectation: CLEAN_RUN within 1m [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - | [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tmp/25.CRI3/bin/java -Djava.library.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/native --add-reads com.test.jlink=ALL-UNNAMED -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.PropertyReadTest [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/30.T3.stderr [2025-02-05T21:02:08.048Z] STF 15:02:07.812 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/results/30.T3.stdout [2025-02-05T21:02:08.048Z] STF 15:02:07.813 - Monitoring processes: T3 [2025-02-05T21:02:08.048Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-05T21:02:08.048Z] T3 JUnit version 4.12 [2025-02-05T21:02:08.830Z] T3 . [2025-02-05T21:02:08.830Z] T3 Time: 0.004 [2025-02-05T21:02:08.830Z] T3 [2025-02-05T21:02:08.830Z] T3 OK (1 test) [2025-02-05T21:02:08.830Z] T3 [2025-02-05T21:02:08.830Z] STF 15:02:07.998 - Monitoring Report Summary: [2025-02-05T21:02:08.830Z] STF 15:02:07.998 - o Process T3 ended with the expected exit code (0) [2025-02-05T21:02:08.830Z] STF 15:02:07.999 - EXECUTE stage completed [2025-02-05T21:02:08.830Z] STF 15:02:08.020 - [2025-02-05T21:02:08.830Z] STF 15:02:08.020 - ==================== T E A R D O W N ==================== [2025-02-05T21:02:08.830Z] STF 15:02:08.020 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17387891653948/Jlink_ReqMod_0/20250205-150201-JlinkTest/tearDown.pl [2025-02-05T21:02:08.830Z] STF 15:02:08.065 - TEARDOWN stage completed [2025-02-05T21:02:08.830Z] STF 15:02:08.073 - [2025-02-05T21:02:08.830Z] STF 15:02:08.073 - ===================== R E S U L T S ===================== [2025-02-05T21:02:08.830Z] STF 15:02:08.073 - Stage results: [2025-02-05T21:02:08.830Z] STF 15:02:08.073 - setUp: pass [2025-02-05T21:02:08.830Z] STF 15:02:08.073 - execute: pass [2025-02-05T21:02:08.830Z] STF 15:02:08.073 - teardown: pass [2025-02-05T21:02:08.830Z] STF 15:02:08.073 - [2025-02-05T21:02:08.830Z] STF 15:02:08.073 - Overall result: PASSED [2025-02-05T21:02:08.830Z] ----------------------------------- [2025-02-05T21:02:08.830Z] Jlink_ReqMod_0_PASSED [2025-02-05T21:02:08.830Z] ----------------------------------- [2025-02-05T21:02:08.830Z] [2025-02-05T21:02:08.830Z] TEST TEARDOWN: [2025-02-05T21:02:08.830Z] Nothing to be done for teardown. [2025-02-05T21:02:08.830Z] Jlink_ReqMod_0 Finish Time: Wed Feb 5 15:02:08 2025 Epoch Time (ms): 1738789328113