PatMod_PlatMod_0

[2024-10-31T00:40:50.500Z] Running test PatMod_PlatMod_0 ... [2024-10-31T00:40:50.789Z] =============================================== [2024-10-31T00:40:51.122Z] PatMod_PlatMod_0 Start Time: Thu Oct 31 00:40:50 2024 Epoch Time (ms): 1730335250858 [2024-10-31T00:40:51.122Z] variation: Mode150 [2024-10-31T00:40:51.420Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-10-31T00:40:51.420Z] { \ [2024-10-31T00:40:51.420Z] echo ""; echo "TEST SETUP:"; \ [2024-10-31T00:40:51.420Z] echo "Nothing to be done for setup."; \ [2024-10-31T00:40:51.420Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\PatMod_PlatMod_0"; \ [2024-10-31T00:40:51.420Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\PatMod_PlatMod_0"; \ [2024-10-31T00:40:51.420Z] echo ""; echo "TESTING:"; \ [2024-10-31T00:40:51.420Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\PatMod_PlatMod_0" -test=PatModTest -test-args="variant=PlatMod"; \ [2024-10-31T00:40:51.420Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\PatMod_PlatMod_0"; else echo "-----------------------------------"; echo "PatMod_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-31T00:40:51.420Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-31T00:40:51.420Z] echo "Nothing to be done for teardown."; \ [2024-10-31T00:40:51.420Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\TestTargetResult"; [2024-10-31T00:40:51.720Z] [2024-10-31T00:40:51.720Z] TEST SETUP: [2024-10-31T00:40:51.720Z] Nothing to be done for setup. [2024-10-31T00:40:51.720Z] [2024-10-31T00:40:51.720Z] TESTING: [2024-10-31T00:40:52.061Z] STF 00:40:51.874 - ========================= S T F ========================= [2024-10-31T00:40:52.061Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatMod_PlatMod_0 [2024-10-31T00:40:52.360Z] There is 32535 Mb free [2024-10-31T00:40:52.360Z] STF 00:40:51.951 - ================== G E N E R A T I O N ================== [2024-10-31T00:40:52.360Z] STF 00:40:51.956 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-31T00:40:52.360Z] STF 00:40:51.957 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatMod_PlatMod_0/20241031-004051-PatModTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatMod_PlatMod_0/20241031-004051-PatModTest" [2024-10-31T00:40:52.360Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:40:53.393Z] GEN 00:40:53.202 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-10-31T00:40:53.393Z] GEN 00:40:53.218 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-10-31T00:40:53.690Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-31T00:40:53.690Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-31T00:40:53.690Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-31T00:40:53.690Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-31T00:40:53.690Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-31T00:40:53.690Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-31T00:40:53.690Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-31T00:40:53.690Z] GEN 00:40:53.468 - Using Mode NoOptions. Values = '' [2024-10-31T00:40:53.690Z] GEN 00:40:53.561 - [2024-10-31T00:40:53.690Z] GEN 00:40:53.561 - Test command summary: [2024-10-31T00:40:53.690Z] GEN 00:40:53.561 - Step Stage Command Description [2024-10-31T00:40:53.690Z] GEN 00:40:53.577 - -----+--------+-----------------+------------ [2024-10-31T00:40:53.690Z] GEN 00:40:53.577 - 1 execute jar Create com.hello jar [2024-10-31T00:40:53.690Z] GEN 00:40:53.577 - 2 execute jar Create com.discreet jar [2024-10-31T00:40:53.690Z] GEN 00:40:53.577 - 3 execute jar create java.xml.jar [2024-10-31T00:40:53.690Z] GEN 00:40:53.577 - 4 execute Run java Verify if we can Patch an upgradable platform module using exploded directoryy [2024-10-31T00:40:53.690Z] GEN 00:40:53.577 - 5 execute Run java Verify if we can Patch an upgradable platform module using modular jar [2024-10-31T00:40:53.690Z] STF 00:40:53.627 - [2024-10-31T00:40:53.690Z] STF 00:40:53.627 - Script generation completed [2024-10-31T00:40:53.690Z] STF 00:40:53.627 - [2024-10-31T00:40:53.690Z] STF 00:40:53.630 - [2024-10-31T00:40:53.690Z] STF 00:40:53.630 - ======================= S E T U P ======================= [2024-10-31T00:40:53.690Z] STF 00:40:53.630 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatMod_PlatMod_0/20241031-004051-PatModTest/setUp.pl [2024-10-31T00:40:54.324Z] STF 00:40:53.999 - SETUP stage completed [2024-10-31T00:40:54.325Z] STF 00:40:54.047 - [2024-10-31T00:40:54.325Z] STF 00:40:54.047 - ==================== E X E C U T E - ==================== [2024-10-31T00:40:54.325Z] STF 00:40:54.047 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatMod_PlatMod_0/20241031-004051-PatModTest/execute.pl [2024-10-31T00:40:54.621Z] STF 00:40:54.421 - [2024-10-31T00:40:54.621Z] STF 00:40:54.421 - Java version [2024-10-31T00:40:54.621Z] STF 00:40:54.421 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-31T00:40:54.621Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:40:54.621Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-10-31T00:40:54.621Z] OpenJDK Runtime Environment Temurin-21.0.6+1-202410302002 (build 21.0.6-beta+1-ea) [2024-10-31T00:40:54.622Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+1-202410302002 (build 21.0.6-beta+1-ea, mixed mode) [2024-10-31T00:40:54.622Z] STF 00:40:54.563 - [2024-10-31T00:40:54.622Z] STF 00:40:54.563 - +------ Step 1 - Create com.hello jar [2024-10-31T00:40:54.622Z] STF 00:40:54.563 - | Create modular jar [2024-10-31T00:40:54.622Z] STF 00:40:54.564 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-31T00:40:54.622Z] STF 00:40:54.564 - | ModuleVersion: null [2024-10-31T00:40:54.622Z] STF 00:40:54.564 - | MainClass: null [2024-10-31T00:40:54.622Z] STF 00:40:54.564 - | HashModules: null [2024-10-31T00:40:54.622Z] STF 00:40:54.564 - | [2024-10-31T00:40:54.622Z] STF 00:40:54.565 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-10-31T00:40:54.622Z] STF 00:40:54.565 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/1.CMJ.stderr [2024-10-31T00:40:54.622Z] STF 00:40:54.565 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/1.CMJ.stdout [2024-10-31T00:40:54.920Z] STF 00:40:54.639 - Monitoring processes: CMJ [2024-10-31T00:40:54.920Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:40:55.224Z] STF 00:40:55.098 - Monitoring Report Summary: [2024-10-31T00:40:55.224Z] STF 00:40:55.098 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - Created modular jar: 1.com.hello.jar [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - +------ Step 2 - Create com.discreet jar [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - | Create modular jar [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - | ModuleVersion: null [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - | MainClass: null [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - | HashModules: null [2024-10-31T00:40:55.224Z] STF 00:40:55.099 - | [2024-10-31T00:40:55.224Z] STF 00:40:55.100 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/modules/2.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2024-10-31T00:40:55.224Z] STF 00:40:55.100 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/2.CMJ.stderr [2024-10-31T00:40:55.224Z] STF 00:40:55.100 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/2.CMJ.stdout [2024-10-31T00:40:55.224Z] STF 00:40:55.110 - Monitoring processes: CMJ [2024-10-31T00:40:55.224Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:40:55.858Z] STF 00:40:55.547 - Monitoring Report Summary: [2024-10-31T00:40:55.858Z] STF 00:40:55.547 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - Created modular jar: 2.com.discreet.jar [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - +------ Step 3 - create java.xml.jar [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - | Create modular jar [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - | ModuleVersion: null [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - | MainClass: null [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - | HashModules: null [2024-10-31T00:40:55.858Z] STF 00:40:55.548 - | [2024-10-31T00:40:55.858Z] STF 00:40:55.549 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/modules/3.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-10-31T00:40:55.858Z] STF 00:40:55.549 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/3.CMJ.stderr [2024-10-31T00:40:55.858Z] STF 00:40:55.549 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/3.CMJ.stdout [2024-10-31T00:40:55.858Z] STF 00:40:55.557 - Monitoring processes: CMJ [2024-10-31T00:40:55.858Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:40:56.157Z] STF 00:40:56.015 - Monitoring Report Summary: [2024-10-31T00:40:56.157Z] STF 00:40:56.015 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - Created modular jar: 3.java.xml.jar [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - +------ Step 4 - Verify if we can Patch an upgradable platform module using exploded directoryy [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - | Run foreground process [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - | Mnemonic: OT11 [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - | Echo: ECHO_ON [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - | Expectation: CLEAN_RUN within 1m [2024-10-31T00:40:56.157Z] STF 00:40:56.016 - | [2024-10-31T00:40:56.157Z] STF 00:40:56.017 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module java.xml=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-10-31T00:40:56.157Z] STF 00:40:56.017 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/4.OT11.stderr [2024-10-31T00:40:56.157Z] STF 00:40:56.017 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/4.OT11.stdout [2024-10-31T00:40:56.157Z] STF 00:40:56.025 - Monitoring processes: OT11 [2024-10-31T00:40:56.157Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:40:56.458Z] OT11 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml [2024-10-31T00:40:56.458Z] OT11 JUnit version 4.12 [2024-10-31T00:40:56.754Z] OT11 . [2024-10-31T00:40:56.754Z] OT11 Time: 0 [2024-10-31T00:40:56.754Z] OT11 [2024-10-31T00:40:56.754Z] OT11 OK (1 test) [2024-10-31T00:40:56.754Z] OT11 [2024-10-31T00:40:56.754Z] STF 00:40:56.486 - Monitoring Report Summary: [2024-10-31T00:40:56.754Z] STF 00:40:56.486 - o Process OT11 ended with the expected exit code (0) [2024-10-31T00:40:56.754Z] STF 00:40:56.487 - [2024-10-31T00:40:56.754Z] STF 00:40:56.487 - +------ Step 5 - Verify if we can Patch an upgradable platform module using modular jar [2024-10-31T00:40:56.754Z] STF 00:40:56.487 - | Run foreground process [2024-10-31T00:40:56.754Z] STF 00:40:56.487 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T00:40:56.754Z] STF 00:40:56.487 - | Mnemonic: OT12 [2024-10-31T00:40:56.754Z] STF 00:40:56.487 - | Echo: ECHO_ON [2024-10-31T00:40:56.754Z] STF 00:40:56.487 - | Expectation: CLEAN_RUN within 1m [2024-10-31T00:40:56.754Z] STF 00:40:56.487 - | [2024-10-31T00:40:56.754Z] STF 00:40:56.488 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module java.xml=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/modules/3.java.xml.jar -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-10-31T00:40:56.754Z] STF 00:40:56.488 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/5.OT12.stderr [2024-10-31T00:40:56.754Z] STF 00:40:56.488 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatMod_PlatMod_0/20241031-004051-PatModTest/results/5.OT12.stdout [2024-10-31T00:40:56.754Z] STF 00:40:56.497 - Monitoring processes: OT12 [2024-10-31T00:40:56.754Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:40:56.754Z] OT12 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17303333119957\PatMod_PlatMod_0\20241031-004051-PatModTest\modules\3.java.xml.jar [2024-10-31T00:40:57.051Z] OT12 JUnit version 4.12 [2024-10-31T00:40:57.051Z] OT12 . [2024-10-31T00:40:57.051Z] OT12 Time: 0 [2024-10-31T00:40:57.051Z] OT12 [2024-10-31T00:40:57.051Z] OT12 OK (1 test) [2024-10-31T00:40:57.051Z] OT12 [2024-10-31T00:40:57.051Z] STF 00:40:56.952 - Monitoring Report Summary: [2024-10-31T00:40:57.051Z] STF 00:40:56.952 - o Process OT12 ended with the expected exit code (0) [2024-10-31T00:40:57.051Z] STF 00:40:56.953 - EXECUTE stage completed [2024-10-31T00:40:57.051Z] STF 00:40:57.013 - [2024-10-31T00:40:57.051Z] STF 00:40:57.013 - ==================== T E A R D O W N ==================== [2024-10-31T00:40:57.051Z] STF 00:40:57.013 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatMod_PlatMod_0/20241031-004051-PatModTest/tearDown.pl [2024-10-31T00:40:57.676Z] STF 00:40:57.389 - TEARDOWN stage completed [2024-10-31T00:40:57.676Z] STF 00:40:57.441 - [2024-10-31T00:40:57.676Z] STF 00:40:57.441 - ===================== R E S U L T S ===================== [2024-10-31T00:40:57.676Z] STF 00:40:57.441 - Stage results: [2024-10-31T00:40:57.676Z] STF 00:40:57.441 - setUp: pass [2024-10-31T00:40:57.676Z] STF 00:40:57.441 - execute: pass [2024-10-31T00:40:57.677Z] STF 00:40:57.441 - teardown: pass [2024-10-31T00:40:57.677Z] STF 00:40:57.441 - [2024-10-31T00:40:57.677Z] STF 00:40:57.441 - Overall result: PASSED [2024-10-31T00:40:57.677Z] ----------------------------------- [2024-10-31T00:40:57.677Z] PatMod_PlatMod_0_PASSED [2024-10-31T00:40:57.677Z] ----------------------------------- [2024-10-31T00:40:57.677Z] [2024-10-31T00:40:57.677Z] TEST TEARDOWN: [2024-10-31T00:40:57.677Z] Nothing to be done for teardown. [2024-10-31T00:40:57.966Z] PatMod_PlatMod_0 Finish Time: Thu Oct 31 00:40:57 2024 Epoch Time (ms): 1730335257796