PatMod_AppMod_0

[2024-12-23T10:28:22.153Z] Running test PatMod_AppMod_0 ... [2024-12-23T10:28:22.446Z] =============================================== [2024-12-23T10:28:22.836Z] PatMod_AppMod_0 Start Time: Mon Dec 23 10:28:22 2024 Epoch Time (ms): 1734949702457 [2024-12-23T10:28:22.836Z] variation: Mode150 [2024-12-23T10:28:23.129Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-12-23T10:28:23.129Z] { \ [2024-12-23T10:28:23.129Z] echo ""; echo "TEST SETUP:"; \ [2024-12-23T10:28:23.129Z] echo "Nothing to be done for setup."; \ [2024-12-23T10:28:23.129Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17349492297993\\PatMod_AppMod_0"; \ [2024-12-23T10:28:23.129Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17349492297993\\PatMod_AppMod_0"; \ [2024-12-23T10:28:23.129Z] echo ""; echo "TESTING:"; \ [2024-12-23T10:28:23.129Z] perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17349492297993\\PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2024-12-23T10:28:23.129Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17349492297993\\PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-23T10:28:23.129Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-23T10:28:23.129Z] echo "Nothing to be done for teardown."; \ [2024-12-23T10:28:23.129Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17349492297993\\TestTargetResult"; [2024-12-23T10:28:23.519Z] [2024-12-23T10:28:23.519Z] TEST SETUP: [2024-12-23T10:28:23.519Z] Nothing to be done for setup. [2024-12-23T10:28:23.519Z] [2024-12-23T10:28:23.519Z] TESTING: [2024-12-23T10:28:23.824Z] STF 10:28:23.536 - ========================= S T F ========================= [2024-12-23T10:28:23.824Z] 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_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_0 [2024-12-23T10:28:23.824Z] There is 30369 Mb free [2024-12-23T10:28:23.824Z] STF 10:28:23.608 - ================== G E N E R A T I O N ================== [2024-12-23T10:28:23.824Z] STF 10:28:23.613 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image [2024-12-23T10:28:23.824Z] STF 10:28:23.614 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_0/20241223-102823-PatModTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_0/20241223-102823-PatModTest" [2024-12-23T10:28:25.352Z] GEN 10:28:24.875 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-12-23T10:28:25.352Z] GEN 10:28:24.903 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-12-23T10:28:25.352Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-23T10:28:25.352Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-12-23T10:28:25.352Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-12-23T10:28:25.352Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-12-23T10:28:25.352Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-12-23T10:28:25.352Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-12-23T10:28:25.352Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-12-23T10:28:25.352Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-12-23T10:28:25.353Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-12-23T10:28:25.353Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-12-23T10:28:25.353Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-12-23T10:28:25.353Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-12-23T10:28:25.353Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-12-23T10:28:25.353Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-12-23T10:28:25.353Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-12-23T10:28:25.353Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-12-23T10:28:25.353Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-12-23T10:28:25.353Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-23T10:28:25.353Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-23T10:28:25.353Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-23T10:28:25.353Z] GEN 10:28:25.124 - Using Mode NoOptions. Values = '' [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - Test command summary: [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - Step Stage Command Description [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - -----+--------+-----------------+------------ [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - 1 execute jar Create com.hello jar [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - 2 execute jar Create com.discreet jar [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - 3 execute jar create java.xml.jar [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-12-23T10:28:25.353Z] GEN 10:28:25.220 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-12-23T10:28:25.353Z] STF 10:28:25.277 - [2024-12-23T10:28:25.353Z] STF 10:28:25.277 - Script generation completed [2024-12-23T10:28:25.353Z] STF 10:28:25.277 - [2024-12-23T10:28:25.353Z] STF 10:28:25.279 - [2024-12-23T10:28:25.353Z] STF 10:28:25.279 - ======================= S E T U P ======================= [2024-12-23T10:28:25.353Z] STF 10:28:25.279 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_0/20241223-102823-PatModTest/setUp.pl [2024-12-23T10:28:26.001Z] STF 10:28:25.630 - SETUP stage completed [2024-12-23T10:28:26.001Z] STF 10:28:25.679 - [2024-12-23T10:28:26.001Z] STF 10:28:25.679 - ==================== E X E C U T E - ==================== [2024-12-23T10:28:26.001Z] STF 10:28:25.679 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_0/20241223-102823-PatModTest/execute.pl [2024-12-23T10:28:26.307Z] STF 10:28:26.036 - [2024-12-23T10:28:26.307Z] STF 10:28:26.037 - Java version [2024-12-23T10:28:26.307Z] STF 10:28:26.037 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version [2024-12-23T10:28:26.307Z] openjdk version "25-beta" 2025-09-16 [2024-12-23T10:28:26.307Z] OpenJDK Runtime Environment Temurin-25+3-202412192139 (build 25-beta+3-ea) [2024-12-23T10:28:26.307Z] OpenJDK 64-Bit Server VM Temurin-25+3-202412192139 (build 25-beta+3-ea, mixed mode) [2024-12-23T10:28:26.307Z] STF 10:28:26.158 - [2024-12-23T10:28:26.307Z] STF 10:28:26.159 - +------ Step 1 - Create com.hello jar [2024-12-23T10:28:26.307Z] STF 10:28:26.159 - | Create modular jar [2024-12-23T10:28:26.307Z] STF 10:28:26.159 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-12-23T10:28:26.307Z] STF 10:28:26.159 - | ModuleVersion: null [2024-12-23T10:28:26.307Z] STF 10:28:26.159 - | MainClass: null [2024-12-23T10:28:26.308Z] STF 10:28:26.159 - | HashModules: null [2024-12-23T10:28:26.308Z] STF 10:28:26.159 - | [2024-12-23T10:28:26.308Z] STF 10:28:26.160 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-12-23T10:28:26.308Z] STF 10:28:26.160 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/1.CMJ.stderr [2024-12-23T10:28:26.308Z] STF 10:28:26.160 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/1.CMJ.stdout [2024-12-23T10:28:26.308Z] STF 10:28:26.227 - Monitoring processes: CMJ [2024-12-23T10:28:26.957Z] STF 10:28:26.631 - Monitoring Report Summary: [2024-12-23T10:28:26.957Z] STF 10:28:26.632 - o Process CMJ ended with the expected exit code (0) [2024-12-23T10:28:26.957Z] STF 10:28:26.632 - Created modular jar: 1.com.hello.jar [2024-12-23T10:28:26.957Z] STF 10:28:26.632 - [2024-12-23T10:28:26.957Z] STF 10:28:26.632 - +------ Step 2 - Create com.discreet jar [2024-12-23T10:28:26.957Z] STF 10:28:26.632 - | Create modular jar [2024-12-23T10:28:26.957Z] STF 10:28:26.632 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-12-23T10:28:26.957Z] STF 10:28:26.633 - | ModuleVersion: null [2024-12-23T10:28:26.957Z] STF 10:28:26.633 - | MainClass: null [2024-12-23T10:28:26.957Z] STF 10:28:26.633 - | HashModules: null [2024-12-23T10:28:26.957Z] STF 10:28:26.633 - | [2024-12-23T10:28:26.957Z] STF 10:28:26.633 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/modules/2.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2024-12-23T10:28:26.957Z] STF 10:28:26.633 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/2.CMJ.stderr [2024-12-23T10:28:26.957Z] STF 10:28:26.633 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/2.CMJ.stdout [2024-12-23T10:28:26.957Z] STF 10:28:26.641 - Monitoring processes: CMJ [2024-12-23T10:28:27.261Z] STF 10:28:27.051 - Monitoring Report Summary: [2024-12-23T10:28:27.261Z] STF 10:28:27.051 - o Process CMJ ended with the expected exit code (0) [2024-12-23T10:28:27.261Z] STF 10:28:27.052 - Created modular jar: 2.com.discreet.jar [2024-12-23T10:28:27.261Z] STF 10:28:27.052 - [2024-12-23T10:28:27.261Z] STF 10:28:27.052 - +------ Step 3 - create java.xml.jar [2024-12-23T10:28:27.262Z] STF 10:28:27.052 - | Create modular jar [2024-12-23T10:28:27.262Z] STF 10:28:27.052 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-12-23T10:28:27.262Z] STF 10:28:27.052 - | ModuleVersion: null [2024-12-23T10:28:27.262Z] STF 10:28:27.052 - | MainClass: null [2024-12-23T10:28:27.262Z] STF 10:28:27.052 - | HashModules: null [2024-12-23T10:28:27.262Z] STF 10:28:27.052 - | [2024-12-23T10:28:27.262Z] STF 10:28:27.046 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/modules/3.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-12-23T10:28:27.262Z] STF 10:28:27.047 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/3.CMJ.stderr [2024-12-23T10:28:27.262Z] STF 10:28:27.047 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/3.CMJ.stdout [2024-12-23T10:28:27.262Z] STF 10:28:27.055 - Monitoring processes: CMJ [2024-12-23T10:28:27.567Z] STF 10:28:27.464 - Monitoring Report Summary: [2024-12-23T10:28:27.567Z] STF 10:28:27.464 - o Process CMJ ended with the expected exit code (0) [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - Created modular jar: 3.java.xml.jar [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - | Run foreground process [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - | Mnemonic: OT21 [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - | Echo: ECHO_ON [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - | Expectation: CLEAN_RUN within 1m [2024-12-23T10:28:27.567Z] STF 10:28:27.465 - | [2024-12-23T10:28:27.567Z] STF 10:28:27.466 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -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.TestOverrideUsingAppModule [2024-12-23T10:28:27.567Z] STF 10:28:27.466 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/4.OT21.stderr [2024-12-23T10:28:27.567Z] STF 10:28:27.466 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/4.OT21.stdout [2024-12-23T10:28:27.567Z] STF 10:28:27.473 - Monitoring processes: OT21 [2024-12-23T10:28:27.871Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-12-23T10:28:27.871Z] OT21 JUnit version 4.12 [2024-12-23T10:28:28.176Z] OT21 . [2024-12-23T10:28:28.176Z] OT21 Time: 0.008 [2024-12-23T10:28:28.176Z] OT21 [2024-12-23T10:28:28.176Z] OT21 OK (1 test) [2024-12-23T10:28:28.176Z] OT21 [2024-12-23T10:28:28.176Z] STF 10:28:27.957 - Monitoring Report Summary: [2024-12-23T10:28:28.176Z] STF 10:28:27.957 - o Process OT21 ended with the expected exit code (0) [2024-12-23T10:28:28.176Z] STF 10:28:27.958 - [2024-12-23T10:28:28.176Z] STF 10:28:27.958 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-12-23T10:28:28.176Z] STF 10:28:27.958 - | Run foreground process [2024-12-23T10:28:28.176Z] STF 10:28:27.958 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2024-12-23T10:28:28.176Z] STF 10:28:27.958 - | Mnemonic: OT22 [2024-12-23T10:28:28.176Z] STF 10:28:27.958 - | Echo: ECHO_ON [2024-12-23T10:28:28.176Z] STF 10:28:27.958 - | Expectation: CLEAN_RUN within 1m [2024-12-23T10:28:28.176Z] STF 10:28:27.958 - | [2024-12-23T10:28:28.176Z] STF 10:28:27.959 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/modules/1.com.hello.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.TestOverrideUsingAppModule [2024-12-23T10:28:28.176Z] STF 10:28:27.959 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/5.OT22.stderr [2024-12-23T10:28:28.176Z] STF 10:28:27.959 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_0/20241223-102823-PatModTest/results/5.OT22.stdout [2024-12-23T10:28:28.176Z] STF 10:28:27.967 - Monitoring processes: OT22 [2024-12-23T10:28:28.481Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17349492297993\PatMod_AppMod_0\20241223-102823-PatModTest\modules\1.com.hello.jar [2024-12-23T10:28:28.481Z] OT22 JUnit version 4.12 [2024-12-23T10:28:28.481Z] OT22 . [2024-12-23T10:28:28.481Z] OT22 Time: 0.007 [2024-12-23T10:28:28.481Z] OT22 [2024-12-23T10:28:28.481Z] OT22 OK (1 test) [2024-12-23T10:28:28.481Z] OT22 [2024-12-23T10:28:28.786Z] STF 10:28:28.442 - Monitoring Report Summary: [2024-12-23T10:28:28.786Z] STF 10:28:28.442 - o Process OT22 ended with the expected exit code (0) [2024-12-23T10:28:28.786Z] STF 10:28:28.443 - EXECUTE stage completed [2024-12-23T10:28:28.786Z] STF 10:28:28.486 - [2024-12-23T10:28:28.786Z] STF 10:28:28.486 - ==================== T E A R D O W N ==================== [2024-12-23T10:28:28.786Z] STF 10:28:28.486 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_0/20241223-102823-PatModTest/tearDown.pl [2024-12-23T10:28:29.147Z] STF 10:28:28.845 - TEARDOWN stage completed [2024-12-23T10:28:29.147Z] STF 10:28:28.893 - [2024-12-23T10:28:29.147Z] STF 10:28:28.894 - ===================== R E S U L T S ===================== [2024-12-23T10:28:29.147Z] STF 10:28:28.894 - Stage results: [2024-12-23T10:28:29.147Z] STF 10:28:28.894 - setUp: pass [2024-12-23T10:28:29.147Z] STF 10:28:28.894 - execute: pass [2024-12-23T10:28:29.147Z] STF 10:28:28.894 - teardown: pass [2024-12-23T10:28:29.147Z] STF 10:28:28.894 - [2024-12-23T10:28:29.147Z] STF 10:28:28.894 - Overall result: PASSED [2024-12-23T10:28:29.147Z] ----------------------------------- [2024-12-23T10:28:29.147Z] PatMod_AppMod_0_PASSED [2024-12-23T10:28:29.147Z] ----------------------------------- [2024-12-23T10:28:29.147Z] [2024-12-23T10:28:29.147Z] TEST TEARDOWN: [2024-12-23T10:28:29.147Z] Nothing to be done for teardown. [2024-12-23T10:28:29.455Z] PatMod_AppMod_0 Finish Time: Mon Dec 23 10:28:29 2024 Epoch Time (ms): 1734949709282