Jlink_GenOpt_2

[2023-04-19T00:28:53.255Z] Running test Jlink_GenOpt_2 ... [2023-04-19T00:28:53.255Z] =============================================== [2023-04-19T00:28:53.255Z] Jlink_GenOpt_2 Start Time: Wed Apr 19 00:28:52 2023 Epoch Time (ms): 1681864132645 [2023-04-19T00:28:53.255Z] variation: Mode1000 [2023-04-19T00:28:53.255Z] JVM_OPTIONS: [2023-04-19T00:28:53.255Z] { \ [2023-04-19T00:28:53.255Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T00:28:53.255Z] echo "Nothing to be done for setup."; \ [2023-04-19T00:28:53.255Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2"; \ [2023-04-19T00:28:53.255Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2"; \ [2023-04-19T00:28:53.255Z] echo ""; echo "TESTING:"; \ [2023-04-19T00:28:53.255Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2" -test=JlinkPluginTest -test-args="variant=GenOpt"; \ [2023-04-19T00:28:53.255Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Jlink_GenOpt_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2"; else echo "-----------------------------------"; echo "Jlink_GenOpt_2""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T00:28:53.255Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T00:28:53.255Z] echo "Nothing to be done for teardown."; \ [2023-04-19T00:28:53.255Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/TestTargetResult"; [2023-04-19T00:28:53.255Z] [2023-04-19T00:28:53.255Z] TEST SETUP: [2023-04-19T00:28:53.255Z] Nothing to be done for setup. [2023-04-19T00:28:53.255Z] [2023-04-19T00:28:53.255Z] TESTING: [2023-04-19T00:28:53.255Z] STF 00:28:52.731 - ========================= S T F ========================= [2023-04-19T00:28:53.255Z] systemtest-prereqs has been processed, and set to: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2 [2023-04-19T00:28:53.255Z] There is 178058 Mb free [2023-04-19T00:28:53.255Z] STF 00:28:52.738 - ================== G E N E R A T I O N ================== [2023-04-19T00:28:53.255Z] STF 00:28:52.739 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image [2023-04-19T00:28:53.255Z] STF 00:28:52.739 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest" [2023-04-19T00:28:53.255Z] GEN stderr OpenJDK Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2023-04-19T00:28:54.017Z] GEN 00:28:53.512 - Found test. Project: 'openjdk.test.modularity' class: 'JlinkPluginTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2023-04-19T00:28:54.017Z] GEN 00:28:53.525 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.JlinkPluginTest' [2023-04-19T00:28:54.017Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/bin [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-19T00:28:54.017Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T00:28:54.017Z] GEN 00:28:53.667 - Using Mode NoOptions. Values = '' [2023-04-19T00:28:54.017Z] GEN 00:28:53.757 - [2023-04-19T00:28:54.017Z] GEN 00:28:53.757 - Test command summary: [2023-04-19T00:28:54.017Z] GEN 00:28:53.758 - Step Stage Command Description [2023-04-19T00:28:54.017Z] GEN 00:28:53.758 - -----+--------+-----------------+------------ [2023-04-19T00:28:54.017Z] GEN 00:28:53.758 - 1 setUp cpDir Copying com.test.jlink [2023-04-19T00:28:54.017Z] GEN 00:28:53.758 - 2 setUp rm Removing natives folder from com.test.jLinkDirCopy [2023-04-19T00:28:54.017Z] GEN 00:28:53.758 - 3 setUp rm Removing conf folder from com.test.jLinkDirCopy [2023-04-19T00:28:54.017Z] GEN 00:28:53.758 - 4 setUp jar Create com.test.jlink jar [2023-04-19T00:28:54.017Z] GEN 00:28:53.758 - 5 setUp jar Create com.hello jar [2023-04-19T00:28:54.017Z] GEN 00:28:53.758 - 6 setUp jmod Creating jmod of com.test.jlink module [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 7 setUp jmod Creating jmod for com.hello module [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 8 execute jlink Create runtime image using --exclude-files jlink option [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 9 execute fileCheck Check if --exclude-files removed the given files from created image [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 10 execute rm Removing the runtime image after test completion.. [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 11 execute jlink Create runtime image using --strip-native-commands jlink option [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 12 execute fileCheck Check if --strip-native-commands removed java executable from created image [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 13 execute rm Removing the runtime image after test completion.. [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 14 execute jlink Create runtime image using --releae-info jlink option [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 15 execute Run java Running adoptopenjdk.test.modularity.jlink.JlinkPluginTestReleaseInfo [2023-04-19T00:28:54.018Z] GEN 00:28:53.758 - 16 execute rm Removing the runtime image after test completion.. [2023-04-19T00:28:54.018Z] STF 00:28:53.779 - [2023-04-19T00:28:54.018Z] STF 00:28:53.779 - Script generation completed [2023-04-19T00:28:54.018Z] STF 00:28:53.779 - [2023-04-19T00:28:54.018Z] STF 00:28:53.780 - [2023-04-19T00:28:54.018Z] STF 00:28:53.780 - ======================= S E T U P ======================= [2023-04-19T00:28:54.018Z] STF 00:28:53.780 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/setUp.pl [2023-04-19T00:28:54.018Z] STF 00:28:53.845 - [2023-04-19T00:28:54.018Z] STF 00:28:53.845 - +------ Step 1 - Copying com.test.jlink [2023-04-19T00:28:54.018Z] STF 00:28:53.845 - | Copy a directory to a new directory [2023-04-19T00:28:54.018Z] STF 00:28:53.845 - | Source dir: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink [2023-04-19T00:28:54.018Z] STF 00:28:53.845 - | Dest dir: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/com.test.jLinkDirCopy [2023-04-19T00:28:54.018Z] STF 00:28:53.845 - | [2023-04-19T00:28:54.018Z] STF 00:28:53.851 - [2023-04-19T00:28:54.018Z] STF 00:28:53.851 - +------ Step 2 - Removing natives folder from com.test.jLinkDirCopy [2023-04-19T00:28:54.018Z] STF 00:28:53.851 - | Recursively delete a directory [2023-04-19T00:28:54.018Z] STF 00:28:53.851 - | Directory: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/com.test.jLinkDirCopy/native [2023-04-19T00:28:54.018Z] STF 00:28:53.851 - | [2023-04-19T00:28:54.018Z] STF 00:28:53.852 - [2023-04-19T00:28:54.018Z] STF 00:28:53.852 - +------ Step 3 - Removing conf folder from com.test.jLinkDirCopy [2023-04-19T00:28:54.018Z] STF 00:28:53.852 - | Recursively delete a directory [2023-04-19T00:28:54.018Z] STF 00:28:53.852 - | Directory: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/com.test.jLinkDirCopy/conf [2023-04-19T00:28:54.018Z] STF 00:28:53.852 - | [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - +------ Step 4 - Create com.test.jlink jar [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - | Create modular jar [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test.jlink [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - | ModuleVersion: null [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - | MainClass: null [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - | HashModules: null [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - | [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/modules/4.com.test.jlink.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink . [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/4.CMJ.stderr [2023-04-19T00:28:54.018Z] STF 00:28:53.853 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/4.CMJ.stdout [2023-04-19T00:28:54.018Z] STF 00:28:53.863 - Monitoring processes: CMJ [2023-04-19T00:28:54.782Z] STF 00:28:54.056 - Monitoring Report Summary: [2023-04-19T00:28:54.782Z] STF 00:28:54.057 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:54.782Z] STF 00:28:54.057 - Created modular jar: 4.com.test.jlink.jar [2023-04-19T00:28:54.782Z] STF 00:28:54.057 - [2023-04-19T00:28:54.782Z] STF 00:28:54.057 - +------ Step 5 - Create com.hello jar [2023-04-19T00:28:54.782Z] STF 00:28:54.057 - | Create modular jar [2023-04-19T00:28:54.782Z] STF 00:28:54.057 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T00:28:54.783Z] STF 00:28:54.057 - | ModuleVersion: null [2023-04-19T00:28:54.783Z] STF 00:28:54.057 - | MainClass: null [2023-04-19T00:28:54.783Z] STF 00:28:54.057 - | HashModules: null [2023-04-19T00:28:54.783Z] STF 00:28:54.057 - | [2023-04-19T00:28:54.783Z] STF 00:28:54.058 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/modules/5.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2023-04-19T00:28:54.783Z] STF 00:28:54.058 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/5.CMJ.stderr [2023-04-19T00:28:54.783Z] STF 00:28:54.058 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/5.CMJ.stdout [2023-04-19T00:28:54.783Z] STF 00:28:54.060 - Monitoring processes: CMJ [2023-04-19T00:28:54.783Z] STF 00:28:54.250 - Monitoring Report Summary: [2023-04-19T00:28:54.783Z] STF 00:28:54.250 - o Process CMJ ended with the expected exit code (0) [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - Created modular jar: 5.com.hello.jar [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - +------ Step 6 - Creating jmod of com.test.jlink module [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - | Run jmod utility [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - | jmod: com.test.jlink.jmod [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - | [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/com.test.jLinkDirCopy --config /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/conf --libs /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/bin/linux /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/com.test.jlink.jmod [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/6.JMOD.stderr [2023-04-19T00:28:54.783Z] STF 00:28:54.251 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/6.JMOD.stdout [2023-04-19T00:28:54.783Z] STF 00:28:54.253 - Monitoring processes: JMOD [2023-04-19T00:28:54.783Z] STF 00:28:54.442 - Monitoring Report Summary: [2023-04-19T00:28:54.783Z] STF 00:28:54.442 - o Process JMOD ended with the expected exit code (0) [2023-04-19T00:28:54.783Z] STF 00:28:54.442 - [2023-04-19T00:28:54.783Z] STF 00:28:54.442 - +------ Step 7 - Creating jmod for com.hello module [2023-04-19T00:28:54.783Z] STF 00:28:54.442 - | Run jmod utility [2023-04-19T00:28:54.783Z] STF 00:28:54.443 - | jmod: com.hello.jmod [2023-04-19T00:28:54.783Z] STF 00:28:54.443 - | [2023-04-19T00:28:54.783Z] STF 00:28:54.443 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jmod create --class-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/com.hello.jmod [2023-04-19T00:28:54.783Z] STF 00:28:54.443 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/7.JMOD.stderr [2023-04-19T00:28:54.783Z] STF 00:28:54.443 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/7.JMOD.stdout [2023-04-19T00:28:54.783Z] STF 00:28:54.446 - Monitoring processes: JMOD [2023-04-19T00:28:54.783Z] STF 00:28:54.704 - Monitoring Report Summary: [2023-04-19T00:28:54.783Z] STF 00:28:54.704 - o Process JMOD ended with the expected exit code (0) [2023-04-19T00:28:54.783Z] STF 00:28:54.705 - SETUP stage completed [2023-04-19T00:28:54.783Z] STF 00:28:54.712 - [2023-04-19T00:28:54.783Z] STF 00:28:54.712 - ==================== E X E C U T E - ==================== [2023-04-19T00:28:54.783Z] STF 00:28:54.713 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/execute.pl [2023-04-19T00:28:55.550Z] STF 00:28:54.777 - [2023-04-19T00:28:55.550Z] STF 00:28:54.778 - Java version [2023-04-19T00:28:55.550Z] STF 00:28:54.778 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T00:28:55.550Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T00:28:55.550Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T00:28:55.550Z] OpenJDK Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) [2023-04-19T00:28:55.550Z] STF 00:28:54.835 - [2023-04-19T00:28:55.550Z] STF 00:28:54.835 - +------ Step 8 - Create runtime image using --exclude-files jlink option [2023-04-19T00:28:55.550Z] STF 00:28:54.835 - | Run jlink to create runtime image [2023-04-19T00:28:55.550Z] STF 00:28:54.836 - | ImageName: CR_ExclueFiles_Test [2023-04-19T00:28:55.550Z] STF 00:28:54.836 - | [2023-04-19T00:28:55.550Z] STF 00:28:54.837 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/modules --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/8.CR_ExclueFiles_Test --exclude-files=**.policy* [2023-04-19T00:28:55.550Z] STF 00:28:54.837 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/8.JLNK.stderr [2023-04-19T00:28:55.550Z] STF 00:28:54.837 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/8.JLNK.stdout [2023-04-19T00:28:55.550Z] STF 00:28:54.851 - Monitoring processes: JLNK [2023-04-19T00:28:57.130Z] STF 00:28:56.675 - Monitoring Report Summary: [2023-04-19T00:28:57.130Z] STF 00:28:56.675 - o Process JLNK ended with the expected exit code (0) [2023-04-19T00:28:57.130Z] STF 00:28:56.675 - [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - +------ Step 9 - Check if --exclude-files removed the given files from created image [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - | Validate file absent [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - | File: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/8.CR_ExclueFiles_Test/conf/security/java.policy [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - | [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - +------ Step 10 - Removing the runtime image after test completion.. [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - | Recursively delete a directory [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - | Directory: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/8.CR_ExclueFiles_Test [2023-04-19T00:28:57.130Z] STF 00:28:56.676 - | [2023-04-19T00:28:57.130Z] STF 00:28:56.694 - [2023-04-19T00:28:57.130Z] STF 00:28:56.694 - +------ Step 11 - Create runtime image using --strip-native-commands jlink option [2023-04-19T00:28:57.130Z] STF 00:28:56.694 - | Run jlink to create runtime image [2023-04-19T00:28:57.130Z] STF 00:28:56.694 - | ImageName: CR_StripNativeCommand_Test [2023-04-19T00:28:57.130Z] STF 00:28:56.694 - | [2023-04-19T00:28:57.130Z] STF 00:28:56.694 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/com.test.jLinkDirCopy --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/11.CR_StripNativeCommand_Test --strip-native-commands [2023-04-19T00:28:57.130Z] STF 00:28:56.694 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/11.JLNK.stderr [2023-04-19T00:28:57.130Z] STF 00:28:56.694 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/11.JLNK.stdout [2023-04-19T00:28:57.130Z] STF 00:28:56.696 - Monitoring processes: JLNK [2023-04-19T00:28:58.710Z] STF 00:28:58.509 - Monitoring Report Summary: [2023-04-19T00:28:58.710Z] STF 00:28:58.509 - o Process JLNK ended with the expected exit code (0) [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - +------ Step 12 - Check if --strip-native-commands removed java executable from created image [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - | Validate file absent [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - | File: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/11.CR_StripNativeCommand_Test/bin/java [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - | [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - +------ Step 13 - Removing the runtime image after test completion.. [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - | Recursively delete a directory [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - | Directory: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/11.CR_StripNativeCommand_Test [2023-04-19T00:28:58.710Z] STF 00:28:58.510 - | [2023-04-19T00:28:58.710Z] STF 00:28:58.528 - [2023-04-19T00:28:58.710Z] STF 00:28:58.528 - +------ Step 14 - Create runtime image using --releae-info jlink option [2023-04-19T00:28:58.711Z] STF 00:28:58.528 - | Run jlink to create runtime image [2023-04-19T00:28:58.711Z] STF 00:28:58.528 - | ImageName: CR_ReleaseInfo_Test [2023-04-19T00:28:58.711Z] STF 00:28:58.528 - | [2023-04-19T00:28:58.711Z] STF 00:28:58.528 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp --add-modules com.test.jlink --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/14.CR_ReleaseInfo_Test --release-info=add:UseYour=Illusion [2023-04-19T00:28:58.711Z] STF 00:28:58.528 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/14.JLNK.stderr [2023-04-19T00:28:58.711Z] STF 00:28:58.528 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/14.JLNK.stdout [2023-04-19T00:28:58.711Z] STF 00:28:58.530 - Monitoring processes: JLNK [2023-04-19T00:29:01.165Z] STF 00:29:00.451 - Monitoring Report Summary: [2023-04-19T00:29:01.165Z] STF 00:29:00.451 - o Process JLNK ended with the expected exit code (0) [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - +------ Step 15 - Running adoptopenjdk.test.modularity.jlink.JlinkPluginTestReleaseInfo [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - | Run foreground process [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/java [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - | Mnemonic: T46 [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - | Echo: ECHO_ON [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - | Expectation: CLEAN_RUN within 1m [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - | [2023-04-19T00:29:01.165Z] STF 00:29:00.452 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -Drelease.info.file=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/14.CR_ReleaseInfo_Test/release --add-reads com.test.jlink=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test.jlink -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore adoptopenjdk.test.modularity.jlink.JlinkPluginTestReleaseInfo [2023-04-19T00:29:01.165Z] STF 00:29:00.453 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/15.T46.stderr [2023-04-19T00:29:01.165Z] STF 00:29:00.453 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/results/15.T46.stdout [2023-04-19T00:29:01.165Z] STF 00:29:00.455 - Monitoring processes: T46 [2023-04-19T00:29:01.165Z] T46 JUnit version 4.12 [2023-04-19T00:29:01.165Z] T46 . [2023-04-19T00:29:01.165Z] T46 Time: 0.004 [2023-04-19T00:29:01.165Z] T46 [2023-04-19T00:29:01.165Z] T46 OK (1 test) [2023-04-19T00:29:01.165Z] T46 [2023-04-19T00:29:01.165Z] STF 00:29:00.686 - Monitoring Report Summary: [2023-04-19T00:29:01.165Z] STF 00:29:00.686 - o Process T46 ended with the expected exit code (0) [2023-04-19T00:29:01.165Z] STF 00:29:00.687 - [2023-04-19T00:29:01.165Z] STF 00:29:00.687 - +------ Step 16 - Removing the runtime image after test completion.. [2023-04-19T00:29:01.165Z] STF 00:29:00.687 - | Recursively delete a directory [2023-04-19T00:29:01.165Z] STF 00:29:00.687 - | Directory: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tmp/14.CR_ReleaseInfo_Test [2023-04-19T00:29:01.165Z] STF 00:29:00.687 - | [2023-04-19T00:29:01.165Z] STF 00:29:00.711 - EXECUTE stage completed [2023-04-19T00:29:01.165Z] STF 00:29:00.756 - [2023-04-19T00:29:01.165Z] STF 00:29:00.756 - ==================== T E A R D O W N ==================== [2023-04-19T00:29:01.165Z] STF 00:29:00.756 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_1681860136987/Jlink_GenOpt_2/20230419-002852-JlinkPluginTest/tearDown.pl [2023-04-19T00:29:01.165Z] STF 00:29:00.809 - TEARDOWN stage completed [2023-04-19T00:29:01.165Z] STF 00:29:00.814 - [2023-04-19T00:29:01.165Z] STF 00:29:00.814 - ===================== R E S U L T S ===================== [2023-04-19T00:29:01.165Z] STF 00:29:00.814 - Stage results: [2023-04-19T00:29:01.165Z] STF 00:29:00.814 - setUp: pass [2023-04-19T00:29:01.165Z] STF 00:29:00.814 - execute: pass [2023-04-19T00:29:01.165Z] STF 00:29:00.815 - teardown: pass [2023-04-19T00:29:01.165Z] STF 00:29:00.815 - [2023-04-19T00:29:01.165Z] STF 00:29:00.815 - Overall result: PASSED [2023-04-19T00:29:01.165Z] ----------------------------------- [2023-04-19T00:29:01.165Z] Jlink_GenOpt_2_PASSED [2023-04-19T00:29:01.165Z] ----------------------------------- [2023-04-19T00:29:01.165Z] [2023-04-19T00:29:01.165Z] TEST TEARDOWN: [2023-04-19T00:29:01.165Z] Nothing to be done for teardown. [2023-04-19T00:29:01.165Z] Jlink_GenOpt_2 Finish Time: Wed Apr 19 00:29:00 2023 Epoch Time (ms): 1681864140844