PatModImg_PlatMod_0

[2025-03-31T05:11:48.273Z] Running test PatModImg_PlatMod_0 ... [2025-03-31T05:11:48.655Z] =============================================== [2025-03-31T05:11:49.037Z] PatModImg_PlatMod_0 Start Time: Mon Mar 31 05:11:48 2025 Epoch Time (ms): 1743397908702 [2025-03-31T05:11:49.037Z] variation: Mode150 [2025-03-31T05:11:49.478Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-03-31T05:11:49.478Z] { \ [2025-03-31T05:11:49.478Z] echo ""; echo "TEST SETUP:"; \ [2025-03-31T05:11:49.478Z] echo "Nothing to be done for setup."; \ [2025-03-31T05:11:49.478Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17433896414981\\PatModImg_PlatMod_0"; \ [2025-03-31T05:11:49.478Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17433896414981\\PatModImg_PlatMod_0"; \ [2025-03-31T05:11:49.478Z] echo ""; echo "TESTING:"; \ [2025-03-31T05:11:49.478Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17433896414981\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-03-31T05:11:49.479Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17433896414981\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-31T05:11:49.479Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-31T05:11:49.479Z] echo "Nothing to be done for teardown."; \ [2025-03-31T05:11:49.479Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17433896414981\\TestTargetResult"; [2025-03-31T05:11:49.479Z] [2025-03-31T05:11:49.479Z] TEST SETUP: [2025-03-31T05:11:49.479Z] Nothing to be done for setup. [2025-03-31T05:11:49.479Z] [2025-03-31T05:11:49.479Z] TESTING: [2025-03-31T05:11:49.809Z] STF 05:11:49.390 - ========================= S T F ========================= [2025-03-31T05:11:49.809Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17433896414981\PatModImg_PlatMod_0 [2025-03-31T05:11:49.809Z] There is 107566 Mb free [2025-03-31T05:11:49.809Z] STF 05:11:49.444 - ================== G E N E R A T I O N ================== [2025-03-31T05:11:49.809Z] STF 05:11:49.447 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image [2025-03-31T05:11:49.809Z] STF 05:11:49.447 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17433896414981\PatModImg_PlatMod_0/20250331-051149-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17433896414981\PatModImg_PlatMod_0/20250331-051149-PatModImgTest" [2025-03-31T05:11:50.927Z] GEN 05:11:50.568 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-03-31T05:11:50.927Z] GEN 05:11:50.587 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-03-31T05:11:50.927Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-03-31T05:11:50.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-03-31T05:11:50.928Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-03-31T05:11:50.928Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-03-31T05:11:50.928Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-03-31T05:11:50.928Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-03-31T05:11:50.928Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-03-31T05:11:50.928Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-03-31T05:11:50.928Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-03-31T05:11:50.928Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-03-31T05:11:50.928Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-03-31T05:11:51.255Z] GEN 05:11:50.903 - Using Mode NoOptions. Values = '' [2025-03-31T05:11:51.255Z] GEN 05:11:51.130 - [2025-03-31T05:11:51.255Z] GEN 05:11:51.130 - Test command summary: [2025-03-31T05:11:51.255Z] GEN 05:11:51.131 - Step Stage Command Description [2025-03-31T05:11:51.255Z] GEN 05:11:51.131 - -----+--------+-----------------+------------ [2025-03-31T05:11:51.255Z] GEN 05:11:51.131 - 1 execute jar Create com.hello jar [2025-03-31T05:11:51.255Z] GEN 05:11:51.131 - 2 execute jar Create com.hola jar [2025-03-31T05:11:51.255Z] GEN 05:11:51.131 - 3 execute jar Create com.helper jar [2025-03-31T05:11:51.255Z] GEN 05:11:51.131 - 4 execute jar Create com.discreet jar [2025-03-31T05:11:51.255Z] GEN 05:11:51.131 - 5 execute jar Create tests jar [2025-03-31T05:11:51.255Z] GEN 05:11:51.131 - 6 execute jlink Create runtime image for PatchModule test [2025-03-31T05:11:51.255Z] GEN 05:11:51.132 - 7 execute jar Create com.hello jar [2025-03-31T05:11:51.255Z] GEN 05:11:51.132 - 8 execute jar create java.xml.jar [2025-03-31T05:11:51.255Z] GEN 05:11:51.132 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-03-31T05:11:51.255Z] GEN 05:11:51.132 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-03-31T05:11:51.255Z] STF 05:11:51.177 - [2025-03-31T05:11:51.255Z] STF 05:11:51.177 - Script generation completed [2025-03-31T05:11:51.255Z] STF 05:11:51.177 - [2025-03-31T05:11:51.255Z] STF 05:11:51.179 - [2025-03-31T05:11:51.255Z] STF 05:11:51.179 - ======================= S E T U P ======================= [2025-03-31T05:11:51.255Z] STF 05:11:51.179 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17433896414981\PatModImg_PlatMod_0/20250331-051149-PatModImgTest/setUp.pl [2025-03-31T05:11:51.580Z] STF 05:11:51.316 - SETUP stage completed [2025-03-31T05:11:51.580Z] STF 05:11:51.328 - [2025-03-31T05:11:51.580Z] STF 05:11:51.328 - ==================== E X E C U T E - ==================== [2025-03-31T05:11:51.580Z] STF 05:11:51.328 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17433896414981\PatModImg_PlatMod_0/20250331-051149-PatModImgTest/execute.pl [2025-03-31T05:11:51.580Z] STF 05:11:51.462 - [2025-03-31T05:11:51.580Z] STF 05:11:51.462 - Java version [2025-03-31T05:11:51.580Z] STF 05:11:51.462 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-03-31T05:11:51.908Z] openjdk version "11.0.27-beta" 2025-04-15 [2025-03-31T05:11:51.909Z] OpenJDK Runtime Environment Temurin-11.0.27+5-202503302009 (build 11.0.27-beta+5-ea) [2025-03-31T05:11:51.909Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+5-202503302009 (build 11.0.27-beta+5-ea, mixed mode) [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - +------ Step 1 - Create com.hello jar [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - | Create modular jar [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - | ModuleVersion: null [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - | MainClass: null [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - | HashModules: null [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - | [2025-03-31T05:11:51.909Z] STF 05:11:51.591 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-03-31T05:11:51.909Z] STF 05:11:51.592 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/1.CMJ.stderr [2025-03-31T05:11:51.909Z] STF 05:11:51.592 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/1.CMJ.stdout [2025-03-31T05:11:51.909Z] STF 05:11:51.617 - Monitoring processes: CMJ [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - Monitoring Report Summary: [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - o Process CMJ ended with the expected exit code (0) [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - Created modular jar: 1.com.hello.jar [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - +------ Step 2 - Create com.hola jar [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - | Create modular jar [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - | ModuleVersion: null [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - | MainClass: null [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - | HashModules: null [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - | [2025-03-31T05:11:52.236Z] STF 05:11:51.924 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-03-31T05:11:52.236Z] STF 05:11:51.925 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/2.CMJ.stderr [2025-03-31T05:11:52.236Z] STF 05:11:51.925 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/2.CMJ.stdout [2025-03-31T05:11:52.236Z] STF 05:11:51.932 - Monitoring processes: CMJ [2025-03-31T05:11:52.558Z] STF 05:11:52.235 - Monitoring Report Summary: [2025-03-31T05:11:52.558Z] STF 05:11:52.235 - o Process CMJ ended with the expected exit code (0) [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - Created modular jar: 2.com.hola.jar [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - +------ Step 3 - Create com.helper jar [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - | Create modular jar [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - | ModuleVersion: null [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - | MainClass: null [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - | HashModules: null [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - | [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/3.CMJ.stderr [2025-03-31T05:11:52.558Z] STF 05:11:52.236 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/3.CMJ.stdout [2025-03-31T05:11:52.558Z] STF 05:11:52.242 - Monitoring processes: CMJ [2025-03-31T05:11:52.883Z] STF 05:11:52.544 - Monitoring Report Summary: [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - o Process CMJ ended with the expected exit code (0) [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - Created modular jar: 3.com.helper.jar [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - +------ Step 4 - Create com.discreet jar [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - | Create modular jar [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - | ModuleVersion: null [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - | MainClass: null [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - | HashModules: null [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - | [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/4.CMJ.stderr [2025-03-31T05:11:52.883Z] STF 05:11:52.545 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/4.CMJ.stdout [2025-03-31T05:11:52.883Z] STF 05:11:52.550 - Monitoring processes: CMJ [2025-03-31T05:11:53.208Z] STF 05:11:52.851 - Monitoring Report Summary: [2025-03-31T05:11:53.208Z] STF 05:11:52.851 - o Process CMJ ended with the expected exit code (0) [2025-03-31T05:11:53.208Z] STF 05:11:52.852 - Created modular jar: 4.com.discreet.jar [2025-03-31T05:11:53.208Z] STF 05:11:52.852 - [2025-03-31T05:11:53.208Z] STF 05:11:52.852 - +------ Step 5 - Create tests jar [2025-03-31T05:11:53.208Z] STF 05:11:52.852 - | Create modular jar [2025-03-31T05:11:53.209Z] STF 05:11:52.852 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-03-31T05:11:53.209Z] STF 05:11:52.852 - | ModuleVersion: null [2025-03-31T05:11:53.209Z] STF 05:11:52.852 - | MainClass: null [2025-03-31T05:11:53.209Z] STF 05:11:52.852 - | HashModules: null [2025-03-31T05:11:53.209Z] STF 05:11:52.852 - | [2025-03-31T05:11:53.209Z] STF 05:11:52.852 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-03-31T05:11:53.209Z] STF 05:11:52.852 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/5.CMJ.stderr [2025-03-31T05:11:53.209Z] STF 05:11:52.852 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/5.CMJ.stdout [2025-03-31T05:11:53.209Z] STF 05:11:52.858 - Monitoring processes: CMJ [2025-03-31T05:11:53.521Z] STF 05:11:53.168 - Monitoring Report Summary: [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - o Process CMJ ended with the expected exit code (0) [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - Created modular jar: 5.com.test.jar [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - +------ Step 6 - Create runtime image for PatchModule test [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - | Run jlink to create runtime image [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - | ImageName: XpJVM [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - | [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17433896414981\PatModImg_PlatMod_0\20250331-051149-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17433896414981\PatModImg_PlatMod_0\20250331-051149-PatModImgTest\tmp\6.XpJVM [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/6.JLNK.stderr [2025-03-31T05:11:53.521Z] STF 05:11:53.169 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/6.JLNK.stdout [2025-03-31T05:11:53.521Z] STF 05:11:53.195 - Monitoring processes: JLNK [2025-03-31T05:11:56.412Z] STF 05:11:56.198 - Monitoring Report Summary: [2025-03-31T05:11:56.412Z] STF 05:11:56.198 - o Process JLNK ended with the expected exit code (0) [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - +------ Step 7 - Create com.hello jar [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - | Create modular jar [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - | ModuleVersion: null [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - | MainClass: null [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - | HashModules: null [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - | [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/7.CMJ.stderr [2025-03-31T05:11:56.412Z] STF 05:11:56.199 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/7.CMJ.stdout [2025-03-31T05:11:56.412Z] STF 05:11:56.207 - Monitoring processes: CMJ [2025-03-31T05:11:56.734Z] STF 05:11:56.670 - Monitoring Report Summary: [2025-03-31T05:11:56.734Z] STF 05:11:56.670 - o Process CMJ ended with the expected exit code (0) [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - Created modular jar: 7.com.hello.jar [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - +------ Step 8 - create java.xml.jar [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - | Create modular jar [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - | ModuleVersion: null [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - | MainClass: null [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - | HashModules: null [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - | [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/8.CMJ.stderr [2025-03-31T05:11:56.734Z] STF 05:11:56.671 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/8.CMJ.stdout [2025-03-31T05:11:56.734Z] STF 05:11:56.677 - Monitoring processes: CMJ [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - Monitoring Report Summary: [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - o Process CMJ ended with the expected exit code (0) [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - Created modular jar: 8.java.xml.jar [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - | Run foreground process [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/tmp/6.XpJVM/bin/java [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - | Mnemonic: OT11 [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - | Echo: ECHO_ON [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - | Expectation: CLEAN_RUN within 5m [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - | [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/9.OT11.stderr [2025-03-31T05:11:57.058Z] STF 05:11:56.965 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/9.OT11.stdout [2025-03-31T05:11:57.058Z] STF 05:11:56.984 - Monitoring processes: OT11 [2025-03-31T05:11:57.384Z] OT11 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml [2025-03-31T05:11:57.384Z] OT11 JUnit version 4.12 [2025-03-31T05:11:57.384Z] OT11 . [2025-03-31T05:11:57.384Z] OT11 Time: 0.004 [2025-03-31T05:11:57.384Z] OT11 [2025-03-31T05:11:57.384Z] OT11 OK (1 test) [2025-03-31T05:11:57.384Z] OT11 [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - Monitoring Report Summary: [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - o Process OT11 ended with the expected exit code (0) [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - | Run foreground process [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/tmp/6.XpJVM/bin/java [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - | Mnemonic: OT12 [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - | Echo: ECHO_ON [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - | Expectation: CLEAN_RUN within 5m [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - | [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-03-31T05:11:57.384Z] STF 05:11:57.284 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/10.OT12.stderr [2025-03-31T05:11:57.384Z] STF 05:11:57.285 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17433896414981/PatModImg_PlatMod_0/20250331-051149-PatModImgTest/results/10.OT12.stdout [2025-03-31T05:11:57.384Z] STF 05:11:57.290 - Monitoring processes: OT12 [2025-03-31T05:11:57.706Z] OT12 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17433896414981\PatModImg_PlatMod_0\20250331-051149-PatModImgTest\modules\8.java.xml.jar [2025-03-31T05:11:57.706Z] OT12 JUnit version 4.12 [2025-03-31T05:11:57.706Z] OT12 . [2025-03-31T05:11:57.706Z] OT12 Time: 0.005 [2025-03-31T05:11:57.706Z] OT12 [2025-03-31T05:11:57.706Z] OT12 OK (1 test) [2025-03-31T05:11:57.706Z] OT12 [2025-03-31T05:11:57.706Z] STF 05:11:57.560 - Monitoring Report Summary: [2025-03-31T05:11:57.706Z] STF 05:11:57.561 - o Process OT12 ended with the expected exit code (0) [2025-03-31T05:11:57.706Z] STF 05:11:57.561 - EXECUTE stage completed [2025-03-31T05:11:57.706Z] STF 05:11:57.605 - [2025-03-31T05:11:57.706Z] STF 05:11:57.605 - ==================== T E A R D O W N ==================== [2025-03-31T05:11:57.706Z] STF 05:11:57.605 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17433896414981\PatModImg_PlatMod_0/20250331-051149-PatModImgTest/tearDown.pl [2025-03-31T05:11:58.090Z] STF 05:11:57.732 - TEARDOWN stage completed [2025-03-31T05:11:58.090Z] STF 05:11:57.747 - [2025-03-31T05:11:58.090Z] STF 05:11:57.747 - ===================== R E S U L T S ===================== [2025-03-31T05:11:58.090Z] STF 05:11:57.747 - Stage results: [2025-03-31T05:11:58.090Z] STF 05:11:57.747 - setUp: pass [2025-03-31T05:11:58.090Z] STF 05:11:57.747 - execute: pass [2025-03-31T05:11:58.090Z] STF 05:11:57.747 - teardown: pass [2025-03-31T05:11:58.090Z] STF 05:11:57.747 - [2025-03-31T05:11:58.090Z] STF 05:11:57.747 - Overall result: PASSED [2025-03-31T05:11:58.090Z] ----------------------------------- [2025-03-31T05:11:58.090Z] PatModImg_PlatMod_0_PASSED [2025-03-31T05:11:58.090Z] ----------------------------------- [2025-03-31T05:11:58.090Z] [2025-03-31T05:11:58.090Z] TEST TEARDOWN: [2025-03-31T05:11:58.090Z] Nothing to be done for teardown. [2025-03-31T05:11:58.401Z] PatModImg_PlatMod_0 Finish Time: Mon Mar 31 05:11:58 2025 Epoch Time (ms): 1743397918140