PatModImg_PlatMod_0

[2024-11-28T01:12:13.382Z] Running test PatModImg_PlatMod_0 ... [2024-11-28T01:12:13.382Z] =============================================== [2024-11-28T01:12:13.746Z] PatModImg_PlatMod_0 Start Time: Thu Nov 28 01:12:13 2024 Epoch Time (ms): 1732756333313 [2024-11-28T01:12:13.746Z] variation: Mode150 [2024-11-28T01:12:13.746Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-28T01:12:13.746Z] { \ [2024-11-28T01:12:13.746Z] echo ""; echo "TEST SETUP:"; \ [2024-11-28T01:12:13.746Z] echo "Nothing to be done for setup."; \ [2024-11-28T01:12:13.746Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17327541239636\\PatModImg_PlatMod_0"; \ [2024-11-28T01:12:13.746Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17327541239636\\PatModImg_PlatMod_0"; \ [2024-11-28T01:12:13.746Z] echo ""; echo "TESTING:"; \ [2024-11-28T01:12:13.746Z] perl C:/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:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17327541239636\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-11-28T01:12:13.746Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17327541239636\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-28T01:12:13.746Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-28T01:12:13.746Z] echo "Nothing to be done for teardown."; \ [2024-11-28T01:12:13.746Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17327541239636\\TestTargetResult"; [2024-11-28T01:12:14.080Z] [2024-11-28T01:12:14.080Z] TEST SETUP: [2024-11-28T01:12:14.080Z] Nothing to be done for setup. [2024-11-28T01:12:14.080Z] [2024-11-28T01:12:14.080Z] TESTING: [2024-11-28T01:12:14.080Z] STF 01:12:13.940 - ========================= S T F ========================= [2024-11-28T01:12:14.080Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17327541239636\PatModImg_PlatMod_0 [2024-11-28T01:12:14.080Z] There is 126409 Mb free [2024-11-28T01:12:14.080Z] STF 01:12:13.988 - ================== G E N E R A T I O N ================== [2024-11-28T01:12:14.080Z] STF 01:12:13.990 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-28T01:12:14.080Z] STF 01:12:13.991 - Starting process to generate scripts: c:/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:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/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:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17327541239636\PatModImg_PlatMod_0/20241128-011213-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17327541239636\PatModImg_PlatMod_0/20241128-011213-PatModImgTest" [2024-11-28T01:12:14.080Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:14.080Z] GEN [0.021s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-11-28T01:12:15.231Z] GEN 01:12:15.103 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-28T01:12:15.231Z] GEN 01:12:15.117 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-28T01:12:15.570Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-28T01:12:15.570Z] GEN C:\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-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-28T01:12:15.570Z] GEN C:\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-11-28T01:12:15.570Z] GEN C:\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-11-28T01:12:15.570Z] GEN C:\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-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-28T01:12:15.570Z] GEN C:\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-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-28T01:12:15.570Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-28T01:12:15.570Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-28T01:12:15.570Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-28T01:12:15.570Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-28T01:12:15.570Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-28T01:12:15.570Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-28T01:12:15.570Z] GEN 01:12:15.404 - Using Mode NoOptions. Values = '' [2024-11-28T01:12:15.910Z] GEN 01:12:15.584 - [2024-11-28T01:12:15.910Z] GEN 01:12:15.584 - Test command summary: [2024-11-28T01:12:15.910Z] GEN 01:12:15.584 - Step Stage Command Description [2024-11-28T01:12:15.910Z] GEN 01:12:15.584 - -----+--------+-----------------+------------ [2024-11-28T01:12:15.910Z] GEN 01:12:15.585 - 1 execute jar Create com.hello jar [2024-11-28T01:12:15.910Z] GEN 01:12:15.585 - 2 execute jar Create com.hola jar [2024-11-28T01:12:15.910Z] GEN 01:12:15.585 - 3 execute jar Create com.helper jar [2024-11-28T01:12:15.910Z] GEN 01:12:15.585 - 4 execute jar Create com.discreet jar [2024-11-28T01:12:15.910Z] GEN 01:12:15.585 - 5 execute jar Create tests jar [2024-11-28T01:12:15.910Z] GEN 01:12:15.585 - 6 execute jlink Create runtime image for PatchModule test [2024-11-28T01:12:15.910Z] GEN 01:12:15.585 - 7 execute jar Create com.hello jar [2024-11-28T01:12:15.910Z] GEN 01:12:15.585 - 8 execute jar create java.xml.jar [2024-11-28T01:12:15.910Z] GEN 01:12:15.586 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-11-28T01:12:15.910Z] GEN 01:12:15.586 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-11-28T01:12:15.910Z] STF 01:12:15.615 - [2024-11-28T01:12:15.910Z] STF 01:12:15.615 - Script generation completed [2024-11-28T01:12:15.910Z] STF 01:12:15.615 - [2024-11-28T01:12:15.910Z] STF 01:12:15.616 - [2024-11-28T01:12:15.910Z] STF 01:12:15.616 - ======================= S E T U P ======================= [2024-11-28T01:12:15.910Z] STF 01:12:15.616 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17327541239636\PatModImg_PlatMod_0/20241128-011213-PatModImgTest/setUp.pl [2024-11-28T01:12:15.910Z] STF 01:12:15.785 - SETUP stage completed [2024-11-28T01:12:15.910Z] STF 01:12:15.798 - [2024-11-28T01:12:15.910Z] STF 01:12:15.798 - ==================== E X E C U T E - ==================== [2024-11-28T01:12:15.910Z] STF 01:12:15.798 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17327541239636\PatModImg_PlatMod_0/20241128-011213-PatModImgTest/execute.pl [2024-11-28T01:12:16.250Z] STF 01:12:15.959 - [2024-11-28T01:12:16.250Z] STF 01:12:15.959 - Java version [2024-11-28T01:12:16.250Z] STF 01:12:15.959 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-28T01:12:16.250Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:16.250Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-28T01:12:16.250Z] OpenJDK Runtime Environment Temurin-21.0.6+5-202411272012 (build 21.0.6-beta+5-ea) [2024-11-28T01:12:16.250Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+5-202411272012 (build 21.0.6-beta+5-ea, mixed mode, sharing) [2024-11-28T01:12:16.250Z] STF 01:12:16.078 - [2024-11-28T01:12:16.250Z] STF 01:12:16.078 - +------ Step 1 - Create com.hello jar [2024-11-28T01:12:16.251Z] STF 01:12:16.079 - | Create modular jar [2024-11-28T01:12:16.251Z] STF 01:12:16.079 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-28T01:12:16.251Z] STF 01:12:16.079 - | ModuleVersion: null [2024-11-28T01:12:16.251Z] STF 01:12:16.079 - | MainClass: null [2024-11-28T01:12:16.251Z] STF 01:12:16.079 - | HashModules: null [2024-11-28T01:12:16.251Z] STF 01:12:16.079 - | [2024-11-28T01:12:16.251Z] STF 01:12:16.079 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/modules/1.com.hello.jar -C C:\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-11-28T01:12:16.251Z] STF 01:12:16.080 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/1.CMJ.stderr [2024-11-28T01:12:16.251Z] STF 01:12:16.080 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/1.CMJ.stdout [2024-11-28T01:12:16.251Z] STF 01:12:16.117 - Monitoring processes: CMJ [2024-11-28T01:12:16.251Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:16.589Z] STF 01:12:16.510 - Monitoring Report Summary: [2024-11-28T01:12:16.589Z] STF 01:12:16.510 - o Process CMJ ended with the expected exit code (0) [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - Created modular jar: 1.com.hello.jar [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - +------ Step 2 - Create com.hola jar [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - | Create modular jar [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - | ModuleVersion: null [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - | MainClass: null [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - | HashModules: null [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - | [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/modules/2.com.hola.jar -C C:\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-11-28T01:12:16.589Z] STF 01:12:16.511 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/2.CMJ.stderr [2024-11-28T01:12:16.589Z] STF 01:12:16.511 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/2.CMJ.stdout [2024-11-28T01:12:16.589Z] STF 01:12:16.518 - Monitoring processes: CMJ [2024-11-28T01:12:16.589Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - Monitoring Report Summary: [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - o Process CMJ ended with the expected exit code (0) [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - Created modular jar: 2.com.hola.jar [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - +------ Step 3 - Create com.helper jar [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - | Create modular jar [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - | ModuleVersion: null [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - | MainClass: null [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - | HashModules: null [2024-11-28T01:12:17.299Z] STF 01:12:16.911 - | [2024-11-28T01:12:17.299Z] STF 01:12:16.912 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/modules/3.com.helper.jar -C C:\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-11-28T01:12:17.299Z] STF 01:12:16.912 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/3.CMJ.stderr [2024-11-28T01:12:17.299Z] STF 01:12:16.912 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/3.CMJ.stdout [2024-11-28T01:12:17.299Z] STF 01:12:16.918 - Monitoring processes: CMJ [2024-11-28T01:12:17.299Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:17.634Z] STF 01:12:17.330 - Monitoring Report Summary: [2024-11-28T01:12:17.634Z] STF 01:12:17.330 - o Process CMJ ended with the expected exit code (0) [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - Created modular jar: 3.com.helper.jar [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - +------ Step 4 - Create com.discreet jar [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - | Create modular jar [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - | ModuleVersion: null [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - | MainClass: null [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - | HashModules: null [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - | [2024-11-28T01:12:17.634Z] STF 01:12:17.331 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/modules/4.com.discreet.jar -C C:\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-11-28T01:12:17.635Z] STF 01:12:17.331 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/4.CMJ.stderr [2024-11-28T01:12:17.635Z] STF 01:12:17.331 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/4.CMJ.stdout [2024-11-28T01:12:17.635Z] STF 01:12:17.338 - Monitoring processes: CMJ [2024-11-28T01:12:17.635Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - Monitoring Report Summary: [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - o Process CMJ ended with the expected exit code (0) [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - Created modular jar: 4.com.discreet.jar [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - +------ Step 5 - Create tests jar [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - | Create modular jar [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - | ModuleVersion: null [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - | MainClass: null [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - | HashModules: null [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - | [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/5.CMJ.stderr [2024-11-28T01:12:17.974Z] STF 01:12:17.749 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/5.CMJ.stdout [2024-11-28T01:12:17.974Z] STF 01:12:17.756 - Monitoring processes: CMJ [2024-11-28T01:12:17.974Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:18.312Z] STF 01:12:18.157 - Monitoring Report Summary: [2024-11-28T01:12:18.312Z] STF 01:12:18.157 - o Process CMJ ended with the expected exit code (0) [2024-11-28T01:12:18.312Z] STF 01:12:18.157 - Created modular jar: 5.com.test.jar [2024-11-28T01:12:18.312Z] STF 01:12:18.157 - [2024-11-28T01:12:18.312Z] STF 01:12:18.157 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-28T01:12:18.312Z] STF 01:12:18.157 - | Run jlink to create runtime image [2024-11-28T01:12:18.312Z] STF 01:12:18.157 - | ImageName: XpJVM [2024-11-28T01:12:18.312Z] STF 01:12:18.157 - | [2024-11-28T01:12:18.312Z] STF 01:12:18.158 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17327541239636\PatModImg_PlatMod_0\20241128-011213-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17327541239636\PatModImg_PlatMod_0\20241128-011213-PatModImgTest\tmp\6.XpJVM [2024-11-28T01:12:18.312Z] STF 01:12:18.158 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/6.JLNK.stderr [2024-11-28T01:12:18.312Z] STF 01:12:18.158 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/6.JLNK.stdout [2024-11-28T01:12:18.312Z] STF 01:12:18.189 - Monitoring processes: JLNK [2024-11-28T01:12:18.312Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - Monitoring Report Summary: [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - o Process JLNK ended with the expected exit code (0) [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - +------ Step 7 - Create com.hello jar [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - | Create modular jar [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - | ModuleVersion: null [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - | MainClass: null [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - | HashModules: null [2024-11-28T01:12:22.074Z] STF 01:12:21.454 - | [2024-11-28T01:12:22.074Z] STF 01:12:21.455 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/modules/7.com.hello.jar -C C:\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-11-28T01:12:22.074Z] STF 01:12:21.455 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/7.CMJ.stderr [2024-11-28T01:12:22.074Z] STF 01:12:21.455 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/7.CMJ.stdout [2024-11-28T01:12:22.074Z] STF 01:12:21.468 - Monitoring processes: CMJ [2024-11-28T01:12:22.074Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - Monitoring Report Summary: [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - o Process CMJ ended with the expected exit code (0) [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - Created modular jar: 7.com.hello.jar [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - +------ Step 8 - create java.xml.jar [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - | Create modular jar [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - | ModuleVersion: null [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - | MainClass: null [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - | HashModules: null [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - | [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/modules/8.java.xml.jar -C C:\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-11-28T01:12:22.074Z] STF 01:12:21.949 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/8.CMJ.stderr [2024-11-28T01:12:22.074Z] STF 01:12:21.949 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/8.CMJ.stdout [2024-11-28T01:12:22.074Z] STF 01:12:21.956 - Monitoring processes: CMJ [2024-11-28T01:12:22.412Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:22.412Z] STF 01:12:22.304 - Monitoring Report Summary: [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - o Process CMJ ended with the expected exit code (0) [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - Created modular jar: 8.java.xml.jar [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - | Run foreground process [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - | Mnemonic: OT11 [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - | Echo: ECHO_ON [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - | Expectation: CLEAN_RUN within 5m [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - | [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:\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:/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 [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/9.OT11.stderr [2024-11-28T01:12:22.412Z] STF 01:12:22.305 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/9.OT11.stdout [2024-11-28T01:12:22.412Z] STF 01:12:22.331 - Monitoring processes: OT11 [2024-11-28T01:12:22.747Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:22.747Z] OT11 stderr WARNING: module-info.class ignored in patch: C:\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-11-28T01:12:22.747Z] OT11 JUnit version 4.12 [2024-11-28T01:12:23.087Z] OT11 . [2024-11-28T01:12:23.087Z] OT11 Time: 0.007 [2024-11-28T01:12:23.087Z] OT11 [2024-11-28T01:12:23.087Z] OT11 OK (1 test) [2024-11-28T01:12:23.087Z] OT11 [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - Monitoring Report Summary: [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - o Process OT11 ended with the expected exit code (0) [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - | Run foreground process [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - | Mnemonic: OT12 [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - | Echo: ECHO_ON [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - | Expectation: CLEAN_RUN within 5m [2024-11-28T01:12:23.087Z] STF 01:12:22.731 - | [2024-11-28T01:12:23.087Z] STF 01:12:22.732 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-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 [2024-11-28T01:12:23.087Z] STF 01:12:22.732 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/10.OT12.stderr [2024-11-28T01:12:23.087Z] STF 01:12:22.732 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17327541239636/PatModImg_PlatMod_0/20241128-011213-PatModImgTest/results/10.OT12.stdout [2024-11-28T01:12:23.087Z] STF 01:12:22.739 - Monitoring processes: OT12 [2024-11-28T01:12:23.087Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T01:12:23.087Z] OT12 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17327541239636\PatModImg_PlatMod_0\20241128-011213-PatModImgTest\modules\8.java.xml.jar [2024-11-28T01:12:23.087Z] OT12 JUnit version 4.12 [2024-11-28T01:12:23.469Z] OT12 . [2024-11-28T01:12:23.469Z] OT12 Time: 0.006 [2024-11-28T01:12:23.469Z] OT12 [2024-11-28T01:12:23.469Z] OT12 OK (1 test) [2024-11-28T01:12:23.469Z] OT12 [2024-11-28T01:12:23.469Z] STF 01:12:23.103 - Monitoring Report Summary: [2024-11-28T01:12:23.469Z] STF 01:12:23.103 - o Process OT12 ended with the expected exit code (0) [2024-11-28T01:12:23.469Z] STF 01:12:23.104 - EXECUTE stage completed [2024-11-28T01:12:23.469Z] STF 01:12:23.209 - [2024-11-28T01:12:23.469Z] STF 01:12:23.209 - ==================== T E A R D O W N ==================== [2024-11-28T01:12:23.469Z] STF 01:12:23.209 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17327541239636\PatModImg_PlatMod_0/20241128-011213-PatModImgTest/tearDown.pl [2024-11-28T01:12:23.469Z] STF 01:12:23.350 - TEARDOWN stage completed [2024-11-28T01:12:23.469Z] STF 01:12:23.362 - [2024-11-28T01:12:23.469Z] STF 01:12:23.362 - ===================== R E S U L T S ===================== [2024-11-28T01:12:23.469Z] STF 01:12:23.362 - Stage results: [2024-11-28T01:12:23.469Z] STF 01:12:23.362 - setUp: pass [2024-11-28T01:12:23.469Z] STF 01:12:23.362 - execute: pass [2024-11-28T01:12:23.469Z] STF 01:12:23.362 - teardown: pass [2024-11-28T01:12:23.469Z] STF 01:12:23.362 - [2024-11-28T01:12:23.469Z] STF 01:12:23.362 - Overall result: PASSED [2024-11-28T01:12:23.469Z] ----------------------------------- [2024-11-28T01:12:23.469Z] PatModImg_PlatMod_0_PASSED [2024-11-28T01:12:23.469Z] ----------------------------------- [2024-11-28T01:12:23.791Z] [2024-11-28T01:12:23.791Z] TEST TEARDOWN: [2024-11-28T01:12:23.791Z] Nothing to be done for teardown. [2024-11-28T01:12:23.791Z] PatModImg_PlatMod_0 Finish Time: Thu Nov 28 01:12:23 2024 Epoch Time (ms): 1732756343591