PatModImg_AppMod_0
[2024-10-31T11:26:45.257Z] Running test PatModImg_AppMod_0 ...
[2024-10-31T11:26:45.570Z] ===============================================
[2024-10-31T11:26:45.570Z] PatModImg_AppMod_0 Start Time: Thu Oct 31 11:26:45 2024 Epoch Time (ms): 1730374005443
[2024-10-31T11:26:45.884Z] variation: Mode150
[2024-10-31T11:26:45.884Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-10-31T11:26:45.884Z] { \
[2024-10-31T11:26:45.884Z] echo ""; echo "TEST SETUP:"; \
[2024-10-31T11:26:45.884Z] echo "Nothing to be done for setup."; \
[2024-10-31T11:26:45.884Z] mkdir -p "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\PatModImg_AppMod_0"; \
[2024-10-31T11:26:45.884Z] cd "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\PatModImg_AppMod_0"; \
[2024-10-31T11:26:45.884Z] echo ""; echo "TESTING:"; \
[2024-10-31T11:26:45.884Z] 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_17303720357655\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-10-31T11:26:45.884Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_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_17303720357655\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-10-31T11:26:45.884Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-10-31T11:26:45.884Z] echo "Nothing to be done for teardown."; \
[2024-10-31T11:26:45.884Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\TestTargetResult";
[2024-10-31T11:26:46.264Z]
[2024-10-31T11:26:46.264Z] TEST SETUP:
[2024-10-31T11:26:46.264Z] Nothing to be done for setup.
[2024-10-31T11:26:46.264Z]
[2024-10-31T11:26:46.264Z] TESTING:
[2024-10-31T11:26:46.264Z] STF 11:26:46.137 - ========================= S T F =========================
[2024-10-31T11:26:46.264Z] 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_17303720357655\PatModImg_AppMod_0
[2024-10-31T11:26:46.593Z] There is 96434 Mb free
[2024-10-31T11:26:46.593Z] STF 11:26:46.204 - ================== G E N E R A T I O N ==================
[2024-10-31T11:26:46.593Z] STF 11:26:46.207 - Checking JVM: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2024-10-31T11:26:46.593Z] STF 11:26:46.208 - 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_17303720357655\PatModImg_AppMod_0/20241031-112646-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_17303720357655\PatModImg_AppMod_0/20241031-112646-PatModImgTest"
[2024-10-31T11:26:46.593Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:46.594Z] GEN [0.026s][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-10-31T11:26:47.711Z] GEN 11:26:47.599 - 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-10-31T11:26:47.712Z] GEN 11:26:47.616 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-10-31T11:26:48.043Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] 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-10-31T11:26:48.043Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-10-31T11:26:48.043Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-10-31T11:26:48.043Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-10-31T11:26:48.043Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-10-31T11:26:48.043Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2024-10-31T11:26:48.043Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2024-10-31T11:26:48.043Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar
[2024-10-31T11:26:48.043Z] GEN 11:26:47.900 - Using Mode NoOptions. Values = ''
[2024-10-31T11:26:48.369Z] GEN 11:26:48.033 -
[2024-10-31T11:26:48.369Z] GEN 11:26:48.034 - Test command summary:
[2024-10-31T11:26:48.369Z] GEN 11:26:48.034 - Step Stage Command Description
[2024-10-31T11:26:48.369Z] GEN 11:26:48.034 - -----+--------+-----------------+------------
[2024-10-31T11:26:48.369Z] GEN 11:26:48.034 - 1 execute jar Create com.hello jar
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 2 execute jar Create com.hola jar
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 3 execute jar Create com.helper jar
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 4 execute jar Create com.discreet jar
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 5 execute jar Create tests jar
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 6 execute jlink Create runtime image for PatchModule test
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 7 execute jar Create com.hello jar
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 8 execute jar create java.xml.jar
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-10-31T11:26:48.369Z] GEN 11:26:48.035 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-10-31T11:26:48.369Z] STF 11:26:48.097 -
[2024-10-31T11:26:48.369Z] STF 11:26:48.097 - Script generation completed
[2024-10-31T11:26:48.369Z] STF 11:26:48.097 -
[2024-10-31T11:26:48.369Z] STF 11:26:48.099 -
[2024-10-31T11:26:48.369Z] STF 11:26:48.099 - ======================= S E T U P =======================
[2024-10-31T11:26:48.369Z] STF 11:26:48.099 - Running setup: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\PatModImg_AppMod_0/20241031-112646-PatModImgTest/setUp.pl
[2024-10-31T11:26:48.369Z] STF 11:26:48.300 - SETUP stage completed
[2024-10-31T11:26:48.369Z] STF 11:26:48.319 -
[2024-10-31T11:26:48.369Z] STF 11:26:48.319 - ==================== E X E C U T E - ====================
[2024-10-31T11:26:48.369Z] STF 11:26:48.319 - Running execute: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\PatModImg_AppMod_0/20241031-112646-PatModImgTest/execute.pl
[2024-10-31T11:26:48.697Z] STF 11:26:48.514 -
[2024-10-31T11:26:48.697Z] STF 11:26:48.514 - Java version
[2024-10-31T11:26:48.697Z] STF 11:26:48.514 - Running: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-10-31T11:26:48.697Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:48.697Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-10-31T11:26:48.697Z] OpenJDK Runtime Environment Temurin-21.0.6+1-202410302007 (build 21.0.6-beta+1-ea)
[2024-10-31T11:26:48.697Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+1-202410302007 (build 21.0.6-beta+1-ea, mixed mode, sharing)
[2024-10-31T11:26:48.697Z] STF 11:26:48.636 -
[2024-10-31T11:26:48.697Z] STF 11:26:48.636 - +------ Step 1 - Create com.hello jar
[2024-10-31T11:26:48.697Z] STF 11:26:48.636 - | Create modular jar
[2024-10-31T11:26:48.697Z] STF 11:26:48.636 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-10-31T11:26:48.697Z] STF 11:26:48.636 - | ModuleVersion: null
[2024-10-31T11:26:48.697Z] STF 11:26:48.636 - | MainClass: null
[2024-10-31T11:26:48.697Z] STF 11:26:48.636 - | HashModules: null
[2024-10-31T11:26:48.697Z] STF 11:26:48.636 - |
[2024-10-31T11:26:48.697Z] STF 11:26:48.637 - 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_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:48.697Z] STF 11:26:48.637 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/1.CMJ.stderr
[2024-10-31T11:26:48.697Z] STF 11:26:48.637 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/1.CMJ.stdout
[2024-10-31T11:26:49.028Z] STF 11:26:48.674 - Monitoring processes: CMJ
[2024-10-31T11:26:49.028Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - Monitoring Report Summary:
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - Created modular jar: 1.com.hello.jar
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 -
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - +------ Step 2 - Create com.hola jar
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - | Create modular jar
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - | ModuleVersion: null
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - | MainClass: null
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - | HashModules: null
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - |
[2024-10-31T11:26:49.355Z] STF 11:26:49.080 - 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_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:49.355Z] STF 11:26:49.080 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/2.CMJ.stderr
[2024-10-31T11:26:49.356Z] STF 11:26:49.080 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/2.CMJ.stdout
[2024-10-31T11:26:49.356Z] STF 11:26:49.088 - Monitoring processes: CMJ
[2024-10-31T11:26:49.356Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - Monitoring Report Summary:
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - Created modular jar: 2.com.hola.jar
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 -
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - +------ Step 3 - Create com.helper jar
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - | Create modular jar
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - | ModuleVersion: null
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - | MainClass: null
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - | HashModules: null
[2024-10-31T11:26:49.681Z] STF 11:26:49.501 - |
[2024-10-31T11:26:49.681Z] STF 11:26:49.502 - 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_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:49.681Z] STF 11:26:49.502 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/3.CMJ.stderr
[2024-10-31T11:26:49.681Z] STF 11:26:49.502 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/3.CMJ.stdout
[2024-10-31T11:26:49.681Z] STF 11:26:49.511 - Monitoring processes: CMJ
[2024-10-31T11:26:49.682Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:50.006Z] STF 11:26:49.924 - Monitoring Report Summary:
[2024-10-31T11:26:50.006Z] STF 11:26:49.924 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - Created modular jar: 3.com.helper.jar
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 -
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - +------ Step 4 - Create com.discreet jar
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - | Create modular jar
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - | ModuleVersion: null
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - | MainClass: null
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - | HashModules: null
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - |
[2024-10-31T11:26:50.006Z] STF 11:26:49.925 - 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_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:50.007Z] STF 11:26:49.926 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/4.CMJ.stderr
[2024-10-31T11:26:50.007Z] STF 11:26:49.926 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/4.CMJ.stdout
[2024-10-31T11:26:50.007Z] STF 11:26:49.935 - Monitoring processes: CMJ
[2024-10-31T11:26:50.007Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - Monitoring Report Summary:
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - Created modular jar: 4.com.discreet.jar
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 -
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - +------ Step 5 - Create tests jar
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - | Create modular jar
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - | ModuleVersion: null
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - | MainClass: null
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - | HashModules: null
[2024-10-31T11:26:50.679Z] STF 11:26:50.343 - |
[2024-10-31T11:26:50.680Z] STF 11:26:50.343 - 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_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:50.680Z] STF 11:26:50.343 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/5.CMJ.stderr
[2024-10-31T11:26:50.680Z] STF 11:26:50.343 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/5.CMJ.stdout
[2024-10-31T11:26:50.680Z] STF 11:26:50.351 - Monitoring processes: CMJ
[2024-10-31T11:26:50.680Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 - Monitoring Report Summary:
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 - Created modular jar: 5.com.test.jar
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 -
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 - +------ Step 6 - Create runtime image for PatchModule test
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 - | Run jlink to create runtime image
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 - | ImageName: XpJVM
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 - |
[2024-10-31T11:26:51.008Z] STF 11:26:50.814 - 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_17303720357655\PatModImg_AppMod_0\20241031-112646-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_17303720357655\PatModImg_AppMod_0\20241031-112646-PatModImgTest\tmp\6.XpJVM
[2024-10-31T11:26:51.009Z] STF 11:26:50.815 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/6.JLNK.stderr
[2024-10-31T11:26:51.009Z] STF 11:26:50.815 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/6.JLNK.stdout
[2024-10-31T11:26:51.009Z] STF 11:26:50.827 - Monitoring processes: JLNK
[2024-10-31T11:26:51.009Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:54.706Z] STF 11:26:53.872 - Monitoring Report Summary:
[2024-10-31T11:26:54.706Z] STF 11:26:53.872 - o Process JLNK ended with the expected exit code (0)
[2024-10-31T11:26:54.706Z] STF 11:26:53.873 -
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - +------ Step 7 - Create com.hello jar
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - | Create modular jar
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - | ModuleVersion: null
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - | MainClass: null
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - | HashModules: null
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - |
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - 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_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:54.706Z] STF 11:26:53.874 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/7.CMJ.stderr
[2024-10-31T11:26:54.706Z] STF 11:26:53.874 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/7.CMJ.stdout
[2024-10-31T11:26:54.706Z] STF 11:26:53.893 - Monitoring processes: CMJ
[2024-10-31T11:26:54.706Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - Monitoring Report Summary:
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - Created modular jar: 7.com.hello.jar
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 -
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - +------ Step 8 - create java.xml.jar
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - | Create modular jar
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - | ModuleVersion: null
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - | MainClass: null
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - | HashModules: null
[2024-10-31T11:26:54.706Z] STF 11:26:54.344 - |
[2024-10-31T11:26:54.706Z] STF 11:26:54.345 - 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_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:54.706Z] STF 11:26:54.345 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/8.CMJ.stderr
[2024-10-31T11:26:54.707Z] STF 11:26:54.345 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/8.CMJ.stdout
[2024-10-31T11:26:54.707Z] STF 11:26:54.353 - Monitoring processes: CMJ
[2024-10-31T11:26:54.707Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - Monitoring Report Summary:
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - Created modular jar: 8.java.xml.jar
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 -
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - | Run foreground process
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - | Mnemonic: OT21
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - | Echo: ECHO_ON
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - | Expectation: CLEAN_RUN within 5m
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - |
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:55.032Z] STF 11:26:54.755 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/9.OT21.stderr
[2024-10-31T11:26:55.032Z] STF 11:26:54.755 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/9.OT21.stdout
[2024-10-31T11:26:55.032Z] STF 11:26:54.781 - Monitoring processes: OT21
[2024-10-31T11:26:55.032Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:55.358Z] 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-10-31T11:26:55.358Z] OT21 JUnit version 4.12
[2024-10-31T11:26:55.358Z] OT21 .
[2024-10-31T11:26:55.358Z] OT21 Time: 0.016
[2024-10-31T11:26:55.358Z] OT21
[2024-10-31T11:26:55.358Z] OT21 OK (1 test)
[2024-10-31T11:26:55.358Z] OT21
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - Monitoring Report Summary:
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - o Process OT21 ended with the expected exit code (0)
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 -
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - | Run foreground process
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - | Mnemonic: OT22
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - | Echo: ECHO_ON
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - | Expectation: CLEAN_RUN within 5m
[2024-10-31T11:26:55.358Z] STF 11:26:55.239 - |
[2024-10-31T11:26:55.358Z] STF 11:26:55.240 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-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_17303720357655/PatModImg_AppMod_0/20241031-112646-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-10-31T11:26:55.358Z] STF 11:26:55.240 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/10.OT22.stderr
[2024-10-31T11:26:55.358Z] STF 11:26:55.240 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_AppMod_0/20241031-112646-PatModImgTest/results/10.OT22.stdout
[2024-10-31T11:26:55.358Z] STF 11:26:55.248 - Monitoring processes: OT22
[2024-10-31T11:26:55.683Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T11:26:55.683Z] 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_17303720357655\PatModImg_AppMod_0\20241031-112646-PatModImgTest\modules\7.com.hello.jar
[2024-10-31T11:26:55.683Z] OT22 JUnit version 4.12
[2024-10-31T11:26:56.077Z] OT22 .
[2024-10-31T11:26:56.077Z] OT22 Time: 0.009
[2024-10-31T11:26:56.077Z] OT22
[2024-10-31T11:26:56.077Z] OT22 OK (1 test)
[2024-10-31T11:26:56.077Z] OT22
[2024-10-31T11:26:56.077Z] STF 11:26:55.665 - Monitoring Report Summary:
[2024-10-31T11:26:56.077Z] STF 11:26:55.665 - o Process OT22 ended with the expected exit code (0)
[2024-10-31T11:26:56.077Z] STF 11:26:55.666 - EXECUTE stage completed
[2024-10-31T11:26:56.077Z] STF 11:26:55.763 -
[2024-10-31T11:26:56.077Z] STF 11:26:55.763 - ==================== T E A R D O W N ====================
[2024-10-31T11:26:56.077Z] STF 11:26:55.763 - Running teardown: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\PatModImg_AppMod_0/20241031-112646-PatModImgTest/tearDown.pl
[2024-10-31T11:26:56.077Z] STF 11:26:55.951 - TEARDOWN stage completed
[2024-10-31T11:26:56.077Z] STF 11:26:55.965 -
[2024-10-31T11:26:56.077Z] STF 11:26:55.965 - ===================== R E S U L T S =====================
[2024-10-31T11:26:56.077Z] STF 11:26:55.965 - Stage results:
[2024-10-31T11:26:56.077Z] STF 11:26:55.965 - setUp: pass
[2024-10-31T11:26:56.077Z] STF 11:26:55.965 - execute: pass
[2024-10-31T11:26:56.077Z] STF 11:26:55.965 - teardown: pass
[2024-10-31T11:26:56.077Z] STF 11:26:55.965 -
[2024-10-31T11:26:56.077Z] STF 11:26:55.965 - Overall result: PASSED
[2024-10-31T11:26:56.077Z] -----------------------------------
[2024-10-31T11:26:56.077Z] PatModImg_AppMod_0_PASSED
[2024-10-31T11:26:56.077Z] -----------------------------------
[2024-10-31T11:26:56.396Z]
[2024-10-31T11:26:56.396Z] TEST TEARDOWN:
[2024-10-31T11:26:56.396Z] Nothing to be done for teardown.
[2024-10-31T11:26:56.396Z] PatModImg_AppMod_0 Finish Time: Thu Oct 31 11:26:56 2024 Epoch Time (ms): 1730374016280