PatModImg_PlatMod_0

[2024-11-14T20:36:03.135Z] Running test PatModImg_PlatMod_0 ... [2024-11-14T20:36:03.135Z] =============================================== [2024-11-14T20:36:03.451Z] PatModImg_PlatMod_0 Start Time: Thu Nov 14 20:36:03 2024 Epoch Time (ms): 1731616563155 [2024-11-14T20:36:03.451Z] variation: Mode150 [2024-11-14T20:36:03.852Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-14T20:36:03.852Z] { \ [2024-11-14T20:36:03.852Z] echo ""; echo "TEST SETUP:"; \ [2024-11-14T20:36:03.852Z] echo "Nothing to be done for setup."; \ [2024-11-14T20:36:03.852Z] mkdir -p "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatModImg_PlatMod_0"; \ [2024-11-14T20:36:03.852Z] cd "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatModImg_PlatMod_0"; \ [2024-11-14T20:36:03.852Z] echo ""; echo "TESTING:"; \ [2024-11-14T20:36:03.852Z] 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_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-11-14T20:36:03.852Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_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_17316146282192\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-14T20:36:03.852Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-14T20:36:03.852Z] echo "Nothing to be done for teardown."; \ [2024-11-14T20:36:03.852Z] } 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:03.852Z] [2024-11-14T20:36:03.852Z] TEST SETUP: [2024-11-14T20:36:03.852Z] Nothing to be done for setup. [2024-11-14T20:36:03.852Z] [2024-11-14T20:36:03.852Z] TESTING: [2024-11-14T20:36:04.180Z] STF 20:36:03.822 - ========================= S T F ========================= [2024-11-14T20:36:04.180Z] 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_PlatMod_0 [2024-11-14T20:36:04.180Z] There is 96466 Mb free [2024-11-14T20:36:04.180Z] STF 20:36:03.889 - ================== G E N E R A T I O N ================== [2024-11-14T20:36:04.180Z] STF 20:36:03.892 - Checking JVM: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-14T20:36:04.180Z] STF 20:36:03.893 - 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_PlatMod_0/20241114-203603-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_PlatMod_0/20241114-203603-PatModImgTest" [2024-11-14T20:36:04.180Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:04.180Z] GEN [0.024s][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:05.307Z] GEN 20:36:05.205 - 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:05.307Z] GEN 20:36:05.222 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-14T20:36:05.630Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-14T20:36:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] 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:05.630Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-14T20:36:05.630Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-14T20:36:05.630Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-14T20:36:05.630Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-11-14T20:36:05.630Z] GEN 20:36:05.536 - Using Mode NoOptions. Values = '' [2024-11-14T20:36:05.957Z] GEN 20:36:05.720 - [2024-11-14T20:36:05.958Z] GEN 20:36:05.720 - Test command summary: [2024-11-14T20:36:05.958Z] GEN 20:36:05.720 - Step Stage Command Description [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - -----+--------+-----------------+------------ [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 1 execute jar Create com.hello jar [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 2 execute jar Create com.hola jar [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 3 execute jar Create com.helper jar [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 4 execute jar Create com.discreet jar [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 5 execute jar Create tests jar [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 6 execute jlink Create runtime image for PatchModule test [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 7 execute jar Create com.hello jar [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 8 execute jar create java.xml.jar [2024-11-14T20:36:05.958Z] GEN 20:36:05.721 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-11-14T20:36:05.958Z] GEN 20:36:05.722 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-11-14T20:36:05.958Z] STF 20:36:05.771 - [2024-11-14T20:36:05.958Z] STF 20:36:05.771 - Script generation completed [2024-11-14T20:36:05.958Z] STF 20:36:05.771 - [2024-11-14T20:36:05.958Z] STF 20:36:05.773 - [2024-11-14T20:36:05.958Z] STF 20:36:05.773 - ======================= S E T U P ======================= [2024-11-14T20:36:05.958Z] STF 20:36:05.773 - Running setup: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_PlatMod_0/20241114-203603-PatModImgTest/setUp.pl [2024-11-14T20:36:06.292Z] STF 20:36:05.952 - SETUP stage completed [2024-11-14T20:36:06.292Z] STF 20:36:05.968 - [2024-11-14T20:36:06.292Z] STF 20:36:05.968 - ==================== E X E C U T E - ==================== [2024-11-14T20:36:06.292Z] STF 20:36:05.968 - Running execute: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_PlatMod_0/20241114-203603-PatModImgTest/execute.pl [2024-11-14T20:36:06.292Z] STF 20:36:06.153 - [2024-11-14T20:36:06.292Z] STF 20:36:06.154 - Java version [2024-11-14T20:36:06.292Z] STF 20:36:06.154 - Running: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-14T20:36:06.292Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:06.619Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-14T20:36:06.619Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411132002 (build 21.0.6-beta+3-ea) [2024-11-14T20:36:06.619Z] 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:06.619Z] STF 20:36:06.283 - [2024-11-14T20:36:06.619Z] STF 20:36:06.283 - +------ Step 1 - Create com.hello jar [2024-11-14T20:36:06.619Z] STF 20:36:06.283 - | Create modular jar [2024-11-14T20:36:06.619Z] STF 20:36:06.283 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-14T20:36:06.619Z] STF 20:36:06.283 - | ModuleVersion: null [2024-11-14T20:36:06.619Z] STF 20:36:06.284 - | MainClass: null [2024-11-14T20:36:06.619Z] STF 20:36:06.284 - | HashModules: null [2024-11-14T20:36:06.619Z] STF 20:36:06.284 - | [2024-11-14T20:36:06.619Z] STF 20:36:06.284 - 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_PlatMod_0/20241114-203603-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:06.619Z] STF 20:36:06.284 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/1.CMJ.stderr [2024-11-14T20:36:06.619Z] STF 20:36:06.284 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/1.CMJ.stdout [2024-11-14T20:36:06.619Z] STF 20:36:06.324 - Monitoring processes: CMJ [2024-11-14T20:36:06.619Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - Monitoring Report Summary: [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - Created modular jar: 1.com.hello.jar [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - +------ Step 2 - Create com.hola jar [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - | Create modular jar [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - | ModuleVersion: null [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - | MainClass: null [2024-11-14T20:36:06.951Z] STF 20:36:06.731 - | HashModules: null [2024-11-14T20:36:06.951Z] STF 20:36:06.732 - | [2024-11-14T20:36:06.951Z] STF 20:36:06.732 - 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_PlatMod_0/20241114-203603-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:06.951Z] STF 20:36:06.732 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/2.CMJ.stderr [2024-11-14T20:36:06.951Z] STF 20:36:06.732 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/2.CMJ.stdout [2024-11-14T20:36:06.951Z] STF 20:36:06.739 - Monitoring processes: CMJ [2024-11-14T20:36:06.951Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:07.281Z] STF 20:36:07.161 - Monitoring Report Summary: [2024-11-14T20:36:07.281Z] STF 20:36:07.161 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - Created modular jar: 2.com.hola.jar [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - +------ Step 3 - Create com.helper jar [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - | Create modular jar [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - | ModuleVersion: null [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - | MainClass: null [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - | HashModules: null [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - | [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - 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_PlatMod_0/20241114-203603-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:07.281Z] STF 20:36:07.162 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/3.CMJ.stderr [2024-11-14T20:36:07.281Z] STF 20:36:07.162 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/3.CMJ.stdout [2024-11-14T20:36:07.281Z] STF 20:36:07.170 - Monitoring processes: CMJ [2024-11-14T20:36:07.282Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:07.969Z] STF 20:36:07.563 - Monitoring Report Summary: [2024-11-14T20:36:07.969Z] STF 20:36:07.563 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - Created modular jar: 3.com.helper.jar [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - +------ Step 4 - Create com.discreet jar [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - | Create modular jar [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - | ModuleVersion: null [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - | MainClass: null [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - | HashModules: null [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - | [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - 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_PlatMod_0/20241114-203603-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:07.969Z] STF 20:36:07.564 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/4.CMJ.stderr [2024-11-14T20:36:07.969Z] STF 20:36:07.564 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/4.CMJ.stdout [2024-11-14T20:36:07.969Z] STF 20:36:07.571 - Monitoring processes: CMJ [2024-11-14T20:36:07.969Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:08.295Z] STF 20:36:07.951 - Monitoring Report Summary: [2024-11-14T20:36:08.295Z] STF 20:36:07.951 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:08.295Z] STF 20:36:07.951 - Created modular jar: 4.com.discreet.jar [2024-11-14T20:36:08.295Z] STF 20:36:07.951 - [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - +------ Step 5 - Create tests jar [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - | Create modular jar [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - | ModuleVersion: null [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - | MainClass: null [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - | HashModules: null [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - | [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - 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_PlatMod_0/20241114-203603-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:08.295Z] STF 20:36:07.952 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/5.CMJ.stderr [2024-11-14T20:36:08.295Z] STF 20:36:07.952 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/5.CMJ.stdout [2024-11-14T20:36:08.295Z] STF 20:36:07.961 - Monitoring processes: CMJ [2024-11-14T20:36:08.295Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:08.615Z] STF 20:36:08.382 - Monitoring Report Summary: [2024-11-14T20:36:08.615Z] STF 20:36:08.382 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - Created modular jar: 5.com.test.jar [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - | Run jlink to create runtime image [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - | ImageName: XpJVM [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - | [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - 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_PlatMod_0\20241114-203603-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_PlatMod_0\20241114-203603-PatModImgTest\tmp\6.XpJVM [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/6.JLNK.stderr [2024-11-14T20:36:08.615Z] STF 20:36:08.383 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/6.JLNK.stdout [2024-11-14T20:36:08.615Z] STF 20:36:08.410 - Monitoring processes: JLNK [2024-11-14T20:36:08.615Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - Monitoring Report Summary: [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - o Process JLNK ended with the expected exit code (0) [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - +------ Step 7 - Create com.hello jar [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - | Create modular jar [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - | ModuleVersion: null [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - | MainClass: null [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - | HashModules: null [2024-11-14T20:36:13.253Z] STF 20:36:12.412 - | [2024-11-14T20:36:13.253Z] STF 20:36:12.413 - 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_PlatMod_0/20241114-203603-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:13.253Z] STF 20:36:12.413 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/7.CMJ.stderr [2024-11-14T20:36:13.254Z] STF 20:36:12.413 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/7.CMJ.stdout [2024-11-14T20:36:13.254Z] STF 20:36:12.434 - Monitoring processes: CMJ [2024-11-14T20:36:13.254Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:13.254Z] STF 20:36:12.954 - Monitoring Report Summary: [2024-11-14T20:36:13.254Z] STF 20:36:12.954 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:13.254Z] STF 20:36:12.954 - Created modular jar: 7.com.hello.jar [2024-11-14T20:36:13.254Z] STF 20:36:12.954 - [2024-11-14T20:36:13.254Z] STF 20:36:12.954 - +------ Step 8 - create java.xml.jar [2024-11-14T20:36:13.254Z] STF 20:36:12.954 - | Create modular jar [2024-11-14T20:36:13.254Z] STF 20:36:12.954 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-14T20:36:13.254Z] STF 20:36:12.955 - | ModuleVersion: null [2024-11-14T20:36:13.254Z] STF 20:36:12.955 - | MainClass: null [2024-11-14T20:36:13.254Z] STF 20:36:12.955 - | HashModules: null [2024-11-14T20:36:13.254Z] STF 20:36:12.955 - | [2024-11-14T20:36:13.254Z] STF 20:36:12.955 - 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_PlatMod_0/20241114-203603-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:13.254Z] STF 20:36:12.955 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/8.CMJ.stderr [2024-11-14T20:36:13.254Z] STF 20:36:12.955 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/8.CMJ.stdout [2024-11-14T20:36:13.254Z] STF 20:36:12.962 - Monitoring processes: CMJ [2024-11-14T20:36:13.254Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:13.578Z] STF 20:36:13.346 - Monitoring Report Summary: [2024-11-14T20:36:13.579Z] STF 20:36:13.346 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:13.579Z] STF 20:36:13.346 - Created modular jar: 8.java.xml.jar [2024-11-14T20:36:13.579Z] STF 20:36:13.346 - [2024-11-14T20:36:13.579Z] STF 20:36:13.346 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-11-14T20:36:13.579Z] STF 20:36:13.346 - | Run foreground process [2024-11-14T20:36:13.579Z] STF 20:36:13.347 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-14T20:36:13.579Z] STF 20:36:13.347 - | Mnemonic: OT11 [2024-11-14T20:36:13.579Z] STF 20:36:13.347 - | Echo: ECHO_ON [2024-11-14T20:36:13.579Z] STF 20:36:13.347 - | Expectation: CLEAN_RUN within 5m [2024-11-14T20:36:13.579Z] STF 20:36:13.347 - | [2024-11-14T20:36:13.579Z] STF 20:36:13.347 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=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 -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.TestOverrideUsingUpgradablePlatformModule [2024-11-14T20:36:13.579Z] STF 20:36:13.347 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/9.OT11.stderr [2024-11-14T20:36:13.579Z] STF 20:36:13.347 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/9.OT11.stdout [2024-11-14T20:36:13.579Z] STF 20:36:13.372 - Monitoring processes: OT11 [2024-11-14T20:36:13.579Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:13.903Z] OT11 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\java.xml [2024-11-14T20:36:13.903Z] OT11 JUnit version 4.12 [2024-11-14T20:36:13.903Z] OT11 . [2024-11-14T20:36:13.903Z] OT11 Time: 0.007 [2024-11-14T20:36:13.903Z] OT11 [2024-11-14T20:36:13.903Z] OT11 OK (1 test) [2024-11-14T20:36:13.903Z] OT11 [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - Monitoring Report Summary: [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - o Process OT11 ended with the expected exit code (0) [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - | Run foreground process [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - | Mnemonic: OT12 [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - | Echo: ECHO_ON [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - | Expectation: CLEAN_RUN within 5m [2024-11-14T20:36:13.903Z] STF 20:36:13.826 - | [2024-11-14T20:36:13.903Z] STF 20:36:13.827 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/modules/8.java.xml.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.TestOverrideUsingUpgradablePlatformModule [2024-11-14T20:36:13.903Z] STF 20:36:13.827 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/10.OT12.stderr [2024-11-14T20:36:13.903Z] STF 20:36:13.827 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_0/20241114-203603-PatModImgTest/results/10.OT12.stdout [2024-11-14T20:36:13.903Z] STF 20:36:13.834 - Monitoring processes: OT12 [2024-11-14T20:36:14.227Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:14.227Z] OT12 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_PlatMod_0\20241114-203603-PatModImgTest\modules\8.java.xml.jar [2024-11-14T20:36:14.227Z] OT12 JUnit version 4.12 [2024-11-14T20:36:14.554Z] OT12 . [2024-11-14T20:36:14.554Z] OT12 Time: 0.009 [2024-11-14T20:36:14.554Z] OT12 [2024-11-14T20:36:14.554Z] OT12 OK (1 test) [2024-11-14T20:36:14.554Z] OT12 [2024-11-14T20:36:14.554Z] STF 20:36:14.313 - Monitoring Report Summary: [2024-11-14T20:36:14.554Z] STF 20:36:14.313 - o Process OT12 ended with the expected exit code (0) [2024-11-14T20:36:14.554Z] STF 20:36:14.313 - EXECUTE stage completed [2024-11-14T20:36:14.554Z] STF 20:36:14.381 - [2024-11-14T20:36:14.554Z] STF 20:36:14.381 - ==================== T E A R D O W N ==================== [2024-11-14T20:36:14.554Z] STF 20:36:14.381 - Running teardown: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_PlatMod_0/20241114-203603-PatModImgTest/tearDown.pl [2024-11-14T20:36:14.865Z] STF 20:36:14.571 - TEARDOWN stage completed [2024-11-14T20:36:14.865Z] STF 20:36:14.585 - [2024-11-14T20:36:14.865Z] STF 20:36:14.585 - ===================== R E S U L T S ===================== [2024-11-14T20:36:14.865Z] STF 20:36:14.585 - Stage results: [2024-11-14T20:36:14.865Z] STF 20:36:14.585 - setUp: pass [2024-11-14T20:36:14.865Z] STF 20:36:14.585 - execute: pass [2024-11-14T20:36:14.865Z] STF 20:36:14.585 - teardown: pass [2024-11-14T20:36:14.865Z] STF 20:36:14.585 - [2024-11-14T20:36:14.865Z] STF 20:36:14.585 - Overall result: PASSED [2024-11-14T20:36:14.865Z] ----------------------------------- [2024-11-14T20:36:14.865Z] PatModImg_PlatMod_0_PASSED [2024-11-14T20:36:14.865Z] ----------------------------------- [2024-11-14T20:36:14.865Z] [2024-11-14T20:36:14.865Z] TEST TEARDOWN: [2024-11-14T20:36:14.865Z] Nothing to be done for teardown. [2024-11-14T20:36:15.177Z] PatModImg_PlatMod_0 Finish Time: Thu Nov 14 20:36:14 2024 Epoch Time (ms): 1731616574895