PatMod_AppMod_1

[2024-12-23T10:28:30.138Z] Running test PatMod_AppMod_1 ... [2024-12-23T10:28:30.431Z] =============================================== [2024-12-23T10:28:30.724Z] PatMod_AppMod_1 Start Time: Mon Dec 23 10:28:30 2024 Epoch Time (ms): 1734949710501 [2024-12-23T10:28:31.017Z] variation: Mode650 [2024-12-23T10:28:31.409Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-12-23T10:28:31.409Z] { \ [2024-12-23T10:28:31.409Z] echo ""; echo "TEST SETUP:"; \ [2024-12-23T10:28:31.409Z] echo "Nothing to be done for setup."; \ [2024-12-23T10:28:31.409Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17349492297993\\PatMod_AppMod_1"; \ [2024-12-23T10:28:31.409Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17349492297993\\PatMod_AppMod_1"; \ [2024-12-23T10:28:31.409Z] echo ""; echo "TESTING:"; \ [2024-12-23T10:28:31.409Z] 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_1" -test=PatModTest -test-args="variant=AppMod"; \ [2024-12-23T10:28:31.409Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_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_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-23T10:28:31.409Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-23T10:28:31.409Z] echo "Nothing to be done for teardown."; \ [2024-12-23T10:28:31.409Z] } 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:31.409Z] [2024-12-23T10:28:31.409Z] TEST SETUP: [2024-12-23T10:28:31.409Z] Nothing to be done for setup. [2024-12-23T10:28:31.409Z] [2024-12-23T10:28:31.409Z] TESTING: [2024-12-23T10:28:32.060Z] STF 10:28:31.688 - ========================= S T F ========================= [2024-12-23T10:28:32.060Z] 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_1 [2024-12-23T10:28:32.060Z] There is 30373 Mb free [2024-12-23T10:28:32.060Z] STF 10:28:31.766 - ================== G E N E R A T I O N ================== [2024-12-23T10:28:32.060Z] STF 10:28:31.771 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image [2024-12-23T10:28:32.060Z] STF 10:28:31.771 - 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_1/20241223-102831-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_1/20241223-102831-PatModTest" [2024-12-23T10:28:33.589Z] GEN 10:28:33.120 - 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:33.589Z] GEN 10:28:33.152 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-12-23T10:28:33.589Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-23T10:28:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] 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:33.589Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-12-23T10:28:33.589Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-12-23T10:28:33.589Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-23T10:28:33.589Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-23T10:28:33.589Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-23T10:28:33.589Z] GEN 10:28:33.411 - Using Mode NoOptions. Values = '' [2024-12-23T10:28:33.589Z] GEN 10:28:33.509 - [2024-12-23T10:28:33.589Z] GEN 10:28:33.510 - Test command summary: [2024-12-23T10:28:33.589Z] GEN 10:28:33.510 - Step Stage Command Description [2024-12-23T10:28:33.589Z] GEN 10:28:33.510 - -----+--------+-----------------+------------ [2024-12-23T10:28:33.589Z] GEN 10:28:33.510 - 1 execute jar Create com.hello jar [2024-12-23T10:28:33.589Z] GEN 10:28:33.510 - 2 execute jar Create com.discreet jar [2024-12-23T10:28:33.589Z] GEN 10:28:33.510 - 3 execute jar create java.xml.jar [2024-12-23T10:28:33.589Z] GEN 10:28:33.510 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-12-23T10:28:33.589Z] GEN 10:28:33.510 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-12-23T10:28:33.895Z] STF 10:28:33.567 - [2024-12-23T10:28:33.895Z] STF 10:28:33.567 - Script generation completed [2024-12-23T10:28:33.895Z] STF 10:28:33.567 - [2024-12-23T10:28:33.895Z] STF 10:28:33.570 - [2024-12-23T10:28:33.895Z] STF 10:28:33.570 - ======================= S E T U P ======================= [2024-12-23T10:28:33.895Z] STF 10:28:33.570 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_1/20241223-102831-PatModTest/setUp.pl [2024-12-23T10:28:34.200Z] STF 10:28:33.952 - SETUP stage completed [2024-12-23T10:28:34.200Z] STF 10:28:34.000 - [2024-12-23T10:28:34.200Z] STF 10:28:34.000 - ==================== E X E C U T E - ==================== [2024-12-23T10:28:34.200Z] STF 10:28:34.000 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_1/20241223-102831-PatModTest/execute.pl [2024-12-23T10:28:34.506Z] STF 10:28:34.373 - [2024-12-23T10:28:34.506Z] STF 10:28:34.374 - Java version [2024-12-23T10:28:34.506Z] STF 10:28:34.374 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version [2024-12-23T10:28:34.813Z] STF 10:28:34.501 - [2024-12-23T10:28:34.813Z] STF 10:28:34.501 - +------ Step 1 - Create com.hello jar [2024-12-23T10:28:34.813Z] STF 10:28:34.501 - | Create modular jar [2024-12-23T10:28:34.813Z] STF 10:28:34.501 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-12-23T10:28:34.813Z] STF 10:28:34.501 - | ModuleVersion: null [2024-12-23T10:28:34.813Z] STF 10:28:34.501 - | MainClass: null [2024-12-23T10:28:34.813Z] STF 10:28:34.502 - | HashModules: null [2024-12-23T10:28:34.813Z] STF 10:28:34.502 - | [2024-12-23T10:28:34.813Z] STF 10:28:34.503 - 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_1/20241223-102831-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:34.813Z] STF 10:28:34.504 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/1.CMJ.stderr [2024-12-23T10:28:34.813Z] STF 10:28:34.504 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/1.CMJ.stdout [2024-12-23T10:28:34.813Z] openjdk version "25-beta" 2025-09-16 [2024-12-23T10:28:34.813Z] OpenJDK Runtime Environment Temurin-25+3-202412192139 (build 25-beta+3-ea) [2024-12-23T10:28:34.813Z] OpenJDK 64-Bit Server VM Temurin-25+3-202412192139 (build 25-beta+3-ea, mixed mode) [2024-12-23T10:28:34.813Z] STF 10:28:34.572 - Monitoring processes: CMJ [2024-12-23T10:28:35.118Z] STF 10:28:35.007 - Monitoring Report Summary: [2024-12-23T10:28:35.118Z] STF 10:28:35.007 - o Process CMJ ended with the expected exit code (0) [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - Created modular jar: 1.com.hello.jar [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - +------ Step 2 - Create com.discreet jar [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - | Create modular jar [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - | ModuleVersion: null [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - | MainClass: null [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - | HashModules: null [2024-12-23T10:28:35.118Z] STF 10:28:35.009 - | [2024-12-23T10:28:35.118Z] STF 10:28:35.010 - 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_1/20241223-102831-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:35.118Z] STF 10:28:35.010 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/2.CMJ.stderr [2024-12-23T10:28:35.118Z] STF 10:28:35.010 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/2.CMJ.stdout [2024-12-23T10:28:35.118Z] STF 10:28:35.020 - Monitoring processes: CMJ [2024-12-23T10:28:35.768Z] STF 10:28:35.456 - Monitoring Report Summary: [2024-12-23T10:28:35.768Z] STF 10:28:35.456 - o Process CMJ ended with the expected exit code (0) [2024-12-23T10:28:35.768Z] STF 10:28:35.457 - Created modular jar: 2.com.discreet.jar [2024-12-23T10:28:35.768Z] STF 10:28:35.457 - [2024-12-23T10:28:35.768Z] STF 10:28:35.457 - +------ Step 3 - create java.xml.jar [2024-12-23T10:28:35.768Z] STF 10:28:35.457 - | Create modular jar [2024-12-23T10:28:35.768Z] STF 10:28:35.457 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-12-23T10:28:35.768Z] STF 10:28:35.457 - | ModuleVersion: null [2024-12-23T10:28:35.769Z] STF 10:28:35.457 - | MainClass: null [2024-12-23T10:28:35.769Z] STF 10:28:35.457 - | HashModules: null [2024-12-23T10:28:35.769Z] STF 10:28:35.457 - | [2024-12-23T10:28:35.769Z] STF 10:28:35.458 - 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_1/20241223-102831-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:35.769Z] STF 10:28:35.458 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/3.CMJ.stderr [2024-12-23T10:28:35.769Z] STF 10:28:35.458 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/3.CMJ.stdout [2024-12-23T10:28:35.769Z] STF 10:28:35.466 - Monitoring processes: CMJ [2024-12-23T10:28:36.073Z] STF 10:28:35.915 - Monitoring Report Summary: [2024-12-23T10:28:36.073Z] STF 10:28:35.915 - o Process CMJ ended with the expected exit code (0) [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - Created modular jar: 3.java.xml.jar [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - | Run foreground process [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - | Mnemonic: OT21 [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - | Echo: ECHO_ON [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - | Expectation: CLEAN_RUN within 1m [2024-12-23T10:28:36.073Z] STF 10:28:35.916 - | [2024-12-23T10:28:36.073Z] STF 10:28:35.917 - 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:36.073Z] STF 10:28:35.917 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/4.OT21.stderr [2024-12-23T10:28:36.073Z] STF 10:28:35.917 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/4.OT21.stdout [2024-12-23T10:28:36.073Z] STF 10:28:35.925 - Monitoring processes: OT21 [2024-12-23T10:28:36.379Z] 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:36.379Z] OT21 JUnit version 4.12 [2024-12-23T10:28:36.684Z] OT21 . [2024-12-23T10:28:36.684Z] OT21 Time: 0.008 [2024-12-23T10:28:36.684Z] OT21 [2024-12-23T10:28:36.684Z] OT21 OK (1 test) [2024-12-23T10:28:36.684Z] OT21 [2024-12-23T10:28:36.684Z] STF 10:28:36.471 - Monitoring Report Summary: [2024-12-23T10:28:36.684Z] STF 10:28:36.471 - o Process OT21 ended with the expected exit code (0) [2024-12-23T10:28:36.684Z] STF 10:28:36.473 - [2024-12-23T10:28:36.684Z] STF 10:28:36.474 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-12-23T10:28:36.684Z] STF 10:28:36.474 - | Run foreground process [2024-12-23T10:28:36.684Z] STF 10:28:36.474 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2024-12-23T10:28:36.684Z] STF 10:28:36.474 - | Mnemonic: OT22 [2024-12-23T10:28:36.684Z] STF 10:28:36.474 - | Echo: ECHO_ON [2024-12-23T10:28:36.684Z] STF 10:28:36.474 - | Expectation: CLEAN_RUN within 1m [2024-12-23T10:28:36.684Z] STF 10:28:36.474 - | [2024-12-23T10:28:36.684Z] STF 10:28:36.475 - 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_1/20241223-102831-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:36.684Z] STF 10:28:36.475 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/5.OT22.stderr [2024-12-23T10:28:36.684Z] STF 10:28:36.475 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17349492297993/PatMod_AppMod_1/20241223-102831-PatModTest/results/5.OT22.stdout [2024-12-23T10:28:36.684Z] STF 10:28:36.509 - Monitoring processes: OT22 [2024-12-23T10:28:36.990Z] 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_1\20241223-102831-PatModTest\modules\1.com.hello.jar [2024-12-23T10:28:36.990Z] OT22 JUnit version 4.12 [2024-12-23T10:28:37.297Z] OT22 . [2024-12-23T10:28:37.297Z] OT22 Time: 0.008 [2024-12-23T10:28:37.297Z] OT22 [2024-12-23T10:28:37.297Z] OT22 OK (1 test) [2024-12-23T10:28:37.297Z] OT22 [2024-12-23T10:28:37.297Z] STF 10:28:37.035 - Monitoring Report Summary: [2024-12-23T10:28:37.297Z] STF 10:28:37.035 - o Process OT22 ended with the expected exit code (0) [2024-12-23T10:28:37.297Z] STF 10:28:37.036 - EXECUTE stage completed [2024-12-23T10:28:37.297Z] STF 10:28:37.094 - [2024-12-23T10:28:37.297Z] STF 10:28:37.094 - ==================== T E A R D O W N ==================== [2024-12-23T10:28:37.297Z] STF 10:28:37.095 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17349492297993\PatMod_AppMod_1/20241223-102831-PatModTest/tearDown.pl [2024-12-23T10:28:37.691Z] STF 10:28:37.470 - TEARDOWN stage completed [2024-12-23T10:28:37.691Z] STF 10:28:37.521 - [2024-12-23T10:28:37.691Z] STF 10:28:37.521 - ===================== R E S U L T S ===================== [2024-12-23T10:28:37.691Z] STF 10:28:37.521 - Stage results: [2024-12-23T10:28:37.691Z] STF 10:28:37.521 - setUp: pass [2024-12-23T10:28:37.691Z] STF 10:28:37.521 - execute: pass [2024-12-23T10:28:37.691Z] STF 10:28:37.521 - teardown: pass [2024-12-23T10:28:37.691Z] STF 10:28:37.521 - [2024-12-23T10:28:37.691Z] STF 10:28:37.521 - Overall result: PASSED [2024-12-23T10:28:37.691Z] ----------------------------------- [2024-12-23T10:28:37.691Z] PatMod_AppMod_1_PASSED [2024-12-23T10:28:37.691Z] ----------------------------------- [2024-12-23T10:28:38.085Z] [2024-12-23T10:28:38.085Z] TEST TEARDOWN: [2024-12-23T10:28:38.085Z] Nothing to be done for teardown. [2024-12-23T10:28:38.085Z] PatMod_AppMod_1 Finish Time: Mon Dec 23 10:28:37 2024 Epoch Time (ms): 1734949717938