PatMod_PlatMod_0

[2024-10-08T04:28:35.055Z] Running test PatMod_PlatMod_0 ... [2024-10-08T04:28:35.055Z] =============================================== [2024-10-08T04:28:35.398Z] PatMod_PlatMod_0 Start Time: Tue Oct 8 05:28:35 2024 Epoch Time (ms): 1728361715147 [2024-10-08T04:28:35.398Z] variation: Mode150 [2024-10-08T04:28:35.754Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-10-08T04:28:35.754Z] { \ [2024-10-08T04:28:35.754Z] echo ""; echo "TEST SETUP:"; \ [2024-10-08T04:28:35.754Z] echo "Nothing to be done for setup."; \ [2024-10-08T04:28:35.754Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17283599092867\\PatMod_PlatMod_0"; \ [2024-10-08T04:28:35.754Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17283599092867\\PatMod_PlatMod_0"; \ [2024-10-08T04:28:35.754Z] echo ""; echo "TESTING:"; \ [2024-10-08T04:28:35.754Z] 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_17283599092867\\PatMod_PlatMod_0" -test=PatModTest -test-args="variant=PlatMod"; \ [2024-10-08T04:28:35.754Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_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_17283599092867\\PatMod_PlatMod_0"; else echo "-----------------------------------"; echo "PatMod_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-08T04:28:35.754Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-08T04:28:35.754Z] echo "Nothing to be done for teardown."; \ [2024-10-08T04:28:35.754Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17283599092867\\TestTargetResult"; [2024-10-08T04:28:35.754Z] [2024-10-08T04:28:35.754Z] TEST SETUP: [2024-10-08T04:28:35.754Z] Nothing to be done for setup. [2024-10-08T04:28:35.754Z] [2024-10-08T04:28:35.754Z] TESTING: [2024-10-08T04:28:35.754Z] STF 05:28:35.667 - ========================= S T F ========================= [2024-10-08T04:28:35.754Z] 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_17283599092867\PatMod_PlatMod_0 [2024-10-08T04:28:36.091Z] There is 109231 Mb free [2024-10-08T04:28:36.091Z] STF 05:28:35.712 - ================== G E N E R A T I O N ================== [2024-10-08T04:28:36.091Z] STF 05:28:35.714 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-08T04:28:36.091Z] STF 05:28:35.714 - 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_17283599092867\PatMod_PlatMod_0/20241008-052835-PatModTest/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_17283599092867\PatMod_PlatMod_0/20241008-052835-PatModTest" [2024-10-08T04:28:36.091Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-08T04:28:36.091Z] GEN [0.020s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-10-08T04:28:36.785Z] GEN 04:28:36.670 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-10-08T04:28:36.785Z] GEN 04:28:36.683 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-10-08T04:28:37.114Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] 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-10-08T04:28:37.114Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-08T04:28:37.115Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-08T04:28:37.115Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-08T04:28:37.115Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-08T04:28:37.115Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-08T04:28:37.115Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-08T04:28:37.115Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-08T04:28:37.115Z] GEN 04:28:36.893 - Using Mode NoOptions. Values = '' [2024-10-08T04:28:37.115Z] GEN 04:28:36.993 - [2024-10-08T04:28:37.115Z] GEN 04:28:36.993 - Test command summary: [2024-10-08T04:28:37.115Z] GEN 04:28:36.993 - Step Stage Command Description [2024-10-08T04:28:37.115Z] GEN 04:28:36.993 - -----+--------+-----------------+------------ [2024-10-08T04:28:37.115Z] GEN 04:28:36.994 - 1 execute jar Create com.hello jar [2024-10-08T04:28:37.115Z] GEN 04:28:36.994 - 2 execute jar Create com.discreet jar [2024-10-08T04:28:37.115Z] GEN 04:28:36.994 - 3 execute jar create java.xml.jar [2024-10-08T04:28:37.115Z] GEN 04:28:36.994 - 4 execute Run java Verify if we can Patch an upgradable platform module using exploded directoryy [2024-10-08T04:28:37.115Z] GEN 04:28:36.994 - 5 execute Run java Verify if we can Patch an upgradable platform module using modular jar [2024-10-08T04:28:37.115Z] STF 05:28:37.032 - [2024-10-08T04:28:37.115Z] STF 05:28:37.032 - Script generation completed [2024-10-08T04:28:37.115Z] STF 05:28:37.032 - [2024-10-08T04:28:37.115Z] STF 05:28:37.034 - [2024-10-08T04:28:37.115Z] STF 05:28:37.034 - ======================= S E T U P ======================= [2024-10-08T04:28:37.115Z] STF 05:28:37.034 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17283599092867\PatMod_PlatMod_0/20241008-052835-PatModTest/setUp.pl [2024-10-08T04:28:37.446Z] STF 05:28:37.169 - SETUP stage completed [2024-10-08T04:28:37.446Z] STF 05:28:37.181 - [2024-10-08T04:28:37.446Z] STF 05:28:37.181 - ==================== E X E C U T E - ==================== [2024-10-08T04:28:37.446Z] STF 05:28:37.181 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17283599092867\PatMod_PlatMod_0/20241008-052835-PatModTest/execute.pl [2024-10-08T04:28:37.446Z] STF 05:28:37.309 - [2024-10-08T04:28:37.446Z] STF 05:28:37.310 - Java version [2024-10-08T04:28:37.446Z] STF 05:28:37.310 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-08T04:28:37.446Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-08T04:28:37.446Z] openjdk version "21.0.5-beta" 2024-10-15 [2024-10-08T04:28:37.446Z] OpenJDK Runtime Environment Temurin-21.0.5+9-202410072339 (build 21.0.5-beta+9-202410072339) [2024-10-08T04:28:37.446Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+9-202410072339 (build 21.0.5-beta+9-202410072339, mixed mode, sharing) [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - +------ Step 1 - Create com.hello jar [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - | Create modular jar [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - | ModuleVersion: null [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - | MainClass: null [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - | HashModules: null [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - | [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - 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_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/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-override\com.hello . [2024-10-08T04:28:37.446Z] STF 05:28:37.396 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/1.CMJ.stderr [2024-10-08T04:28:37.446Z] STF 05:28:37.397 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/1.CMJ.stdout [2024-10-08T04:28:37.774Z] STF 05:28:37.427 - Monitoring processes: CMJ [2024-10-08T04:28:37.774Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-08T04:28:37.774Z] STF 05:28:37.732 - Monitoring Report Summary: [2024-10-08T04:28:37.774Z] STF 05:28:37.732 - o Process CMJ ended with the expected exit code (0) [2024-10-08T04:28:37.774Z] STF 05:28:37.732 - Created modular jar: 1.com.hello.jar [2024-10-08T04:28:37.774Z] STF 05:28:37.732 - [2024-10-08T04:28:37.774Z] STF 05:28:37.732 - +------ Step 2 - Create com.discreet jar [2024-10-08T04:28:37.774Z] STF 05:28:37.732 - | Create modular jar [2024-10-08T04:28:37.774Z] STF 05:28:37.732 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-10-08T04:28:37.774Z] STF 05:28:37.732 - | ModuleVersion: null [2024-10-08T04:28:37.775Z] STF 05:28:37.732 - | MainClass: null [2024-10-08T04:28:37.775Z] STF 05:28:37.732 - | HashModules: null [2024-10-08T04:28:37.775Z] STF 05:28:37.732 - | [2024-10-08T04:28:37.775Z] STF 05:28:37.733 - 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_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/modules/2.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-override\com.discreet . [2024-10-08T04:28:37.775Z] STF 05:28:37.733 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/2.CMJ.stderr [2024-10-08T04:28:37.775Z] STF 05:28:37.733 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/2.CMJ.stdout [2024-10-08T04:28:37.775Z] STF 05:28:37.739 - Monitoring processes: CMJ [2024-10-08T04:28:38.101Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - Monitoring Report Summary: [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - o Process CMJ ended with the expected exit code (0) [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - Created modular jar: 2.com.discreet.jar [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - +------ Step 3 - create java.xml.jar [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - | Create modular jar [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - | ModuleVersion: null [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - | MainClass: null [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - | HashModules: null [2024-10-08T04:28:38.101Z] STF 05:28:38.058 - | [2024-10-08T04:28:38.101Z] STF 05:28:38.059 - 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_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/modules/3.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-10-08T04:28:38.101Z] STF 05:28:38.059 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/3.CMJ.stderr [2024-10-08T04:28:38.101Z] STF 05:28:38.059 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/3.CMJ.stdout [2024-10-08T04:28:38.101Z] STF 05:28:38.064 - Monitoring processes: CMJ [2024-10-08T04:28:38.428Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - Monitoring Report Summary: [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - o Process CMJ ended with the expected exit code (0) [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - Created modular jar: 3.java.xml.jar [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - +------ Step 4 - Verify if we can Patch an upgradable platform module using exploded directoryy [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - | Run foreground process [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - | Program: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - | Mnemonic: OT11 [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - | Echo: ECHO_ON [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - | Expectation: CLEAN_RUN within 1m [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - | [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --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-10-08T04:28:38.428Z] STF 05:28:38.385 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/4.OT11.stderr [2024-10-08T04:28:38.428Z] STF 05:28:38.385 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/4.OT11.stdout [2024-10-08T04:28:38.428Z] STF 05:28:38.391 - Monitoring processes: OT11 [2024-10-08T04:28:38.758Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-08T04:28:38.758Z] 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-10-08T04:28:38.758Z] OT11 JUnit version 4.12 [2024-10-08T04:28:39.088Z] OT11 . [2024-10-08T04:28:39.088Z] OT11 Time: 0.004 [2024-10-08T04:28:39.088Z] OT11 [2024-10-08T04:28:39.088Z] OT11 OK (1 test) [2024-10-08T04:28:39.088Z] OT11 [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - Monitoring Report Summary: [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - o Process OT11 ended with the expected exit code (0) [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - +------ Step 5 - Verify if we can Patch an upgradable platform module using modular jar [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - | Run foreground process [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - | Program: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - | Mnemonic: OT12 [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - | Echo: ECHO_ON [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - | Expectation: CLEAN_RUN within 1m [2024-10-08T04:28:39.088Z] STF 05:28:38.778 - | [2024-10-08T04:28:39.088Z] STF 05:28:38.779 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module java.xml=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/modules/3.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-10-08T04:28:39.088Z] STF 05:28:38.779 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/5.OT12.stderr [2024-10-08T04:28:39.088Z] STF 05:28:38.779 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17283599092867/PatMod_PlatMod_0/20241008-052835-PatModTest/results/5.OT12.stdout [2024-10-08T04:28:39.088Z] STF 05:28:38.784 - Monitoring processes: OT12 [2024-10-08T04:28:39.088Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-08T04:28:39.088Z] 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_17283599092867\PatMod_PlatMod_0\20241008-052835-PatModTest\modules\3.java.xml.jar [2024-10-08T04:28:39.088Z] OT12 JUnit version 4.12 [2024-10-08T04:28:39.412Z] OT12 . [2024-10-08T04:28:39.412Z] OT12 Time: 0.005 [2024-10-08T04:28:39.412Z] OT12 [2024-10-08T04:28:39.412Z] OT12 OK (1 test) [2024-10-08T04:28:39.412Z] OT12 [2024-10-08T04:28:39.412Z] STF 05:28:39.145 - Monitoring Report Summary: [2024-10-08T04:28:39.412Z] STF 05:28:39.146 - o Process OT12 ended with the expected exit code (0) [2024-10-08T04:28:39.412Z] STF 05:28:39.146 - EXECUTE stage completed [2024-10-08T04:28:39.412Z] STF 05:28:39.167 - [2024-10-08T04:28:39.412Z] STF 05:28:39.167 - ==================== T E A R D O W N ==================== [2024-10-08T04:28:39.412Z] STF 05:28:39.167 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17283599092867\PatMod_PlatMod_0/20241008-052835-PatModTest/tearDown.pl [2024-10-08T04:28:39.412Z] STF 05:28:39.297 - TEARDOWN stage completed [2024-10-08T04:28:39.412Z] STF 05:28:39.307 - [2024-10-08T04:28:39.412Z] STF 05:28:39.307 - ===================== R E S U L T S ===================== [2024-10-08T04:28:39.412Z] STF 05:28:39.307 - Stage results: [2024-10-08T04:28:39.412Z] STF 05:28:39.307 - setUp: pass [2024-10-08T04:28:39.412Z] STF 05:28:39.307 - execute: pass [2024-10-08T04:28:39.412Z] STF 05:28:39.307 - teardown: pass [2024-10-08T04:28:39.412Z] STF 05:28:39.307 - [2024-10-08T04:28:39.412Z] STF 05:28:39.307 - Overall result: PASSED [2024-10-08T04:28:39.412Z] ----------------------------------- [2024-10-08T04:28:39.412Z] PatMod_PlatMod_0_PASSED [2024-10-08T04:28:39.412Z] ----------------------------------- [2024-10-08T04:28:39.412Z] [2024-10-08T04:28:39.412Z] TEST TEARDOWN: [2024-10-08T04:28:39.412Z] Nothing to be done for teardown. [2024-10-08T04:28:39.729Z] PatMod_PlatMod_0 Finish Time: Tue Oct 8 05:28:39 2024 Epoch Time (ms): 1728361719464