PatModImg_AppMod_0
[2025-02-20T00:04:23.894Z] Running test PatModImg_AppMod_0 ...
[2025-02-20T00:04:23.894Z] ===============================================
[2025-02-20T00:04:24.197Z] PatModImg_AppMod_0 Start Time: Thu Feb 20 00:04:24 2025 Epoch Time (ms): 1740009864045
[2025-02-20T00:04:24.497Z] variation: Mode150
[2025-02-20T00:04:24.798Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-02-20T00:04:24.798Z] { \
[2025-02-20T00:04:24.798Z] echo ""; echo "TEST SETUP:"; \
[2025-02-20T00:04:24.798Z] echo "Nothing to be done for setup."; \
[2025-02-20T00:04:24.798Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17400092146835\\PatModImg_AppMod_0"; \
[2025-02-20T00:04:24.798Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17400092146835\\PatModImg_AppMod_0"; \
[2025-02-20T00:04:24.798Z] echo ""; echo "TESTING:"; \
[2025-02-20T00:04:24.799Z] 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_17400092146835\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-02-20T00:04:24.799Z] 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_17400092146835\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-02-20T00:04:24.799Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-02-20T00:04:24.799Z] echo "Nothing to be done for teardown."; \
[2025-02-20T00:04:24.799Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17400092146835\\TestTargetResult";
[2025-02-20T00:04:24.799Z]
[2025-02-20T00:04:24.799Z] TEST SETUP:
[2025-02-20T00:04:24.799Z] Nothing to be done for setup.
[2025-02-20T00:04:24.799Z]
[2025-02-20T00:04:24.799Z] TESTING:
[2025-02-20T00:04:25.450Z] STF 00:04:25.170 - ========================= S T F =========================
[2025-02-20T00:04:25.450Z] 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_17400092146835\PatModImg_AppMod_0
[2025-02-20T00:04:25.450Z] There is 17577 Mb free
[2025-02-20T00:04:25.450Z] STF 00:04:25.250 - ================== G E N E R A T I O N ==================
[2025-02-20T00:04:25.450Z] STF 00:04:25.256 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image
[2025-02-20T00:04:25.450Z] STF 00:04:25.257 - 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_17400092146835\PatModImg_AppMod_0/20250220-000425-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_17400092146835\PatModImg_AppMod_0/20250220-000425-PatModImgTest"
[2025-02-20T00:04:25.450Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:26.997Z] GEN 00:04:26.607 - 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-20T00:04:26.997Z] GEN 00:04:26.623 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-02-20T00:04:26.997Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-02-20T00:04:26.997Z] 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-20T00:04:26.997Z] 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-20T00:04:26.997Z] 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-20T00:04:26.997Z] 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-20T00:04:26.997Z] 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-20T00:04:26.997Z] 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-20T00:04:26.997Z] 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-20T00:04:26.997Z] 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-20T00:04:26.997Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-02-20T00:04:26.997Z] 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-20T00:04:26.997Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-02-20T00:04:26.997Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-02-20T00:04:26.997Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-02-20T00:04:26.997Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-02-20T00:04:26.997Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-02-20T00:04:26.997Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin
[2025-02-20T00:04:26.997Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-02-20T00:04:26.997Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-02-20T00:04:26.997Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-02-20T00:04:26.997Z] GEN 00:04:26.904 - Using Mode NoOptions. Values = ''
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 -
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - Test command summary:
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - Step Stage Command Description
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - -----+--------+-----------------+------------
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 1 execute jar Create com.hello jar
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 2 execute jar Create com.hola jar
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 3 execute jar Create com.helper jar
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 4 execute jar Create com.discreet jar
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 5 execute jar Create tests jar
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 6 execute jlink Create runtime image for PatchModule test
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 7 execute jar Create com.hello jar
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 8 execute jar create java.xml.jar
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-02-20T00:04:27.298Z] GEN 00:04:27.045 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-02-20T00:04:27.298Z] STF 00:04:27.114 -
[2025-02-20T00:04:27.298Z] STF 00:04:27.114 - Script generation completed
[2025-02-20T00:04:27.299Z] STF 00:04:27.114 -
[2025-02-20T00:04:27.299Z] STF 00:04:27.117 -
[2025-02-20T00:04:27.299Z] STF 00:04:27.117 - ======================= S E T U P =======================
[2025-02-20T00:04:27.299Z] STF 00:04:27.117 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17400092146835\PatModImg_AppMod_0/20250220-000425-PatModImgTest/setUp.pl
[2025-02-20T00:04:27.600Z] STF 00:04:27.498 - SETUP stage completed
[2025-02-20T00:04:27.600Z] STF 00:04:27.546 -
[2025-02-20T00:04:27.600Z] STF 00:04:27.546 - ==================== E X E C U T E - ====================
[2025-02-20T00:04:27.600Z] STF 00:04:27.546 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17400092146835\PatModImg_AppMod_0/20250220-000425-PatModImgTest/execute.pl
[2025-02-20T00:04:28.251Z] STF 00:04:27.935 -
[2025-02-20T00:04:28.251Z] STF 00:04:27.935 - Java version
[2025-02-20T00:04:28.251Z] STF 00:04:27.936 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version
[2025-02-20T00:04:28.251Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:28.251Z] openjdk version "21.0.7-beta" 2025-04-15
[2025-02-20T00:04:28.251Z] OpenJDK Runtime Environment Temurin-21.0.7+3-202502192011 (build 21.0.7-beta+3-ea)
[2025-02-20T00:04:28.251Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+3-202502192011 (build 21.0.7-beta+3-ea, mixed mode)
[2025-02-20T00:04:28.251Z] STF 00:04:28.075 -
[2025-02-20T00:04:28.251Z] STF 00:04:28.075 - +------ Step 1 - Create com.hello jar
[2025-02-20T00:04:28.251Z] STF 00:04:28.075 - | Create modular jar
[2025-02-20T00:04:28.251Z] STF 00:04:28.075 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-02-20T00:04:28.251Z] STF 00:04:28.075 - | ModuleVersion: null
[2025-02-20T00:04:28.251Z] STF 00:04:28.075 - | MainClass: null
[2025-02-20T00:04:28.251Z] STF 00:04:28.075 - | HashModules: null
[2025-02-20T00:04:28.251Z] STF 00:04:28.075 - |
[2025-02-20T00:04:28.251Z] STF 00:04:28.076 - 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_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:28.251Z] STF 00:04:28.076 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/1.CMJ.stderr
[2025-02-20T00:04:28.251Z] STF 00:04:28.077 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/1.CMJ.stdout
[2025-02-20T00:04:28.251Z] STF 00:04:28.148 - Monitoring processes: CMJ
[2025-02-20T00:04:28.251Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:28.903Z] STF 00:04:28.625 - Monitoring Report Summary:
[2025-02-20T00:04:28.903Z] STF 00:04:28.625 - o Process CMJ ended with the expected exit code (0)
[2025-02-20T00:04:28.903Z] STF 00:04:28.626 - Created modular jar: 1.com.hello.jar
[2025-02-20T00:04:28.903Z] STF 00:04:28.626 -
[2025-02-20T00:04:28.903Z] STF 00:04:28.626 - +------ Step 2 - Create com.hola jar
[2025-02-20T00:04:28.903Z] STF 00:04:28.626 - | Create modular jar
[2025-02-20T00:04:28.903Z] STF 00:04:28.626 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-02-20T00:04:28.903Z] STF 00:04:28.627 - | ModuleVersion: null
[2025-02-20T00:04:28.903Z] STF 00:04:28.627 - | MainClass: null
[2025-02-20T00:04:28.903Z] STF 00:04:28.627 - | HashModules: null
[2025-02-20T00:04:28.903Z] STF 00:04:28.627 - |
[2025-02-20T00:04:28.903Z] STF 00:04:28.627 - 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_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:28.903Z] STF 00:04:28.627 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/2.CMJ.stderr
[2025-02-20T00:04:28.903Z] STF 00:04:28.627 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/2.CMJ.stdout
[2025-02-20T00:04:28.903Z] STF 00:04:28.635 - Monitoring processes: CMJ
[2025-02-20T00:04:28.903Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:29.204Z] STF 00:04:29.076 - Monitoring Report Summary:
[2025-02-20T00:04:29.204Z] STF 00:04:29.076 - o Process CMJ ended with the expected exit code (0)
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 - Created modular jar: 2.com.hola.jar
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 -
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 - +------ Step 3 - Create com.helper jar
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 - | Create modular jar
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 - | ModuleVersion: null
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 - | MainClass: null
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 - | HashModules: null
[2025-02-20T00:04:29.204Z] STF 00:04:29.077 - |
[2025-02-20T00:04:29.204Z] STF 00:04:29.079 - 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_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:29.204Z] STF 00:04:29.079 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/3.CMJ.stderr
[2025-02-20T00:04:29.204Z] STF 00:04:29.079 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/3.CMJ.stdout
[2025-02-20T00:04:29.204Z] STF 00:04:29.087 - Monitoring processes: CMJ
[2025-02-20T00:04:29.204Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:29.855Z] STF 00:04:29.529 - Monitoring Report Summary:
[2025-02-20T00:04:29.855Z] STF 00:04:29.529 - o Process CMJ ended with the expected exit code (0)
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 - Created modular jar: 3.com.helper.jar
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 -
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 - +------ Step 4 - Create com.discreet jar
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 - | Create modular jar
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 - | ModuleVersion: null
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 - | MainClass: null
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 - | HashModules: null
[2025-02-20T00:04:29.855Z] STF 00:04:29.530 - |
[2025-02-20T00:04:29.855Z] STF 00:04:29.531 - 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_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:29.855Z] STF 00:04:29.531 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/4.CMJ.stderr
[2025-02-20T00:04:29.855Z] STF 00:04:29.531 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/4.CMJ.stdout
[2025-02-20T00:04:29.855Z] STF 00:04:29.538 - Monitoring processes: CMJ
[2025-02-20T00:04:29.855Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:30.156Z] STF 00:04:30.025 - Monitoring Report Summary:
[2025-02-20T00:04:30.156Z] STF 00:04:30.025 - o Process CMJ ended with the expected exit code (0)
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 - Created modular jar: 4.com.discreet.jar
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 -
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 - +------ Step 5 - Create tests jar
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 - | Create modular jar
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 - | ModuleVersion: null
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 - | MainClass: null
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 - | HashModules: null
[2025-02-20T00:04:30.156Z] STF 00:04:30.026 - |
[2025-02-20T00:04:30.156Z] STF 00:04:30.027 - 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_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:30.156Z] STF 00:04:30.027 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/5.CMJ.stderr
[2025-02-20T00:04:30.156Z] STF 00:04:30.027 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/5.CMJ.stdout
[2025-02-20T00:04:30.156Z] STF 00:04:30.034 - Monitoring processes: CMJ
[2025-02-20T00:04:30.156Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:30.810Z] STF 00:04:30.532 - Monitoring Report Summary:
[2025-02-20T00:04:30.810Z] STF 00:04:30.532 - o Process CMJ ended with the expected exit code (0)
[2025-02-20T00:04:30.810Z] STF 00:04:30.533 - Created modular jar: 5.com.test.jar
[2025-02-20T00:04:30.810Z] STF 00:04:30.533 -
[2025-02-20T00:04:30.810Z] STF 00:04:30.533 - +------ Step 6 - Create runtime image for PatchModule test
[2025-02-20T00:04:30.810Z] STF 00:04:30.534 - | Run jlink to create runtime image
[2025-02-20T00:04:30.810Z] STF 00:04:30.534 - | ImageName: XpJVM
[2025-02-20T00:04:30.810Z] STF 00:04:30.534 - |
[2025-02-20T00:04:30.810Z] STF 00:04:30.534 - 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_17400092146835\PatModImg_AppMod_0\20250220-000425-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_17400092146835\PatModImg_AppMod_0\20250220-000425-PatModImgTest\tmp\6.XpJVM
[2025-02-20T00:04:30.810Z] STF 00:04:30.534 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/6.JLNK.stderr
[2025-02-20T00:04:30.810Z] STF 00:04:30.534 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/6.JLNK.stdout
[2025-02-20T00:04:30.810Z] STF 00:04:30.543 - Monitoring processes: JLNK
[2025-02-20T00:04:30.810Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:33.623Z] STF 00:04:33.131 - Monitoring Report Summary:
[2025-02-20T00:04:33.623Z] STF 00:04:33.131 - o Process JLNK ended with the expected exit code (0)
[2025-02-20T00:04:33.623Z] STF 00:04:33.132 -
[2025-02-20T00:04:33.623Z] STF 00:04:33.132 - +------ Step 7 - Create com.hello jar
[2025-02-20T00:04:33.623Z] STF 00:04:33.132 - | Create modular jar
[2025-02-20T00:04:33.623Z] STF 00:04:33.132 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-02-20T00:04:33.623Z] STF 00:04:33.132 - | ModuleVersion: null
[2025-02-20T00:04:33.623Z] STF 00:04:33.132 - | MainClass: null
[2025-02-20T00:04:33.623Z] STF 00:04:33.132 - | HashModules: null
[2025-02-20T00:04:33.623Z] STF 00:04:33.133 - |
[2025-02-20T00:04:33.623Z] STF 00:04:33.133 - 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_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:33.623Z] STF 00:04:33.133 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/7.CMJ.stderr
[2025-02-20T00:04:33.623Z] STF 00:04:33.133 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/7.CMJ.stdout
[2025-02-20T00:04:33.623Z] STF 00:04:33.145 - Monitoring processes: CMJ
[2025-02-20T00:04:33.623Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:33.924Z] STF 00:04:33.592 - Monitoring Report Summary:
[2025-02-20T00:04:33.924Z] STF 00:04:33.592 - o Process CMJ ended with the expected exit code (0)
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 - Created modular jar: 7.com.hello.jar
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 -
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 - +------ Step 8 - create java.xml.jar
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 - | Create modular jar
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 - | ModuleVersion: null
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 - | MainClass: null
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 - | HashModules: null
[2025-02-20T00:04:33.924Z] STF 00:04:33.593 - |
[2025-02-20T00:04:33.924Z] STF 00:04:33.594 - 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_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:33.924Z] STF 00:04:33.594 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/8.CMJ.stderr
[2025-02-20T00:04:33.924Z] STF 00:04:33.594 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/8.CMJ.stdout
[2025-02-20T00:04:33.924Z] STF 00:04:33.602 - Monitoring processes: CMJ
[2025-02-20T00:04:33.924Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:34.224Z] STF 00:04:34.044 - Monitoring Report Summary:
[2025-02-20T00:04:34.224Z] STF 00:04:34.044 - o Process CMJ ended with the expected exit code (0)
[2025-02-20T00:04:34.224Z] STF 00:04:34.045 - Created modular jar: 8.java.xml.jar
[2025-02-20T00:04:34.224Z] STF 00:04:34.045 -
[2025-02-20T00:04:34.224Z] STF 00:04:34.045 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-02-20T00:04:34.224Z] STF 00:04:34.045 - | Run foreground process
[2025-02-20T00:04:34.224Z] STF 00:04:34.045 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-02-20T00:04:34.225Z] STF 00:04:34.045 - | Mnemonic: OT21
[2025-02-20T00:04:34.225Z] STF 00:04:34.045 - | Echo: ECHO_ON
[2025-02-20T00:04:34.225Z] STF 00:04:34.045 - | Expectation: CLEAN_RUN within 5m
[2025-02-20T00:04:34.225Z] STF 00:04:34.045 - |
[2025-02-20T00:04:34.225Z] STF 00:04:34.046 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:34.225Z] STF 00:04:34.046 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/9.OT21.stderr
[2025-02-20T00:04:34.225Z] STF 00:04:34.046 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/9.OT21.stdout
[2025-02-20T00:04:34.225Z] STF 00:04:34.076 - Monitoring processes: OT21
[2025-02-20T00:04:34.225Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:34.525Z] 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-20T00:04:34.526Z] OT21 JUnit version 4.12
[2025-02-20T00:04:34.526Z] OT21 .
[2025-02-20T00:04:34.526Z] OT21 Time: 0.015
[2025-02-20T00:04:34.526Z] OT21
[2025-02-20T00:04:34.526Z] OT21 OK (1 test)
[2025-02-20T00:04:34.526Z] OT21
[2025-02-20T00:04:34.826Z] STF 00:04:34.494 - Monitoring Report Summary:
[2025-02-20T00:04:34.826Z] STF 00:04:34.494 - o Process OT21 ended with the expected exit code (0)
[2025-02-20T00:04:34.826Z] STF 00:04:34.495 -
[2025-02-20T00:04:34.826Z] STF 00:04:34.495 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-02-20T00:04:34.826Z] STF 00:04:34.495 - | Run foreground process
[2025-02-20T00:04:34.826Z] STF 00:04:34.495 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-02-20T00:04:34.826Z] STF 00:04:34.495 - | Mnemonic: OT22
[2025-02-20T00:04:34.826Z] STF 00:04:34.495 - | Echo: ECHO_ON
[2025-02-20T00:04:34.826Z] STF 00:04:34.495 - | Expectation: CLEAN_RUN within 5m
[2025-02-20T00:04:34.826Z] STF 00:04:34.495 - |
[2025-02-20T00:04:34.826Z] STF 00:04:34.496 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-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_17400092146835/PatModImg_AppMod_0/20250220-000425-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-20T00:04:34.826Z] STF 00:04:34.496 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/10.OT22.stderr
[2025-02-20T00:04:34.826Z] STF 00:04:34.496 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/PatModImg_AppMod_0/20250220-000425-PatModImgTest/results/10.OT22.stdout
[2025-02-20T00:04:34.826Z] STF 00:04:34.505 - Monitoring processes: OT22
[2025-02-20T00:04:34.826Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-20T00:04:34.826Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17400092146835\PatModImg_AppMod_0\20250220-000425-PatModImgTest\modules\7.com.hello.jar
[2025-02-20T00:04:34.826Z] OT22 JUnit version 4.12
[2025-02-20T00:04:35.127Z] OT22 .
[2025-02-20T00:04:35.127Z] OT22 Time: 0
[2025-02-20T00:04:35.127Z] OT22
[2025-02-20T00:04:35.127Z] OT22 OK (1 test)
[2025-02-20T00:04:35.127Z] OT22
[2025-02-20T00:04:35.127Z] STF 00:04:34.892 - Monitoring Report Summary:
[2025-02-20T00:04:35.127Z] STF 00:04:34.892 - o Process OT22 ended with the expected exit code (0)
[2025-02-20T00:04:35.127Z] STF 00:04:34.893 - EXECUTE stage completed
[2025-02-20T00:04:35.127Z] STF 00:04:34.954 -
[2025-02-20T00:04:35.127Z] STF 00:04:34.954 - ==================== T E A R D O W N ====================
[2025-02-20T00:04:35.127Z] STF 00:04:34.954 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17400092146835\PatModImg_AppMod_0/20250220-000425-PatModImgTest/tearDown.pl
[2025-02-20T00:04:35.428Z] STF 00:04:35.341 - TEARDOWN stage completed
[2025-02-20T00:04:35.428Z] STF 00:04:35.391 -
[2025-02-20T00:04:35.428Z] STF 00:04:35.391 - ===================== R E S U L T S =====================
[2025-02-20T00:04:35.428Z] STF 00:04:35.391 - Stage results:
[2025-02-20T00:04:35.428Z] STF 00:04:35.391 - setUp: pass
[2025-02-20T00:04:35.428Z] STF 00:04:35.391 - execute: pass
[2025-02-20T00:04:35.428Z] STF 00:04:35.391 - teardown: pass
[2025-02-20T00:04:35.428Z] STF 00:04:35.391 -
[2025-02-20T00:04:35.428Z] STF 00:04:35.391 - Overall result: PASSED
[2025-02-20T00:04:35.728Z] -----------------------------------
[2025-02-20T00:04:35.728Z] PatModImg_AppMod_0_PASSED
[2025-02-20T00:04:35.728Z] -----------------------------------
[2025-02-20T00:04:35.728Z]
[2025-02-20T00:04:35.728Z] TEST TEARDOWN:
[2025-02-20T00:04:35.728Z] Nothing to be done for teardown.
[2025-02-20T00:04:36.028Z] PatModImg_AppMod_0 Finish Time: Thu Feb 20 00:04:35 2025 Epoch Time (ms): 1740009875810