PatModImg_PlatMod_1

[2024-09-05T00:52:43.408Z] Running test PatModImg_PlatMod_1 ... [2024-09-05T00:52:43.408Z] =============================================== [2024-09-05T00:52:43.408Z] PatModImg_PlatMod_1 Start Time: Thu Sep 5 00:52:43 2024 Epoch Time (ms): 1725497563240 [2024-09-05T00:52:43.408Z] variation: Mode650 [2024-09-05T00:52:43.408Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-09-05T00:52:43.408Z] { \ [2024-09-05T00:52:43.408Z] echo ""; echo "TEST SETUP:"; \ [2024-09-05T00:52:43.408Z] echo "Nothing to be done for setup."; \ [2024-09-05T00:52:43.408Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17254957703922\\PatModImg_PlatMod_1"; \ [2024-09-05T00:52:43.408Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17254957703922\\PatModImg_PlatMod_1"; \ [2024-09-05T00:52:43.408Z] echo ""; echo "TESTING:"; \ [2024-09-05T00:52:43.408Z] perl C:/Users/jenkins/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:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17254957703922\\PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-09-05T00:52:43.408Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17254957703922\\PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-05T00:52:43.408Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-05T00:52:43.408Z] echo "Nothing to be done for teardown."; \ [2024-09-05T00:52:43.408Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17254957703922\\TestTargetResult"; [2024-09-05T00:52:43.938Z] [2024-09-05T00:52:43.938Z] TEST SETUP: [2024-09-05T00:52:43.938Z] Nothing to be done for setup. [2024-09-05T00:52:43.938Z] [2024-09-05T00:52:43.938Z] TESTING: [2024-09-05T00:52:43.938Z] STF 00:52:43.521 - ========================= S T F ========================= [2024-09-05T00:52:43.938Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17254957703922\PatModImg_PlatMod_1 [2024-09-05T00:52:43.938Z] There is 119390 Mb free [2024-09-05T00:52:43.938Z] STF 00:52:43.548 - ================== G E N E R A T I O N ================== [2024-09-05T00:52:43.938Z] STF 00:52:43.550 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-09-05T00:52:43.938Z] STF 00:52:43.551 - Starting process to generate scripts: C:/Users/jenkins/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:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/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:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17254957703922\PatModImg_PlatMod_1/20240905-005243-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17254957703922\PatModImg_PlatMod_1/20240905-005243-PatModImgTest" [2024-09-05T00:52:43.938Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:43.938Z] GEN [0.014s][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-09-05T00:52:45.037Z] GEN 00:52:44.517 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-09-05T00:52:45.037Z] GEN 00:52:44.528 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-09-05T00:52:45.037Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-09-05T00:52:45.037Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-09-05T00:52:45.038Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-09-05T00:52:45.038Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-09-05T00:52:45.038Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-09-05T00:52:45.038Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-09-05T00:52:45.038Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-09-05T00:52:45.038Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-09-05T00:52:45.038Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-09-05T00:52:45.038Z] GEN 00:52:44.740 - Using Mode NoOptions. Values = '' [2024-09-05T00:52:45.038Z] GEN 00:52:44.833 - [2024-09-05T00:52:45.038Z] GEN 00:52:44.833 - Test command summary: [2024-09-05T00:52:45.038Z] GEN 00:52:44.833 - Step Stage Command Description [2024-09-05T00:52:45.038Z] GEN 00:52:44.833 - -----+--------+-----------------+------------ [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 1 execute jar Create com.hello jar [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 2 execute jar Create com.hola jar [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 3 execute jar Create com.helper jar [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 4 execute jar Create com.discreet jar [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 5 execute jar Create tests jar [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 6 execute jlink Create runtime image for PatchModule test [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 7 execute jar Create com.hello jar [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 8 execute jar create java.xml.jar [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-09-05T00:52:45.038Z] GEN 00:52:44.834 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-09-05T00:52:45.038Z] STF 00:52:44.872 - [2024-09-05T00:52:45.038Z] STF 00:52:44.872 - Script generation completed [2024-09-05T00:52:45.038Z] STF 00:52:44.872 - [2024-09-05T00:52:45.038Z] STF 00:52:44.873 - [2024-09-05T00:52:45.038Z] STF 00:52:44.873 - ======================= S E T U P ======================= [2024-09-05T00:52:45.038Z] STF 00:52:44.873 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17254957703922\PatModImg_PlatMod_1/20240905-005243-PatModImgTest/setUp.pl [2024-09-05T00:52:45.561Z] STF 00:52:44.993 - SETUP stage completed [2024-09-05T00:52:45.561Z] STF 00:52:45.004 - [2024-09-05T00:52:45.561Z] STF 00:52:45.004 - ==================== E X E C U T E - ==================== [2024-09-05T00:52:45.561Z] STF 00:52:45.004 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17254957703922\PatModImg_PlatMod_1/20240905-005243-PatModImgTest/execute.pl [2024-09-05T00:52:45.561Z] STF 00:52:45.119 - [2024-09-05T00:52:45.561Z] STF 00:52:45.119 - Java version [2024-09-05T00:52:45.561Z] STF 00:52:45.119 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-09-05T00:52:45.561Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:45.561Z] openjdk version "21.0.5-beta" 2024-10-15 [2024-09-05T00:52:45.561Z] OpenJDK Runtime Environment Temurin-21.0.5+6-202409041906 (build 21.0.5-beta+6-ea) [2024-09-05T00:52:45.561Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+6-202409041906 (build 21.0.5-beta+6-ea, mixed mode, sharing) [2024-09-05T00:52:45.561Z] STF 00:52:45.202 - [2024-09-05T00:52:45.561Z] STF 00:52:45.202 - +------ Step 1 - Create com.hello jar [2024-09-05T00:52:45.561Z] STF 00:52:45.202 - | Create modular jar [2024-09-05T00:52:45.561Z] STF 00:52:45.202 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-09-05T00:52:45.561Z] STF 00:52:45.202 - | ModuleVersion: null [2024-09-05T00:52:45.561Z] STF 00:52:45.202 - | MainClass: null [2024-09-05T00:52:45.562Z] STF 00:52:45.202 - | HashModules: null [2024-09-05T00:52:45.562Z] STF 00:52:45.202 - | [2024-09-05T00:52:45.562Z] STF 00:52:45.203 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-09-05T00:52:45.562Z] STF 00:52:45.203 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/1.CMJ.stderr [2024-09-05T00:52:45.562Z] STF 00:52:45.203 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/1.CMJ.stdout [2024-09-05T00:52:45.562Z] STF 00:52:45.224 - Monitoring processes: CMJ [2024-09-05T00:52:45.562Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - Monitoring Report Summary: [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - o Process CMJ ended with the expected exit code (0) [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - Created modular jar: 1.com.hello.jar [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - +------ Step 2 - Create com.hola jar [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - | Create modular jar [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - | ModuleVersion: null [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - | MainClass: null [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - | HashModules: null [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - | [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/2.CMJ.stderr [2024-09-05T00:52:46.086Z] STF 00:52:45.517 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/2.CMJ.stdout [2024-09-05T00:52:46.086Z] STF 00:52:45.520 - Monitoring processes: CMJ [2024-09-05T00:52:46.086Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - Monitoring Report Summary: [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - o Process CMJ ended with the expected exit code (0) [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - Created modular jar: 2.com.hola.jar [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - +------ Step 3 - Create com.helper jar [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - | Create modular jar [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - | ModuleVersion: null [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - | MainClass: null [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - | HashModules: null [2024-09-05T00:52:46.086Z] STF 00:52:45.812 - | [2024-09-05T00:52:46.086Z] STF 00:52:45.813 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-09-05T00:52:46.086Z] STF 00:52:45.813 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/3.CMJ.stderr [2024-09-05T00:52:46.086Z] STF 00:52:45.813 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/3.CMJ.stdout [2024-09-05T00:52:46.086Z] STF 00:52:45.816 - Monitoring processes: CMJ [2024-09-05T00:52:46.086Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - Monitoring Report Summary: [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - o Process CMJ ended with the expected exit code (0) [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - Created modular jar: 3.com.helper.jar [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - +------ Step 4 - Create com.discreet jar [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - | Create modular jar [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - | ModuleVersion: null [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - | MainClass: null [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - | HashModules: null [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - | [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/4.CMJ.stderr [2024-09-05T00:52:46.610Z] STF 00:52:46.103 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/4.CMJ.stdout [2024-09-05T00:52:46.610Z] STF 00:52:46.107 - Monitoring processes: CMJ [2024-09-05T00:52:46.610Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - Monitoring Report Summary: [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - o Process CMJ ended with the expected exit code (0) [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - Created modular jar: 4.com.discreet.jar [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - +------ Step 5 - Create tests jar [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - | Create modular jar [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - | ModuleVersion: null [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - | MainClass: null [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - | HashModules: null [2024-09-05T00:52:46.610Z] STF 00:52:46.383 - | [2024-09-05T00:52:46.610Z] STF 00:52:46.384 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-09-05T00:52:46.610Z] STF 00:52:46.384 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/5.CMJ.stderr [2024-09-05T00:52:46.610Z] STF 00:52:46.384 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/5.CMJ.stdout [2024-09-05T00:52:46.610Z] STF 00:52:46.386 - Monitoring processes: CMJ [2024-09-05T00:52:46.610Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:47.137Z] STF 00:52:46.699 - Monitoring Report Summary: [2024-09-05T00:52:47.138Z] STF 00:52:46.699 - o Process CMJ ended with the expected exit code (0) [2024-09-05T00:52:47.138Z] STF 00:52:46.699 - Created modular jar: 5.com.test.jar [2024-09-05T00:52:47.138Z] STF 00:52:46.699 - [2024-09-05T00:52:47.138Z] STF 00:52:46.699 - +------ Step 6 - Create runtime image for PatchModule test [2024-09-05T00:52:47.138Z] STF 00:52:46.699 - | Run jlink to create runtime image [2024-09-05T00:52:47.138Z] STF 00:52:46.699 - | ImageName: XpJVM [2024-09-05T00:52:47.138Z] STF 00:52:46.699 - | [2024-09-05T00:52:47.138Z] STF 00:52:46.700 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17254957703922\PatModImg_PlatMod_1\20240905-005243-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17254957703922\PatModImg_PlatMod_1\20240905-005243-PatModImgTest\tmp\6.XpJVM [2024-09-05T00:52:47.138Z] STF 00:52:46.700 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/6.JLNK.stderr [2024-09-05T00:52:47.138Z] STF 00:52:46.700 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/6.JLNK.stdout [2024-09-05T00:52:47.138Z] STF 00:52:46.703 - Monitoring processes: JLNK [2024-09-05T00:52:47.138Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - Monitoring Report Summary: [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - o Process JLNK ended with the expected exit code (0) [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - +------ Step 7 - Create com.hello jar [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - | Create modular jar [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - | ModuleVersion: null [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - | MainClass: null [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - | HashModules: null [2024-09-05T00:52:49.580Z] STF 00:52:48.987 - | [2024-09-05T00:52:49.580Z] STF 00:52:48.988 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-09-05T00:52:49.580Z] STF 00:52:48.988 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/7.CMJ.stderr [2024-09-05T00:52:49.580Z] STF 00:52:48.988 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/7.CMJ.stdout [2024-09-05T00:52:49.580Z] STF 00:52:48.990 - Monitoring processes: CMJ [2024-09-05T00:52:49.580Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:49.580Z] STF 00:52:49.285 - Monitoring Report Summary: [2024-09-05T00:52:49.580Z] STF 00:52:49.285 - o Process CMJ ended with the expected exit code (0) [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - Created modular jar: 7.com.hello.jar [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - +------ Step 8 - create java.xml.jar [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - | Create modular jar [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - | ModuleVersion: null [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - | MainClass: null [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - | HashModules: null [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - | [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/8.CMJ.stderr [2024-09-05T00:52:49.580Z] STF 00:52:49.286 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/8.CMJ.stdout [2024-09-05T00:52:49.580Z] STF 00:52:49.289 - Monitoring processes: CMJ [2024-09-05T00:52:49.580Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - Monitoring Report Summary: [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - o Process CMJ ended with the expected exit code (0) [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - Created modular jar: 8.java.xml.jar [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - | Run foreground process [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/tmp/6.XpJVM/bin/java [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - | Mnemonic: OT11 [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - | Echo: ECHO_ON [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - | Expectation: CLEAN_RUN within 5m [2024-09-05T00:52:50.105Z] STF 00:52:49.573 - | [2024-09-05T00:52:50.105Z] STF 00:52:49.574 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:\Users\jenkins\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:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-09-05T00:52:50.105Z] STF 00:52:49.574 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/9.OT11.stderr [2024-09-05T00:52:50.105Z] STF 00:52:49.574 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/9.OT11.stdout [2024-09-05T00:52:50.105Z] STF 00:52:49.581 - Monitoring processes: OT11 [2024-09-05T00:52:50.105Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:50.105Z] OT11 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml [2024-09-05T00:52:50.105Z] OT11 JUnit version 4.12 [2024-09-05T00:52:50.105Z] OT11 . [2024-09-05T00:52:50.105Z] OT11 Time: 0.005 [2024-09-05T00:52:50.105Z] OT11 [2024-09-05T00:52:50.105Z] OT11 OK (1 test) [2024-09-05T00:52:50.105Z] OT11 [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - Monitoring Report Summary: [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - o Process OT11 ended with the expected exit code (0) [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - | Run foreground process [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/tmp/6.XpJVM/bin/java [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - | Mnemonic: OT12 [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - | Echo: ECHO_ON [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - | Expectation: CLEAN_RUN within 5m [2024-09-05T00:52:50.105Z] STF 00:52:49.898 - | [2024-09-05T00:52:50.105Z] STF 00:52:49.899 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/modules/8.java.xml.jar -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-09-05T00:52:50.105Z] STF 00:52:49.899 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/10.OT12.stderr [2024-09-05T00:52:50.105Z] STF 00:52:49.899 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17254957703922/PatModImg_PlatMod_1/20240905-005243-PatModImgTest/results/10.OT12.stdout [2024-09-05T00:52:50.105Z] STF 00:52:49.902 - Monitoring processes: OT12 [2024-09-05T00:52:50.105Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-09-05T00:52:50.105Z] OT12 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17254957703922\PatModImg_PlatMod_1\20240905-005243-PatModImgTest\modules\8.java.xml.jar [2024-09-05T00:52:50.630Z] OT12 JUnit version 4.12 [2024-09-05T00:52:50.630Z] OT12 . [2024-09-05T00:52:50.630Z] OT12 Time: 0.005 [2024-09-05T00:52:50.630Z] OT12 [2024-09-05T00:52:50.630Z] OT12 OK (1 test) [2024-09-05T00:52:50.630Z] OT12 [2024-09-05T00:52:50.630Z] STF 00:52:50.218 - Monitoring Report Summary: [2024-09-05T00:52:50.630Z] STF 00:52:50.218 - o Process OT12 ended with the expected exit code (0) [2024-09-05T00:52:50.630Z] STF 00:52:50.218 - EXECUTE stage completed [2024-09-05T00:52:50.630Z] STF 00:52:50.253 - [2024-09-05T00:52:50.630Z] STF 00:52:50.253 - ==================== T E A R D O W N ==================== [2024-09-05T00:52:50.630Z] STF 00:52:50.253 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17254957703922\PatModImg_PlatMod_1/20240905-005243-PatModImgTest/tearDown.pl [2024-09-05T00:52:50.630Z] STF 00:52:50.369 - TEARDOWN stage completed [2024-09-05T00:52:50.630Z] STF 00:52:50.384 - [2024-09-05T00:52:50.630Z] STF 00:52:50.385 - ===================== R E S U L T S ===================== [2024-09-05T00:52:50.630Z] STF 00:52:50.385 - Stage results: [2024-09-05T00:52:50.630Z] STF 00:52:50.385 - setUp: pass [2024-09-05T00:52:50.630Z] STF 00:52:50.385 - execute: pass [2024-09-05T00:52:50.630Z] STF 00:52:50.385 - teardown: pass [2024-09-05T00:52:50.630Z] STF 00:52:50.385 - [2024-09-05T00:52:50.630Z] STF 00:52:50.385 - Overall result: PASSED [2024-09-05T00:52:50.630Z] ----------------------------------- [2024-09-05T00:52:50.630Z] PatModImg_PlatMod_1_PASSED [2024-09-05T00:52:50.630Z] ----------------------------------- [2024-09-05T00:52:50.630Z] [2024-09-05T00:52:50.630Z] TEST TEARDOWN: [2024-09-05T00:52:50.630Z] Nothing to be done for teardown. [2024-09-05T00:52:50.630Z] PatModImg_PlatMod_1 Finish Time: Thu Sep 5 00:52:50 2024 Epoch Time (ms): 1725497570536