PatModImg_AppMod_1
[2025-05-17T13:03:33.512Z] Running test PatModImg_AppMod_1 ...
[2025-05-17T13:03:33.512Z] ===============================================
[2025-05-17T13:03:33.811Z] PatModImg_AppMod_1 Start Time: Sat May 17 13:03:33 2025 Epoch Time (ms): 1747487013643
[2025-05-17T13:03:34.159Z] variation: Mode650
[2025-05-17T13:03:34.159Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-05-17T13:03:34.159Z] { \
[2025-05-17T13:03:34.159Z] echo ""; echo "TEST SETUP:"; \
[2025-05-17T13:03:34.159Z] echo "Nothing to be done for setup."; \
[2025-05-17T13:03:34.159Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\PatModImg_AppMod_1"; \
[2025-05-17T13:03:34.159Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\PatModImg_AppMod_1"; \
[2025-05-17T13:03:34.159Z] echo ""; echo "TESTING:"; \
[2025-05-17T13:03:34.159Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/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_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-05-17T13:03:34.159Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-05-17T13:03:34.159Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-05-17T13:03:34.159Z] echo "Nothing to be done for teardown."; \
[2025-05-17T13:03:34.159Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\TestTargetResult";
[2025-05-17T13:03:34.461Z]
[2025-05-17T13:03:34.461Z] TEST SETUP:
[2025-05-17T13:03:34.461Z] Nothing to be done for setup.
[2025-05-17T13:03:34.461Z]
[2025-05-17T13:03:34.461Z] TESTING:
[2025-05-17T13:03:34.762Z] STF 13:03:34.643 - ========================= S T F =========================
[2025-05-17T13:03:34.762Z] 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_0/aqa-tests/\TKG\output_17474845395414\PatModImg_AppMod_1
[2025-05-17T13:03:35.093Z] There is 21256 Mb free
[2025-05-17T13:03:35.093Z] STF 13:03:34.719 - ================== G E N E R A T I O N ==================
[2025-05-17T13:03:35.093Z] STF 13:03:34.725 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image
[2025-05-17T13:03:35.093Z] STF 13:03:34.725 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/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_0/aqa-tests/\TKG\output_17474845395414\PatModImg_AppMod_1/20250517-130334-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\PatModImg_AppMod_1/20250517-130334-PatModImgTest"
[2025-05-17T13:03:35.093Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:36.156Z] GEN 13:03:35.925 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2025-05-17T13:03:36.156Z] GEN 13:03:35.940 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-05-17T13:03:36.456Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-05-17T13:03:36.456Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2025-05-17T13:03:36.456Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2025-05-17T13:03:36.456Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2025-05-17T13:03:36.456Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2025-05-17T13:03:36.456Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2025-05-17T13:03:36.456Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2025-05-17T13:03:36.456Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2025-05-17T13:03:36.457Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2025-05-17T13:03:36.457Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-05-17T13:03:36.457Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2025-05-17T13:03:36.457Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-05-17T13:03:36.457Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-05-17T13:03:36.457Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-05-17T13:03:36.457Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-05-17T13:03:36.457Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-05-17T13:03:36.457Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin
[2025-05-17T13:03:36.457Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-05-17T13:03:36.457Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-05-17T13:03:36.457Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-05-17T13:03:36.457Z] GEN 13:03:36.190 - Using Mode NoOptions. Values = ''
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 -
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - Test command summary:
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - Step Stage Command Description
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - -----+--------+-----------------+------------
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 1 execute jar Create com.hello jar
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 2 execute jar Create com.hola jar
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 3 execute jar Create com.helper jar
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 4 execute jar Create com.discreet jar
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 5 execute jar Create tests jar
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 6 execute jlink Create runtime image for PatchModule test
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 7 execute jar Create com.hello jar
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 8 execute jar create java.xml.jar
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-05-17T13:03:36.457Z] GEN 13:03:36.331 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-05-17T13:03:36.457Z] STF 13:03:36.400 -
[2025-05-17T13:03:36.457Z] STF 13:03:36.400 - Script generation completed
[2025-05-17T13:03:36.457Z] STF 13:03:36.400 -
[2025-05-17T13:03:36.457Z] STF 13:03:36.402 -
[2025-05-17T13:03:36.457Z] STF 13:03:36.402 - ======================= S E T U P =======================
[2025-05-17T13:03:36.457Z] STF 13:03:36.402 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\PatModImg_AppMod_1/20250517-130334-PatModImgTest/setUp.pl
[2025-05-17T13:03:37.128Z] STF 13:03:36.784 - SETUP stage completed
[2025-05-17T13:03:37.128Z] STF 13:03:36.812 -
[2025-05-17T13:03:37.128Z] STF 13:03:36.812 - ==================== E X E C U T E - ====================
[2025-05-17T13:03:37.128Z] STF 13:03:36.812 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\PatModImg_AppMod_1/20250517-130334-PatModImgTest/execute.pl
[2025-05-17T13:03:37.433Z] STF 13:03:37.190 -
[2025-05-17T13:03:37.433Z] STF 13:03:37.191 - Java version
[2025-05-17T13:03:37.433Z] STF 13:03:37.191 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version
[2025-05-17T13:03:37.433Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:37.433Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-05-17T13:03:37.433Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505170857 (build 21.0.8-beta+3-ea)
[2025-05-17T13:03:37.433Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505170857 (build 21.0.8-beta+3-ea, mixed mode)
[2025-05-17T13:03:37.433Z] STF 13:03:37.315 -
[2025-05-17T13:03:37.433Z] STF 13:03:37.315 - +------ Step 1 - Create com.hello jar
[2025-05-17T13:03:37.433Z] STF 13:03:37.315 - | Create modular jar
[2025-05-17T13:03:37.433Z] STF 13:03:37.315 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-17T13:03:37.433Z] STF 13:03:37.315 - | ModuleVersion: null
[2025-05-17T13:03:37.433Z] STF 13:03:37.315 - | MainClass: null
[2025-05-17T13:03:37.433Z] STF 13:03:37.315 - | HashModules: null
[2025-05-17T13:03:37.433Z] STF 13:03:37.315 - |
[2025-05-17T13:03:37.433Z] STF 13:03:37.316 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2025-05-17T13:03:37.433Z] STF 13:03:37.316 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/1.CMJ.stderr
[2025-05-17T13:03:37.433Z] STF 13:03:37.316 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/1.CMJ.stdout
[2025-05-17T13:03:37.733Z] STF 13:03:37.384 - Monitoring processes: CMJ
[2025-05-17T13:03:37.733Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:38.033Z] STF 13:03:37.820 - Monitoring Report Summary:
[2025-05-17T13:03:38.033Z] STF 13:03:37.820 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 - Created modular jar: 1.com.hello.jar
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 -
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 - +------ Step 2 - Create com.hola jar
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 - | Create modular jar
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 - | ModuleVersion: null
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 - | MainClass: null
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 - | HashModules: null
[2025-05-17T13:03:38.033Z] STF 13:03:37.821 - |
[2025-05-17T13:03:38.033Z] STF 13:03:37.822 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2025-05-17T13:03:38.033Z] STF 13:03:37.822 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/2.CMJ.stderr
[2025-05-17T13:03:38.033Z] STF 13:03:37.822 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/2.CMJ.stdout
[2025-05-17T13:03:38.033Z] STF 13:03:37.830 - Monitoring processes: CMJ
[2025-05-17T13:03:38.033Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:38.333Z] STF 13:03:38.237 - Monitoring Report Summary:
[2025-05-17T13:03:38.333Z] STF 13:03:38.237 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:03:38.333Z] STF 13:03:38.238 - Created modular jar: 2.com.hola.jar
[2025-05-17T13:03:38.333Z] STF 13:03:38.238 -
[2025-05-17T13:03:38.333Z] STF 13:03:38.238 - +------ Step 3 - Create com.helper jar
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - | Create modular jar
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - | ModuleVersion: null
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - | MainClass: null
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - | HashModules: null
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - |
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/3.CMJ.stderr
[2025-05-17T13:03:38.333Z] STF 13:03:38.239 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/3.CMJ.stdout
[2025-05-17T13:03:38.333Z] STF 13:03:38.247 - Monitoring processes: CMJ
[2025-05-17T13:03:38.333Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:38.983Z] STF 13:03:38.659 - Monitoring Report Summary:
[2025-05-17T13:03:38.983Z] STF 13:03:38.659 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 - Created modular jar: 3.com.helper.jar
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 -
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 - +------ Step 4 - Create com.discreet jar
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 - | Create modular jar
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 - | ModuleVersion: null
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 - | MainClass: null
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 - | HashModules: null
[2025-05-17T13:03:38.983Z] STF 13:03:38.660 - |
[2025-05-17T13:03:38.983Z] STF 13:03:38.661 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2025-05-17T13:03:38.983Z] STF 13:03:38.661 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/4.CMJ.stderr
[2025-05-17T13:03:38.983Z] STF 13:03:38.661 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/4.CMJ.stdout
[2025-05-17T13:03:38.983Z] STF 13:03:38.669 - Monitoring processes: CMJ
[2025-05-17T13:03:38.983Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:39.284Z] STF 13:03:39.085 - Monitoring Report Summary:
[2025-05-17T13:03:39.284Z] STF 13:03:39.085 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - Created modular jar: 4.com.discreet.jar
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 -
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - +------ Step 5 - Create tests jar
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - | Create modular jar
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - | ModuleVersion: null
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - | MainClass: null
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - | HashModules: null
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - |
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2025-05-17T13:03:39.284Z] STF 13:03:39.086 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/5.CMJ.stderr
[2025-05-17T13:03:39.284Z] STF 13:03:39.087 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/5.CMJ.stdout
[2025-05-17T13:03:39.284Z] STF 13:03:39.096 - Monitoring processes: CMJ
[2025-05-17T13:03:39.284Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:39.938Z] STF 13:03:39.553 - Monitoring Report Summary:
[2025-05-17T13:03:39.938Z] STF 13:03:39.553 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:03:39.938Z] STF 13:03:39.554 - Created modular jar: 5.com.test.jar
[2025-05-17T13:03:39.938Z] STF 13:03:39.554 -
[2025-05-17T13:03:39.938Z] STF 13:03:39.554 - +------ Step 6 - Create runtime image for PatchModule test
[2025-05-17T13:03:39.938Z] STF 13:03:39.554 - | Run jlink to create runtime image
[2025-05-17T13:03:39.938Z] STF 13:03:39.554 - | ImageName: XpJVM
[2025-05-17T13:03:39.938Z] STF 13:03:39.554 - |
[2025-05-17T13:03:39.938Z] STF 13:03:39.555 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17474845395414\PatModImg_AppMod_1\20250517-130334-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17474845395414\PatModImg_AppMod_1\20250517-130334-PatModImgTest\tmp\6.XpJVM
[2025-05-17T13:03:39.938Z] STF 13:03:39.555 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/6.JLNK.stderr
[2025-05-17T13:03:39.938Z] STF 13:03:39.555 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/6.JLNK.stdout
[2025-05-17T13:03:39.938Z] STF 13:03:39.563 - Monitoring processes: JLNK
[2025-05-17T13:03:39.938Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:42.055Z] STF 13:03:41.912 - Monitoring Report Summary:
[2025-05-17T13:03:42.055Z] STF 13:03:41.912 - o Process JLNK ended with the expected exit code (0)
[2025-05-17T13:03:42.055Z] STF 13:03:41.913 -
[2025-05-17T13:03:42.055Z] STF 13:03:41.913 - +------ Step 7 - Create com.hello jar
[2025-05-17T13:03:42.055Z] STF 13:03:41.913 - | Create modular jar
[2025-05-17T13:03:42.055Z] STF 13:03:41.913 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-05-17T13:03:42.056Z] STF 13:03:41.913 - | ModuleVersion: null
[2025-05-17T13:03:42.056Z] STF 13:03:41.913 - | MainClass: null
[2025-05-17T13:03:42.056Z] STF 13:03:41.913 - | HashModules: null
[2025-05-17T13:03:42.056Z] STF 13:03:41.913 - |
[2025-05-17T13:03:42.056Z] STF 13:03:41.914 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2025-05-17T13:03:42.056Z] STF 13:03:41.914 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/7.CMJ.stderr
[2025-05-17T13:03:42.056Z] STF 13:03:41.914 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/7.CMJ.stdout
[2025-05-17T13:03:42.056Z] STF 13:03:41.922 - Monitoring processes: CMJ
[2025-05-17T13:03:42.056Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:42.705Z] STF 13:03:42.350 - Monitoring Report Summary:
[2025-05-17T13:03:42.705Z] STF 13:03:42.350 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - Created modular jar: 7.com.hello.jar
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 -
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - +------ Step 8 - create java.xml.jar
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - | Create modular jar
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - | ModuleVersion: null
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - | MainClass: null
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - | HashModules: null
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - |
[2025-05-17T13:03:42.705Z] STF 13:03:42.351 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2025-05-17T13:03:42.705Z] STF 13:03:42.352 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/8.CMJ.stderr
[2025-05-17T13:03:42.705Z] STF 13:03:42.352 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/8.CMJ.stdout
[2025-05-17T13:03:42.705Z] STF 13:03:42.359 - Monitoring processes: CMJ
[2025-05-17T13:03:42.705Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:43.004Z] STF 13:03:42.768 - Monitoring Report Summary:
[2025-05-17T13:03:43.004Z] STF 13:03:42.769 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:03:43.004Z] STF 13:03:42.769 - Created modular jar: 8.java.xml.jar
[2025-05-17T13:03:43.004Z] STF 13:03:42.769 -
[2025-05-17T13:03:43.004Z] STF 13:03:42.769 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-05-17T13:03:43.004Z] STF 13:03:42.770 - | Run foreground process
[2025-05-17T13:03:43.004Z] STF 13:03:42.770 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-17T13:03:43.004Z] STF 13:03:42.770 - | Mnemonic: OT21
[2025-05-17T13:03:43.004Z] STF 13:03:42.770 - | Echo: ECHO_ON
[2025-05-17T13:03:43.004Z] STF 13:03:42.770 - | Expectation: CLEAN_RUN within 5m
[2025-05-17T13:03:43.004Z] STF 13:03:42.770 - |
[2025-05-17T13:03:43.004Z] STF 13:03:42.770 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\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
[2025-05-17T13:03:43.005Z] STF 13:03:42.771 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/9.OT21.stderr
[2025-05-17T13:03:43.005Z] STF 13:03:42.771 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/9.OT21.stdout
[2025-05-17T13:03:43.005Z] STF 13:03:42.803 - Monitoring processes: OT21
[2025-05-17T13:03:43.305Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:43.305Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello
[2025-05-17T13:03:43.305Z] OT21 JUnit version 4.12
[2025-05-17T13:03:43.610Z] OT21 .
[2025-05-17T13:03:43.610Z] OT21 Time: 0.015
[2025-05-17T13:03:43.610Z] OT21
[2025-05-17T13:03:43.610Z] OT21 OK (1 test)
[2025-05-17T13:03:43.610Z] OT21
[2025-05-17T13:03:43.610Z] STF 13:03:43.299 - Monitoring Report Summary:
[2025-05-17T13:03:43.610Z] STF 13:03:43.299 - o Process OT21 ended with the expected exit code (0)
[2025-05-17T13:03:43.610Z] STF 13:03:43.300 -
[2025-05-17T13:03:43.610Z] STF 13:03:43.300 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-05-17T13:03:43.610Z] STF 13:03:43.300 - | Run foreground process
[2025-05-17T13:03:43.610Z] STF 13:03:43.300 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-17T13:03:43.610Z] STF 13:03:43.300 - | Mnemonic: OT22
[2025-05-17T13:03:43.610Z] STF 13:03:43.300 - | Echo: ECHO_ON
[2025-05-17T13:03:43.610Z] STF 13:03:43.300 - | Expectation: CLEAN_RUN within 5m
[2025-05-17T13:03:43.610Z] STF 13:03:43.300 - |
[2025-05-17T13:03:43.610Z] STF 13:03:43.301 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/modules/7.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
[2025-05-17T13:03:43.610Z] STF 13:03:43.301 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/10.OT22.stderr
[2025-05-17T13:03:43.610Z] STF 13:03:43.301 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/PatModImg_AppMod_1/20250517-130334-PatModImgTest/results/10.OT22.stdout
[2025-05-17T13:03:43.610Z] STF 13:03:43.310 - Monitoring processes: OT22
[2025-05-17T13:03:43.610Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:03:43.610Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17474845395414\PatModImg_AppMod_1\20250517-130334-PatModImgTest\modules\7.com.hello.jar
[2025-05-17T13:03:43.610Z] OT22 JUnit version 4.12
[2025-05-17T13:03:43.914Z] OT22 .
[2025-05-17T13:03:43.914Z] OT22 Time: 0.015
[2025-05-17T13:03:43.914Z] OT22
[2025-05-17T13:03:43.914Z] OT22 OK (1 test)
[2025-05-17T13:03:43.914Z] OT22
[2025-05-17T13:03:43.914Z] STF 13:03:43.674 - Monitoring Report Summary:
[2025-05-17T13:03:43.914Z] STF 13:03:43.674 - o Process OT22 ended with the expected exit code (0)
[2025-05-17T13:03:43.914Z] STF 13:03:43.675 - EXECUTE stage completed
[2025-05-17T13:03:43.914Z] STF 13:03:43.771 -
[2025-05-17T13:03:43.914Z] STF 13:03:43.771 - ==================== T E A R D O W N ====================
[2025-05-17T13:03:43.914Z] STF 13:03:43.771 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\PatModImg_AppMod_1/20250517-130334-PatModImgTest/tearDown.pl
[2025-05-17T13:03:44.213Z] STF 13:03:44.143 - TEARDOWN stage completed
[2025-05-17T13:03:44.512Z] STF 13:03:44.192 -
[2025-05-17T13:03:44.512Z] STF 13:03:44.192 - ===================== R E S U L T S =====================
[2025-05-17T13:03:44.512Z] STF 13:03:44.192 - Stage results:
[2025-05-17T13:03:44.512Z] STF 13:03:44.192 - setUp: pass
[2025-05-17T13:03:44.512Z] STF 13:03:44.192 - execute: pass
[2025-05-17T13:03:44.512Z] STF 13:03:44.192 - teardown: pass
[2025-05-17T13:03:44.512Z] STF 13:03:44.192 -
[2025-05-17T13:03:44.512Z] STF 13:03:44.192 - Overall result: PASSED
[2025-05-17T13:03:44.512Z] -----------------------------------
[2025-05-17T13:03:44.512Z] PatModImg_AppMod_1_PASSED
[2025-05-17T13:03:44.512Z] -----------------------------------
[2025-05-17T13:03:44.512Z]
[2025-05-17T13:03:44.512Z] TEST TEARDOWN:
[2025-05-17T13:03:44.512Z] Nothing to be done for teardown.
[2025-05-17T13:03:44.811Z] PatModImg_AppMod_1 Finish Time: Sat May 17 13:03:44 2025 Epoch Time (ms): 1747487024565