PatModImg_AppMod_0
[2025-05-18T10:50:19.913Z] Running test PatModImg_AppMod_0 ...
[2025-05-18T10:50:19.913Z] ===============================================
[2025-05-18T10:50:20.299Z] PatModImg_AppMod_0 Start Time: Sun May 18 10:50:19 2025 Epoch Time (ms): 1747565419972
[2025-05-18T10:50:20.299Z] variation: Mode150
[2025-05-18T10:50:20.299Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-05-18T10:50:20.299Z] { \
[2025-05-18T10:50:20.299Z] echo ""; echo "TEST SETUP:"; \
[2025-05-18T10:50:20.299Z] echo "Nothing to be done for setup."; \
[2025-05-18T10:50:20.299Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17475635265183\\PatModImg_AppMod_0"; \
[2025-05-18T10:50:20.299Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17475635265183\\PatModImg_AppMod_0"; \
[2025-05-18T10:50:20.299Z] echo ""; echo "TESTING:"; \
[2025-05-18T10:50:20.299Z] perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17475635265183\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-05-18T10:50:20.299Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17475635265183\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-05-18T10:50:20.299Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-05-18T10:50:20.299Z] echo "Nothing to be done for teardown."; \
[2025-05-18T10:50:20.299Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17475635265183\\TestTargetResult";
[2025-05-18T10:50:20.645Z]
[2025-05-18T10:50:20.645Z] TEST SETUP:
[2025-05-18T10:50:20.645Z] Nothing to be done for setup.
[2025-05-18T10:50:20.645Z]
[2025-05-18T10:50:20.645Z] TESTING:
[2025-05-18T10:50:20.645Z] STF 10:50:20.492 - ========================= S T F =========================
[2025-05-18T10:50:20.645Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17475635265183\PatModImg_AppMod_0
[2025-05-18T10:50:20.645Z] There is 131059 Mb free
[2025-05-18T10:50:20.645Z] STF 10:50:20.548 - ================== G E N E R A T I O N ==================
[2025-05-18T10:50:20.645Z] STF 10:50:20.550 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2025-05-18T10:50:20.645Z] STF 10:50:20.551 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17475635265183\PatModImg_AppMod_0/20250518-105020-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17475635265183\PatModImg_AppMod_0/20250518-105020-PatModImgTest"
[2025-05-18T10:50:20.645Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:20.645Z] GEN [0.013s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set
[2025-05-18T10:50:21.806Z] GEN 10:50:21.674 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2025-05-18T10:50:21.806Z] GEN 10:50:21.688 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-05-18T10:50:22.148Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-05-18T10:50:22.148Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-05-18T10:50:22.148Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-05-18T10:50:22.148Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2025-05-18T10:50:22.148Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-05-18T10:50:22.148Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-05-18T10:50:22.148Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2025-05-18T10:50:22.148Z] GEN 10:50:21.907 - Using Mode NoOptions. Values = ''
[2025-05-18T10:50:22.148Z] GEN 10:50:22.019 -
[2025-05-18T10:50:22.148Z] GEN 10:50:22.019 - Test command summary:
[2025-05-18T10:50:22.148Z] GEN 10:50:22.019 - Step Stage Command Description
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - -----+--------+-----------------+------------
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - 1 execute jar Create com.hello jar
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - 2 execute jar Create com.hola jar
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - 3 execute jar Create com.helper jar
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - 4 execute jar Create com.discreet jar
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - 5 execute jar Create tests jar
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - 6 execute jlink Create runtime image for PatchModule test
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - 7 execute jar Create com.hello jar
[2025-05-18T10:50:22.148Z] GEN 10:50:22.020 - 8 execute jar create java.xml.jar
[2025-05-18T10:50:22.148Z] GEN 10:50:22.021 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-05-18T10:50:22.148Z] GEN 10:50:22.021 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-05-18T10:50:22.148Z] STF 10:50:22.063 -
[2025-05-18T10:50:22.148Z] STF 10:50:22.063 - Script generation completed
[2025-05-18T10:50:22.148Z] STF 10:50:22.063 -
[2025-05-18T10:50:22.148Z] STF 10:50:22.065 -
[2025-05-18T10:50:22.148Z] STF 10:50:22.065 - ======================= S E T U P =======================
[2025-05-18T10:50:22.148Z] STF 10:50:22.065 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17475635265183\PatModImg_AppMod_0/20250518-105020-PatModImgTest/setUp.pl
[2025-05-18T10:50:22.488Z] STF 10:50:22.212 - SETUP stage completed
[2025-05-18T10:50:22.488Z] STF 10:50:22.231 -
[2025-05-18T10:50:22.488Z] STF 10:50:22.231 - ==================== E X E C U T E - ====================
[2025-05-18T10:50:22.488Z] STF 10:50:22.231 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17475635265183\PatModImg_AppMod_0/20250518-105020-PatModImgTest/execute.pl
[2025-05-18T10:50:22.488Z] STF 10:50:22.390 -
[2025-05-18T10:50:22.488Z] STF 10:50:22.390 - Java version
[2025-05-18T10:50:22.488Z] STF 10:50:22.390 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2025-05-18T10:50:22.488Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:22.833Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-05-18T10:50:22.833Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505170416 (build 21.0.8-beta+3-ea)
[2025-05-18T10:50:22.833Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505170416 (build 21.0.8-beta+3-ea, mixed mode, sharing)
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 -
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 - +------ Step 1 - Create com.hello jar
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 - | Create modular jar
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 - | ModuleVersion: null
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 - | MainClass: null
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 - | HashModules: null
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 - |
[2025-05-18T10:50:22.833Z] STF 10:50:22.489 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2025-05-18T10:50:22.833Z] STF 10:50:22.490 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/1.CMJ.stderr
[2025-05-18T10:50:22.833Z] STF 10:50:22.490 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/1.CMJ.stdout
[2025-05-18T10:50:22.833Z] STF 10:50:22.520 - Monitoring processes: CMJ
[2025-05-18T10:50:22.833Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:23.179Z] STF 10:50:22.856 - Monitoring Report Summary:
[2025-05-18T10:50:23.179Z] STF 10:50:22.856 - o Process CMJ ended with the expected exit code (0)
[2025-05-18T10:50:23.179Z] STF 10:50:22.856 - Created modular jar: 1.com.hello.jar
[2025-05-18T10:50:23.179Z] STF 10:50:22.856 -
[2025-05-18T10:50:23.179Z] STF 10:50:22.856 - +------ Step 2 - Create com.hola jar
[2025-05-18T10:50:23.179Z] STF 10:50:22.856 - | Create modular jar
[2025-05-18T10:50:23.179Z] STF 10:50:22.856 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-18T10:50:23.179Z] STF 10:50:22.857 - | ModuleVersion: null
[2025-05-18T10:50:23.179Z] STF 10:50:22.857 - | MainClass: null
[2025-05-18T10:50:23.179Z] STF 10:50:22.857 - | HashModules: null
[2025-05-18T10:50:23.179Z] STF 10:50:22.857 - |
[2025-05-18T10:50:23.179Z] STF 10:50:22.857 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2025-05-18T10:50:23.179Z] STF 10:50:22.857 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/2.CMJ.stderr
[2025-05-18T10:50:23.179Z] STF 10:50:22.857 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/2.CMJ.stdout
[2025-05-18T10:50:23.179Z] STF 10:50:22.863 - Monitoring processes: CMJ
[2025-05-18T10:50:23.179Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:23.521Z] STF 10:50:23.210 - Monitoring Report Summary:
[2025-05-18T10:50:23.521Z] STF 10:50:23.210 - o Process CMJ ended with the expected exit code (0)
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - Created modular jar: 2.com.hola.jar
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 -
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - +------ Step 3 - Create com.helper jar
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - | Create modular jar
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - | ModuleVersion: null
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - | MainClass: null
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - | HashModules: null
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - |
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/3.CMJ.stderr
[2025-05-18T10:50:23.521Z] STF 10:50:23.211 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/3.CMJ.stdout
[2025-05-18T10:50:23.521Z] STF 10:50:23.218 - Monitoring processes: CMJ
[2025-05-18T10:50:23.521Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - Monitoring Report Summary:
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - o Process CMJ ended with the expected exit code (0)
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - Created modular jar: 3.com.helper.jar
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 -
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - +------ Step 4 - Create com.discreet jar
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - | Create modular jar
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - | ModuleVersion: null
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - | MainClass: null
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - | HashModules: null
[2025-05-18T10:50:23.865Z] STF 10:50:23.558 - |
[2025-05-18T10:50:23.865Z] STF 10:50:23.559 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2025-05-18T10:50:23.865Z] STF 10:50:23.559 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/4.CMJ.stderr
[2025-05-18T10:50:23.865Z] STF 10:50:23.559 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/4.CMJ.stdout
[2025-05-18T10:50:23.865Z] STF 10:50:23.564 - Monitoring processes: CMJ
[2025-05-18T10:50:23.865Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - Monitoring Report Summary:
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - o Process CMJ ended with the expected exit code (0)
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - Created modular jar: 4.com.discreet.jar
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 -
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - +------ Step 5 - Create tests jar
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - | Create modular jar
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - | ModuleVersion: null
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - | MainClass: null
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - | HashModules: null
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - |
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/5.CMJ.stderr
[2025-05-18T10:50:24.207Z] STF 10:50:23.903 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/5.CMJ.stdout
[2025-05-18T10:50:24.207Z] STF 10:50:23.909 - Monitoring processes: CMJ
[2025-05-18T10:50:24.207Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:24.548Z] STF 10:50:24.282 - Monitoring Report Summary:
[2025-05-18T10:50:24.548Z] STF 10:50:24.282 - o Process CMJ ended with the expected exit code (0)
[2025-05-18T10:50:24.548Z] STF 10:50:24.282 - Created modular jar: 5.com.test.jar
[2025-05-18T10:50:24.548Z] STF 10:50:24.282 -
[2025-05-18T10:50:24.548Z] STF 10:50:24.282 - +------ Step 6 - Create runtime image for PatchModule test
[2025-05-18T10:50:24.548Z] STF 10:50:24.282 - | Run jlink to create runtime image
[2025-05-18T10:50:24.548Z] STF 10:50:24.282 - | ImageName: XpJVM
[2025-05-18T10:50:24.548Z] STF 10:50:24.282 - |
[2025-05-18T10:50:24.548Z] STF 10:50:24.283 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17475635265183\PatModImg_AppMod_0\20250518-105020-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17475635265183\PatModImg_AppMod_0\20250518-105020-PatModImgTest\tmp\6.XpJVM
[2025-05-18T10:50:24.548Z] STF 10:50:24.283 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/6.JLNK.stderr
[2025-05-18T10:50:24.548Z] STF 10:50:24.283 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/6.JLNK.stdout
[2025-05-18T10:50:24.548Z] STF 10:50:24.289 - Monitoring processes: JLNK
[2025-05-18T10:50:24.548Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:27.514Z] STF 10:50:26.874 - Monitoring Report Summary:
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 - o Process JLNK ended with the expected exit code (0)
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 -
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 - +------ Step 7 - Create com.hello jar
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 - | Create modular jar
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 - | ModuleVersion: null
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 - | MainClass: null
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 - | HashModules: null
[2025-05-18T10:50:27.514Z] STF 10:50:26.875 - |
[2025-05-18T10:50:27.514Z] STF 10:50:26.877 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2025-05-18T10:50:27.514Z] STF 10:50:26.877 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/7.CMJ.stderr
[2025-05-18T10:50:27.514Z] STF 10:50:26.877 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/7.CMJ.stdout
[2025-05-18T10:50:27.514Z] STF 10:50:26.893 - Monitoring processes: CMJ
[2025-05-18T10:50:27.514Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:27.514Z] STF 10:50:27.227 - Monitoring Report Summary:
[2025-05-18T10:50:27.514Z] STF 10:50:27.227 - o Process CMJ ended with the expected exit code (0)
[2025-05-18T10:50:27.514Z] STF 10:50:27.227 - Created modular jar: 7.com.hello.jar
[2025-05-18T10:50:27.514Z] STF 10:50:27.227 -
[2025-05-18T10:50:27.514Z] STF 10:50:27.227 - +------ Step 8 - create java.xml.jar
[2025-05-18T10:50:27.514Z] STF 10:50:27.227 - | Create modular jar
[2025-05-18T10:50:27.514Z] STF 10:50:27.227 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-05-18T10:50:27.515Z] STF 10:50:27.227 - | ModuleVersion: null
[2025-05-18T10:50:27.515Z] STF 10:50:27.227 - | MainClass: null
[2025-05-18T10:50:27.515Z] STF 10:50:27.227 - | HashModules: null
[2025-05-18T10:50:27.515Z] STF 10:50:27.227 - |
[2025-05-18T10:50:27.515Z] STF 10:50:27.228 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2025-05-18T10:50:27.515Z] STF 10:50:27.228 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/8.CMJ.stderr
[2025-05-18T10:50:27.515Z] STF 10:50:27.228 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/8.CMJ.stdout
[2025-05-18T10:50:27.515Z] STF 10:50:27.233 - Monitoring processes: CMJ
[2025-05-18T10:50:27.515Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - Monitoring Report Summary:
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - o Process CMJ ended with the expected exit code (0)
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - Created modular jar: 8.java.xml.jar
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 -
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - | Run foreground process
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - | Mnemonic: OT21
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - | Echo: ECHO_ON
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - | Expectation: CLEAN_RUN within 5m
[2025-05-18T10:50:27.857Z] STF 10:50:27.568 - |
[2025-05-18T10:50:27.857Z] STF 10:50:27.569 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-05-18T10:50:27.857Z] STF 10:50:27.569 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/9.OT21.stderr
[2025-05-18T10:50:27.857Z] STF 10:50:27.569 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/9.OT21.stdout
[2025-05-18T10:50:27.857Z] STF 10:50:27.589 - Monitoring processes: OT21
[2025-05-18T10:50:27.857Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:27.857Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello
[2025-05-18T10:50:28.199Z] OT21 JUnit version 4.12
[2025-05-18T10:50:28.199Z] OT21 .
[2025-05-18T10:50:28.199Z] OT21 Time: 0.013
[2025-05-18T10:50:28.199Z] OT21
[2025-05-18T10:50:28.199Z] OT21 OK (1 test)
[2025-05-18T10:50:28.199Z] OT21
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - Monitoring Report Summary:
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - o Process OT21 ended with the expected exit code (0)
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 -
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - | Run foreground process
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - | Mnemonic: OT22
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - | Echo: ECHO_ON
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - | Expectation: CLEAN_RUN within 5m
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - |
[2025-05-18T10:50:28.199Z] STF 10:50:27.960 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-05-18T10:50:28.199Z] STF 10:50:27.961 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/10.OT22.stderr
[2025-05-18T10:50:28.199Z] STF 10:50:27.961 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17475635265183/PatModImg_AppMod_0/20250518-105020-PatModImgTest/results/10.OT22.stdout
[2025-05-18T10:50:28.199Z] STF 10:50:27.967 - Monitoring processes: OT22
[2025-05-18T10:50:28.199Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-18T10:50:28.586Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17475635265183\PatModImg_AppMod_0\20250518-105020-PatModImgTest\modules\7.com.hello.jar
[2025-05-18T10:50:28.586Z] OT22 JUnit version 4.12
[2025-05-18T10:50:28.586Z] OT22 .
[2025-05-18T10:50:28.586Z] OT22 Time: 0.008
[2025-05-18T10:50:28.586Z] OT22
[2025-05-18T10:50:28.586Z] OT22 OK (1 test)
[2025-05-18T10:50:28.586Z] OT22
[2025-05-18T10:50:28.586Z] STF 10:50:28.322 - Monitoring Report Summary:
[2025-05-18T10:50:28.586Z] STF 10:50:28.322 - o Process OT22 ended with the expected exit code (0)
[2025-05-18T10:50:28.586Z] STF 10:50:28.322 - EXECUTE stage completed
[2025-05-18T10:50:28.586Z] STF 10:50:28.341 -
[2025-05-18T10:50:28.586Z] STF 10:50:28.341 - ==================== T E A R D O W N ====================
[2025-05-18T10:50:28.586Z] STF 10:50:28.341 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17475635265183\PatModImg_AppMod_0/20250518-105020-PatModImgTest/tearDown.pl
[2025-05-18T10:50:28.586Z] STF 10:50:28.480 - TEARDOWN stage completed
[2025-05-18T10:50:28.586Z] STF 10:50:28.498 -
[2025-05-18T10:50:28.586Z] STF 10:50:28.498 - ===================== R E S U L T S =====================
[2025-05-18T10:50:28.586Z] STF 10:50:28.498 - Stage results:
[2025-05-18T10:50:28.586Z] STF 10:50:28.498 - setUp: pass
[2025-05-18T10:50:28.586Z] STF 10:50:28.498 - execute: pass
[2025-05-18T10:50:28.586Z] STF 10:50:28.498 - teardown: pass
[2025-05-18T10:50:28.586Z] STF 10:50:28.498 -
[2025-05-18T10:50:28.586Z] STF 10:50:28.498 - Overall result: PASSED
[2025-05-18T10:50:28.586Z] -----------------------------------
[2025-05-18T10:50:28.586Z] PatModImg_AppMod_0_PASSED
[2025-05-18T10:50:28.586Z] -----------------------------------
[2025-05-18T10:50:28.912Z]
[2025-05-18T10:50:28.912Z] TEST TEARDOWN:
[2025-05-18T10:50:28.913Z] Nothing to be done for teardown.
[2025-05-18T10:50:28.913Z] PatModImg_AppMod_0 Finish Time: Sun May 18 10:50:28 2025 Epoch Time (ms): 1747565428748