PatModImg_PlatMod_1

[2025-08-30T06:27:56.075Z] Running test PatModImg_PlatMod_1 ... [2025-08-30T06:27:56.369Z] =============================================== [2025-08-30T06:27:56.662Z] PatModImg_PlatMod_1 Start Time: Sat Aug 30 06:27:56 2025 Epoch Time (ms): 1756535276489 [2025-08-30T06:27:56.957Z] variation: Mode650 [2025-08-30T06:27:56.957Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-08-30T06:27:56.957Z] { \ [2025-08-30T06:27:56.957Z] echo ""; echo "TEST SETUP:"; \ [2025-08-30T06:27:56.957Z] echo "Nothing to be done for setup."; \ [2025-08-30T06:27:56.957Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\PatModImg_PlatMod_1"; \ [2025-08-30T06:27:56.957Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\PatModImg_PlatMod_1"; \ [2025-08-30T06:27:56.957Z] echo ""; echo "TESTING:"; \ [2025-08-30T06:27:56.957Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-08-30T06:27:56.957Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-30T06:27:56.957Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-30T06:27:56.957Z] echo "Nothing to be done for teardown."; \ [2025-08-30T06:27:56.957Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\TestTargetResult"; [2025-08-30T06:27:57.251Z] [2025-08-30T06:27:57.251Z] TEST SETUP: [2025-08-30T06:27:57.251Z] Nothing to be done for setup. [2025-08-30T06:27:57.251Z] [2025-08-30T06:27:57.251Z] TESTING: [2025-08-30T06:27:57.889Z] STF 06:27:57.504 - ========================= S T F ========================= [2025-08-30T06:27:57.889Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_PlatMod_1 [2025-08-30T06:27:57.889Z] There is 18231 Mb free [2025-08-30T06:27:57.889Z] STF 06:27:57.581 - ================== G E N E R A T I O N ================== [2025-08-30T06:27:57.889Z] STF 06:27:57.586 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-30T06:27:57.889Z] STF 06:27:57.587 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_PlatMod_1/20250830-062757-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_PlatMod_1/20250830-062757-PatModImgTest" [2025-08-30T06:27:57.889Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:27:58.931Z] GEN 06:27:58.817 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-08-30T06:27:58.931Z] GEN 06:27:58.848 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-08-30T06:27:59.227Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-08-30T06:27:59.227Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-08-30T06:27:59.227Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-08-30T06:27:59.227Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-30T06:27:59.227Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-30T06:27:59.227Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-30T06:27:59.227Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-30T06:27:59.227Z] GEN 06:27:59.082 - Using Mode NoOptions. Values = '' [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - Test command summary: [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - Step Stage Command Description [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - -----+--------+-----------------+------------ [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 1 execute jar Create com.hello jar [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 2 execute jar Create com.hola jar [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 3 execute jar Create com.helper jar [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 4 execute jar Create com.discreet jar [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 5 execute jar Create tests jar [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 6 execute jlink Create runtime image for PatchModule test [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 7 execute jar Create com.hello jar [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 8 execute jar create java.xml.jar [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-08-30T06:27:59.524Z] GEN 06:27:59.207 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-08-30T06:27:59.524Z] STF 06:27:59.249 - [2025-08-30T06:27:59.524Z] STF 06:27:59.249 - Script generation completed [2025-08-30T06:27:59.524Z] STF 06:27:59.249 - [2025-08-30T06:27:59.524Z] STF 06:27:59.252 - [2025-08-30T06:27:59.524Z] STF 06:27:59.252 - ======================= S E T U P ======================= [2025-08-30T06:27:59.524Z] STF 06:27:59.252 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_PlatMod_1/20250830-062757-PatModImgTest/setUp.pl [2025-08-30T06:27:59.819Z] STF 06:27:59.614 - SETUP stage completed [2025-08-30T06:27:59.820Z] STF 06:27:59.662 - [2025-08-30T06:27:59.820Z] STF 06:27:59.663 - ==================== E X E C U T E - ==================== [2025-08-30T06:27:59.820Z] STF 06:27:59.663 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_PlatMod_1/20250830-062757-PatModImgTest/execute.pl [2025-08-30T06:28:00.114Z] STF 06:28:00.036 - [2025-08-30T06:28:00.114Z] STF 06:28:00.036 - Java version [2025-08-30T06:28:00.114Z] STF 06:28:00.036 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-30T06:28:00.114Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:00.409Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-30T06:28:00.409Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202508292308 (build 21.0.9-beta+5-ea) [2025-08-30T06:28:00.409Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202508292308 (build 21.0.9-beta+5-ea, mixed mode) [2025-08-30T06:28:00.409Z] STF 06:28:00.174 - [2025-08-30T06:28:00.409Z] STF 06:28:00.174 - +------ Step 1 - Create com.hello jar [2025-08-30T06:28:00.409Z] STF 06:28:00.174 - | Create modular jar [2025-08-30T06:28:00.409Z] STF 06:28:00.174 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-30T06:28:00.409Z] STF 06:28:00.174 - | ModuleVersion: null [2025-08-30T06:28:00.409Z] STF 06:28:00.174 - | MainClass: null [2025-08-30T06:28:00.409Z] STF 06:28:00.174 - | HashModules: null [2025-08-30T06:28:00.409Z] STF 06:28:00.175 - | [2025-08-30T06:28:00.410Z] STF 06:28:00.176 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-08-30T06:28:00.410Z] STF 06:28:00.176 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/1.CMJ.stderr [2025-08-30T06:28:00.410Z] STF 06:28:00.176 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/1.CMJ.stdout [2025-08-30T06:28:00.410Z] STF 06:28:00.244 - Monitoring processes: CMJ [2025-08-30T06:28:00.410Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:01.047Z] STF 06:28:00.681 - Monitoring Report Summary: [2025-08-30T06:28:01.047Z] STF 06:28:00.681 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - Created modular jar: 1.com.hello.jar [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - +------ Step 2 - Create com.hola jar [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - | Create modular jar [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - | ModuleVersion: null [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - | MainClass: null [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - | HashModules: null [2025-08-30T06:28:01.047Z] STF 06:28:00.682 - | [2025-08-30T06:28:01.047Z] STF 06:28:00.683 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-08-30T06:28:01.047Z] STF 06:28:00.683 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/2.CMJ.stderr [2025-08-30T06:28:01.047Z] STF 06:28:00.683 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/2.CMJ.stdout [2025-08-30T06:28:01.047Z] STF 06:28:00.691 - Monitoring processes: CMJ [2025-08-30T06:28:01.047Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:01.340Z] STF 06:28:01.117 - Monitoring Report Summary: [2025-08-30T06:28:01.340Z] STF 06:28:01.117 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - Created modular jar: 2.com.hola.jar [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - +------ Step 3 - Create com.helper jar [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - | Create modular jar [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - | ModuleVersion: null [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - | MainClass: null [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - | HashModules: null [2025-08-30T06:28:01.340Z] STF 06:28:01.118 - | [2025-08-30T06:28:01.340Z] STF 06:28:01.119 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-08-30T06:28:01.340Z] STF 06:28:01.119 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/3.CMJ.stderr [2025-08-30T06:28:01.340Z] STF 06:28:01.119 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/3.CMJ.stdout [2025-08-30T06:28:01.340Z] STF 06:28:01.127 - Monitoring processes: CMJ [2025-08-30T06:28:01.340Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:01.634Z] STF 06:28:01.551 - Monitoring Report Summary: [2025-08-30T06:28:01.634Z] STF 06:28:01.551 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:01.634Z] STF 06:28:01.552 - Created modular jar: 3.com.helper.jar [2025-08-30T06:28:01.634Z] STF 06:28:01.552 - [2025-08-30T06:28:01.634Z] STF 06:28:01.552 - +------ Step 4 - Create com.discreet jar [2025-08-30T06:28:01.634Z] STF 06:28:01.552 - | Create modular jar [2025-08-30T06:28:01.634Z] STF 06:28:01.552 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-30T06:28:01.634Z] STF 06:28:01.552 - | ModuleVersion: null [2025-08-30T06:28:01.634Z] STF 06:28:01.552 - | MainClass: null [2025-08-30T06:28:01.634Z] STF 06:28:01.552 - | HashModules: null [2025-08-30T06:28:01.634Z] STF 06:28:01.553 - | [2025-08-30T06:28:01.634Z] STF 06:28:01.553 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-08-30T06:28:01.634Z] STF 06:28:01.553 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/4.CMJ.stderr [2025-08-30T06:28:01.634Z] STF 06:28:01.553 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/4.CMJ.stdout [2025-08-30T06:28:01.634Z] STF 06:28:01.561 - Monitoring processes: CMJ [2025-08-30T06:28:01.928Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:02.223Z] STF 06:28:01.989 - Monitoring Report Summary: [2025-08-30T06:28:02.223Z] STF 06:28:01.989 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - Created modular jar: 4.com.discreet.jar [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - +------ Step 5 - Create tests jar [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - | Create modular jar [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - | ModuleVersion: null [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - | MainClass: null [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - | HashModules: null [2025-08-30T06:28:02.223Z] STF 06:28:01.990 - | [2025-08-30T06:28:02.223Z] STF 06:28:01.991 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-08-30T06:28:02.223Z] STF 06:28:01.991 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/5.CMJ.stderr [2025-08-30T06:28:02.223Z] STF 06:28:01.991 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/5.CMJ.stdout [2025-08-30T06:28:02.223Z] STF 06:28:02.000 - Monitoring processes: CMJ [2025-08-30T06:28:02.223Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:02.517Z] STF 06:28:02.445 - Monitoring Report Summary: [2025-08-30T06:28:02.517Z] STF 06:28:02.445 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:02.517Z] STF 06:28:02.446 - Created modular jar: 5.com.test.jar [2025-08-30T06:28:02.517Z] STF 06:28:02.446 - [2025-08-30T06:28:02.517Z] STF 06:28:02.446 - +------ Step 6 - Create runtime image for PatchModule test [2025-08-30T06:28:02.517Z] STF 06:28:02.446 - | Run jlink to create runtime image [2025-08-30T06:28:02.517Z] STF 06:28:02.446 - | ImageName: XpJVM [2025-08-30T06:28:02.517Z] STF 06:28:02.446 - | [2025-08-30T06:28:02.517Z] STF 06:28:02.447 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17565332672976\PatModImg_PlatMod_1\20250830-062757-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17565332672976\PatModImg_PlatMod_1\20250830-062757-PatModImgTest\tmp\6.XpJVM [2025-08-30T06:28:02.517Z] STF 06:28:02.447 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/6.JLNK.stderr [2025-08-30T06:28:02.517Z] STF 06:28:02.447 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/6.JLNK.stdout [2025-08-30T06:28:02.517Z] STF 06:28:02.454 - Monitoring processes: JLNK [2025-08-30T06:28:02.812Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:05.573Z] STF 06:28:04.882 - Monitoring Report Summary: [2025-08-30T06:28:05.573Z] STF 06:28:04.882 - o Process JLNK ended with the expected exit code (0) [2025-08-30T06:28:05.573Z] STF 06:28:04.883 - [2025-08-30T06:28:05.573Z] STF 06:28:04.883 - +------ Step 7 - Create com.hello jar [2025-08-30T06:28:05.573Z] STF 06:28:04.883 - | Create modular jar [2025-08-30T06:28:05.573Z] STF 06:28:04.883 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-08-30T06:28:05.573Z] STF 06:28:04.883 - | ModuleVersion: null [2025-08-30T06:28:05.573Z] STF 06:28:04.883 - | MainClass: null [2025-08-30T06:28:05.573Z] STF 06:28:04.883 - | HashModules: null [2025-08-30T06:28:05.573Z] STF 06:28:04.883 - | [2025-08-30T06:28:05.573Z] STF 06:28:04.884 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-08-30T06:28:05.573Z] STF 06:28:04.884 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/7.CMJ.stderr [2025-08-30T06:28:05.573Z] STF 06:28:04.884 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/7.CMJ.stdout [2025-08-30T06:28:05.573Z] STF 06:28:04.892 - Monitoring processes: CMJ [2025-08-30T06:28:05.573Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:05.573Z] STF 06:28:05.301 - Monitoring Report Summary: [2025-08-30T06:28:05.573Z] STF 06:28:05.302 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:05.573Z] STF 06:28:05.302 - Created modular jar: 7.com.hello.jar [2025-08-30T06:28:05.573Z] STF 06:28:05.302 - [2025-08-30T06:28:05.573Z] STF 06:28:05.302 - +------ Step 8 - create java.xml.jar [2025-08-30T06:28:05.573Z] STF 06:28:05.302 - | Create modular jar [2025-08-30T06:28:05.573Z] STF 06:28:05.303 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-08-30T06:28:05.573Z] STF 06:28:05.303 - | ModuleVersion: null [2025-08-30T06:28:05.573Z] STF 06:28:05.303 - | MainClass: null [2025-08-30T06:28:05.573Z] STF 06:28:05.303 - | HashModules: null [2025-08-30T06:28:05.573Z] STF 06:28:05.303 - | [2025-08-30T06:28:05.573Z] STF 06:28:05.303 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-08-30T06:28:05.573Z] STF 06:28:05.303 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/8.CMJ.stderr [2025-08-30T06:28:05.573Z] STF 06:28:05.303 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/8.CMJ.stdout [2025-08-30T06:28:05.573Z] STF 06:28:05.311 - Monitoring processes: CMJ [2025-08-30T06:28:05.573Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:05.876Z] STF 06:28:05.739 - Monitoring Report Summary: [2025-08-30T06:28:05.876Z] STF 06:28:05.739 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - Created modular jar: 8.java.xml.jar [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - | Run foreground process [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - | Mnemonic: OT11 [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - | Echo: ECHO_ON [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - | Expectation: CLEAN_RUN within 5m [2025-08-30T06:28:05.876Z] STF 06:28:05.740 - | [2025-08-30T06:28:05.876Z] STF 06:28:05.741 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml -XX:-UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-08-30T06:28:05.876Z] STF 06:28:05.741 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/9.OT11.stderr [2025-08-30T06:28:05.876Z] STF 06:28:05.741 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/9.OT11.stdout [2025-08-30T06:28:05.876Z] STF 06:28:05.767 - Monitoring processes: OT11 [2025-08-30T06:28:06.171Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:06.171Z] OT11 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml [2025-08-30T06:28:06.466Z] OT11 JUnit version 4.12 [2025-08-30T06:28:06.466Z] OT11 . [2025-08-30T06:28:06.466Z] OT11 Time: 0.015 [2025-08-30T06:28:06.466Z] OT11 [2025-08-30T06:28:06.466Z] OT11 OK (1 test) [2025-08-30T06:28:06.466Z] OT11 [2025-08-30T06:28:06.466Z] STF 06:28:06.300 - Monitoring Report Summary: [2025-08-30T06:28:06.466Z] STF 06:28:06.300 - o Process OT11 ended with the expected exit code (0) [2025-08-30T06:28:06.466Z] STF 06:28:06.301 - [2025-08-30T06:28:06.466Z] STF 06:28:06.301 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-08-30T06:28:06.466Z] STF 06:28:06.301 - | Run foreground process [2025-08-30T06:28:06.466Z] STF 06:28:06.301 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-30T06:28:06.466Z] STF 06:28:06.301 - | Mnemonic: OT12 [2025-08-30T06:28:06.466Z] STF 06:28:06.301 - | Echo: ECHO_ON [2025-08-30T06:28:06.466Z] STF 06:28:06.301 - | Expectation: CLEAN_RUN within 5m [2025-08-30T06:28:06.466Z] STF 06:28:06.302 - | [2025-08-30T06:28:06.466Z] STF 06:28:06.302 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/modules/8.java.xml.jar -XX:-UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-08-30T06:28:06.466Z] STF 06:28:06.302 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/10.OT12.stderr [2025-08-30T06:28:06.466Z] STF 06:28:06.302 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_PlatMod_1/20250830-062757-PatModImgTest/results/10.OT12.stdout [2025-08-30T06:28:06.466Z] STF 06:28:06.311 - Monitoring processes: OT12 [2025-08-30T06:28:06.466Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:06.760Z] OT12 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17565332672976\PatModImg_PlatMod_1\20250830-062757-PatModImgTest\modules\8.java.xml.jar [2025-08-30T06:28:06.760Z] OT12 JUnit version 4.12 [2025-08-30T06:28:06.760Z] OT12 . [2025-08-30T06:28:06.760Z] OT12 Time: 0.016 [2025-08-30T06:28:06.760Z] OT12 [2025-08-30T06:28:06.760Z] OT12 OK (1 test) [2025-08-30T06:28:06.760Z] OT12 [2025-08-30T06:28:06.760Z] STF 06:28:06.664 - Monitoring Report Summary: [2025-08-30T06:28:06.760Z] STF 06:28:06.664 - o Process OT12 ended with the expected exit code (0) [2025-08-30T06:28:06.760Z] STF 06:28:06.665 - EXECUTE stage completed [2025-08-30T06:28:06.760Z] STF 06:28:06.709 - [2025-08-30T06:28:06.760Z] STF 06:28:06.709 - ==================== T E A R D O W N ==================== [2025-08-30T06:28:06.760Z] STF 06:28:06.709 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_PlatMod_1/20250830-062757-PatModImgTest/tearDown.pl [2025-08-30T06:28:07.438Z] STF 06:28:07.082 - TEARDOWN stage completed [2025-08-30T06:28:07.438Z] STF 06:28:07.131 - [2025-08-30T06:28:07.438Z] STF 06:28:07.131 - ===================== R E S U L T S ===================== [2025-08-30T06:28:07.438Z] STF 06:28:07.131 - Stage results: [2025-08-30T06:28:07.438Z] STF 06:28:07.131 - setUp: pass [2025-08-30T06:28:07.438Z] STF 06:28:07.131 - execute: pass [2025-08-30T06:28:07.438Z] STF 06:28:07.131 - teardown: pass [2025-08-30T06:28:07.438Z] STF 06:28:07.131 - [2025-08-30T06:28:07.438Z] STF 06:28:07.131 - Overall result: PASSED [2025-08-30T06:28:07.438Z] ----------------------------------- [2025-08-30T06:28:07.438Z] PatModImg_PlatMod_1_PASSED [2025-08-30T06:28:07.438Z] ----------------------------------- [2025-08-30T06:28:07.438Z] [2025-08-30T06:28:07.438Z] TEST TEARDOWN: [2025-08-30T06:28:07.438Z] Nothing to be done for teardown. [2025-08-30T06:28:07.732Z] PatModImg_PlatMod_1 Finish Time: Sat Aug 30 06:28:07 2025 Epoch Time (ms): 1756535287582