PatModImg_AppMod_1
[2024-11-14T20:36:39.798Z] Running test PatModImg_AppMod_1 ...
[2024-11-14T20:36:40.109Z] ===============================================
[2024-11-14T20:36:40.420Z] PatModImg_AppMod_1 Start Time: Thu Nov 14 20:36:40 2024 Epoch Time (ms): 1731616600117
[2024-11-14T20:36:40.420Z] variation: Mode650
[2024-11-14T20:36:40.792Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-11-14T20:36:40.793Z] { \
[2024-11-14T20:36:40.793Z] echo ""; echo "TEST SETUP:"; \
[2024-11-14T20:36:40.793Z] echo "Nothing to be done for setup."; \
[2024-11-14T20:36:40.793Z] mkdir -p "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatModImg_AppMod_1"; \
[2024-11-14T20:36:40.793Z] cd "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatModImg_AppMod_1"; \
[2024-11-14T20:36:40.793Z] echo ""; echo "TESTING:"; \
[2024-11-14T20:36:40.793Z] perl C:/workspace/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:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-11-14T20:36:40.793Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-14T20:36:40.793Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-14T20:36:40.793Z] echo "Nothing to be done for teardown."; \
[2024-11-14T20:36:40.793Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\TestTargetResult";
[2024-11-14T20:36:40.793Z]
[2024-11-14T20:36:40.793Z] TEST SETUP:
[2024-11-14T20:36:40.793Z] Nothing to be done for setup.
[2024-11-14T20:36:40.793Z]
[2024-11-14T20:36:40.793Z] TESTING:
[2024-11-14T20:36:41.121Z] STF 20:36:40.757 - ========================= S T F =========================
[2024-11-14T20:36:41.122Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_AppMod_1
[2024-11-14T20:36:41.122Z] There is 96467 Mb free
[2024-11-14T20:36:41.122Z] STF 20:36:40.821 - ================== G E N E R A T I O N ==================
[2024-11-14T20:36:41.122Z] STF 20:36:40.824 - Checking JVM: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2024-11-14T20:36:41.122Z] STF 20:36:40.824 - Starting process to generate scripts: c:/workspace/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 -classpath c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/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:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_AppMod_1/20241114-203640-PatModImgTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_AppMod_1/20241114-203640-PatModImgTest"
[2024-11-14T20:36:41.122Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:41.122Z] GEN [0.025s][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
[2024-11-14T20:36:42.233Z] GEN 20:36:42.157 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-11-14T20:36:42.233Z] GEN 20:36:42.174 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-11-14T20:36:42.565Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-11-14T20:36:42.565Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-11-14T20:36:42.565Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-11-14T20:36:42.565Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-11-14T20:36:42.565Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-14T20:36:42.565Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-14T20:36:42.565Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar
[2024-11-14T20:36:42.565Z] GEN 20:36:42.457 - Using Mode NoOptions. Values = ''
[2024-11-14T20:36:42.893Z] GEN 20:36:42.587 -
[2024-11-14T20:36:42.893Z] GEN 20:36:42.588 - Test command summary:
[2024-11-14T20:36:42.893Z] GEN 20:36:42.588 - Step Stage Command Description
[2024-11-14T20:36:42.893Z] GEN 20:36:42.588 - -----+--------+-----------------+------------
[2024-11-14T20:36:42.893Z] GEN 20:36:42.588 - 1 execute jar Create com.hello jar
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 2 execute jar Create com.hola jar
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 3 execute jar Create com.helper jar
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 4 execute jar Create com.discreet jar
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 5 execute jar Create tests jar
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 6 execute jlink Create runtime image for PatchModule test
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 7 execute jar Create com.hello jar
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 8 execute jar create java.xml.jar
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-11-14T20:36:42.893Z] GEN 20:36:42.589 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-11-14T20:36:42.893Z] STF 20:36:42.638 -
[2024-11-14T20:36:42.893Z] STF 20:36:42.638 - Script generation completed
[2024-11-14T20:36:42.893Z] STF 20:36:42.638 -
[2024-11-14T20:36:42.893Z] STF 20:36:42.640 -
[2024-11-14T20:36:42.893Z] STF 20:36:42.640 - ======================= S E T U P =======================
[2024-11-14T20:36:42.893Z] STF 20:36:42.640 - Running setup: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_AppMod_1/20241114-203640-PatModImgTest/setUp.pl
[2024-11-14T20:36:42.893Z] STF 20:36:42.813 - SETUP stage completed
[2024-11-14T20:36:42.893Z] STF 20:36:42.827 -
[2024-11-14T20:36:42.893Z] STF 20:36:42.827 - ==================== E X E C U T E - ====================
[2024-11-14T20:36:42.893Z] STF 20:36:42.827 - Running execute: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_AppMod_1/20241114-203640-PatModImgTest/execute.pl
[2024-11-14T20:36:43.222Z] STF 20:36:43.005 -
[2024-11-14T20:36:43.222Z] STF 20:36:43.005 - Java version
[2024-11-14T20:36:43.222Z] STF 20:36:43.005 - Running: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-11-14T20:36:43.222Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:43.222Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-11-14T20:36:43.222Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411132002 (build 21.0.6-beta+3-ea)
[2024-11-14T20:36:43.222Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411132002 (build 21.0.6-beta+3-ea, mixed mode, sharing)
[2024-11-14T20:36:43.222Z] STF 20:36:43.150 -
[2024-11-14T20:36:43.222Z] STF 20:36:43.150 - +------ Step 1 - Create com.hello jar
[2024-11-14T20:36:43.222Z] STF 20:36:43.150 - | Create modular jar
[2024-11-14T20:36:43.222Z] STF 20:36:43.150 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-14T20:36:43.222Z] STF 20:36:43.150 - | ModuleVersion: null
[2024-11-14T20:36:43.222Z] STF 20:36:43.150 - | MainClass: null
[2024-11-14T20:36:43.222Z] STF 20:36:43.150 - | HashModules: null
[2024-11-14T20:36:43.222Z] STF 20:36:43.151 - |
[2024-11-14T20:36:43.222Z] STF 20:36:43.151 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/modules/1.com.hello.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2024-11-14T20:36:43.222Z] STF 20:36:43.152 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/1.CMJ.stderr
[2024-11-14T20:36:43.222Z] STF 20:36:43.152 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/1.CMJ.stdout
[2024-11-14T20:36:43.553Z] STF 20:36:43.196 - Monitoring processes: CMJ
[2024-11-14T20:36:43.553Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:43.882Z] STF 20:36:43.586 - Monitoring Report Summary:
[2024-11-14T20:36:43.882Z] STF 20:36:43.586 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - Created modular jar: 1.com.hello.jar
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 -
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - +------ Step 2 - Create com.hola jar
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - | Create modular jar
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - | ModuleVersion: null
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - | MainClass: null
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - | HashModules: null
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - |
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/modules/2.com.hola.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/2.CMJ.stderr
[2024-11-14T20:36:43.882Z] STF 20:36:43.587 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/2.CMJ.stdout
[2024-11-14T20:36:43.882Z] STF 20:36:43.601 - Monitoring processes: CMJ
[2024-11-14T20:36:43.882Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 - Monitoring Report Summary:
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 - Created modular jar: 2.com.hola.jar
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 -
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 - +------ Step 3 - Create com.helper jar
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 - | Create modular jar
[2024-11-14T20:36:44.210Z] STF 20:36:44.006 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-14T20:36:44.210Z] STF 20:36:44.006 - | ModuleVersion: null
[2024-11-14T20:36:44.210Z] STF 20:36:44.006 - | MainClass: null
[2024-11-14T20:36:44.210Z] STF 20:36:44.006 - | HashModules: null
[2024-11-14T20:36:44.210Z] STF 20:36:44.006 - |
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/modules/3.com.helper.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/3.CMJ.stderr
[2024-11-14T20:36:44.210Z] STF 20:36:44.007 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/3.CMJ.stdout
[2024-11-14T20:36:44.210Z] STF 20:36:44.014 - Monitoring processes: CMJ
[2024-11-14T20:36:44.210Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:44.539Z] STF 20:36:44.423 - Monitoring Report Summary:
[2024-11-14T20:36:44.539Z] STF 20:36:44.423 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:36:44.539Z] STF 20:36:44.423 - Created modular jar: 3.com.helper.jar
[2024-11-14T20:36:44.539Z] STF 20:36:44.423 -
[2024-11-14T20:36:44.539Z] STF 20:36:44.423 - +------ Step 4 - Create com.discreet jar
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - | Create modular jar
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - | ModuleVersion: null
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - | MainClass: null
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - | HashModules: null
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - |
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/modules/4.com.discreet.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/4.CMJ.stderr
[2024-11-14T20:36:44.539Z] STF 20:36:44.424 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/4.CMJ.stdout
[2024-11-14T20:36:44.539Z] STF 20:36:44.431 - Monitoring processes: CMJ
[2024-11-14T20:36:44.539Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - Monitoring Report Summary:
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - Created modular jar: 4.com.discreet.jar
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 -
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - +------ Step 5 - Create tests jar
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - | Create modular jar
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - | ModuleVersion: null
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - | MainClass: null
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - | HashModules: null
[2024-11-14T20:36:45.227Z] STF 20:36:44.814 - |
[2024-11-14T20:36:45.227Z] STF 20:36:44.815 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/modules/5.com.test.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2024-11-14T20:36:45.227Z] STF 20:36:44.815 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/5.CMJ.stderr
[2024-11-14T20:36:45.227Z] STF 20:36:44.815 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/5.CMJ.stdout
[2024-11-14T20:36:45.227Z] STF 20:36:44.822 - Monitoring processes: CMJ
[2024-11-14T20:36:45.227Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:45.551Z] STF 20:36:45.245 - Monitoring Report Summary:
[2024-11-14T20:36:45.551Z] STF 20:36:45.245 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:36:45.551Z] STF 20:36:45.245 - Created modular jar: 5.com.test.jar
[2024-11-14T20:36:45.551Z] STF 20:36:45.245 -
[2024-11-14T20:36:45.551Z] STF 20:36:45.245 - +------ Step 6 - Create runtime image for PatchModule test
[2024-11-14T20:36:45.551Z] STF 20:36:45.245 - | Run jlink to create runtime image
[2024-11-14T20:36:45.551Z] STF 20:36:45.245 - | ImageName: XpJVM
[2024-11-14T20:36:45.551Z] STF 20:36:45.245 - |
[2024-11-14T20:36:45.551Z] STF 20:36:45.246 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17316146282192\PatModImg_AppMod_1\20241114-203640-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17316146282192\PatModImg_AppMod_1\20241114-203640-PatModImgTest\tmp\6.XpJVM
[2024-11-14T20:36:45.551Z] STF 20:36:45.246 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/6.JLNK.stderr
[2024-11-14T20:36:45.551Z] STF 20:36:45.246 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/6.JLNK.stdout
[2024-11-14T20:36:45.551Z] STF 20:36:45.253 - Monitoring processes: JLNK
[2024-11-14T20:36:45.551Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:48.457Z] STF 20:36:48.359 - Monitoring Report Summary:
[2024-11-14T20:36:48.457Z] STF 20:36:48.359 - o Process JLNK ended with the expected exit code (0)
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 -
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - +------ Step 7 - Create com.hello jar
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - | Create modular jar
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - | ModuleVersion: null
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - | MainClass: null
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - | HashModules: null
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - |
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/modules/7.com.hello.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/7.CMJ.stderr
[2024-11-14T20:36:48.457Z] STF 20:36:48.360 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/7.CMJ.stdout
[2024-11-14T20:36:48.457Z] STF 20:36:48.375 - Monitoring processes: CMJ
[2024-11-14T20:36:48.458Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:49.144Z] STF 20:36:48.823 - Monitoring Report Summary:
[2024-11-14T20:36:49.144Z] STF 20:36:48.823 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - Created modular jar: 7.com.hello.jar
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 -
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - +------ Step 8 - create java.xml.jar
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - | Create modular jar
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - | ModuleVersion: null
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - | MainClass: null
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - | HashModules: null
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - |
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/modules/8.java.xml.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/8.CMJ.stderr
[2024-11-14T20:36:49.144Z] STF 20:36:48.824 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/8.CMJ.stdout
[2024-11-14T20:36:49.144Z] STF 20:36:48.832 - Monitoring processes: CMJ
[2024-11-14T20:36:49.144Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - Monitoring Report Summary:
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - Created modular jar: 8.java.xml.jar
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 -
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - | Run foreground process
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - | Mnemonic: OT21
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - | Echo: ECHO_ON
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - | Expectation: CLEAN_RUN within 5m
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - |
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\workspace\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:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/9.OT21.stderr
[2024-11-14T20:36:49.457Z] STF 20:36:49.221 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/9.OT21.stdout
[2024-11-14T20:36:49.457Z] STF 20:36:49.247 - Monitoring processes: OT21
[2024-11-14T20:36:49.457Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:49.789Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello
[2024-11-14T20:36:49.789Z] OT21 JUnit version 4.12
[2024-11-14T20:36:49.789Z] OT21 .
[2024-11-14T20:36:50.131Z] OT21 Time: 0.015
[2024-11-14T20:36:50.131Z] OT21
[2024-11-14T20:36:50.131Z] OT21 OK (1 test)
[2024-11-14T20:36:50.131Z] OT21
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - Monitoring Report Summary:
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - o Process OT21 ended with the expected exit code (0)
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 -
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - | Run foreground process
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - | Mnemonic: OT22
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - | Echo: ECHO_ON
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - | Expectation: CLEAN_RUN within 5m
[2024-11-14T20:36:50.131Z] STF 20:36:49.716 - |
[2024-11-14T20:36:50.131Z] STF 20:36:49.717 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-14T20:36:50.131Z] STF 20:36:49.717 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/10.OT22.stderr
[2024-11-14T20:36:50.131Z] STF 20:36:49.717 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_AppMod_1/20241114-203640-PatModImgTest/results/10.OT22.stdout
[2024-11-14T20:36:50.131Z] STF 20:36:49.725 - Monitoring processes: OT22
[2024-11-14T20:36:50.131Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:36:50.131Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17316146282192\PatModImg_AppMod_1\20241114-203640-PatModImgTest\modules\7.com.hello.jar
[2024-11-14T20:36:50.131Z] OT22 JUnit version 4.12
[2024-11-14T20:36:50.455Z] OT22 .
[2024-11-14T20:36:50.455Z] OT22 Time: 0.016
[2024-11-14T20:36:50.455Z] OT22
[2024-11-14T20:36:50.455Z] OT22 OK (1 test)
[2024-11-14T20:36:50.455Z] OT22
[2024-11-14T20:36:50.455Z] STF 20:36:50.152 - Monitoring Report Summary:
[2024-11-14T20:36:50.455Z] STF 20:36:50.152 - o Process OT22 ended with the expected exit code (0)
[2024-11-14T20:36:50.455Z] STF 20:36:50.152 - EXECUTE stage completed
[2024-11-14T20:36:50.455Z] STF 20:36:50.244 -
[2024-11-14T20:36:50.455Z] STF 20:36:50.244 - ==================== T E A R D O W N ====================
[2024-11-14T20:36:50.455Z] STF 20:36:50.244 - Running teardown: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_AppMod_1/20241114-203640-PatModImgTest/tearDown.pl
[2024-11-14T20:36:50.843Z] STF 20:36:50.420 - TEARDOWN stage completed
[2024-11-14T20:36:50.843Z] STF 20:36:50.440 -
[2024-11-14T20:36:50.843Z] STF 20:36:50.440 - ===================== R E S U L T S =====================
[2024-11-14T20:36:50.843Z] STF 20:36:50.440 - Stage results:
[2024-11-14T20:36:50.843Z] STF 20:36:50.440 - setUp: pass
[2024-11-14T20:36:50.843Z] STF 20:36:50.440 - execute: pass
[2024-11-14T20:36:50.843Z] STF 20:36:50.440 - teardown: pass
[2024-11-14T20:36:50.843Z] STF 20:36:50.440 -
[2024-11-14T20:36:50.843Z] STF 20:36:50.440 - Overall result: PASSED
[2024-11-14T20:36:50.843Z] -----------------------------------
[2024-11-14T20:36:50.843Z] PatModImg_AppMod_1_PASSED
[2024-11-14T20:36:50.843Z] -----------------------------------
[2024-11-14T20:36:50.843Z]
[2024-11-14T20:36:50.843Z] TEST TEARDOWN:
[2024-11-14T20:36:50.843Z] Nothing to be done for teardown.
[2024-11-14T20:36:50.843Z] PatModImg_AppMod_1 Finish Time: Thu Nov 14 20:36:50 2024 Epoch Time (ms): 1731616610736