PatMod_PlatMod_0

[2024-11-27T14:03:31.896Z] Running test PatMod_PlatMod_0 ... [2024-11-27T14:03:31.896Z] =============================================== [2024-11-27T14:03:31.896Z] PatMod_PlatMod_0 Start Time: Wed Nov 27 14:03:31 2024 Epoch Time (ms): 1732716211877 [2024-11-27T14:03:32.230Z] variation: Mode150 [2024-11-27T14:03:32.230Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-27T14:03:32.230Z] { \ [2024-11-27T14:03:32.230Z] echo ""; echo "TEST SETUP:"; \ [2024-11-27T14:03:32.230Z] echo "Nothing to be done for setup."; \ [2024-11-27T14:03:32.230Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0"; \ [2024-11-27T14:03:32.230Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0"; \ [2024-11-27T14:03:32.230Z] echo ""; echo "TESTING:"; \ [2024-11-27T14:03:32.230Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0" -test=PatModTest -test-args="variant=PlatMod"; \ [2024-11-27T14:03:32.230Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0"; else echo "-----------------------------------"; echo "PatMod_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-27T14:03:32.230Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-27T14:03:32.230Z] echo "Nothing to be done for teardown."; \ [2024-11-27T14:03:32.230Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/TestTargetResult"; [2024-11-27T14:03:32.230Z] [2024-11-27T14:03:32.230Z] TEST SETUP: [2024-11-27T14:03:32.230Z] Nothing to be done for setup. [2024-11-27T14:03:32.230Z] [2024-11-27T14:03:32.230Z] TESTING: [2024-11-27T14:03:32.230Z] STF 14:03:32.150 - ========================= S T F ========================= [2024-11-27T14:03:32.230Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0 [2024-11-27T14:03:32.564Z] There is 73210 Mb free [2024-11-27T14:03:32.564Z] STF 14:03:32.171 - ================== G E N E R A T I O N ================== [2024-11-27T14:03:32.564Z] STF 14:03:32.175 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2024-11-27T14:03:32.564Z] STF 14:03:32.175 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest" [2024-11-27T14:03:32.564Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:03:32.564Z] GEN [0.019s][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-27T14:03:37.310Z] GEN 14:03:37.002 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-27T14:03:37.310Z] GEN 14:03:37.026 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-11-27T14:03:37.637Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-27T14:03:37.637Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-27T14:03:37.637Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-27T14:03:37.638Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-11-27T14:03:37.638Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-27T14:03:37.638Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-27T14:03:37.638Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-27T14:03:37.968Z] GEN 14:03:37.811 - Using Mode NoOptions. Values = '' [2024-11-27T14:03:38.305Z] GEN 14:03:38.163 - [2024-11-27T14:03:38.305Z] GEN 14:03:38.164 - Test command summary: [2024-11-27T14:03:38.305Z] GEN 14:03:38.166 - Step Stage Command Description [2024-11-27T14:03:38.305Z] GEN 14:03:38.168 - -----+--------+-----------------+------------ [2024-11-27T14:03:38.305Z] GEN 14:03:38.169 - 1 execute jar Create com.hello jar [2024-11-27T14:03:38.305Z] GEN 14:03:38.169 - 2 execute jar Create com.discreet jar [2024-11-27T14:03:38.305Z] GEN 14:03:38.170 - 3 execute jar create java.xml.jar [2024-11-27T14:03:38.305Z] GEN 14:03:38.171 - 4 execute Run java Verify if we can Patch an upgradable platform module using exploded directoryy [2024-11-27T14:03:38.305Z] GEN 14:03:38.171 - 5 execute Run java Verify if we can Patch an upgradable platform module using modular jar [2024-11-27T14:03:38.305Z] STF 14:03:38.261 - [2024-11-27T14:03:38.305Z] STF 14:03:38.261 - Script generation completed [2024-11-27T14:03:38.305Z] STF 14:03:38.261 - [2024-11-27T14:03:38.305Z] STF 14:03:38.263 - [2024-11-27T14:03:38.305Z] STF 14:03:38.263 - ======================= S E T U P ======================= [2024-11-27T14:03:38.305Z] STF 14:03:38.263 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/setUp.pl [2024-11-27T14:03:38.630Z] STF 14:03:38.511 - SETUP stage completed [2024-11-27T14:03:38.630Z] STF 14:03:38.522 - [2024-11-27T14:03:38.630Z] STF 14:03:38.522 - ==================== E X E C U T E - ==================== [2024-11-27T14:03:38.630Z] STF 14:03:38.522 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/execute.pl [2024-11-27T14:03:38.957Z] STF 14:03:38.770 - [2024-11-27T14:03:38.957Z] STF 14:03:38.770 - Java version [2024-11-27T14:03:38.957Z] STF 14:03:38.770 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2024-11-27T14:03:38.957Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:03:39.289Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-27T14:03:39.289Z] OpenJDK Runtime Environment Temurin-21.0.6+5-202411271056 (build 21.0.6-beta+5-202411271056) [2024-11-27T14:03:39.289Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+5-202411271056 (build 21.0.6-beta+5-202411271056, mixed mode, sharing) [2024-11-27T14:03:39.289Z] STF 14:03:39.027 - [2024-11-27T14:03:39.289Z] STF 14:03:39.028 - +------ Step 1 - Create com.hello jar [2024-11-27T14:03:39.289Z] STF 14:03:39.028 - | Create modular jar [2024-11-27T14:03:39.289Z] STF 14:03:39.028 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-27T14:03:39.289Z] STF 14:03:39.028 - | ModuleVersion: null [2024-11-27T14:03:39.289Z] STF 14:03:39.028 - | MainClass: null [2024-11-27T14:03:39.289Z] STF 14:03:39.028 - | HashModules: null [2024-11-27T14:03:39.289Z] STF 14:03:39.028 - | [2024-11-27T14:03:39.289Z] STF 14:03:39.030 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-11-27T14:03:39.289Z] STF 14:03:39.030 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/1.CMJ.stderr [2024-11-27T14:03:39.289Z] STF 14:03:39.031 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/1.CMJ.stdout [2024-11-27T14:03:39.289Z] STF 14:03:39.072 - Monitoring processes: CMJ [2024-11-27T14:03:39.289Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:03:40.959Z] STF 14:03:40.431 - Monitoring Report Summary: [2024-11-27T14:03:40.959Z] STF 14:03:40.431 - o Process CMJ ended with the expected exit code (0) [2024-11-27T14:03:40.959Z] STF 14:03:40.433 - Created modular jar: 1.com.hello.jar [2024-11-27T14:03:40.959Z] STF 14:03:40.433 - [2024-11-27T14:03:40.959Z] STF 14:03:40.433 - +------ Step 2 - Create com.discreet jar [2024-11-27T14:03:40.959Z] STF 14:03:40.433 - | Create modular jar [2024-11-27T14:03:40.959Z] STF 14:03:40.433 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-11-27T14:03:40.959Z] STF 14:03:40.433 - | ModuleVersion: null [2024-11-27T14:03:40.959Z] STF 14:03:40.433 - | MainClass: null [2024-11-27T14:03:40.959Z] STF 14:03:40.433 - | HashModules: null [2024-11-27T14:03:40.960Z] STF 14:03:40.433 - | [2024-11-27T14:03:40.960Z] STF 14:03:40.436 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/modules/2.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2024-11-27T14:03:40.960Z] STF 14:03:40.437 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/2.CMJ.stderr [2024-11-27T14:03:40.960Z] STF 14:03:40.437 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/2.CMJ.stdout [2024-11-27T14:03:40.960Z] STF 14:03:40.444 - Monitoring processes: CMJ [2024-11-27T14:03:40.960Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:03:42.108Z] STF 14:03:41.760 - Monitoring Report Summary: [2024-11-27T14:03:42.108Z] STF 14:03:41.760 - o Process CMJ ended with the expected exit code (0) [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - Created modular jar: 2.com.discreet.jar [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - +------ Step 3 - create java.xml.jar [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - | Create modular jar [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - | ModuleVersion: null [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - | MainClass: null [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - | HashModules: null [2024-11-27T14:03:42.108Z] STF 14:03:41.761 - | [2024-11-27T14:03:42.108Z] STF 14:03:41.762 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/modules/3.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-11-27T14:03:42.108Z] STF 14:03:41.762 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/3.CMJ.stderr [2024-11-27T14:03:42.108Z] STF 14:03:41.763 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/3.CMJ.stdout [2024-11-27T14:03:42.108Z] STF 14:03:41.769 - Monitoring processes: CMJ [2024-11-27T14:03:42.108Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:03:43.310Z] STF 14:03:43.104 - Monitoring Report Summary: [2024-11-27T14:03:43.310Z] STF 14:03:43.104 - o Process CMJ ended with the expected exit code (0) [2024-11-27T14:03:43.310Z] STF 14:03:43.106 - Created modular jar: 3.java.xml.jar [2024-11-27T14:03:43.310Z] STF 14:03:43.107 - [2024-11-27T14:03:43.310Z] STF 14:03:43.107 - +------ Step 4 - Verify if we can Patch an upgradable platform module using exploded directoryy [2024-11-27T14:03:43.310Z] STF 14:03:43.107 - | Run foreground process [2024-11-27T14:03:43.310Z] STF 14:03:43.107 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2024-11-27T14:03:43.310Z] STF 14:03:43.107 - | Mnemonic: OT11 [2024-11-27T14:03:43.310Z] STF 14:03:43.107 - | Echo: ECHO_ON [2024-11-27T14:03:43.310Z] STF 14:03:43.107 - | Expectation: CLEAN_RUN within 1m [2024-11-27T14:03:43.310Z] STF 14:03:43.108 - | [2024-11-27T14:03:43.310Z] STF 14:03:43.109 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-11-27T14:03:43.310Z] STF 14:03:43.109 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/4.OT11.stderr [2024-11-27T14:03:43.310Z] STF 14:03:43.110 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/4.OT11.stdout [2024-11-27T14:03:43.310Z] STF 14:03:43.119 - Monitoring processes: OT11 [2024-11-27T14:03:43.310Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:03:44.020Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2024-11-27T14:03:44.346Z] OT11 JUnit version 4.12 [2024-11-27T14:03:45.048Z] OT11 . [2024-11-27T14:03:45.048Z] OT11 Time: 0.027 [2024-11-27T14:03:45.048Z] OT11 [2024-11-27T14:03:45.048Z] OT11 OK (1 test) [2024-11-27T14:03:45.048Z] OT11 [2024-11-27T14:03:45.048Z] STF 14:03:44.973 - Monitoring Report Summary: [2024-11-27T14:03:45.048Z] STF 14:03:44.973 - o Process OT11 ended with the expected exit code (0) [2024-11-27T14:03:45.048Z] STF 14:03:44.974 - [2024-11-27T14:03:45.048Z] STF 14:03:44.974 - +------ Step 5 - Verify if we can Patch an upgradable platform module using modular jar [2024-11-27T14:03:45.048Z] STF 14:03:44.974 - | Run foreground process [2024-11-27T14:03:45.048Z] STF 14:03:44.974 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2024-11-27T14:03:45.048Z] STF 14:03:44.975 - | Mnemonic: OT12 [2024-11-27T14:03:45.048Z] STF 14:03:44.975 - | Echo: ECHO_ON [2024-11-27T14:03:45.048Z] STF 14:03:44.975 - | Expectation: CLEAN_RUN within 1m [2024-11-27T14:03:45.048Z] STF 14:03:44.975 - | [2024-11-27T14:03:45.048Z] STF 14:03:44.976 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/modules/3.java.xml.jar -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-11-27T14:03:45.048Z] STF 14:03:44.976 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/5.OT12.stderr [2024-11-27T14:03:45.048Z] STF 14:03:44.976 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/results/5.OT12.stdout [2024-11-27T14:03:45.048Z] STF 14:03:44.983 - Monitoring processes: OT12 [2024-11-27T14:03:45.378Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:03:45.721Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/modules/3.java.xml.jar [2024-11-27T14:03:46.533Z] OT12 JUnit version 4.12 [2024-11-27T14:03:46.858Z] OT12 . [2024-11-27T14:03:47.184Z] OT12 Time: 0.034 [2024-11-27T14:03:47.184Z] OT12 [2024-11-27T14:03:47.184Z] OT12 OK (1 test) [2024-11-27T14:03:47.184Z] OT12 [2024-11-27T14:03:47.184Z] STF 14:03:46.982 - Monitoring Report Summary: [2024-11-27T14:03:47.184Z] STF 14:03:46.983 - o Process OT12 ended with the expected exit code (0) [2024-11-27T14:03:47.184Z] STF 14:03:46.984 - EXECUTE stage completed [2024-11-27T14:03:47.184Z] STF 14:03:47.058 - [2024-11-27T14:03:47.184Z] STF 14:03:47.058 - ==================== T E A R D O W N ==================== [2024-11-27T14:03:47.184Z] STF 14:03:47.058 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/PatMod_PlatMod_0/20241127-140332-PatModTest/tearDown.pl [2024-11-27T14:03:47.512Z] STF 14:03:47.299 - TEARDOWN stage completed [2024-11-27T14:03:47.512Z] STF 14:03:47.312 - [2024-11-27T14:03:47.512Z] STF 14:03:47.312 - ===================== R E S U L T S ===================== [2024-11-27T14:03:47.512Z] STF 14:03:47.312 - Stage results: [2024-11-27T14:03:47.512Z] STF 14:03:47.312 - setUp: pass [2024-11-27T14:03:47.512Z] STF 14:03:47.312 - execute: pass [2024-11-27T14:03:47.512Z] STF 14:03:47.312 - teardown: pass [2024-11-27T14:03:47.512Z] STF 14:03:47.312 - [2024-11-27T14:03:47.512Z] STF 14:03:47.313 - Overall result: PASSED [2024-11-27T14:03:47.512Z] ----------------------------------- [2024-11-27T14:03:47.512Z] PatMod_PlatMod_0_PASSED [2024-11-27T14:03:47.512Z] ----------------------------------- [2024-11-27T14:03:47.512Z] [2024-11-27T14:03:47.512Z] TEST TEARDOWN: [2024-11-27T14:03:47.512Z] Nothing to be done for teardown. [2024-11-27T14:03:47.512Z] PatMod_PlatMod_0 Finish Time: Wed Nov 27 14:03:47 2024 Epoch Time (ms): 1732716227378