PatModImg_PlatMod_0

[2025-11-20T04:54:08.869Z] Running test PatModImg_PlatMod_0 ... [2025-11-20T04:54:09.160Z] =============================================== [2025-11-20T04:54:09.453Z] PatModImg_PlatMod_0 Start Time: Thu Nov 20 04:54:09 2025 Epoch Time (ms): 1763614449277 [2025-11-20T04:54:09.762Z] variation: Mode150 [2025-11-20T04:54:09.762Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-11-20T04:54:09.762Z] { \ [2025-11-20T04:54:09.762Z] echo ""; echo "TEST SETUP:"; \ [2025-11-20T04:54:09.762Z] echo "Nothing to be done for setup."; \ [2025-11-20T04:54:09.762Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17636123384683\\PatModImg_PlatMod_0"; \ [2025-11-20T04:54:09.762Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17636123384683\\PatModImg_PlatMod_0"; \ [2025-11-20T04:54:09.762Z] echo ""; echo "TESTING:"; \ [2025-11-20T04:54:09.762Z] 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_17636123384683\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-11-20T04:54:09.762Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_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_17636123384683\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-20T04:54:09.762Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-20T04:54:09.762Z] echo "Nothing to be done for teardown."; \ [2025-11-20T04:54:09.762Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17636123384683\\TestTargetResult"; [2025-11-20T04:54:10.054Z] [2025-11-20T04:54:10.054Z] TEST SETUP: [2025-11-20T04:54:10.054Z] Nothing to be done for setup. [2025-11-20T04:54:10.054Z] [2025-11-20T04:54:10.054Z] TESTING: [2025-11-20T04:54:10.351Z] STF 04:54:10.288 - ========================= S T F ========================= [2025-11-20T04:54:10.351Z] 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_17636123384683\PatModImg_PlatMod_0 [2025-11-20T04:54:10.643Z] There is 13626 Mb free [2025-11-20T04:54:10.643Z] STF 04:54:10.367 - ================== G E N E R A T I O N ================== [2025-11-20T04:54:10.643Z] STF 04:54:10.372 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-11-20T04:54:10.644Z] STF 04:54:10.372 - 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_17636123384683\PatModImg_PlatMod_0/20251120-045410-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_17636123384683\PatModImg_PlatMod_0/20251120-045410-PatModImgTest" [2025-11-20T04:54:10.644Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:11.682Z] GEN 04:54:11.578 - 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-11-20T04:54:11.682Z] GEN 04:54:11.594 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-11-20T04:54:11.972Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-20T04:54:11.972Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] 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-11-20T04:54:11.973Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-11-20T04:54:11.973Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-11-20T04:54:11.973Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-20T04:54:11.973Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-20T04:54:11.973Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-20T04:54:11.973Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-20T04:54:11.973Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-20T04:54:11.973Z] GEN 04:54:11.837 - Using Mode NoOptions. Values = '' [2025-11-20T04:54:12.270Z] GEN 04:54:12.016 - [2025-11-20T04:54:12.270Z] GEN 04:54:12.016 - Test command summary: [2025-11-20T04:54:12.270Z] GEN 04:54:12.016 - Step Stage Command Description [2025-11-20T04:54:12.270Z] GEN 04:54:12.016 - -----+--------+-----------------+------------ [2025-11-20T04:54:12.270Z] GEN 04:54:12.016 - 1 execute jar Create com.hello jar [2025-11-20T04:54:12.270Z] GEN 04:54:12.016 - 2 execute jar Create com.hola jar [2025-11-20T04:54:12.270Z] GEN 04:54:12.016 - 3 execute jar Create com.helper jar [2025-11-20T04:54:12.270Z] GEN 04:54:12.016 - 4 execute jar Create com.discreet jar [2025-11-20T04:54:12.270Z] GEN 04:54:12.017 - 5 execute jar Create tests jar [2025-11-20T04:54:12.270Z] GEN 04:54:12.017 - 6 execute jlink Create runtime image for PatchModule test [2025-11-20T04:54:12.270Z] GEN 04:54:12.017 - 7 execute jar Create com.hello jar [2025-11-20T04:54:12.270Z] GEN 04:54:12.017 - 8 execute jar create java.xml.jar [2025-11-20T04:54:12.270Z] GEN 04:54:12.017 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-11-20T04:54:12.270Z] GEN 04:54:12.017 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-11-20T04:54:12.270Z] STF 04:54:12.080 - [2025-11-20T04:54:12.270Z] STF 04:54:12.080 - Script generation completed [2025-11-20T04:54:12.270Z] STF 04:54:12.080 - [2025-11-20T04:54:12.270Z] STF 04:54:12.082 - [2025-11-20T04:54:12.270Z] STF 04:54:12.082 - ======================= S E T U P ======================= [2025-11-20T04:54:12.270Z] STF 04:54:12.082 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17636123384683\PatModImg_PlatMod_0/20251120-045410-PatModImgTest/setUp.pl [2025-11-20T04:54:12.567Z] STF 04:54:12.455 - SETUP stage completed [2025-11-20T04:54:12.567Z] STF 04:54:12.485 - [2025-11-20T04:54:12.567Z] STF 04:54:12.485 - ==================== E X E C U T E - ==================== [2025-11-20T04:54:12.567Z] STF 04:54:12.485 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17636123384683\PatModImg_PlatMod_0/20251120-045410-PatModImgTest/execute.pl [2025-11-20T04:54:13.208Z] STF 04:54:12.859 - [2025-11-20T04:54:13.208Z] STF 04:54:12.859 - Java version [2025-11-20T04:54:13.208Z] STF 04:54:12.859 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-11-20T04:54:13.208Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:13.208Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-11-20T04:54:13.208Z] OpenJDK Runtime Environment Temurin-21.0.10+3-202511192007 (build 21.0.10-beta+3-ea) [2025-11-20T04:54:13.208Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+3-202511192007 (build 21.0.10-beta+3-ea, mixed mode) [2025-11-20T04:54:13.208Z] STF 04:54:12.982 - [2025-11-20T04:54:13.208Z] STF 04:54:12.982 - +------ Step 1 - Create com.hello jar [2025-11-20T04:54:13.208Z] STF 04:54:12.982 - | Create modular jar [2025-11-20T04:54:13.208Z] STF 04:54:12.982 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-11-20T04:54:13.208Z] STF 04:54:12.982 - | ModuleVersion: null [2025-11-20T04:54:13.208Z] STF 04:54:12.982 - | MainClass: null [2025-11-20T04:54:13.208Z] STF 04:54:12.983 - | HashModules: null [2025-11-20T04:54:13.208Z] STF 04:54:12.983 - | [2025-11-20T04:54:13.208Z] STF 04:54:12.984 - 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_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:13.208Z] STF 04:54:12.984 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/1.CMJ.stderr [2025-11-20T04:54:13.208Z] STF 04:54:12.984 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/1.CMJ.stdout [2025-11-20T04:54:13.208Z] STF 04:54:13.052 - Monitoring processes: CMJ [2025-11-20T04:54:13.208Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:13.501Z] STF 04:54:13.467 - Monitoring Report Summary: [2025-11-20T04:54:13.501Z] STF 04:54:13.467 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:54:13.501Z] STF 04:54:13.468 - Created modular jar: 1.com.hello.jar [2025-11-20T04:54:13.501Z] STF 04:54:13.468 - [2025-11-20T04:54:13.501Z] STF 04:54:13.468 - +------ Step 2 - Create com.hola jar [2025-11-20T04:54:13.501Z] STF 04:54:13.468 - | Create modular jar [2025-11-20T04:54:13.501Z] STF 04:54:13.469 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-11-20T04:54:13.501Z] STF 04:54:13.469 - | ModuleVersion: null [2025-11-20T04:54:13.501Z] STF 04:54:13.469 - | MainClass: null [2025-11-20T04:54:13.501Z] STF 04:54:13.469 - | HashModules: null [2025-11-20T04:54:13.501Z] STF 04:54:13.469 - | [2025-11-20T04:54:13.501Z] STF 04:54:13.469 - 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_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:13.501Z] STF 04:54:13.469 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/2.CMJ.stderr [2025-11-20T04:54:13.501Z] STF 04:54:13.469 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/2.CMJ.stdout [2025-11-20T04:54:13.501Z] STF 04:54:13.482 - Monitoring processes: CMJ [2025-11-20T04:54:13.793Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:14.087Z] STF 04:54:13.893 - Monitoring Report Summary: [2025-11-20T04:54:14.087Z] STF 04:54:13.894 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:54:14.087Z] STF 04:54:13.894 - Created modular jar: 2.com.hola.jar [2025-11-20T04:54:14.087Z] STF 04:54:13.894 - [2025-11-20T04:54:14.087Z] STF 04:54:13.894 - +------ Step 3 - Create com.helper jar [2025-11-20T04:54:14.087Z] STF 04:54:13.895 - | Create modular jar [2025-11-20T04:54:14.087Z] STF 04:54:13.895 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-11-20T04:54:14.087Z] STF 04:54:13.895 - | ModuleVersion: null [2025-11-20T04:54:14.087Z] STF 04:54:13.895 - | MainClass: null [2025-11-20T04:54:14.087Z] STF 04:54:13.895 - | HashModules: null [2025-11-20T04:54:14.087Z] STF 04:54:13.895 - | [2025-11-20T04:54:14.087Z] STF 04:54:13.895 - 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_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:14.087Z] STF 04:54:13.895 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/3.CMJ.stderr [2025-11-20T04:54:14.087Z] STF 04:54:13.896 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/3.CMJ.stdout [2025-11-20T04:54:14.087Z] STF 04:54:13.903 - Monitoring processes: CMJ [2025-11-20T04:54:14.087Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:14.387Z] STF 04:54:14.294 - Monitoring Report Summary: [2025-11-20T04:54:14.387Z] STF 04:54:14.294 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - Created modular jar: 3.com.helper.jar [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - +------ Step 4 - Create com.discreet jar [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - | Create modular jar [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - | ModuleVersion: null [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - | MainClass: null [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - | HashModules: null [2025-11-20T04:54:14.387Z] STF 04:54:14.295 - | [2025-11-20T04:54:14.387Z] STF 04:54:14.296 - 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_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:14.387Z] STF 04:54:14.296 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/4.CMJ.stderr [2025-11-20T04:54:14.387Z] STF 04:54:14.296 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/4.CMJ.stdout [2025-11-20T04:54:14.387Z] STF 04:54:14.304 - Monitoring processes: CMJ [2025-11-20T04:54:14.387Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:15.029Z] STF 04:54:14.706 - Monitoring Report Summary: [2025-11-20T04:54:15.029Z] STF 04:54:14.706 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:54:15.029Z] STF 04:54:14.707 - Created modular jar: 4.com.discreet.jar [2025-11-20T04:54:15.029Z] STF 04:54:14.707 - [2025-11-20T04:54:15.029Z] STF 04:54:14.707 - +------ Step 5 - Create tests jar [2025-11-20T04:54:15.029Z] STF 04:54:14.707 - | Create modular jar [2025-11-20T04:54:15.029Z] STF 04:54:14.707 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-11-20T04:54:15.029Z] STF 04:54:14.707 - | ModuleVersion: null [2025-11-20T04:54:15.029Z] STF 04:54:14.707 - | MainClass: null [2025-11-20T04:54:15.029Z] STF 04:54:14.708 - | HashModules: null [2025-11-20T04:54:15.029Z] STF 04:54:14.708 - | [2025-11-20T04:54:15.029Z] STF 04:54:14.708 - 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_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:15.029Z] STF 04:54:14.708 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/5.CMJ.stderr [2025-11-20T04:54:15.029Z] STF 04:54:14.708 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/5.CMJ.stdout [2025-11-20T04:54:15.029Z] STF 04:54:14.715 - Monitoring processes: CMJ [2025-11-20T04:54:15.029Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:15.416Z] STF 04:54:15.137 - Monitoring Report Summary: [2025-11-20T04:54:15.416Z] STF 04:54:15.138 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:54:15.416Z] STF 04:54:15.138 - Created modular jar: 5.com.test.jar [2025-11-20T04:54:15.416Z] STF 04:54:15.139 - [2025-11-20T04:54:15.416Z] STF 04:54:15.139 - +------ Step 6 - Create runtime image for PatchModule test [2025-11-20T04:54:15.416Z] STF 04:54:15.139 - | Run jlink to create runtime image [2025-11-20T04:54:15.416Z] STF 04:54:15.139 - | ImageName: XpJVM [2025-11-20T04:54:15.416Z] STF 04:54:15.139 - | [2025-11-20T04:54:15.416Z] STF 04:54:15.139 - 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_17636123384683\PatModImg_PlatMod_0\20251120-045410-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_17636123384683\PatModImg_PlatMod_0\20251120-045410-PatModImgTest\tmp\6.XpJVM [2025-11-20T04:54:15.416Z] STF 04:54:15.140 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/6.JLNK.stderr [2025-11-20T04:54:15.416Z] STF 04:54:15.140 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/6.JLNK.stdout [2025-11-20T04:54:15.416Z] STF 04:54:15.227 - Monitoring processes: JLNK [2025-11-20T04:54:15.416Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:18.954Z] STF 04:54:18.272 - Monitoring Report Summary: [2025-11-20T04:54:18.954Z] STF 04:54:18.272 - o Process JLNK ended with the expected exit code (0) [2025-11-20T04:54:18.954Z] STF 04:54:18.273 - [2025-11-20T04:54:18.954Z] STF 04:54:18.273 - +------ Step 7 - Create com.hello jar [2025-11-20T04:54:18.954Z] STF 04:54:18.273 - | Create modular jar [2025-11-20T04:54:18.954Z] STF 04:54:18.273 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-20T04:54:18.954Z] STF 04:54:18.273 - | ModuleVersion: null [2025-11-20T04:54:18.954Z] STF 04:54:18.273 - | MainClass: null [2025-11-20T04:54:18.954Z] STF 04:54:18.273 - | HashModules: null [2025-11-20T04:54:18.954Z] STF 04:54:18.273 - | [2025-11-20T04:54:18.954Z] STF 04:54:18.274 - 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_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:18.954Z] STF 04:54:18.274 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/7.CMJ.stderr [2025-11-20T04:54:18.954Z] STF 04:54:18.274 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/7.CMJ.stdout [2025-11-20T04:54:18.954Z] STF 04:54:18.287 - Monitoring processes: CMJ [2025-11-20T04:54:18.954Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:18.954Z] STF 04:54:18.747 - Monitoring Report Summary: [2025-11-20T04:54:18.954Z] STF 04:54:18.747 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - Created modular jar: 7.com.hello.jar [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - +------ Step 8 - create java.xml.jar [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - | Create modular jar [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - | ModuleVersion: null [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - | MainClass: null [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - | HashModules: null [2025-11-20T04:54:18.954Z] STF 04:54:18.748 - | [2025-11-20T04:54:18.954Z] STF 04:54:18.749 - 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_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:18.954Z] STF 04:54:18.749 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/8.CMJ.stderr [2025-11-20T04:54:18.954Z] STF 04:54:18.749 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/8.CMJ.stdout [2025-11-20T04:54:18.954Z] STF 04:54:18.756 - Monitoring processes: CMJ [2025-11-20T04:54:18.954Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:19.244Z] STF 04:54:19.178 - Monitoring Report Summary: [2025-11-20T04:54:19.244Z] STF 04:54:19.178 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - Created modular jar: 8.java.xml.jar [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - | Run foreground process [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - | Mnemonic: OT11 [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - | Echo: ECHO_ON [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - | Expectation: CLEAN_RUN within 5m [2025-11-20T04:54:19.244Z] STF 04:54:19.179 - | [2025-11-20T04:54:19.244Z] STF 04:54:19.180 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:19.244Z] STF 04:54:19.180 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/9.OT11.stderr [2025-11-20T04:54:19.244Z] STF 04:54:19.180 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/9.OT11.stdout [2025-11-20T04:54:19.244Z] STF 04:54:19.205 - Monitoring processes: OT11 [2025-11-20T04:54:19.536Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:19.537Z] 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-11-20T04:54:19.828Z] OT11 JUnit version 4.12 [2025-11-20T04:54:19.828Z] OT11 . [2025-11-20T04:54:19.828Z] OT11 Time: 0.006 [2025-11-20T04:54:19.828Z] OT11 [2025-11-20T04:54:19.828Z] OT11 OK (1 test) [2025-11-20T04:54:19.828Z] OT11 [2025-11-20T04:54:19.828Z] STF 04:54:19.667 - Monitoring Report Summary: [2025-11-20T04:54:19.828Z] STF 04:54:19.667 - o Process OT11 ended with the expected exit code (0) [2025-11-20T04:54:19.828Z] STF 04:54:19.668 - [2025-11-20T04:54:19.828Z] STF 04:54:19.668 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-11-20T04:54:19.828Z] STF 04:54:19.668 - | Run foreground process [2025-11-20T04:54:19.828Z] STF 04:54:19.668 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-20T04:54:19.828Z] STF 04:54:19.668 - | Mnemonic: OT12 [2025-11-20T04:54:19.828Z] STF 04:54:19.668 - | Echo: ECHO_ON [2025-11-20T04:54:19.828Z] STF 04:54:19.668 - | Expectation: CLEAN_RUN within 5m [2025-11-20T04:54:19.828Z] STF 04:54:19.668 - | [2025-11-20T04:54:19.828Z] STF 04:54:19.669 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-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_17636123384683/PatModImg_PlatMod_0/20251120-045410-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-11-20T04:54:19.828Z] STF 04:54:19.669 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/10.OT12.stderr [2025-11-20T04:54:19.828Z] STF 04:54:19.669 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17636123384683/PatModImg_PlatMod_0/20251120-045410-PatModImgTest/results/10.OT12.stdout [2025-11-20T04:54:19.828Z] STF 04:54:19.677 - Monitoring processes: OT12 [2025-11-20T04:54:19.828Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:54:20.120Z] 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_17636123384683\PatModImg_PlatMod_0\20251120-045410-PatModImgTest\modules\8.java.xml.jar [2025-11-20T04:54:20.120Z] OT12 JUnit version 4.12 [2025-11-20T04:54:20.120Z] OT12 . [2025-11-20T04:54:20.120Z] OT12 Time: 0.006 [2025-11-20T04:54:20.120Z] OT12 [2025-11-20T04:54:20.120Z] OT12 OK (1 test) [2025-11-20T04:54:20.120Z] OT12 [2025-11-20T04:54:20.120Z] STF 04:54:20.033 - Monitoring Report Summary: [2025-11-20T04:54:20.120Z] STF 04:54:20.033 - o Process OT12 ended with the expected exit code (0) [2025-11-20T04:54:20.120Z] STF 04:54:20.034 - EXECUTE stage completed [2025-11-20T04:54:20.120Z] STF 04:54:20.078 - [2025-11-20T04:54:20.120Z] STF 04:54:20.078 - ==================== T E A R D O W N ==================== [2025-11-20T04:54:20.120Z] STF 04:54:20.078 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17636123384683\PatModImg_PlatMod_0/20251120-045410-PatModImgTest/tearDown.pl [2025-11-20T04:54:20.750Z] STF 04:54:20.447 - TEARDOWN stage completed [2025-11-20T04:54:20.750Z] STF 04:54:20.475 - [2025-11-20T04:54:20.750Z] STF 04:54:20.475 - ===================== R E S U L T S ===================== [2025-11-20T04:54:20.750Z] STF 04:54:20.475 - Stage results: [2025-11-20T04:54:20.750Z] STF 04:54:20.475 - setUp: pass [2025-11-20T04:54:20.750Z] STF 04:54:20.475 - execute: pass [2025-11-20T04:54:20.750Z] STF 04:54:20.475 - teardown: pass [2025-11-20T04:54:20.750Z] STF 04:54:20.475 - [2025-11-20T04:54:20.750Z] STF 04:54:20.475 - Overall result: PASSED [2025-11-20T04:54:20.750Z] ----------------------------------- [2025-11-20T04:54:20.750Z] PatModImg_PlatMod_0_PASSED [2025-11-20T04:54:20.750Z] ----------------------------------- [2025-11-20T04:54:20.750Z] [2025-11-20T04:54:20.750Z] TEST TEARDOWN: [2025-11-20T04:54:20.750Z] Nothing to be done for teardown. [2025-11-20T04:54:21.040Z] PatModImg_PlatMod_0 Finish Time: Thu Nov 20 04:54:20 2025 Epoch Time (ms): 1763614460865