PatModImg_AppMod_0
[2025-02-27T00:15:08.080Z] Running test PatModImg_AppMod_0 ...
[2025-02-27T00:15:08.376Z] ===============================================
[2025-02-27T00:15:08.671Z] PatModImg_AppMod_0 Start Time: Thu Feb 27 00:15:08 2025 Epoch Time (ms): 1740615308428
[2025-02-27T00:15:08.671Z] variation: Mode150
[2025-02-27T00:15:08.966Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-02-27T00:15:08.966Z] { \
[2025-02-27T00:15:08.966Z] echo ""; echo "TEST SETUP:"; \
[2025-02-27T00:15:08.966Z] echo "Nothing to be done for setup."; \
[2025-02-27T00:15:08.966Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\PatModImg_AppMod_0"; \
[2025-02-27T00:15:08.966Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\PatModImg_AppMod_0"; \
[2025-02-27T00:15:08.966Z] echo ""; echo "TESTING:"; \
[2025-02-27T00:15:08.967Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-02-27T00:15:08.967Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-02-27T00:15:08.967Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-02-27T00:15:08.967Z] echo "Nothing to be done for teardown."; \
[2025-02-27T00:15:08.967Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\TestTargetResult";
[2025-02-27T00:15:09.264Z]
[2025-02-27T00:15:09.264Z] TEST SETUP:
[2025-02-27T00:15:09.264Z] Nothing to be done for setup.
[2025-02-27T00:15:09.264Z]
[2025-02-27T00:15:09.264Z] TESTING:
[2025-02-27T00:15:09.562Z] STF 00:15:09.459 - ========================= S T F =========================
[2025-02-27T00:15:09.562Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_0
[2025-02-27T00:15:09.860Z] There is 14561 Mb free
[2025-02-27T00:15:09.860Z] STF 00:15:09.538 - ================== G E N E R A T I O N ==================
[2025-02-27T00:15:09.860Z] STF 00:15:09.543 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image
[2025-02-27T00:15:09.860Z] STF 00:15:09.544 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_0/20250227-001509-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_0/20250227-001509-PatModImgTest"
[2025-02-27T00:15:09.860Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:10.914Z] GEN 00:15:10.771 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2025-02-27T00:15:10.914Z] GEN 00:15:10.803 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-02-27T00:15:11.212Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-02-27T00:15:11.212Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2025-02-27T00:15:11.212Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-02-27T00:15:11.213Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-02-27T00:15:11.213Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-02-27T00:15:11.213Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin
[2025-02-27T00:15:11.213Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-02-27T00:15:11.213Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-02-27T00:15:11.213Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-02-27T00:15:11.213Z] GEN 00:15:11.037 - Using Mode NoOptions. Values = ''
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 -
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - Test command summary:
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - Step Stage Command Description
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - -----+--------+-----------------+------------
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 1 execute jar Create com.hello jar
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 2 execute jar Create com.hola jar
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 3 execute jar Create com.helper jar
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 4 execute jar Create com.discreet jar
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 5 execute jar Create tests jar
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 6 execute jlink Create runtime image for PatchModule test
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 7 execute jar Create com.hello jar
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 8 execute jar create java.xml.jar
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-02-27T00:15:11.511Z] GEN 00:15:11.162 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-02-27T00:15:11.511Z] STF 00:15:11.247 -
[2025-02-27T00:15:11.511Z] STF 00:15:11.247 - Script generation completed
[2025-02-27T00:15:11.511Z] STF 00:15:11.247 -
[2025-02-27T00:15:11.511Z] STF 00:15:11.249 -
[2025-02-27T00:15:11.511Z] STF 00:15:11.249 - ======================= S E T U P =======================
[2025-02-27T00:15:11.511Z] STF 00:15:11.249 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_0/20250227-001509-PatModImgTest/setUp.pl
[2025-02-27T00:15:11.809Z] STF 00:15:11.615 - SETUP stage completed
[2025-02-27T00:15:11.809Z] STF 00:15:11.667 -
[2025-02-27T00:15:11.809Z] STF 00:15:11.667 - ==================== E X E C U T E - ====================
[2025-02-27T00:15:11.809Z] STF 00:15:11.668 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_0/20250227-001509-PatModImgTest/execute.pl
[2025-02-27T00:15:12.108Z] STF 00:15:12.037 -
[2025-02-27T00:15:12.108Z] STF 00:15:12.037 - Java version
[2025-02-27T00:15:12.108Z] STF 00:15:12.037 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version
[2025-02-27T00:15:12.108Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:12.408Z] openjdk version "21.0.7-beta" 2025-04-15
[2025-02-27T00:15:12.408Z] OpenJDK Runtime Environment Temurin-21.0.7+4-202502262009 (build 21.0.7-beta+4-ea)
[2025-02-27T00:15:12.408Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+4-202502262009 (build 21.0.7-beta+4-ea, mixed mode)
[2025-02-27T00:15:12.408Z] STF 00:15:12.172 -
[2025-02-27T00:15:12.408Z] STF 00:15:12.172 - +------ Step 1 - Create com.hello jar
[2025-02-27T00:15:12.409Z] STF 00:15:12.172 - | Create modular jar
[2025-02-27T00:15:12.409Z] STF 00:15:12.172 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-02-27T00:15:12.409Z] STF 00:15:12.172 - | ModuleVersion: null
[2025-02-27T00:15:12.409Z] STF 00:15:12.172 - | MainClass: null
[2025-02-27T00:15:12.409Z] STF 00:15:12.172 - | HashModules: null
[2025-02-27T00:15:12.409Z] STF 00:15:12.172 - |
[2025-02-27T00:15:12.409Z] STF 00:15:12.173 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2025-02-27T00:15:12.409Z] STF 00:15:12.174 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/1.CMJ.stderr
[2025-02-27T00:15:12.409Z] STF 00:15:12.174 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/1.CMJ.stdout
[2025-02-27T00:15:12.409Z] STF 00:15:12.242 - Monitoring processes: CMJ
[2025-02-27T00:15:12.409Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:13.054Z] STF 00:15:12.683 - Monitoring Report Summary:
[2025-02-27T00:15:13.054Z] STF 00:15:12.683 - o Process CMJ ended with the expected exit code (0)
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 - Created modular jar: 1.com.hello.jar
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 -
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 - +------ Step 2 - Create com.hola jar
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 - | Create modular jar
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 - | ModuleVersion: null
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 - | MainClass: null
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 - | HashModules: null
[2025-02-27T00:15:13.054Z] STF 00:15:12.684 - |
[2025-02-27T00:15:13.054Z] STF 00:15:12.685 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2025-02-27T00:15:13.054Z] STF 00:15:12.685 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/2.CMJ.stderr
[2025-02-27T00:15:13.054Z] STF 00:15:12.685 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/2.CMJ.stdout
[2025-02-27T00:15:13.054Z] STF 00:15:12.693 - Monitoring processes: CMJ
[2025-02-27T00:15:13.054Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:13.352Z] STF 00:15:13.116 - Monitoring Report Summary:
[2025-02-27T00:15:13.352Z] STF 00:15:13.116 - o Process CMJ ended with the expected exit code (0)
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 - Created modular jar: 2.com.hola.jar
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 -
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 - +------ Step 3 - Create com.helper jar
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 - | Create modular jar
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 - | ModuleVersion: null
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 - | MainClass: null
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 - | HashModules: null
[2025-02-27T00:15:13.352Z] STF 00:15:13.117 - |
[2025-02-27T00:15:13.352Z] STF 00:15:13.118 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2025-02-27T00:15:13.352Z] STF 00:15:13.118 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/3.CMJ.stderr
[2025-02-27T00:15:13.352Z] STF 00:15:13.118 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/3.CMJ.stdout
[2025-02-27T00:15:13.352Z] STF 00:15:13.126 - Monitoring processes: CMJ
[2025-02-27T00:15:13.352Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:13.650Z] STF 00:15:13.538 - Monitoring Report Summary:
[2025-02-27T00:15:13.650Z] STF 00:15:13.538 - o Process CMJ ended with the expected exit code (0)
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - Created modular jar: 3.com.helper.jar
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 -
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - +------ Step 4 - Create com.discreet jar
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - | Create modular jar
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - | ModuleVersion: null
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - | MainClass: null
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - | HashModules: null
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - |
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2025-02-27T00:15:13.650Z] STF 00:15:13.539 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/4.CMJ.stderr
[2025-02-27T00:15:13.650Z] STF 00:15:13.540 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/4.CMJ.stdout
[2025-02-27T00:15:13.650Z] STF 00:15:13.548 - Monitoring processes: CMJ
[2025-02-27T00:15:13.650Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:14.294Z] STF 00:15:13.962 - Monitoring Report Summary:
[2025-02-27T00:15:14.294Z] STF 00:15:13.962 - o Process CMJ ended with the expected exit code (0)
[2025-02-27T00:15:14.294Z] STF 00:15:13.963 - Created modular jar: 4.com.discreet.jar
[2025-02-27T00:15:14.294Z] STF 00:15:13.963 -
[2025-02-27T00:15:14.294Z] STF 00:15:13.963 - +------ Step 5 - Create tests jar
[2025-02-27T00:15:14.294Z] STF 00:15:13.963 - | Create modular jar
[2025-02-27T00:15:14.294Z] STF 00:15:13.963 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-02-27T00:15:14.294Z] STF 00:15:13.963 - | ModuleVersion: null
[2025-02-27T00:15:14.294Z] STF 00:15:13.963 - | MainClass: null
[2025-02-27T00:15:14.294Z] STF 00:15:13.964 - | HashModules: null
[2025-02-27T00:15:14.294Z] STF 00:15:13.964 - |
[2025-02-27T00:15:14.295Z] STF 00:15:13.964 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2025-02-27T00:15:14.295Z] STF 00:15:13.964 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/5.CMJ.stderr
[2025-02-27T00:15:14.295Z] STF 00:15:13.964 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/5.CMJ.stdout
[2025-02-27T00:15:14.295Z] STF 00:15:13.973 - Monitoring processes: CMJ
[2025-02-27T00:15:14.295Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:14.592Z] STF 00:15:14.400 - Monitoring Report Summary:
[2025-02-27T00:15:14.592Z] STF 00:15:14.400 - o Process CMJ ended with the expected exit code (0)
[2025-02-27T00:15:14.592Z] STF 00:15:14.401 - Created modular jar: 5.com.test.jar
[2025-02-27T00:15:14.592Z] STF 00:15:14.401 -
[2025-02-27T00:15:14.592Z] STF 00:15:14.401 - +------ Step 6 - Create runtime image for PatchModule test
[2025-02-27T00:15:14.592Z] STF 00:15:14.401 - | Run jlink to create runtime image
[2025-02-27T00:15:14.592Z] STF 00:15:14.401 - | ImageName: XpJVM
[2025-02-27T00:15:14.592Z] STF 00:15:14.401 - |
[2025-02-27T00:15:14.592Z] STF 00:15:14.402 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17406147215237\PatModImg_AppMod_0\20250227-001509-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\aqa-tests\TKG\output_17406147215237\PatModImg_AppMod_0\20250227-001509-PatModImgTest\tmp\6.XpJVM
[2025-02-27T00:15:14.592Z] STF 00:15:14.402 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/6.JLNK.stderr
[2025-02-27T00:15:14.592Z] STF 00:15:14.402 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/6.JLNK.stdout
[2025-02-27T00:15:14.592Z] STF 00:15:14.410 - Monitoring processes: JLNK
[2025-02-27T00:15:14.592Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:16.704Z] STF 00:15:16.602 - Monitoring Report Summary:
[2025-02-27T00:15:16.704Z] STF 00:15:16.602 - o Process JLNK ended with the expected exit code (0)
[2025-02-27T00:15:16.704Z] STF 00:15:16.603 -
[2025-02-27T00:15:16.704Z] STF 00:15:16.603 - +------ Step 7 - Create com.hello jar
[2025-02-27T00:15:16.704Z] STF 00:15:16.603 - | Create modular jar
[2025-02-27T00:15:16.704Z] STF 00:15:16.603 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-02-27T00:15:16.704Z] STF 00:15:16.603 - | ModuleVersion: null
[2025-02-27T00:15:16.704Z] STF 00:15:16.603 - | MainClass: null
[2025-02-27T00:15:16.704Z] STF 00:15:16.603 - | HashModules: null
[2025-02-27T00:15:16.704Z] STF 00:15:16.603 - |
[2025-02-27T00:15:16.704Z] STF 00:15:16.604 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2025-02-27T00:15:16.704Z] STF 00:15:16.604 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/7.CMJ.stderr
[2025-02-27T00:15:16.704Z] STF 00:15:16.604 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/7.CMJ.stdout
[2025-02-27T00:15:16.704Z] STF 00:15:16.612 - Monitoring processes: CMJ
[2025-02-27T00:15:17.002Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:17.298Z] STF 00:15:17.026 - Monitoring Report Summary:
[2025-02-27T00:15:17.298Z] STF 00:15:17.026 - o Process CMJ ended with the expected exit code (0)
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 - Created modular jar: 7.com.hello.jar
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 -
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 - +------ Step 8 - create java.xml.jar
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 - | Create modular jar
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 - | ModuleVersion: null
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 - | MainClass: null
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 - | HashModules: null
[2025-02-27T00:15:17.298Z] STF 00:15:17.027 - |
[2025-02-27T00:15:17.298Z] STF 00:15:17.028 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2025-02-27T00:15:17.298Z] STF 00:15:17.028 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/8.CMJ.stderr
[2025-02-27T00:15:17.298Z] STF 00:15:17.028 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/8.CMJ.stdout
[2025-02-27T00:15:17.298Z] STF 00:15:17.036 - Monitoring processes: CMJ
[2025-02-27T00:15:17.298Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:17.596Z] STF 00:15:17.446 - Monitoring Report Summary:
[2025-02-27T00:15:17.596Z] STF 00:15:17.447 - o Process CMJ ended with the expected exit code (0)
[2025-02-27T00:15:17.596Z] STF 00:15:17.447 - Created modular jar: 8.java.xml.jar
[2025-02-27T00:15:17.596Z] STF 00:15:17.447 -
[2025-02-27T00:15:17.596Z] STF 00:15:17.447 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-02-27T00:15:17.596Z] STF 00:15:17.447 - | Run foreground process
[2025-02-27T00:15:17.596Z] STF 00:15:17.447 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-02-27T00:15:17.596Z] STF 00:15:17.448 - | Mnemonic: OT21
[2025-02-27T00:15:17.596Z] STF 00:15:17.448 - | Echo: ECHO_ON
[2025-02-27T00:15:17.596Z] STF 00:15:17.448 - | Expectation: CLEAN_RUN within 5m
[2025-02-27T00:15:17.596Z] STF 00:15:17.448 - |
[2025-02-27T00:15:17.596Z] STF 00:15:17.448 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-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\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-02-27T00:15:17.596Z] STF 00:15:17.448 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/9.OT21.stderr
[2025-02-27T00:15:17.596Z] STF 00:15:17.448 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/9.OT21.stdout
[2025-02-27T00:15:17.596Z] STF 00:15:17.481 - Monitoring processes: OT21
[2025-02-27T00:15:17.892Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:17.892Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello
[2025-02-27T00:15:17.892Z] OT21 JUnit version 4.12
[2025-02-27T00:15:17.892Z] OT21 .
[2025-02-27T00:15:17.892Z] OT21 Time: 0.016
[2025-02-27T00:15:17.892Z] OT21
[2025-02-27T00:15:17.892Z] OT21 OK (1 test)
[2025-02-27T00:15:17.892Z] OT21
[2025-02-27T00:15:18.189Z] STF 00:15:17.869 - Monitoring Report Summary:
[2025-02-27T00:15:18.189Z] STF 00:15:17.869 - o Process OT21 ended with the expected exit code (0)
[2025-02-27T00:15:18.189Z] STF 00:15:17.870 -
[2025-02-27T00:15:18.189Z] STF 00:15:17.870 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-02-27T00:15:18.189Z] STF 00:15:17.870 - | Run foreground process
[2025-02-27T00:15:18.189Z] STF 00:15:17.870 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-02-27T00:15:18.189Z] STF 00:15:17.870 - | Mnemonic: OT22
[2025-02-27T00:15:18.190Z] STF 00:15:17.870 - | Echo: ECHO_ON
[2025-02-27T00:15:18.190Z] STF 00:15:17.870 - | Expectation: CLEAN_RUN within 5m
[2025-02-27T00:15:18.190Z] STF 00:15:17.870 - |
[2025-02-27T00:15:18.190Z] STF 00:15:17.871 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-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/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-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-02-27T00:15:18.190Z] STF 00:15:17.871 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/10.OT22.stderr
[2025-02-27T00:15:18.190Z] STF 00:15:17.871 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_0/20250227-001509-PatModImgTest/results/10.OT22.stdout
[2025-02-27T00:15:18.190Z] STF 00:15:17.880 - Monitoring processes: OT22
[2025-02-27T00:15:18.190Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-27T00:15:18.190Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17406147215237\PatModImg_AppMod_0\20250227-001509-PatModImgTest\modules\7.com.hello.jar
[2025-02-27T00:15:18.190Z] OT22 JUnit version 4.12
[2025-02-27T00:15:18.485Z] OT22 .
[2025-02-27T00:15:18.485Z] OT22 Time: 0.016
[2025-02-27T00:15:18.485Z] OT22
[2025-02-27T00:15:18.485Z] OT22 OK (1 test)
[2025-02-27T00:15:18.485Z] OT22
[2025-02-27T00:15:18.485Z] STF 00:15:18.224 - Monitoring Report Summary:
[2025-02-27T00:15:18.485Z] STF 00:15:18.224 - o Process OT22 ended with the expected exit code (0)
[2025-02-27T00:15:18.485Z] STF 00:15:18.225 - EXECUTE stage completed
[2025-02-27T00:15:18.485Z] STF 00:15:18.274 -
[2025-02-27T00:15:18.485Z] STF 00:15:18.274 - ==================== T E A R D O W N ====================
[2025-02-27T00:15:18.485Z] STF 00:15:18.274 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_0/20250227-001509-PatModImgTest/tearDown.pl
[2025-02-27T00:15:18.781Z] STF 00:15:18.631 - TEARDOWN stage completed
[2025-02-27T00:15:18.781Z] STF 00:15:18.678 -
[2025-02-27T00:15:18.781Z] STF 00:15:18.678 - ===================== R E S U L T S =====================
[2025-02-27T00:15:18.781Z] STF 00:15:18.678 - Stage results:
[2025-02-27T00:15:18.781Z] STF 00:15:18.678 - setUp: pass
[2025-02-27T00:15:18.781Z] STF 00:15:18.678 - execute: pass
[2025-02-27T00:15:18.781Z] STF 00:15:18.678 - teardown: pass
[2025-02-27T00:15:18.781Z] STF 00:15:18.678 -
[2025-02-27T00:15:18.781Z] STF 00:15:18.678 - Overall result: PASSED
[2025-02-27T00:15:18.781Z] -----------------------------------
[2025-02-27T00:15:18.781Z] PatModImg_AppMod_0_PASSED
[2025-02-27T00:15:18.781Z] -----------------------------------
[2025-02-27T00:15:19.079Z]
[2025-02-27T00:15:19.079Z] TEST TEARDOWN:
[2025-02-27T00:15:19.079Z] Nothing to be done for teardown.
[2025-02-27T00:15:19.427Z] PatModImg_AppMod_0 Finish Time: Thu Feb 27 00:15:19 2025 Epoch Time (ms): 1740615319084