PatModImg_PlatMod_1

[2024-11-14T20:36:15.488Z] Running test PatModImg_PlatMod_1 ... [2024-11-14T20:36:15.799Z] =============================================== [2024-11-14T20:36:15.799Z] PatModImg_PlatMod_1 Start Time: Thu Nov 14 20:36:15 2024 Epoch Time (ms): 1731616575680 [2024-11-14T20:36:16.169Z] variation: Mode650 [2024-11-14T20:36:16.169Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-14T20:36:16.169Z] { \ [2024-11-14T20:36:16.169Z] echo ""; echo "TEST SETUP:"; \ [2024-11-14T20:36:16.169Z] echo "Nothing to be done for setup."; \ [2024-11-14T20:36:16.169Z] mkdir -p "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatModImg_PlatMod_1"; \ [2024-11-14T20:36:16.169Z] cd "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatModImg_PlatMod_1"; \ [2024-11-14T20:36:16.169Z] echo ""; echo "TESTING:"; \ [2024-11-14T20:36:16.169Z] 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_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-11-14T20:36:16.169Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_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_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-14T20:36:16.169Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-14T20:36:16.169Z] echo "Nothing to be done for teardown."; \ [2024-11-14T20:36:16.169Z] } 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:16.559Z] [2024-11-14T20:36:16.559Z] TEST SETUP: [2024-11-14T20:36:16.559Z] Nothing to be done for setup. [2024-11-14T20:36:16.559Z] [2024-11-14T20:36:16.559Z] TESTING: [2024-11-14T20:36:16.559Z] STF 20:36:16.404 - ========================= S T F ========================= [2024-11-14T20:36:16.559Z] 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_1 [2024-11-14T20:36:16.888Z] There is 96466 Mb free [2024-11-14T20:36:16.888Z] STF 20:36:16.465 - ================== G E N E R A T I O N ================== [2024-11-14T20:36:16.888Z] STF 20:36:16.469 - Checking JVM: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-14T20:36:16.888Z] STF 20:36:16.470 - 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_1/20241114-203616-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_1/20241114-203616-PatModImgTest" [2024-11-14T20:36:16.888Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:16.888Z] GEN [0.027s][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:18.016Z] GEN 20:36:17.827 - 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:18.016Z] GEN 20:36:17.844 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-14T20:36:18.339Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-14T20:36:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] 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:18.339Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-14T20:36:18.339Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-14T20:36:18.339Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-14T20:36:18.339Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-11-14T20:36:18.339Z] GEN 20:36:18.153 - Using Mode NoOptions. Values = '' [2024-11-14T20:36:18.339Z] GEN 20:36:18.269 - [2024-11-14T20:36:18.339Z] GEN 20:36:18.270 - Test command summary: [2024-11-14T20:36:18.339Z] GEN 20:36:18.270 - Step Stage Command Description [2024-11-14T20:36:18.339Z] GEN 20:36:18.270 - -----+--------+-----------------+------------ [2024-11-14T20:36:18.339Z] GEN 20:36:18.270 - 1 execute jar Create com.hello jar [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 2 execute jar Create com.hola jar [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 3 execute jar Create com.helper jar [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 4 execute jar Create com.discreet jar [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 5 execute jar Create tests jar [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 6 execute jlink Create runtime image for PatchModule test [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 7 execute jar Create com.hello jar [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 8 execute jar create java.xml.jar [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-11-14T20:36:18.339Z] GEN 20:36:18.271 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-11-14T20:36:18.666Z] STF 20:36:18.337 - [2024-11-14T20:36:18.666Z] STF 20:36:18.337 - Script generation completed [2024-11-14T20:36:18.666Z] STF 20:36:18.337 - [2024-11-14T20:36:18.666Z] STF 20:36:18.339 - [2024-11-14T20:36:18.666Z] STF 20:36:18.339 - ======================= S E T U P ======================= [2024-11-14T20:36:18.666Z] STF 20:36:18.339 - Running setup: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_PlatMod_1/20241114-203616-PatModImgTest/setUp.pl [2024-11-14T20:36:18.666Z] STF 20:36:18.509 - SETUP stage completed [2024-11-14T20:36:18.666Z] STF 20:36:18.529 - [2024-11-14T20:36:18.666Z] STF 20:36:18.529 - ==================== E X E C U T E - ==================== [2024-11-14T20:36:18.666Z] STF 20:36:18.529 - Running execute: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_PlatMod_1/20241114-203616-PatModImgTest/execute.pl [2024-11-14T20:36:18.997Z] STF 20:36:18.704 - [2024-11-14T20:36:18.997Z] STF 20:36:18.704 - Java version [2024-11-14T20:36:18.997Z] STF 20:36:18.704 - Running: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-14T20:36:18.997Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:18.997Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-14T20:36:18.997Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411132002 (build 21.0.6-beta+3-ea) [2024-11-14T20:36:18.997Z] 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:18.997Z] STF 20:36:18.826 - [2024-11-14T20:36:18.997Z] STF 20:36:18.826 - +------ Step 1 - Create com.hello jar [2024-11-14T20:36:18.997Z] STF 20:36:18.826 - | Create modular jar [2024-11-14T20:36:18.997Z] STF 20:36:18.826 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-14T20:36:18.997Z] STF 20:36:18.826 - | ModuleVersion: null [2024-11-14T20:36:18.997Z] STF 20:36:18.826 - | MainClass: null [2024-11-14T20:36:18.997Z] STF 20:36:18.826 - | HashModules: null [2024-11-14T20:36:18.997Z] STF 20:36:18.826 - | [2024-11-14T20:36:18.997Z] STF 20:36:18.826 - 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_1/20241114-203616-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:18.997Z] STF 20:36:18.827 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/1.CMJ.stderr [2024-11-14T20:36:18.997Z] STF 20:36:18.827 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/1.CMJ.stdout [2024-11-14T20:36:18.997Z] STF 20:36:18.861 - Monitoring processes: CMJ [2024-11-14T20:36:18.998Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - Monitoring Report Summary: [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - Created modular jar: 1.com.hello.jar [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - +------ Step 2 - Create com.hola jar [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - | Create modular jar [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - | ModuleVersion: null [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - | MainClass: null [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - | HashModules: null [2024-11-14T20:36:19.686Z] STF 20:36:19.290 - | [2024-11-14T20:36:19.686Z] STF 20:36:19.291 - 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_1/20241114-203616-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:19.686Z] STF 20:36:19.291 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/2.CMJ.stderr [2024-11-14T20:36:19.686Z] STF 20:36:19.291 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/2.CMJ.stdout [2024-11-14T20:36:19.686Z] STF 20:36:19.300 - Monitoring processes: CMJ [2024-11-14T20:36:19.686Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:20.011Z] STF 20:36:19.693 - Monitoring Report Summary: [2024-11-14T20:36:20.011Z] STF 20:36:19.693 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:20.011Z] STF 20:36:19.693 - Created modular jar: 2.com.hola.jar [2024-11-14T20:36:20.011Z] STF 20:36:19.693 - [2024-11-14T20:36:20.011Z] STF 20:36:19.693 - +------ Step 3 - Create com.helper jar [2024-11-14T20:36:20.011Z] STF 20:36:19.693 - | Create modular jar [2024-11-14T20:36:20.011Z] STF 20:36:19.694 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-14T20:36:20.011Z] STF 20:36:19.694 - | ModuleVersion: null [2024-11-14T20:36:20.011Z] STF 20:36:19.694 - | MainClass: null [2024-11-14T20:36:20.011Z] STF 20:36:19.694 - | HashModules: null [2024-11-14T20:36:20.011Z] STF 20:36:19.694 - | [2024-11-14T20:36:20.011Z] STF 20:36:19.694 - 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_1/20241114-203616-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:20.011Z] STF 20:36:19.694 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/3.CMJ.stderr [2024-11-14T20:36:20.011Z] STF 20:36:19.694 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/3.CMJ.stdout [2024-11-14T20:36:20.011Z] STF 20:36:19.701 - Monitoring processes: CMJ [2024-11-14T20:36:20.011Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:20.336Z] STF 20:36:20.120 - Monitoring Report Summary: [2024-11-14T20:36:20.336Z] STF 20:36:20.120 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:20.336Z] STF 20:36:20.120 - Created modular jar: 3.com.helper.jar [2024-11-14T20:36:20.336Z] STF 20:36:20.120 - [2024-11-14T20:36:20.336Z] STF 20:36:20.120 - +------ Step 4 - Create com.discreet jar [2024-11-14T20:36:20.336Z] STF 20:36:20.120 - | Create modular jar [2024-11-14T20:36:20.336Z] STF 20:36:20.120 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-14T20:36:20.336Z] STF 20:36:20.121 - | ModuleVersion: null [2024-11-14T20:36:20.336Z] STF 20:36:20.121 - | MainClass: null [2024-11-14T20:36:20.336Z] STF 20:36:20.121 - | HashModules: null [2024-11-14T20:36:20.336Z] STF 20:36:20.121 - | [2024-11-14T20:36:20.336Z] STF 20:36:20.121 - 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_1/20241114-203616-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:20.336Z] STF 20:36:20.121 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/4.CMJ.stderr [2024-11-14T20:36:20.336Z] STF 20:36:20.121 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/4.CMJ.stdout [2024-11-14T20:36:20.336Z] STF 20:36:20.130 - Monitoring processes: CMJ [2024-11-14T20:36:20.336Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:20.665Z] STF 20:36:20.529 - Monitoring Report Summary: [2024-11-14T20:36:20.665Z] STF 20:36:20.529 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - Created modular jar: 4.com.discreet.jar [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - +------ Step 5 - Create tests jar [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - | Create modular jar [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - | ModuleVersion: null [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - | MainClass: null [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - | HashModules: null [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - | [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - 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_1/20241114-203616-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:20.665Z] STF 20:36:20.530 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/5.CMJ.stderr [2024-11-14T20:36:20.665Z] STF 20:36:20.530 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/5.CMJ.stdout [2024-11-14T20:36:20.665Z] STF 20:36:20.537 - Monitoring processes: CMJ [2024-11-14T20:36:20.665Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:21.355Z] STF 20:36:20.994 - Monitoring Report Summary: [2024-11-14T20:36:21.355Z] STF 20:36:20.994 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:21.355Z] STF 20:36:20.995 - Created modular jar: 5.com.test.jar [2024-11-14T20:36:21.355Z] STF 20:36:20.995 - [2024-11-14T20:36:21.355Z] STF 20:36:20.995 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-14T20:36:21.355Z] STF 20:36:20.995 - | Run jlink to create runtime image [2024-11-14T20:36:21.355Z] STF 20:36:20.995 - | ImageName: XpJVM [2024-11-14T20:36:21.355Z] STF 20:36:20.995 - | [2024-11-14T20:36:21.356Z] STF 20:36:20.996 - 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_1\20241114-203616-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_1\20241114-203616-PatModImgTest\tmp\6.XpJVM [2024-11-14T20:36:21.356Z] STF 20:36:20.996 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/6.JLNK.stderr [2024-11-14T20:36:21.356Z] STF 20:36:20.996 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/6.JLNK.stdout [2024-11-14T20:36:21.356Z] STF 20:36:21.004 - Monitoring processes: JLNK [2024-11-14T20:36:21.356Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:25.122Z] STF 20:36:24.246 - Monitoring Report Summary: [2024-11-14T20:36:25.122Z] STF 20:36:24.246 - o Process JLNK ended with the expected exit code (0) [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - +------ Step 7 - Create com.hello jar [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - | Create modular jar [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - | ModuleVersion: null [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - | MainClass: null [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - | HashModules: null [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - | [2024-11-14T20:36:25.122Z] STF 20:36:24.247 - 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_1/20241114-203616-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:25.122Z] STF 20:36:24.247 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/7.CMJ.stderr [2024-11-14T20:36:25.123Z] STF 20:36:24.247 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/7.CMJ.stdout [2024-11-14T20:36:25.123Z] STF 20:36:24.281 - Monitoring processes: CMJ [2024-11-14T20:36:25.123Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - Monitoring Report Summary: [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - Created modular jar: 7.com.hello.jar [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - +------ Step 8 - create java.xml.jar [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - | Create modular jar [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - | ModuleVersion: null [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - | MainClass: null [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - | HashModules: null [2024-11-14T20:36:25.123Z] STF 20:36:24.742 - | [2024-11-14T20:36:25.123Z] STF 20:36:24.743 - 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_1/20241114-203616-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:25.123Z] STF 20:36:24.743 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/8.CMJ.stderr [2024-11-14T20:36:25.123Z] STF 20:36:24.743 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/8.CMJ.stdout [2024-11-14T20:36:25.123Z] STF 20:36:24.751 - Monitoring processes: CMJ [2024-11-14T20:36:25.123Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:25.446Z] STF 20:36:25.130 - Monitoring Report Summary: [2024-11-14T20:36:25.446Z] STF 20:36:25.130 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - Created modular jar: 8.java.xml.jar [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - | Run foreground process [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - | Mnemonic: OT11 [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - | Echo: ECHO_ON [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - | Expectation: CLEAN_RUN within 5m [2024-11-14T20:36:25.446Z] STF 20:36:25.131 - | [2024-11-14T20:36:25.446Z] STF 20:36:25.132 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-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:25.446Z] STF 20:36:25.132 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/9.OT11.stderr [2024-11-14T20:36:25.446Z] STF 20:36:25.132 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/9.OT11.stdout [2024-11-14T20:36:25.446Z] STF 20:36:25.159 - Monitoring processes: OT11 [2024-11-14T20:36:25.446Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:25.446Z] 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:25.769Z] OT11 JUnit version 4.12 [2024-11-14T20:36:25.769Z] OT11 . [2024-11-14T20:36:25.769Z] OT11 Time: 0.007 [2024-11-14T20:36:25.769Z] OT11 [2024-11-14T20:36:25.769Z] OT11 OK (1 test) [2024-11-14T20:36:25.769Z] OT11 [2024-11-14T20:36:25.769Z] STF 20:36:25.602 - Monitoring Report Summary: [2024-11-14T20:36:25.769Z] STF 20:36:25.602 - o Process OT11 ended with the expected exit code (0) [2024-11-14T20:36:25.769Z] STF 20:36:25.602 - [2024-11-14T20:36:25.769Z] STF 20:36:25.602 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-11-14T20:36:25.769Z] STF 20:36:25.602 - | Run foreground process [2024-11-14T20:36:25.769Z] STF 20:36:25.602 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-14T20:36:25.769Z] STF 20:36:25.602 - | Mnemonic: OT12 [2024-11-14T20:36:25.769Z] STF 20:36:25.602 - | Echo: ECHO_ON [2024-11-14T20:36:25.770Z] STF 20:36:25.602 - | Expectation: CLEAN_RUN within 5m [2024-11-14T20:36:25.770Z] STF 20:36:25.602 - | [2024-11-14T20:36:25.770Z] STF 20:36:25.602 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-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_1/20241114-203616-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:25.770Z] STF 20:36:25.602 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/10.OT12.stderr [2024-11-14T20:36:25.770Z] STF 20:36:25.602 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatModImg_PlatMod_1/20241114-203616-PatModImgTest/results/10.OT12.stdout [2024-11-14T20:36:25.770Z] STF 20:36:25.611 - Monitoring processes: OT12 [2024-11-14T20:36:25.770Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:36:26.092Z] 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_1\20241114-203616-PatModImgTest\modules\8.java.xml.jar [2024-11-14T20:36:26.092Z] OT12 JUnit version 4.12 [2024-11-14T20:36:26.092Z] OT12 . [2024-11-14T20:36:26.092Z] OT12 Time: 0.007 [2024-11-14T20:36:26.092Z] OT12 [2024-11-14T20:36:26.092Z] OT12 OK (1 test) [2024-11-14T20:36:26.092Z] OT12 [2024-11-14T20:36:26.471Z] STF 20:36:26.038 - Monitoring Report Summary: [2024-11-14T20:36:26.471Z] STF 20:36:26.038 - o Process OT12 ended with the expected exit code (0) [2024-11-14T20:36:26.471Z] STF 20:36:26.038 - EXECUTE stage completed [2024-11-14T20:36:26.471Z] STF 20:36:26.128 - [2024-11-14T20:36:26.471Z] STF 20:36:26.128 - ==================== T E A R D O W N ==================== [2024-11-14T20:36:26.471Z] STF 20:36:26.128 - Running teardown: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatModImg_PlatMod_1/20241114-203616-PatModImgTest/tearDown.pl [2024-11-14T20:36:26.471Z] STF 20:36:26.306 - TEARDOWN stage completed [2024-11-14T20:36:26.471Z] STF 20:36:26.324 - [2024-11-14T20:36:26.471Z] STF 20:36:26.324 - ===================== R E S U L T S ===================== [2024-11-14T20:36:26.471Z] STF 20:36:26.324 - Stage results: [2024-11-14T20:36:26.471Z] STF 20:36:26.324 - setUp: pass [2024-11-14T20:36:26.471Z] STF 20:36:26.324 - execute: pass [2024-11-14T20:36:26.471Z] STF 20:36:26.324 - teardown: pass [2024-11-14T20:36:26.471Z] STF 20:36:26.324 - [2024-11-14T20:36:26.471Z] STF 20:36:26.324 - Overall result: PASSED [2024-11-14T20:36:26.471Z] ----------------------------------- [2024-11-14T20:36:26.471Z] PatModImg_PlatMod_1_PASSED [2024-11-14T20:36:26.471Z] ----------------------------------- [2024-11-14T20:36:26.853Z] [2024-11-14T20:36:26.853Z] TEST TEARDOWN: [2024-11-14T20:36:26.853Z] Nothing to be done for teardown. [2024-11-14T20:36:26.853Z] PatModImg_PlatMod_1 Finish Time: Thu Nov 14 20:36:26 2024 Epoch Time (ms): 1731616586618