PatMod_PlatMod_1

[2025-03-27T21:18:18.816Z] Running test PatMod_PlatMod_1 ... [2025-03-27T21:18:19.139Z] =============================================== [2025-03-27T21:18:19.517Z] PatMod_PlatMod_1 Start Time: Thu Mar 27 21:18:19 2025 Epoch Time (ms): 1743110299293 [2025-03-27T21:18:19.822Z] variation: Mode650 [2025-03-27T21:18:20.127Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-03-27T21:18:20.127Z] { \ [2025-03-27T21:18:20.127Z] echo ""; echo "TEST SETUP:"; \ [2025-03-27T21:18:20.127Z] echo "Nothing to be done for setup."; \ [2025-03-27T21:18:20.127Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17431020968032\\PatMod_PlatMod_1"; \ [2025-03-27T21:18:20.127Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17431020968032\\PatMod_PlatMod_1"; \ [2025-03-27T21:18:20.127Z] echo ""; echo "TESTING:"; \ [2025-03-27T21:18:20.127Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17431020968032\\PatMod_PlatMod_1" -test=PatModTest -test-args="variant=PlatMod"; \ [2025-03-27T21:18:20.127Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17431020968032\\PatMod_PlatMod_1"; else echo "-----------------------------------"; echo "PatMod_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-27T21:18:20.127Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-27T21:18:20.127Z] echo "Nothing to be done for teardown."; \ [2025-03-27T21:18:20.127Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17431020968032\\TestTargetResult"; [2025-03-27T21:18:20.430Z] [2025-03-27T21:18:20.430Z] TEST SETUP: [2025-03-27T21:18:20.430Z] Nothing to be done for setup. [2025-03-27T21:18:20.430Z] [2025-03-27T21:18:20.430Z] TESTING: [2025-03-27T21:18:20.733Z] STF 21:18:20.699 - ========================= S T F ========================= [2025-03-27T21:18:20.733Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17431020968032\PatMod_PlatMod_1 [2025-03-27T21:18:21.036Z] There is 14425 Mb free [2025-03-27T21:18:21.036Z] STF 21:18:20.782 - ================== G E N E R A T I O N ================== [2025-03-27T21:18:21.036Z] STF 21:18:20.787 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image [2025-03-27T21:18:21.036Z] STF 21:18:20.788 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/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/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17431020968032\PatMod_PlatMod_1/20250327-211820-PatModTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17431020968032\PatMod_PlatMod_1/20250327-211820-PatModTest" [2025-03-27T21:18:21.036Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-03-27T21:18:22.593Z] GEN 21:18:22.184 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-03-27T21:18:22.593Z] GEN 21:18:22.199 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-03-27T21:18:22.593Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-03-27T21:18:22.593Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-03-27T21:18:22.593Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-03-27T21:18:22.593Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-03-27T21:18:22.593Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-03-27T21:18:22.593Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-03-27T21:18:22.593Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-03-27T21:18:22.593Z] GEN 21:18:22.465 - Using Mode NoOptions. Values = '' [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - Test command summary: [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - Step Stage Command Description [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - -----+--------+-----------------+------------ [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - 1 execute jar Create com.hello jar [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - 2 execute jar Create com.discreet jar [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - 3 execute jar create java.xml.jar [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - 4 execute Run java Verify if we can Patch an upgradable platform module using exploded directoryy [2025-03-27T21:18:22.896Z] GEN 21:18:22.574 - 5 execute Run java Verify if we can Patch an upgradable platform module using modular jar [2025-03-27T21:18:22.896Z] STF 21:18:22.659 - [2025-03-27T21:18:22.896Z] STF 21:18:22.659 - Script generation completed [2025-03-27T21:18:22.896Z] STF 21:18:22.659 - [2025-03-27T21:18:22.896Z] STF 21:18:22.661 - [2025-03-27T21:18:22.896Z] STF 21:18:22.661 - ======================= S E T U P ======================= [2025-03-27T21:18:22.896Z] STF 21:18:22.661 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17431020968032\PatMod_PlatMod_1/20250327-211820-PatModTest/setUp.pl [2025-03-27T21:18:23.198Z] STF 21:18:23.059 - SETUP stage completed [2025-03-27T21:18:23.198Z] STF 21:18:23.088 - [2025-03-27T21:18:23.198Z] STF 21:18:23.089 - ==================== E X E C U T E - ==================== [2025-03-27T21:18:23.198Z] STF 21:18:23.089 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17431020968032\PatMod_PlatMod_1/20250327-211820-PatModTest/execute.pl [2025-03-27T21:18:23.853Z] STF 21:18:23.512 - [2025-03-27T21:18:23.853Z] STF 21:18:23.512 - Java version [2025-03-27T21:18:23.853Z] STF 21:18:23.512 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-03-27T21:18:23.853Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-03-27T21:18:23.853Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-03-27T21:18:23.853Z] OpenJDK Runtime Environment Temurin-21.0.7+5-202503262009 (build 21.0.7-beta+5-ea) [2025-03-27T21:18:23.853Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+5-202503262009 (build 21.0.7-beta+5-ea, mixed mode) [2025-03-27T21:18:23.853Z] STF 21:18:23.652 - [2025-03-27T21:18:23.853Z] STF 21:18:23.653 - +------ Step 1 - Create com.hello jar [2025-03-27T21:18:23.853Z] STF 21:18:23.653 - | Create modular jar [2025-03-27T21:18:23.853Z] STF 21:18:23.653 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-03-27T21:18:23.853Z] STF 21:18:23.653 - | ModuleVersion: null [2025-03-27T21:18:23.853Z] STF 21:18:23.653 - | MainClass: null [2025-03-27T21:18:23.853Z] STF 21:18:23.653 - | HashModules: null [2025-03-27T21:18:23.853Z] STF 21:18:23.653 - | [2025-03-27T21:18:23.853Z] STF 21:18:23.654 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-03-27T21:18:23.853Z] STF 21:18:23.654 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/1.CMJ.stderr [2025-03-27T21:18:23.853Z] STF 21:18:23.654 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/1.CMJ.stdout [2025-03-27T21:18:23.853Z] STF 21:18:23.726 - Monitoring processes: CMJ [2025-03-27T21:18:23.853Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-03-27T21:18:24.511Z] STF 21:18:24.204 - Monitoring Report Summary: [2025-03-27T21:18:24.512Z] STF 21:18:24.204 - o Process CMJ ended with the expected exit code (0) [2025-03-27T21:18:24.512Z] STF 21:18:24.205 - Created modular jar: 1.com.hello.jar [2025-03-27T21:18:24.512Z] STF 21:18:24.205 - [2025-03-27T21:18:24.512Z] STF 21:18:24.205 - +------ Step 2 - Create com.discreet jar [2025-03-27T21:18:24.512Z] STF 21:18:24.205 - | Create modular jar [2025-03-27T21:18:24.512Z] STF 21:18:24.205 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-03-27T21:18:24.512Z] STF 21:18:24.205 - | ModuleVersion: null [2025-03-27T21:18:24.512Z] STF 21:18:24.205 - | MainClass: null [2025-03-27T21:18:24.512Z] STF 21:18:24.205 - | HashModules: null [2025-03-27T21:18:24.512Z] STF 21:18:24.206 - | [2025-03-27T21:18:24.512Z] STF 21:18:24.206 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/modules/2.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2025-03-27T21:18:24.512Z] STF 21:18:24.206 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/2.CMJ.stderr [2025-03-27T21:18:24.512Z] STF 21:18:24.206 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/2.CMJ.stdout [2025-03-27T21:18:24.512Z] STF 21:18:24.216 - Monitoring processes: CMJ [2025-03-27T21:18:24.512Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-03-27T21:18:24.816Z] STF 21:18:24.682 - Monitoring Report Summary: [2025-03-27T21:18:24.816Z] STF 21:18:24.682 - o Process CMJ ended with the expected exit code (0) [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - Created modular jar: 2.com.discreet.jar [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - +------ Step 3 - create java.xml.jar [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - | Create modular jar [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - | ModuleVersion: null [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - | MainClass: null [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - | HashModules: null [2025-03-27T21:18:24.816Z] STF 21:18:24.683 - | [2025-03-27T21:18:24.816Z] STF 21:18:24.684 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/modules/3.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-03-27T21:18:24.816Z] STF 21:18:24.684 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/3.CMJ.stderr [2025-03-27T21:18:24.816Z] STF 21:18:24.684 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/3.CMJ.stdout [2025-03-27T21:18:24.816Z] STF 21:18:24.693 - Monitoring processes: CMJ [2025-03-27T21:18:24.816Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-03-27T21:18:25.473Z] STF 21:18:25.172 - Monitoring Report Summary: [2025-03-27T21:18:25.473Z] STF 21:18:25.172 - o Process CMJ ended with the expected exit code (0) [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - Created modular jar: 3.java.xml.jar [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - +------ Step 4 - Verify if we can Patch an upgradable platform module using exploded directoryy [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - | Run foreground process [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - | Mnemonic: OT11 [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - | Echo: ECHO_ON [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - | Expectation: CLEAN_RUN within 1m [2025-03-27T21:18:25.473Z] STF 21:18:25.175 - | [2025-03-27T21:18:25.473Z] STF 21:18:25.176 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module java.xml=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-03-27T21:18:25.473Z] STF 21:18:25.176 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/4.OT11.stderr [2025-03-27T21:18:25.473Z] STF 21:18:25.176 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/4.OT11.stdout [2025-03-27T21:18:25.473Z] STF 21:18:25.186 - Monitoring processes: OT11 [2025-03-27T21:18:25.473Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-03-27T21:18:25.473Z] OT11 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml [2025-03-27T21:18:25.777Z] OT11 JUnit version 4.12 [2025-03-27T21:18:25.778Z] OT11 . [2025-03-27T21:18:25.778Z] OT11 Time: 0 [2025-03-27T21:18:25.778Z] OT11 [2025-03-27T21:18:25.778Z] OT11 OK (1 test) [2025-03-27T21:18:25.778Z] OT11 [2025-03-27T21:18:25.778Z] STF 21:18:25.687 - Monitoring Report Summary: [2025-03-27T21:18:25.778Z] STF 21:18:25.687 - o Process OT11 ended with the expected exit code (0) [2025-03-27T21:18:25.778Z] STF 21:18:25.688 - [2025-03-27T21:18:25.778Z] STF 21:18:25.689 - +------ Step 5 - Verify if we can Patch an upgradable platform module using modular jar [2025-03-27T21:18:25.778Z] STF 21:18:25.689 - | Run foreground process [2025-03-27T21:18:25.778Z] STF 21:18:25.689 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2025-03-27T21:18:25.778Z] STF 21:18:25.689 - | Mnemonic: OT12 [2025-03-27T21:18:25.778Z] STF 21:18:25.689 - | Echo: ECHO_ON [2025-03-27T21:18:25.778Z] STF 21:18:25.689 - | Expectation: CLEAN_RUN within 1m [2025-03-27T21:18:25.778Z] STF 21:18:25.689 - | [2025-03-27T21:18:25.778Z] STF 21:18:25.690 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module java.xml=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/modules/3.java.xml.jar -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-03-27T21:18:25.778Z] STF 21:18:25.690 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/5.OT12.stderr [2025-03-27T21:18:25.778Z] STF 21:18:25.690 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17431020968032/PatMod_PlatMod_1/20250327-211820-PatModTest/results/5.OT12.stdout [2025-03-27T21:18:25.778Z] STF 21:18:25.702 - Monitoring processes: OT12 [2025-03-27T21:18:25.778Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-03-27T21:18:26.082Z] OT12 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17431020968032\PatMod_PlatMod_1\20250327-211820-PatModTest\modules\3.java.xml.jar [2025-03-27T21:18:26.385Z] OT12 JUnit version 4.12 [2025-03-27T21:18:26.385Z] OT12 . [2025-03-27T21:18:26.385Z] OT12 Time: 0 [2025-03-27T21:18:26.385Z] OT12 [2025-03-27T21:18:26.385Z] OT12 OK (1 test) [2025-03-27T21:18:26.385Z] OT12 [2025-03-27T21:18:26.385Z] STF 21:18:26.200 - Monitoring Report Summary: [2025-03-27T21:18:26.385Z] STF 21:18:26.200 - o Process OT12 ended with the expected exit code (0) [2025-03-27T21:18:26.385Z] STF 21:18:26.202 - EXECUTE stage completed [2025-03-27T21:18:26.385Z] STF 21:18:26.282 - [2025-03-27T21:18:26.386Z] STF 21:18:26.282 - ==================== T E A R D O W N ==================== [2025-03-27T21:18:26.386Z] STF 21:18:26.282 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17431020968032\PatMod_PlatMod_1/20250327-211820-PatModTest/tearDown.pl [2025-03-27T21:18:27.041Z] STF 21:18:26.684 - TEARDOWN stage completed [2025-03-27T21:18:27.042Z] STF 21:18:26.717 - [2025-03-27T21:18:27.042Z] STF 21:18:26.717 - ===================== R E S U L T S ===================== [2025-03-27T21:18:27.042Z] STF 21:18:26.717 - Stage results: [2025-03-27T21:18:27.042Z] STF 21:18:26.717 - setUp: pass [2025-03-27T21:18:27.042Z] STF 21:18:26.717 - execute: pass [2025-03-27T21:18:27.042Z] STF 21:18:26.717 - teardown: pass [2025-03-27T21:18:27.042Z] STF 21:18:26.717 - [2025-03-27T21:18:27.042Z] STF 21:18:26.717 - Overall result: PASSED [2025-03-27T21:18:27.042Z] ----------------------------------- [2025-03-27T21:18:27.042Z] PatMod_PlatMod_1_PASSED [2025-03-27T21:18:27.042Z] ----------------------------------- [2025-03-27T21:18:27.042Z] [2025-03-27T21:18:27.042Z] TEST TEARDOWN: [2025-03-27T21:18:27.042Z] Nothing to be done for teardown. [2025-03-27T21:18:27.415Z] PatMod_PlatMod_1 Finish Time: Thu Mar 27 21:18:27 2025 Epoch Time (ms): 1743110307199