PatMod_AppMod_1
[2024-12-09T16:17:31.337Z] Running test PatMod_AppMod_1 ...
[2024-12-09T16:17:31.633Z] ===============================================
[2024-12-09T16:17:31.930Z] PatMod_AppMod_1 Start Time: Mon Dec 9 16:17:31 2024 Epoch Time (ms): 1733761051725
[2024-12-09T16:17:32.231Z] variation: Mode650
[2024-12-09T16:17:32.231Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-12-09T16:17:32.231Z] { \
[2024-12-09T16:17:32.231Z] echo ""; echo "TEST SETUP:"; \
[2024-12-09T16:17:32.231Z] echo "Nothing to be done for setup."; \
[2024-12-09T16:17:32.231Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatMod_AppMod_1"; \
[2024-12-09T16:17:32.231Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatMod_AppMod_1"; \
[2024-12-09T16:17:32.231Z] echo ""; echo "TESTING:"; \
[2024-12-09T16:17:32.231Z] 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/../../testDependency/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_17337590845159\\PatMod_AppMod_1" -test=PatModTest -test-args="variant=AppMod"; \
[2024-12-09T16:17:32.231Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_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_17337590845159\\PatMod_AppMod_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-12-09T16:17:32.231Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-12-09T16:17:32.231Z] echo "Nothing to be done for teardown."; \
[2024-12-09T16:17:32.231Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\TestTargetResult";
[2024-12-09T16:17:32.529Z]
[2024-12-09T16:17:32.529Z] TEST SETUP:
[2024-12-09T16:17:32.529Z] Nothing to be done for setup.
[2024-12-09T16:17:32.529Z]
[2024-12-09T16:17:32.529Z] TESTING:
[2024-12-09T16:17:32.826Z] STF 16:17:32.725 - ========================= S T F =========================
[2024-12-09T16:17:32.826Z] 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_testList_1/aqa-tests/\TKG\output_17337590845159\PatMod_AppMod_1
[2024-12-09T16:17:33.125Z] There is 19781 Mb free
[2024-12-09T16:17:33.125Z] STF 16:17:32.802 - ================== G E N E R A T I O N ==================
[2024-12-09T16:17:33.125Z] STF 16:17:32.807 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image
[2024-12-09T16:17:33.125Z] STF 16:17:32.808 - 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 -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/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_17337590845159\PatMod_AppMod_1/20241209-161732-PatModTest/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_17337590845159\PatMod_AppMod_1/20241209-161732-PatModTest"
[2024-12-09T16:17:33.125Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:17:34.177Z] GEN 16:17:34.038 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-12-09T16:17:34.177Z] GEN 16:17:34.053 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest'
[2024-12-09T16:17:34.473Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-12-09T16:17:34.473Z] 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
[2024-12-09T16:17:34.473Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-12-09T16:17:34.473Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-12-09T16:17:34.473Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-12-09T16:17:34.473Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-12-09T16:17:34.473Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-12-09T16:17:34.473Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-12-09T16:17:34.473Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-12-09T16:17:34.473Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-12-09T16:17:34.473Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2024-12-09T16:17:34.473Z] GEN 16:17:34.288 - Using Mode NoOptions. Values = ''
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 -
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 - Test command summary:
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 - Step Stage Command Description
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 - -----+--------+-----------------+------------
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 - 1 execute jar Create com.hello jar
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 - 2 execute jar Create com.discreet jar
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 - 3 execute jar create java.xml.jar
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy
[2024-12-09T16:17:34.473Z] GEN 16:17:34.382 - 5 execute Run java Verify if we can Patch an Application module using modular jar
[2024-12-09T16:17:34.473Z] STF 16:17:34.447 -
[2024-12-09T16:17:34.473Z] STF 16:17:34.448 - Script generation completed
[2024-12-09T16:17:34.473Z] STF 16:17:34.448 -
[2024-12-09T16:17:34.473Z] STF 16:17:34.450 -
[2024-12-09T16:17:34.473Z] STF 16:17:34.450 - ======================= S E T U P =======================
[2024-12-09T16:17:34.473Z] STF 16:17:34.450 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatMod_AppMod_1/20241209-161732-PatModTest/setUp.pl
[2024-12-09T16:17:35.117Z] STF 16:17:34.835 - SETUP stage completed
[2024-12-09T16:17:35.117Z] STF 16:17:34.861 -
[2024-12-09T16:17:35.117Z] STF 16:17:34.861 - ==================== E X E C U T E - ====================
[2024-12-09T16:17:35.117Z] STF 16:17:34.861 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatMod_AppMod_1/20241209-161732-PatModTest/execute.pl
[2024-12-09T16:17:35.415Z] STF 16:17:35.241 -
[2024-12-09T16:17:35.415Z] STF 16:17:35.241 - Java version
[2024-12-09T16:17:35.416Z] STF 16:17:35.241 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-12-09T16:17:35.416Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:17:35.416Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-12-09T16:17:35.416Z] OpenJDK Runtime Environment Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea)
[2024-12-09T16:17:35.416Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea, mixed mode)
[2024-12-09T16:17:35.714Z] STF 16:17:35.379 -
[2024-12-09T16:17:35.714Z] STF 16:17:35.379 - +------ Step 1 - Create com.hello jar
[2024-12-09T16:17:35.714Z] STF 16:17:35.380 - | Create modular jar
[2024-12-09T16:17:35.714Z] STF 16:17:35.380 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-12-09T16:17:35.714Z] STF 16:17:35.380 - | ModuleVersion: null
[2024-12-09T16:17:35.714Z] STF 16:17:35.380 - | MainClass: null
[2024-12-09T16:17:35.714Z] STF 16:17:35.380 - | HashModules: null
[2024-12-09T16:17:35.714Z] STF 16:17:35.380 - |
[2024-12-09T16:17:35.714Z] STF 16:17:35.381 - 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_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/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-override\com.hello .
[2024-12-09T16:17:35.714Z] STF 16:17:35.381 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/1.CMJ.stderr
[2024-12-09T16:17:35.714Z] STF 16:17:35.381 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/1.CMJ.stdout
[2024-12-09T16:17:35.714Z] STF 16:17:35.450 - Monitoring processes: CMJ
[2024-12-09T16:17:35.714Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:17:36.013Z] STF 16:17:35.871 - Monitoring Report Summary:
[2024-12-09T16:17:36.013Z] STF 16:17:35.871 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 - Created modular jar: 1.com.hello.jar
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 -
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 - +------ Step 2 - Create com.discreet jar
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 - | Create modular jar
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 - | ModuleVersion: null
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 - | MainClass: null
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 - | HashModules: null
[2024-12-09T16:17:36.013Z] STF 16:17:35.872 - |
[2024-12-09T16:17:36.013Z] STF 16:17:35.873 - 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_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/modules/2.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-override\com.discreet .
[2024-12-09T16:17:36.013Z] STF 16:17:35.873 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/2.CMJ.stderr
[2024-12-09T16:17:36.013Z] STF 16:17:35.873 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/2.CMJ.stdout
[2024-12-09T16:17:36.013Z] STF 16:17:35.881 - Monitoring processes: CMJ
[2024-12-09T16:17:36.013Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:17:36.659Z] STF 16:17:36.306 - Monitoring Report Summary:
[2024-12-09T16:17:36.659Z] STF 16:17:36.306 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:17:36.659Z] STF 16:17:36.307 - Created modular jar: 2.com.discreet.jar
[2024-12-09T16:17:36.659Z] STF 16:17:36.307 -
[2024-12-09T16:17:36.659Z] STF 16:17:36.307 - +------ Step 3 - create java.xml.jar
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - | Create modular jar
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - | ModuleVersion: null
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - | MainClass: null
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - | HashModules: null
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - |
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - 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_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/modules/3.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 .
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/3.CMJ.stderr
[2024-12-09T16:17:36.659Z] STF 16:17:36.308 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/3.CMJ.stdout
[2024-12-09T16:17:36.659Z] STF 16:17:36.316 - Monitoring processes: CMJ
[2024-12-09T16:17:36.659Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:17:36.956Z] STF 16:17:36.728 - Monitoring Report Summary:
[2024-12-09T16:17:36.956Z] STF 16:17:36.728 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 - Created modular jar: 3.java.xml.jar
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 -
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 - | Run foreground process
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 - | Mnemonic: OT21
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 - | Echo: ECHO_ON
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 - | Expectation: CLEAN_RUN within 1m
[2024-12-09T16:17:36.956Z] STF 16:17:36.729 - |
[2024-12-09T16:17:36.956Z] STF 16:17:36.730 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=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 -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-09T16:17:36.956Z] STF 16:17:36.730 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/4.OT21.stderr
[2024-12-09T16:17:36.956Z] STF 16:17:36.730 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/4.OT21.stdout
[2024-12-09T16:17:36.956Z] STF 16:17:36.739 - Monitoring processes: OT21
[2024-12-09T16:17:36.956Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:17:37.253Z] OT21 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\com.hello
[2024-12-09T16:17:37.253Z] OT21 JUnit version 4.12
[2024-12-09T16:17:37.253Z] OT21 .
[2024-12-09T16:17:37.253Z] OT21 Time: 0
[2024-12-09T16:17:37.253Z] OT21
[2024-12-09T16:17:37.253Z] OT21 OK (1 test)
[2024-12-09T16:17:37.253Z] OT21
[2024-12-09T16:17:37.253Z] STF 16:17:37.193 - Monitoring Report Summary:
[2024-12-09T16:17:37.253Z] STF 16:17:37.193 - o Process OT21 ended with the expected exit code (0)
[2024-12-09T16:17:37.253Z] STF 16:17:37.194 -
[2024-12-09T16:17:37.253Z] STF 16:17:37.194 - +------ Step 5 - Verify if we can Patch an Application module using modular jar
[2024-12-09T16:17:37.253Z] STF 16:17:37.194 - | Run foreground process
[2024-12-09T16:17:37.253Z] STF 16:17:37.194 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java
[2024-12-09T16:17:37.253Z] STF 16:17:37.194 - | Mnemonic: OT22
[2024-12-09T16:17:37.253Z] STF 16:17:37.194 - | Echo: ECHO_ON
[2024-12-09T16:17:37.253Z] STF 16:17:37.194 - | Expectation: CLEAN_RUN within 1m
[2024-12-09T16:17:37.253Z] STF 16:17:37.194 - |
[2024-12-09T16:17:37.253Z] STF 16:17:37.195 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-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-09T16:17:37.253Z] STF 16:17:37.195 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/5.OT22.stderr
[2024-12-09T16:17:37.253Z] STF 16:17:37.195 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatMod_AppMod_1/20241209-161732-PatModTest/results/5.OT22.stdout
[2024-12-09T16:17:37.553Z] STF 16:17:37.204 - Monitoring processes: OT22
[2024-12-09T16:17:37.553Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:17:37.553Z] OT22 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_17337590845159\PatMod_AppMod_1\20241209-161732-PatModTest\modules\1.com.hello.jar
[2024-12-09T16:17:37.553Z] OT22 JUnit version 4.12
[2024-12-09T16:17:37.852Z] OT22 .
[2024-12-09T16:17:37.852Z] OT22 Time: 0
[2024-12-09T16:17:37.852Z] OT22
[2024-12-09T16:17:37.852Z] OT22 OK (1 test)
[2024-12-09T16:17:37.852Z] OT22
[2024-12-09T16:17:37.852Z] STF 16:17:37.650 - Monitoring Report Summary:
[2024-12-09T16:17:37.852Z] STF 16:17:37.650 - o Process OT22 ended with the expected exit code (0)
[2024-12-09T16:17:37.852Z] STF 16:17:37.651 - EXECUTE stage completed
[2024-12-09T16:17:37.852Z] STF 16:17:37.696 -
[2024-12-09T16:17:37.852Z] STF 16:17:37.696 - ==================== T E A R D O W N ====================
[2024-12-09T16:17:37.852Z] STF 16:17:37.696 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatMod_AppMod_1/20241209-161732-PatModTest/tearDown.pl
[2024-12-09T16:17:38.150Z] STF 16:17:38.069 - TEARDOWN stage completed
[2024-12-09T16:17:38.151Z] STF 16:17:38.096 -
[2024-12-09T16:17:38.151Z] STF 16:17:38.096 - ===================== R E S U L T S =====================
[2024-12-09T16:17:38.151Z] STF 16:17:38.096 - Stage results:
[2024-12-09T16:17:38.151Z] STF 16:17:38.096 - setUp: pass
[2024-12-09T16:17:38.151Z] STF 16:17:38.096 - execute: pass
[2024-12-09T16:17:38.151Z] STF 16:17:38.096 - teardown: pass
[2024-12-09T16:17:38.151Z] STF 16:17:38.096 -
[2024-12-09T16:17:38.151Z] STF 16:17:38.096 - Overall result: PASSED
[2024-12-09T16:17:38.151Z] -----------------------------------
[2024-12-09T16:17:38.151Z] PatMod_AppMod_1_PASSED
[2024-12-09T16:17:38.151Z] -----------------------------------
[2024-12-09T16:17:38.448Z]
[2024-12-09T16:17:38.448Z] TEST TEARDOWN:
[2024-12-09T16:17:38.448Z] Nothing to be done for teardown.
[2024-12-09T16:17:38.761Z] PatMod_AppMod_1 Finish Time: Mon Dec 9 16:17:38 2024 Epoch Time (ms): 1733761058444