PatModImg_PlatMod_0

[2025-08-27T23:02:41.382Z] Running test PatModImg_PlatMod_0 ... [2025-08-27T23:02:41.675Z] =============================================== [2025-08-27T23:02:41.968Z] PatModImg_PlatMod_0 Start Time: Wed Aug 27 23:02:41 2025 Epoch Time (ms): 1756335761731 [2025-08-27T23:02:41.968Z] variation: Mode150 [2025-08-27T23:02:42.271Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-27T23:02:42.271Z] { \ [2025-08-27T23:02:42.271Z] echo ""; echo "TEST SETUP:"; \ [2025-08-27T23:02:42.271Z] echo "Nothing to be done for setup."; \ [2025-08-27T23:02:42.271Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\PatModImg_PlatMod_0"; \ [2025-08-27T23:02:42.271Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\PatModImg_PlatMod_0"; \ [2025-08-27T23:02:42.271Z] echo ""; echo "TESTING:"; \ [2025-08-27T23:02:42.272Z] 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_17563337628859\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-08-27T23:02:42.272Z] 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_17563337628859\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-27T23:02:42.272Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-27T23:02:42.272Z] echo "Nothing to be done for teardown."; \ [2025-08-27T23:02:42.272Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\TestTargetResult"; [2025-08-27T23:02:42.564Z] [2025-08-27T23:02:42.564Z] TEST SETUP: [2025-08-27T23:02:42.564Z] Nothing to be done for setup. [2025-08-27T23:02:42.564Z] [2025-08-27T23:02:42.564Z] TESTING: [2025-08-27T23:02:42.857Z] STF 23:02:42.778 - ========================= S T F ========================= [2025-08-27T23:02:42.858Z] 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_17563337628859\PatModImg_PlatMod_0 [2025-08-27T23:02:43.151Z] There is 19452 Mb free [2025-08-27T23:02:43.151Z] STF 23:02:42.860 - ================== G E N E R A T I O N ================== [2025-08-27T23:02:43.151Z] STF 23:02:42.865 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-27T23:02:43.151Z] STF 23:02:42.866 - 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_17563337628859\PatModImg_PlatMod_0/20250827-230242-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_17563337628859\PatModImg_PlatMod_0/20250827-230242-PatModImgTest" [2025-08-27T23:02:43.151Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:44.190Z] GEN 23:02:44.106 - 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-27T23:02:44.190Z] GEN 23:02:44.122 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-08-27T23:02:44.485Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] 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-27T23:02:44.485Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-08-27T23:02:44.485Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-27T23:02:44.485Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-27T23:02:44.485Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-27T23:02:44.485Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-27T23:02:44.485Z] GEN 23:02:44.388 - Using Mode NoOptions. Values = '' [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - Test command summary: [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - Step Stage Command Description [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - -----+--------+-----------------+------------ [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 1 execute jar Create com.hello jar [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 2 execute jar Create com.hola jar [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 3 execute jar Create com.helper jar [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 4 execute jar Create com.discreet jar [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 5 execute jar Create tests jar [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 6 execute jlink Create runtime image for PatchModule test [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 7 execute jar Create com.hello jar [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 8 execute jar create java.xml.jar [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-08-27T23:02:44.779Z] GEN 23:02:44.560 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-08-27T23:02:44.779Z] STF 23:02:44.611 - [2025-08-27T23:02:44.779Z] STF 23:02:44.611 - Script generation completed [2025-08-27T23:02:44.779Z] STF 23:02:44.611 - [2025-08-27T23:02:44.779Z] STF 23:02:44.613 - [2025-08-27T23:02:44.779Z] STF 23:02:44.613 - ======================= S E T U P ======================= [2025-08-27T23:02:44.779Z] STF 23:02:44.613 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatModImg_PlatMod_0/20250827-230242-PatModImgTest/setUp.pl [2025-08-27T23:02:45.072Z] STF 23:02:44.981 - SETUP stage completed [2025-08-27T23:02:45.072Z] STF 23:02:45.033 - [2025-08-27T23:02:45.072Z] STF 23:02:45.033 - ==================== E X E C U T E - ==================== [2025-08-27T23:02:45.072Z] STF 23:02:45.033 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatModImg_PlatMod_0/20250827-230242-PatModImgTest/execute.pl [2025-08-27T23:02:45.707Z] STF 23:02:45.435 - [2025-08-27T23:02:45.707Z] STF 23:02:45.435 - Java version [2025-08-27T23:02:45.707Z] STF 23:02:45.435 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-27T23:02:45.707Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:45.707Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-27T23:02:45.707Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202508271902 (build 21.0.9-beta+5-ea) [2025-08-27T23:02:45.707Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202508271902 (build 21.0.9-beta+5-ea, mixed mode) [2025-08-27T23:02:45.707Z] STF 23:02:45.574 - [2025-08-27T23:02:45.707Z] STF 23:02:45.574 - +------ Step 1 - Create com.hello jar [2025-08-27T23:02:45.707Z] STF 23:02:45.574 - | Create modular jar [2025-08-27T23:02:45.707Z] STF 23:02:45.574 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-27T23:02:45.707Z] STF 23:02:45.574 - | ModuleVersion: null [2025-08-27T23:02:45.707Z] STF 23:02:45.575 - | MainClass: null [2025-08-27T23:02:45.707Z] STF 23:02:45.575 - | HashModules: null [2025-08-27T23:02:45.707Z] STF 23:02:45.575 - | [2025-08-27T23:02:45.707Z] STF 23:02:45.576 - 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_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:45.707Z] STF 23:02:45.576 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/1.CMJ.stderr [2025-08-27T23:02:45.707Z] STF 23:02:45.576 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/1.CMJ.stdout [2025-08-27T23:02:45.707Z] STF 23:02:45.646 - Monitoring processes: CMJ [2025-08-27T23:02:45.707Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:46.348Z] STF 23:02:46.096 - Monitoring Report Summary: [2025-08-27T23:02:46.348Z] STF 23:02:46.096 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - Created modular jar: 1.com.hello.jar [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - +------ Step 2 - Create com.hola jar [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - | Create modular jar [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - | ModuleVersion: null [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - | MainClass: null [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - | HashModules: null [2025-08-27T23:02:46.348Z] STF 23:02:46.097 - | [2025-08-27T23:02:46.348Z] STF 23:02:46.098 - 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_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:46.348Z] STF 23:02:46.098 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/2.CMJ.stderr [2025-08-27T23:02:46.348Z] STF 23:02:46.098 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/2.CMJ.stdout [2025-08-27T23:02:46.348Z] STF 23:02:46.108 - Monitoring processes: CMJ [2025-08-27T23:02:46.348Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:46.646Z] STF 23:02:46.547 - Monitoring Report Summary: [2025-08-27T23:02:46.646Z] STF 23:02:46.547 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:46.646Z] STF 23:02:46.548 - Created modular jar: 2.com.hola.jar [2025-08-27T23:02:46.646Z] STF 23:02:46.548 - [2025-08-27T23:02:46.647Z] STF 23:02:46.548 - +------ Step 3 - Create com.helper jar [2025-08-27T23:02:46.647Z] STF 23:02:46.548 - | Create modular jar [2025-08-27T23:02:46.647Z] STF 23:02:46.548 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-27T23:02:46.647Z] STF 23:02:46.548 - | ModuleVersion: null [2025-08-27T23:02:46.647Z] STF 23:02:46.548 - | MainClass: null [2025-08-27T23:02:46.647Z] STF 23:02:46.548 - | HashModules: null [2025-08-27T23:02:46.647Z] STF 23:02:46.548 - | [2025-08-27T23:02:46.647Z] STF 23:02:46.549 - 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_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:46.647Z] STF 23:02:46.549 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/3.CMJ.stderr [2025-08-27T23:02:46.647Z] STF 23:02:46.549 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/3.CMJ.stdout [2025-08-27T23:02:46.647Z] STF 23:02:46.557 - Monitoring processes: CMJ [2025-08-27T23:02:46.647Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:47.328Z] STF 23:02:47.000 - Monitoring Report Summary: [2025-08-27T23:02:47.328Z] STF 23:02:47.000 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:47.328Z] STF 23:02:47.001 - Created modular jar: 3.com.helper.jar [2025-08-27T23:02:47.328Z] STF 23:02:47.001 - [2025-08-27T23:02:47.328Z] STF 23:02:47.001 - +------ Step 4 - Create com.discreet jar [2025-08-27T23:02:47.328Z] STF 23:02:47.001 - | Create modular jar [2025-08-27T23:02:47.328Z] STF 23:02:47.001 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-27T23:02:47.328Z] STF 23:02:47.001 - | ModuleVersion: null [2025-08-27T23:02:47.328Z] STF 23:02:47.002 - | MainClass: null [2025-08-27T23:02:47.328Z] STF 23:02:47.002 - | HashModules: null [2025-08-27T23:02:47.328Z] STF 23:02:47.002 - | [2025-08-27T23:02:47.328Z] STF 23:02:47.002 - 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_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:47.328Z] STF 23:02:47.002 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/4.CMJ.stderr [2025-08-27T23:02:47.328Z] STF 23:02:47.002 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/4.CMJ.stdout [2025-08-27T23:02:47.328Z] STF 23:02:47.010 - Monitoring processes: CMJ [2025-08-27T23:02:47.328Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:47.623Z] STF 23:02:47.468 - Monitoring Report Summary: [2025-08-27T23:02:47.623Z] STF 23:02:47.469 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:47.623Z] STF 23:02:47.469 - Created modular jar: 4.com.discreet.jar [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - +------ Step 5 - Create tests jar [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - | Create modular jar [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - | ModuleVersion: null [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - | MainClass: null [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - | HashModules: null [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - | [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - 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_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:47.623Z] STF 23:02:47.470 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/5.CMJ.stderr [2025-08-27T23:02:47.623Z] STF 23:02:47.470 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/5.CMJ.stdout [2025-08-27T23:02:47.623Z] STF 23:02:47.479 - Monitoring processes: CMJ [2025-08-27T23:02:47.623Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:48.260Z] STF 23:02:47.937 - Monitoring Report Summary: [2025-08-27T23:02:48.260Z] STF 23:02:47.937 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:48.260Z] STF 23:02:47.938 - Created modular jar: 5.com.test.jar [2025-08-27T23:02:48.260Z] STF 23:02:47.938 - [2025-08-27T23:02:48.260Z] STF 23:02:47.938 - +------ Step 6 - Create runtime image for PatchModule test [2025-08-27T23:02:48.260Z] STF 23:02:47.938 - | Run jlink to create runtime image [2025-08-27T23:02:48.260Z] STF 23:02:47.938 - | ImageName: XpJVM [2025-08-27T23:02:48.260Z] STF 23:02:47.938 - | [2025-08-27T23:02:48.260Z] STF 23:02:47.939 - 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_17563337628859\PatModImg_PlatMod_0\20250827-230242-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_17563337628859\PatModImg_PlatMod_0\20250827-230242-PatModImgTest\tmp\6.XpJVM [2025-08-27T23:02:48.260Z] STF 23:02:47.939 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/6.JLNK.stderr [2025-08-27T23:02:48.260Z] STF 23:02:47.939 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/6.JLNK.stdout [2025-08-27T23:02:48.260Z] STF 23:02:48.028 - Monitoring processes: JLNK [2025-08-27T23:02:48.260Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:51.821Z] STF 23:02:51.264 - Monitoring Report Summary: [2025-08-27T23:02:51.821Z] STF 23:02:51.264 - o Process JLNK ended with the expected exit code (0) [2025-08-27T23:02:51.821Z] STF 23:02:51.265 - [2025-08-27T23:02:51.821Z] STF 23:02:51.265 - +------ Step 7 - Create com.hello jar [2025-08-27T23:02:51.821Z] STF 23:02:51.265 - | Create modular jar [2025-08-27T23:02:51.821Z] STF 23:02:51.265 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-08-27T23:02:51.821Z] STF 23:02:51.265 - | ModuleVersion: null [2025-08-27T23:02:51.821Z] STF 23:02:51.265 - | MainClass: null [2025-08-27T23:02:51.821Z] STF 23:02:51.265 - | HashModules: null [2025-08-27T23:02:51.821Z] STF 23:02:51.265 - | [2025-08-27T23:02:51.821Z] STF 23:02:51.266 - 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_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:51.821Z] STF 23:02:51.266 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/7.CMJ.stderr [2025-08-27T23:02:51.821Z] STF 23:02:51.266 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/7.CMJ.stdout [2025-08-27T23:02:51.821Z] STF 23:02:51.280 - Monitoring processes: CMJ [2025-08-27T23:02:51.821Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:52.113Z] STF 23:02:51.763 - Monitoring Report Summary: [2025-08-27T23:02:52.113Z] STF 23:02:51.763 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - Created modular jar: 7.com.hello.jar [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - +------ Step 8 - create java.xml.jar [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - | Create modular jar [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - | ModuleVersion: null [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - | MainClass: null [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - | HashModules: null [2025-08-27T23:02:52.113Z] STF 23:02:51.764 - | [2025-08-27T23:02:52.113Z] STF 23:02:51.765 - 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_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:52.113Z] STF 23:02:51.765 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/8.CMJ.stderr [2025-08-27T23:02:52.113Z] STF 23:02:51.765 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/8.CMJ.stdout [2025-08-27T23:02:52.113Z] STF 23:02:51.773 - Monitoring processes: CMJ [2025-08-27T23:02:52.114Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:52.408Z] STF 23:02:52.232 - Monitoring Report Summary: [2025-08-27T23:02:52.408Z] STF 23:02:52.232 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - Created modular jar: 8.java.xml.jar [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - | Run foreground process [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - | Mnemonic: OT11 [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - | Echo: ECHO_ON [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - | Expectation: CLEAN_RUN within 5m [2025-08-27T23:02:52.408Z] STF 23:02:52.233 - | [2025-08-27T23:02:52.408Z] STF 23:02:52.234 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:52.408Z] STF 23:02:52.234 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/9.OT11.stderr [2025-08-27T23:02:52.408Z] STF 23:02:52.234 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/9.OT11.stdout [2025-08-27T23:02:52.408Z] STF 23:02:52.268 - Monitoring processes: OT11 [2025-08-27T23:02:52.702Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:52.702Z] 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-27T23:02:52.995Z] OT11 JUnit version 4.12 [2025-08-27T23:02:52.995Z] OT11 . [2025-08-27T23:02:52.995Z] OT11 Time: 0 [2025-08-27T23:02:52.995Z] OT11 [2025-08-27T23:02:52.995Z] OT11 OK (1 test) [2025-08-27T23:02:52.995Z] OT11 [2025-08-27T23:02:52.995Z] STF 23:02:52.829 - Monitoring Report Summary: [2025-08-27T23:02:52.995Z] STF 23:02:52.829 - o Process OT11 ended with the expected exit code (0) [2025-08-27T23:02:52.995Z] STF 23:02:52.830 - [2025-08-27T23:02:52.995Z] STF 23:02:52.830 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-08-27T23:02:52.995Z] STF 23:02:52.830 - | Run foreground process [2025-08-27T23:02:52.995Z] STF 23:02:52.830 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-27T23:02:52.995Z] STF 23:02:52.830 - | Mnemonic: OT12 [2025-08-27T23:02:52.995Z] STF 23:02:52.830 - | Echo: ECHO_ON [2025-08-27T23:02:52.995Z] STF 23:02:52.830 - | Expectation: CLEAN_RUN within 5m [2025-08-27T23:02:52.995Z] STF 23:02:52.830 - | [2025-08-27T23:02:52.995Z] STF 23:02:52.831 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-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_17563337628859/PatModImg_PlatMod_0/20250827-230242-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-27T23:02:52.995Z] STF 23:02:52.831 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/10.OT12.stderr [2025-08-27T23:02:52.995Z] STF 23:02:52.831 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatModImg_PlatMod_0/20250827-230242-PatModImgTest/results/10.OT12.stdout [2025-08-27T23:02:52.995Z] STF 23:02:52.841 - Monitoring processes: OT12 [2025-08-27T23:02:52.995Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:53.288Z] 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_17563337628859\PatModImg_PlatMod_0\20250827-230242-PatModImgTest\modules\8.java.xml.jar [2025-08-27T23:02:53.288Z] OT12 JUnit version 4.12 [2025-08-27T23:02:53.288Z] OT12 . [2025-08-27T23:02:53.288Z] OT12 Time: 0 [2025-08-27T23:02:53.288Z] OT12 [2025-08-27T23:02:53.288Z] OT12 OK (1 test) [2025-08-27T23:02:53.288Z] OT12 [2025-08-27T23:02:53.288Z] STF 23:02:53.231 - Monitoring Report Summary: [2025-08-27T23:02:53.288Z] STF 23:02:53.231 - o Process OT12 ended with the expected exit code (0) [2025-08-27T23:02:53.288Z] STF 23:02:53.232 - EXECUTE stage completed [2025-08-27T23:02:53.581Z] STF 23:02:53.359 - [2025-08-27T23:02:53.581Z] STF 23:02:53.359 - ==================== T E A R D O W N ==================== [2025-08-27T23:02:53.581Z] STF 23:02:53.359 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatModImg_PlatMod_0/20250827-230242-PatModImgTest/tearDown.pl [2025-08-27T23:02:53.874Z] STF 23:02:53.747 - TEARDOWN stage completed [2025-08-27T23:02:53.874Z] STF 23:02:53.796 - [2025-08-27T23:02:53.874Z] STF 23:02:53.796 - ===================== R E S U L T S ===================== [2025-08-27T23:02:53.874Z] STF 23:02:53.796 - Stage results: [2025-08-27T23:02:53.874Z] STF 23:02:53.796 - setUp: pass [2025-08-27T23:02:53.874Z] STF 23:02:53.796 - execute: pass [2025-08-27T23:02:53.874Z] STF 23:02:53.796 - teardown: pass [2025-08-27T23:02:53.874Z] STF 23:02:53.796 - [2025-08-27T23:02:53.874Z] STF 23:02:53.796 - Overall result: PASSED [2025-08-27T23:02:53.874Z] ----------------------------------- [2025-08-27T23:02:53.874Z] PatModImg_PlatMod_0_PASSED [2025-08-27T23:02:53.874Z] ----------------------------------- [2025-08-27T23:02:54.167Z] [2025-08-27T23:02:54.167Z] TEST TEARDOWN: [2025-08-27T23:02:54.167Z] Nothing to be done for teardown. [2025-08-27T23:02:54.460Z] PatModImg_PlatMod_0 Finish Time: Wed Aug 27 23:02:54 2025 Epoch Time (ms): 1756335774216