PatModImg_PlatMod_0

[2024-10-31T11:26:19.393Z] Running test PatModImg_PlatMod_0 ... [2024-10-31T11:26:19.767Z] =============================================== [2024-10-31T11:26:19.767Z] PatModImg_PlatMod_0 Start Time: Thu Oct 31 11:26:19 2024 Epoch Time (ms): 1730373979583 [2024-10-31T11:26:20.080Z] variation: Mode150 [2024-10-31T11:26:20.080Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-10-31T11:26:20.080Z] { \ [2024-10-31T11:26:20.080Z] echo ""; echo "TEST SETUP:"; \ [2024-10-31T11:26:20.080Z] echo "Nothing to be done for setup."; \ [2024-10-31T11:26:20.080Z] mkdir -p "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\PatModImg_PlatMod_0"; \ [2024-10-31T11:26:20.080Z] cd "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\PatModImg_PlatMod_0"; \ [2024-10-31T11:26:20.080Z] echo ""; echo "TESTING:"; \ [2024-10-31T11:26:20.080Z] 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_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-10-31T11:26:20.080Z] 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_17303720357655\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-31T11:26:20.080Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-31T11:26:20.080Z] echo "Nothing to be done for teardown."; \ [2024-10-31T11:26:20.080Z] } 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:20.452Z] [2024-10-31T11:26:20.452Z] TEST SETUP: [2024-10-31T11:26:20.452Z] Nothing to be done for setup. [2024-10-31T11:26:20.452Z] [2024-10-31T11:26:20.452Z] TESTING: [2024-10-31T11:26:20.452Z] STF 11:26:20.319 - ========================= S T F ========================= [2024-10-31T11:26:20.452Z] 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_PlatMod_0 [2024-10-31T11:26:20.779Z] There is 96432 Mb free [2024-10-31T11:26:20.779Z] STF 11:26:20.389 - ================== G E N E R A T I O N ================== [2024-10-31T11:26:20.779Z] STF 11:26:20.392 - Checking JVM: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-31T11:26:20.779Z] STF 11:26:20.392 - 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_PlatMod_0/20241031-112620-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_PlatMod_0/20241031-112620-PatModImgTest" [2024-10-31T11:26:20.779Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:20.779Z] 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-10-31T11:26:21.909Z] GEN 11:26:21.727 - 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:21.909Z] GEN 11:26:21.742 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-10-31T11:26:22.235Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-31T11:26:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] 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:22.235Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-31T11:26:22.235Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-10-31T11:26:22.235Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-10-31T11:26:22.235Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-10-31T11:26:22.235Z] GEN 11:26:22.037 - Using Mode NoOptions. Values = '' [2024-10-31T11:26:22.565Z] GEN 11:26:22.216 - [2024-10-31T11:26:22.565Z] GEN 11:26:22.216 - Test command summary: [2024-10-31T11:26:22.565Z] GEN 11:26:22.217 - Step Stage Command Description [2024-10-31T11:26:22.565Z] GEN 11:26:22.217 - -----+--------+-----------------+------------ [2024-10-31T11:26:22.565Z] GEN 11:26:22.217 - 1 execute jar Create com.hello jar [2024-10-31T11:26:22.565Z] GEN 11:26:22.217 - 2 execute jar Create com.hola jar [2024-10-31T11:26:22.565Z] GEN 11:26:22.217 - 3 execute jar Create com.helper jar [2024-10-31T11:26:22.565Z] GEN 11:26:22.217 - 4 execute jar Create com.discreet jar [2024-10-31T11:26:22.565Z] GEN 11:26:22.218 - 5 execute jar Create tests jar [2024-10-31T11:26:22.565Z] GEN 11:26:22.218 - 6 execute jlink Create runtime image for PatchModule test [2024-10-31T11:26:22.565Z] GEN 11:26:22.218 - 7 execute jar Create com.hello jar [2024-10-31T11:26:22.565Z] GEN 11:26:22.218 - 8 execute jar create java.xml.jar [2024-10-31T11:26:22.565Z] GEN 11:26:22.218 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-10-31T11:26:22.565Z] GEN 11:26:22.218 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-10-31T11:26:22.565Z] STF 11:26:22.282 - [2024-10-31T11:26:22.565Z] STF 11:26:22.282 - Script generation completed [2024-10-31T11:26:22.565Z] STF 11:26:22.282 - [2024-10-31T11:26:22.565Z] STF 11:26:22.285 - [2024-10-31T11:26:22.565Z] STF 11:26:22.285 - ======================= S E T U P ======================= [2024-10-31T11:26:22.566Z] STF 11:26:22.285 - Running setup: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\PatModImg_PlatMod_0/20241031-112620-PatModImgTest/setUp.pl [2024-10-31T11:26:22.566Z] STF 11:26:22.474 - SETUP stage completed [2024-10-31T11:26:22.566Z] STF 11:26:22.489 - [2024-10-31T11:26:22.566Z] STF 11:26:22.489 - ==================== E X E C U T E - ==================== [2024-10-31T11:26:22.566Z] STF 11:26:22.489 - Running execute: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\PatModImg_PlatMod_0/20241031-112620-PatModImgTest/execute.pl [2024-10-31T11:26:22.893Z] STF 11:26:22.680 - [2024-10-31T11:26:22.893Z] STF 11:26:22.681 - Java version [2024-10-31T11:26:22.893Z] STF 11:26:22.681 - Running: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-31T11:26:22.893Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:22.893Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-10-31T11:26:22.893Z] OpenJDK Runtime Environment Temurin-21.0.6+1-202410302007 (build 21.0.6-beta+1-ea) [2024-10-31T11:26:22.893Z] 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:22.893Z] STF 11:26:22.813 - [2024-10-31T11:26:22.893Z] STF 11:26:22.813 - +------ Step 1 - Create com.hello jar [2024-10-31T11:26:22.893Z] STF 11:26:22.813 - | Create modular jar [2024-10-31T11:26:22.893Z] STF 11:26:22.813 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-31T11:26:22.893Z] STF 11:26:22.813 - | ModuleVersion: null [2024-10-31T11:26:22.893Z] STF 11:26:22.813 - | MainClass: null [2024-10-31T11:26:22.893Z] STF 11:26:22.813 - | HashModules: null [2024-10-31T11:26:22.893Z] STF 11:26:22.813 - | [2024-10-31T11:26:22.893Z] STF 11:26:22.814 - 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_PlatMod_0/20241031-112620-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:22.894Z] STF 11:26:22.814 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/1.CMJ.stderr [2024-10-31T11:26:22.894Z] STF 11:26:22.814 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/1.CMJ.stdout [2024-10-31T11:26:23.225Z] STF 11:26:22.851 - Monitoring processes: CMJ [2024-10-31T11:26:23.225Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - Monitoring Report Summary: [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - o Process CMJ ended with the expected exit code (0) [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - Created modular jar: 1.com.hello.jar [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - +------ Step 2 - Create com.hola jar [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - | Create modular jar [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - | ModuleVersion: null [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - | MainClass: null [2024-10-31T11:26:23.553Z] STF 11:26:23.259 - | HashModules: null [2024-10-31T11:26:23.553Z] STF 11:26:23.260 - | [2024-10-31T11:26:23.553Z] STF 11:26:23.260 - 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_PlatMod_0/20241031-112620-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:23.553Z] STF 11:26:23.260 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/2.CMJ.stderr [2024-10-31T11:26:23.553Z] STF 11:26:23.260 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/2.CMJ.stdout [2024-10-31T11:26:23.553Z] STF 11:26:23.268 - Monitoring processes: CMJ [2024-10-31T11:26:23.553Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - Monitoring Report Summary: [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - o Process CMJ ended with the expected exit code (0) [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - Created modular jar: 2.com.hola.jar [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - +------ Step 3 - Create com.helper jar [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - | Create modular jar [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - | ModuleVersion: null [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - | MainClass: null [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - | HashModules: null [2024-10-31T11:26:23.879Z] STF 11:26:23.680 - | [2024-10-31T11:26:23.879Z] STF 11:26:23.681 - 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_PlatMod_0/20241031-112620-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:23.879Z] STF 11:26:23.681 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/3.CMJ.stderr [2024-10-31T11:26:23.879Z] STF 11:26:23.681 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/3.CMJ.stdout [2024-10-31T11:26:23.879Z] STF 11:26:23.688 - Monitoring processes: CMJ [2024-10-31T11:26:23.879Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - Monitoring Report Summary: [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - o Process CMJ ended with the expected exit code (0) [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - Created modular jar: 3.com.helper.jar [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - +------ Step 4 - Create com.discreet jar [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - | Create modular jar [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - | ModuleVersion: null [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - | MainClass: null [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - | HashModules: null [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - | [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - 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_PlatMod_0/20241031-112620-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:24.201Z] STF 11:26:24.112 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/4.CMJ.stderr [2024-10-31T11:26:24.201Z] STF 11:26:24.112 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/4.CMJ.stdout [2024-10-31T11:26:24.201Z] STF 11:26:24.121 - Monitoring processes: CMJ [2024-10-31T11:26:24.201Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:24.892Z] STF 11:26:24.510 - Monitoring Report Summary: [2024-10-31T11:26:24.892Z] STF 11:26:24.510 - o Process CMJ ended with the expected exit code (0) [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - Created modular jar: 4.com.discreet.jar [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - +------ Step 5 - Create tests jar [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - | Create modular jar [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - | ModuleVersion: null [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - | MainClass: null [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - | HashModules: null [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - | [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - 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_PlatMod_0/20241031-112620-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:24.892Z] STF 11:26:24.511 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/5.CMJ.stderr [2024-10-31T11:26:24.892Z] STF 11:26:24.511 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/5.CMJ.stdout [2024-10-31T11:26:24.892Z] STF 11:26:24.518 - Monitoring processes: CMJ [2024-10-31T11:26:24.892Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:25.217Z] STF 11:26:24.950 - Monitoring Report Summary: [2024-10-31T11:26:25.217Z] STF 11:26:24.950 - o Process CMJ ended with the expected exit code (0) [2024-10-31T11:26:25.217Z] STF 11:26:24.950 - Created modular jar: 5.com.test.jar [2024-10-31T11:26:25.217Z] STF 11:26:24.950 - [2024-10-31T11:26:25.217Z] STF 11:26:24.950 - +------ Step 6 - Create runtime image for PatchModule test [2024-10-31T11:26:25.217Z] STF 11:26:24.950 - | Run jlink to create runtime image [2024-10-31T11:26:25.217Z] STF 11:26:24.950 - | ImageName: XpJVM [2024-10-31T11:26:25.217Z] STF 11:26:24.950 - | [2024-10-31T11:26:25.217Z] STF 11:26:24.951 - 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_PlatMod_0\20241031-112620-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_PlatMod_0\20241031-112620-PatModImgTest\tmp\6.XpJVM [2024-10-31T11:26:25.217Z] STF 11:26:24.951 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/6.JLNK.stderr [2024-10-31T11:26:25.217Z] STF 11:26:24.951 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/6.JLNK.stdout [2024-10-31T11:26:25.217Z] STF 11:26:24.989 - Monitoring processes: JLNK [2024-10-31T11:26:25.217Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:29.941Z] STF 11:26:28.937 - Monitoring Report Summary: [2024-10-31T11:26:29.941Z] STF 11:26:28.937 - o Process JLNK ended with the expected exit code (0) [2024-10-31T11:26:29.941Z] STF 11:26:28.937 - [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - +------ Step 7 - Create com.hello jar [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - | Create modular jar [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - | ModuleVersion: null [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - | MainClass: null [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - | HashModules: null [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - | [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - 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_PlatMod_0/20241031-112620-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:29.941Z] STF 11:26:28.940 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/7.CMJ.stderr [2024-10-31T11:26:29.941Z] STF 11:26:28.940 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/7.CMJ.stdout [2024-10-31T11:26:29.941Z] STF 11:26:29.010 - Monitoring processes: CMJ [2024-10-31T11:26:29.941Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - Monitoring Report Summary: [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - o Process CMJ ended with the expected exit code (0) [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - Created modular jar: 7.com.hello.jar [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - +------ Step 8 - create java.xml.jar [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - | Create modular jar [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - | ModuleVersion: null [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - | MainClass: null [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - | HashModules: null [2024-10-31T11:26:29.941Z] STF 11:26:29.505 - | [2024-10-31T11:26:29.941Z] STF 11:26:29.506 - 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_PlatMod_0/20241031-112620-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:29.941Z] STF 11:26:29.506 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/8.CMJ.stderr [2024-10-31T11:26:29.941Z] STF 11:26:29.506 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/8.CMJ.stdout [2024-10-31T11:26:29.941Z] STF 11:26:29.514 - Monitoring processes: CMJ [2024-10-31T11:26:29.941Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:30.263Z] STF 11:26:29.940 - Monitoring Report Summary: [2024-10-31T11:26:30.263Z] STF 11:26:29.940 - o Process CMJ ended with the expected exit code (0) [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - Created modular jar: 8.java.xml.jar [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - | Run foreground process [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/tmp/6.XpJVM/bin/java [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - | Mnemonic: OT11 [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - | Echo: ECHO_ON [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - | Expectation: CLEAN_RUN within 5m [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - | [2024-10-31T11:26:30.263Z] STF 11:26:29.941 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-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-10-31T11:26:30.264Z] STF 11:26:29.941 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/9.OT11.stderr [2024-10-31T11:26:30.264Z] STF 11:26:29.941 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/9.OT11.stdout [2024-10-31T11:26:30.264Z] STF 11:26:29.974 - Monitoring processes: OT11 [2024-10-31T11:26:30.264Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:30.586Z] 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-10-31T11:26:30.586Z] OT11 JUnit version 4.12 [2024-10-31T11:26:30.586Z] OT11 . [2024-10-31T11:26:30.586Z] OT11 Time: 0.007 [2024-10-31T11:26:30.586Z] OT11 [2024-10-31T11:26:30.586Z] OT11 OK (1 test) [2024-10-31T11:26:30.586Z] OT11 [2024-10-31T11:26:30.586Z] STF 11:26:30.441 - Monitoring Report Summary: [2024-10-31T11:26:30.586Z] STF 11:26:30.441 - o Process OT11 ended with the expected exit code (0) [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - | Run foreground process [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - | Program: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/tmp/6.XpJVM/bin/java [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - | Mnemonic: OT12 [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - | Echo: ECHO_ON [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - | Expectation: CLEAN_RUN within 5m [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - | [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - Running command: C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-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_17303720357655/PatModImg_PlatMod_0/20241031-112620-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-10-31T11:26:30.586Z] STF 11:26:30.442 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/10.OT12.stderr [2024-10-31T11:26:30.586Z] STF 11:26:30.442 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/PatModImg_PlatMod_0/20241031-112620-PatModImgTest/results/10.OT12.stdout [2024-10-31T11:26:30.586Z] STF 11:26:30.450 - Monitoring processes: OT12 [2024-10-31T11:26:30.586Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:26:30.909Z] 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_17303720357655\PatModImg_PlatMod_0\20241031-112620-PatModImgTest\modules\8.java.xml.jar [2024-10-31T11:26:30.909Z] OT12 JUnit version 4.12 [2024-10-31T11:26:30.909Z] OT12 . [2024-10-31T11:26:30.909Z] OT12 Time: 0.007 [2024-10-31T11:26:30.909Z] OT12 [2024-10-31T11:26:30.909Z] OT12 OK (1 test) [2024-10-31T11:26:30.909Z] OT12 [2024-10-31T11:26:31.303Z] STF 11:26:30.876 - Monitoring Report Summary: [2024-10-31T11:26:31.303Z] STF 11:26:30.876 - o Process OT12 ended with the expected exit code (0) [2024-10-31T11:26:31.303Z] STF 11:26:30.877 - EXECUTE stage completed [2024-10-31T11:26:31.303Z] STF 11:26:30.972 - [2024-10-31T11:26:31.303Z] STF 11:26:30.972 - ==================== T E A R D O W N ==================== [2024-10-31T11:26:31.303Z] STF 11:26:30.972 - Running teardown: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\PatModImg_PlatMod_0/20241031-112620-PatModImgTest/tearDown.pl [2024-10-31T11:26:31.303Z] STF 11:26:31.155 - TEARDOWN stage completed [2024-10-31T11:26:31.303Z] STF 11:26:31.173 - [2024-10-31T11:26:31.303Z] STF 11:26:31.173 - ===================== R E S U L T S ===================== [2024-10-31T11:26:31.303Z] STF 11:26:31.173 - Stage results: [2024-10-31T11:26:31.303Z] STF 11:26:31.173 - setUp: pass [2024-10-31T11:26:31.303Z] STF 11:26:31.173 - execute: pass [2024-10-31T11:26:31.303Z] STF 11:26:31.173 - teardown: pass [2024-10-31T11:26:31.303Z] STF 11:26:31.173 - [2024-10-31T11:26:31.303Z] STF 11:26:31.173 - Overall result: PASSED [2024-10-31T11:26:31.303Z] ----------------------------------- [2024-10-31T11:26:31.303Z] PatModImg_PlatMod_0_PASSED [2024-10-31T11:26:31.303Z] ----------------------------------- [2024-10-31T11:26:31.617Z] [2024-10-31T11:26:31.617Z] TEST TEARDOWN: [2024-10-31T11:26:31.617Z] Nothing to be done for teardown. [2024-10-31T11:26:31.617Z] PatModImg_PlatMod_0 Finish Time: Thu Oct 31 11:26:31 2024 Epoch Time (ms): 1730373991492