PatModImg_Adv_0
[2026-03-11T16:31:28.684Z] Running test PatModImg_Adv_0 ...
[2026-03-11T16:31:28.684Z] ===============================================
[2026-03-11T16:31:29.013Z] PatModImg_Adv_0 Start Time: Wed Mar 11 16:31:28 2026 Epoch Time (ms): 1773246688685
[2026-03-11T16:31:29.013Z] variation: Mode150
[2026-03-11T16:31:29.013Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2026-03-11T16:31:29.013Z] { \
[2026-03-11T16:31:29.013Z] echo ""; echo "TEST SETUP:"; \
[2026-03-11T16:31:29.013Z] echo "Nothing to be done for setup."; \
[2026-03-11T16:31:29.013Z] mkdir -p "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0"; \
[2026-03-11T16:31:29.013Z] cd "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0"; \
[2026-03-11T16:31:29.013Z] echo ""; echo "TESTING:"; \
[2026-03-11T16:31:29.013Z] perl /home/jenkins/workspace/Test_openjdk26_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_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0" -test=PatModImgTest -test-args="variant=Adv"; \
[2026-03-11T16:31:29.013Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_Adv_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0"; else echo "-----------------------------------"; echo "PatModImg_Adv_0""_FAILED"; echo "-----------------------------------"; fi; \
[2026-03-11T16:31:29.013Z] echo ""; echo "TEST TEARDOWN:"; \
[2026-03-11T16:31:29.013Z] echo "Nothing to be done for teardown."; \
[2026-03-11T16:31:29.013Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/TestTargetResult";
[2026-03-11T16:31:29.013Z]
[2026-03-11T16:31:29.013Z] TEST SETUP:
[2026-03-11T16:31:29.013Z] Nothing to be done for setup.
[2026-03-11T16:31:29.013Z]
[2026-03-11T16:31:29.013Z] TESTING:
[2026-03-11T16:31:29.013Z] STF 16:31:28.946 - ========================= S T F =========================
[2026-03-11T16:31:29.013Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0
[2026-03-11T16:31:29.341Z] There is 47210 Mb free
[2026-03-11T16:31:29.341Z] STF 16:31:28.968 - ================== G E N E R A T I O N ==================
[2026-03-11T16:31:29.341Z] STF 16:31:28.971 - Checking JVM: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image
[2026-03-11T16:31:29.341Z] STF 16:31:28.971 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest"
[2026-03-11T16:31:29.341Z] GEN [0.014s][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
[2026-03-11T16:31:34.053Z] GEN 16:31:33.517 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2026-03-11T16:31:34.053Z] GEN 16:31:33.562 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2026-03-11T16:31:34.053Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar
[2026-03-11T16:31:34.053Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar
[2026-03-11T16:31:34.376Z] GEN 16:31:34.122 - Using Mode NoOptions. Values = ''
[2026-03-11T16:31:34.700Z] GEN 16:31:34.447 -
[2026-03-11T16:31:34.700Z] GEN 16:31:34.448 - Test command summary:
[2026-03-11T16:31:34.700Z] GEN 16:31:34.450 - Step Stage Command Description
[2026-03-11T16:31:34.700Z] GEN 16:31:34.451 - -----+--------+-----------------+------------
[2026-03-11T16:31:34.700Z] GEN 16:31:34.452 - 1 execute jar Create com.hello jar
[2026-03-11T16:31:34.700Z] GEN 16:31:34.453 - 2 execute jar Create com.hola jar
[2026-03-11T16:31:34.700Z] GEN 16:31:34.454 - 3 execute jar Create com.helper jar
[2026-03-11T16:31:34.700Z] GEN 16:31:34.454 - 4 execute jar Create com.discreet jar
[2026-03-11T16:31:34.700Z] GEN 16:31:34.455 - 5 execute jar Create tests jar
[2026-03-11T16:31:34.700Z] GEN 16:31:34.456 - 6 execute jlink Create runtime image for PatchModule test
[2026-03-11T16:31:34.700Z] GEN 16:31:34.457 - 7 execute jar Create com.hello jar
[2026-03-11T16:31:34.700Z] GEN 16:31:34.458 - 8 execute jar create java.xml.jar
[2026-03-11T16:31:34.700Z] GEN 16:31:34.458 - 9 execute Run java Run application class override test where we specify two exploded module paths in a single --patch-module option
[2026-03-11T16:31:34.700Z] GEN 16:31:34.459 - 10 execute Run java Verify if a module can be specified only once on --patch-module
[2026-03-11T16:31:34.700Z] GEN 16:31:34.460 - 11 execute Run java Combine stderr and stdout files of process OT7
[2026-03-11T16:31:34.700Z] GEN 16:31:34.460 - 12 execute count Check output
[2026-03-11T16:31:34.700Z] GEN 16:31:34.460 - 13 execute Run java (Negative test) Verify if --patch-module allows replacing of module-info.class
[2026-03-11T16:31:34.700Z] GEN 16:31:34.461 - 14 execute count Check output
[2026-03-11T16:31:34.700Z] STF 16:31:34.611 -
[2026-03-11T16:31:34.700Z] STF 16:31:34.611 - Script generation completed
[2026-03-11T16:31:34.700Z] STF 16:31:34.611 -
[2026-03-11T16:31:34.700Z] STF 16:31:34.613 -
[2026-03-11T16:31:34.700Z] STF 16:31:34.614 - ======================= S E T U P =======================
[2026-03-11T16:31:34.700Z] STF 16:31:34.614 - Running setup: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/setUp.pl
[2026-03-11T16:31:35.020Z] STF 16:31:34.841 - SETUP stage completed
[2026-03-11T16:31:35.020Z] STF 16:31:34.850 -
[2026-03-11T16:31:35.020Z] STF 16:31:34.850 - ==================== E X E C U T E - ====================
[2026-03-11T16:31:35.020Z] STF 16:31:34.851 - Running execute: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/execute.pl
[2026-03-11T16:31:35.349Z] STF 16:31:35.096 -
[2026-03-11T16:31:35.349Z] STF 16:31:35.096 - Java version
[2026-03-11T16:31:35.349Z] STF 16:31:35.096 - Running: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2026-03-11T16:31:35.349Z] openjdk version "26" 2026-03-17
[2026-03-11T16:31:35.349Z] OpenJDK Runtime Environment Temurin-26+35 (build 26+35)
[2026-03-11T16:31:35.349Z] OpenJDK 64-Bit Server VM Temurin-26+35 (build 26+35, mixed mode, sharing)
[2026-03-11T16:31:35.349Z] STF 16:31:35.310 -
[2026-03-11T16:31:35.349Z] STF 16:31:35.310 - +------ Step 1 - Create com.hello jar
[2026-03-11T16:31:35.349Z] STF 16:31:35.310 - | Create modular jar
[2026-03-11T16:31:35.349Z] STF 16:31:35.310 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2026-03-11T16:31:35.349Z] STF 16:31:35.310 - | ModuleVersion: null
[2026-03-11T16:31:35.349Z] STF 16:31:35.310 - | MainClass: null
[2026-03-11T16:31:35.349Z] STF 16:31:35.310 - | HashModules: null
[2026-03-11T16:31:35.349Z] STF 16:31:35.310 - |
[2026-03-11T16:31:35.349Z] STF 16:31:35.311 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2026-03-11T16:31:35.349Z] STF 16:31:35.311 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/1.CMJ.stderr
[2026-03-11T16:31:35.349Z] STF 16:31:35.312 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/1.CMJ.stdout
[2026-03-11T16:31:35.670Z] STF 16:31:35.355 - Monitoring processes: CMJ
[2026-03-11T16:31:36.808Z] STF 16:31:36.358 - Monitoring Report Summary:
[2026-03-11T16:31:36.808Z] STF 16:31:36.358 - o Process CMJ ended with the expected exit code (0)
[2026-03-11T16:31:36.808Z] STF 16:31:36.359 - Created modular jar: 1.com.hello.jar
[2026-03-11T16:31:36.808Z] STF 16:31:36.359 -
[2026-03-11T16:31:36.808Z] STF 16:31:36.359 - +------ Step 2 - Create com.hola jar
[2026-03-11T16:31:36.808Z] STF 16:31:36.359 - | Create modular jar
[2026-03-11T16:31:36.808Z] STF 16:31:36.360 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2026-03-11T16:31:36.808Z] STF 16:31:36.360 - | ModuleVersion: null
[2026-03-11T16:31:36.808Z] STF 16:31:36.360 - | MainClass: null
[2026-03-11T16:31:36.808Z] STF 16:31:36.360 - | HashModules: null
[2026-03-11T16:31:36.808Z] STF 16:31:36.360 - |
[2026-03-11T16:31:36.808Z] STF 16:31:36.361 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2026-03-11T16:31:36.808Z] STF 16:31:36.362 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/2.CMJ.stderr
[2026-03-11T16:31:36.808Z] STF 16:31:36.362 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/2.CMJ.stdout
[2026-03-11T16:31:36.808Z] STF 16:31:36.369 - Monitoring processes: CMJ
[2026-03-11T16:31:37.932Z] STF 16:31:37.527 - Monitoring Report Summary:
[2026-03-11T16:31:37.932Z] STF 16:31:37.527 - o Process CMJ ended with the expected exit code (0)
[2026-03-11T16:31:37.932Z] STF 16:31:37.528 - Created modular jar: 2.com.hola.jar
[2026-03-11T16:31:37.932Z] STF 16:31:37.528 -
[2026-03-11T16:31:37.932Z] STF 16:31:37.528 - +------ Step 3 - Create com.helper jar
[2026-03-11T16:31:37.932Z] STF 16:31:37.528 - | Create modular jar
[2026-03-11T16:31:37.932Z] STF 16:31:37.528 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2026-03-11T16:31:37.932Z] STF 16:31:37.528 - | ModuleVersion: null
[2026-03-11T16:31:37.932Z] STF 16:31:37.528 - | MainClass: null
[2026-03-11T16:31:37.932Z] STF 16:31:37.529 - | HashModules: null
[2026-03-11T16:31:37.932Z] STF 16:31:37.529 - |
[2026-03-11T16:31:37.932Z] STF 16:31:37.529 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2026-03-11T16:31:37.932Z] STF 16:31:37.530 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/3.CMJ.stderr
[2026-03-11T16:31:37.932Z] STF 16:31:37.530 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/3.CMJ.stdout
[2026-03-11T16:31:37.932Z] STF 16:31:37.535 - Monitoring processes: CMJ
[2026-03-11T16:31:38.643Z] STF 16:31:38.521 - Monitoring Report Summary:
[2026-03-11T16:31:38.643Z] STF 16:31:38.521 - o Process CMJ ended with the expected exit code (0)
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 - Created modular jar: 3.com.helper.jar
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 -
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 - +------ Step 4 - Create com.discreet jar
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 - | Create modular jar
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 - | ModuleVersion: null
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 - | MainClass: null
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 - | HashModules: null
[2026-03-11T16:31:38.643Z] STF 16:31:38.522 - |
[2026-03-11T16:31:38.643Z] STF 16:31:38.523 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2026-03-11T16:31:38.643Z] STF 16:31:38.523 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/4.CMJ.stderr
[2026-03-11T16:31:38.643Z] STF 16:31:38.523 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/4.CMJ.stdout
[2026-03-11T16:31:38.643Z] STF 16:31:38.528 - Monitoring processes: CMJ
[2026-03-11T16:31:39.776Z] STF 16:31:39.487 - Monitoring Report Summary:
[2026-03-11T16:31:39.776Z] STF 16:31:39.487 - o Process CMJ ended with the expected exit code (0)
[2026-03-11T16:31:39.776Z] STF 16:31:39.487 - Created modular jar: 4.com.discreet.jar
[2026-03-11T16:31:39.776Z] STF 16:31:39.487 -
[2026-03-11T16:31:39.776Z] STF 16:31:39.488 - +------ Step 5 - Create tests jar
[2026-03-11T16:31:39.776Z] STF 16:31:39.488 - | Create modular jar
[2026-03-11T16:31:39.776Z] STF 16:31:39.488 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2026-03-11T16:31:39.776Z] STF 16:31:39.488 - | ModuleVersion: null
[2026-03-11T16:31:39.776Z] STF 16:31:39.488 - | MainClass: null
[2026-03-11T16:31:39.776Z] STF 16:31:39.488 - | HashModules: null
[2026-03-11T16:31:39.776Z] STF 16:31:39.488 - |
[2026-03-11T16:31:39.776Z] STF 16:31:39.489 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2026-03-11T16:31:39.776Z] STF 16:31:39.489 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/5.CMJ.stderr
[2026-03-11T16:31:39.776Z] STF 16:31:39.489 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/5.CMJ.stdout
[2026-03-11T16:31:39.776Z] STF 16:31:39.497 - Monitoring processes: CMJ
[2026-03-11T16:31:40.942Z] STF 16:31:40.504 - Monitoring Report Summary:
[2026-03-11T16:31:40.942Z] STF 16:31:40.504 - o Process CMJ ended with the expected exit code (0)
[2026-03-11T16:31:40.942Z] STF 16:31:40.505 - Created modular jar: 5.com.test.jar
[2026-03-11T16:31:40.942Z] STF 16:31:40.505 -
[2026-03-11T16:31:40.942Z] STF 16:31:40.505 - +------ Step 6 - Create runtime image for PatchModule test
[2026-03-11T16:31:40.942Z] STF 16:31:40.505 - | Run jlink to create runtime image
[2026-03-11T16:31:40.943Z] STF 16:31:40.505 - | ImageName: XpJVM
[2026-03-11T16:31:40.943Z] STF 16:31:40.505 - |
[2026-03-11T16:31:40.943Z] STF 16:31:40.506 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/tmp/6.XpJVM
[2026-03-11T16:31:40.943Z] STF 16:31:40.506 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/6.JLNK.stderr
[2026-03-11T16:31:40.943Z] STF 16:31:40.506 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/6.JLNK.stdout
[2026-03-11T16:31:40.943Z] STF 16:31:40.512 - Monitoring processes: JLNK
[2026-03-11T16:31:49.773Z] STF 16:31:49.479 - Monitoring Report Summary:
[2026-03-11T16:31:49.773Z] STF 16:31:49.480 - o Process JLNK ended with the expected exit code (0)
[2026-03-11T16:31:49.773Z] STF 16:31:49.485 -
[2026-03-11T16:31:49.773Z] STF 16:31:49.486 - +------ Step 7 - Create com.hello jar
[2026-03-11T16:31:49.773Z] STF 16:31:49.487 - | Create modular jar
[2026-03-11T16:31:49.773Z] STF 16:31:49.487 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2026-03-11T16:31:49.773Z] STF 16:31:49.488 - | ModuleVersion: null
[2026-03-11T16:31:49.773Z] STF 16:31:49.488 - | MainClass: null
[2026-03-11T16:31:49.773Z] STF 16:31:49.489 - | HashModules: null
[2026-03-11T16:31:49.773Z] STF 16:31:49.489 - |
[2026-03-11T16:31:49.773Z] STF 16:31:49.494 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2026-03-11T16:31:49.773Z] STF 16:31:49.495 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/7.CMJ.stderr
[2026-03-11T16:31:49.773Z] STF 16:31:49.495 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/7.CMJ.stdout
[2026-03-11T16:31:49.773Z] STF 16:31:49.502 - Monitoring processes: CMJ
[2026-03-11T16:31:50.909Z] STF 16:31:50.466 - Monitoring Report Summary:
[2026-03-11T16:31:50.909Z] STF 16:31:50.466 - o Process CMJ ended with the expected exit code (0)
[2026-03-11T16:31:50.909Z] STF 16:31:50.467 - Created modular jar: 7.com.hello.jar
[2026-03-11T16:31:50.909Z] STF 16:31:50.467 -
[2026-03-11T16:31:50.909Z] STF 16:31:50.467 - +------ Step 8 - create java.xml.jar
[2026-03-11T16:31:50.909Z] STF 16:31:50.467 - | Create modular jar
[2026-03-11T16:31:50.909Z] STF 16:31:50.467 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2026-03-11T16:31:50.909Z] STF 16:31:50.467 - | ModuleVersion: null
[2026-03-11T16:31:50.909Z] STF 16:31:50.467 - | MainClass: null
[2026-03-11T16:31:50.909Z] STF 16:31:50.468 - | HashModules: null
[2026-03-11T16:31:50.909Z] STF 16:31:50.468 - |
[2026-03-11T16:31:50.909Z] STF 16:31:50.468 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2026-03-11T16:31:50.909Z] STF 16:31:50.469 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/8.CMJ.stderr
[2026-03-11T16:31:50.909Z] STF 16:31:50.469 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/8.CMJ.stdout
[2026-03-11T16:31:50.909Z] STF 16:31:50.474 - Monitoring processes: CMJ
[2026-03-11T16:31:52.053Z] STF 16:31:51.449 - Monitoring Report Summary:
[2026-03-11T16:31:52.053Z] STF 16:31:51.449 - o Process CMJ ended with the expected exit code (0)
[2026-03-11T16:31:52.053Z] STF 16:31:51.450 - Created modular jar: 8.java.xml.jar
[2026-03-11T16:31:52.053Z] STF 16:31:51.450 -
[2026-03-11T16:31:52.053Z] STF 16:31:51.450 - +------ Step 9 - Run application class override test where we specify two exploded module paths in a single --patch-module option
[2026-03-11T16:31:52.053Z] STF 16:31:51.450 - | Run foreground process
[2026-03-11T16:31:52.053Z] STF 16:31:51.450 - | Program: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/tmp/6.XpJVM/bin/java
[2026-03-11T16:31:52.054Z] STF 16:31:51.450 - | Mnemonic: OT1
[2026-03-11T16:31:52.054Z] STF 16:31:51.450 - | Echo: ECHO_ON
[2026-03-11T16:31:52.054Z] STF 16:31:51.450 - | Expectation: CLEAN_RUN within 5m
[2026-03-11T16:31:52.054Z] STF 16:31:51.450 - |
[2026-03-11T16:31:52.054Z] STF 16:31:51.451 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --add-exports com.hello/adoptopenjdk.test.modularity.newpkg=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello -XX:+UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingMultipleFilePaths
[2026-03-11T16:31:52.054Z] STF 16:31:51.451 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/9.OT1.stderr
[2026-03-11T16:31:52.054Z] STF 16:31:51.452 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/9.OT1.stdout
[2026-03-11T16:31:52.054Z] STF 16:31:51.457 - Monitoring processes: OT1
[2026-03-11T16:31:52.378Z] OT1 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2026-03-11T16:31:52.378Z] OT1 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello
[2026-03-11T16:31:52.707Z] OT1 JUnit version 4.12
[2026-03-11T16:31:53.415Z] OT1 ...
[2026-03-11T16:31:53.753Z] OT1 Time: 0.069
[2026-03-11T16:31:53.753Z] OT1
[2026-03-11T16:31:53.753Z] OT1 OK (3 tests)
[2026-03-11T16:31:53.753Z] OT1
[2026-03-11T16:31:53.753Z] STF 16:31:53.382 - Monitoring Report Summary:
[2026-03-11T16:31:53.753Z] STF 16:31:53.382 - o Process OT1 ended with the expected exit code (0)
[2026-03-11T16:31:53.753Z] STF 16:31:53.384 -
[2026-03-11T16:31:53.753Z] STF 16:31:53.384 - +------ Step 10 - Verify if a module can be specified only once on --patch-module
[2026-03-11T16:31:53.753Z] STF 16:31:53.384 - | Run foreground process
[2026-03-11T16:31:53.753Z] STF 16:31:53.384 - | Program: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/tmp/6.XpJVM/bin/java
[2026-03-11T16:31:53.753Z] STF 16:31:53.384 - | Mnemonic: OT7
[2026-03-11T16:31:53.753Z] STF 16:31:53.384 - | Echo: ECHO_ON
[2026-03-11T16:31:53.753Z] STF 16:31:53.384 - | Expectation: NON_ZERO_EXIT [1] within 5m
[2026-03-11T16:31:53.753Z] STF 16:31:53.385 - |
[2026-03-11T16:31:53.753Z] STF 16:31:53.386 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello --patch-module com.hello=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2026-03-11T16:31:53.753Z] STF 16:31:53.386 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/10.OT7.stderr
[2026-03-11T16:31:53.753Z] STF 16:31:53.386 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/10.OT7.stdout
[2026-03-11T16:31:53.753Z] STF 16:31:53.393 - Monitoring processes: OT7
[2026-03-11T16:31:54.084Z] OT7 Error occurred during initialization of boot layer
[2026-03-11T16:31:54.084Z] OT7 java.lang.ExceptionInInitializerError
[2026-03-11T16:31:54.084Z] OT7 Caused by: java.lang.RuntimeException: com.hello specified more than once to --patch-module
[2026-03-11T16:31:54.084Z] STF 16:31:53.838 - Monitoring Report Summary:
[2026-03-11T16:31:54.085Z] STF 16:31:53.838 - o Process OT7 ended with the expected exit code (1)
[2026-03-11T16:31:54.085Z] STF 16:31:53.839 -
[2026-03-11T16:31:54.085Z] STF 16:31:53.839 - +------ Step 11 - Combine stderr and stdout files of process OT7
[2026-03-11T16:31:54.085Z] STF 16:31:53.839 - | Run foreground process
[2026-03-11T16:31:54.085Z] STF 16:31:53.839 - | Program: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java
[2026-03-11T16:31:54.085Z] STF 16:31:53.839 - | Mnemonic: CO
[2026-03-11T16:31:54.085Z] STF 16:31:53.839 - | Echo: ECHO_OFF
[2026-03-11T16:31:54.085Z] STF 16:31:53.839 - | Expectation: NON_ZERO_EXIT [0] within 30s
[2026-03-11T16:31:54.085Z] STF 16:31:53.839 - |
[2026-03-11T16:31:54.085Z] STF 16:31:53.841 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/10.OT7.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/10.OT7.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/combinedOT7.txt -XX:+UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil
[2026-03-11T16:31:54.085Z] STF 16:31:53.841 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/11.CO.stderr
[2026-03-11T16:31:54.085Z] STF 16:31:53.841 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/11.CO.stdout
[2026-03-11T16:31:54.085Z] STF 16:31:53.847 - Monitoring processes: CO
[2026-03-11T16:31:54.416Z] STF 16:31:54.319 - Monitoring Report Summary:
[2026-03-11T16:31:54.416Z] STF 16:31:54.319 - o Process CO ended with the expected exit code (0)
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 -
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 - +------ Step 12 - Check output
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 - | Count file matches
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 - | TargetFile: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/combinedOT7.txt
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 - | ExpectedNumMatches: 1
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 - | SearchStrings: ["java.lang.ExceptionInInitializerError"]
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 - |
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 - Found 1 instances of ["java.lang.ExceptionInInitializerError"]
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 -
[2026-03-11T16:31:54.416Z] STF 16:31:54.320 - +------ Step 13 - (Negative test) Verify if --patch-module allows replacing of module-info.class
[2026-03-11T16:31:54.416Z] STF 16:31:54.321 - | Run foreground process
[2026-03-11T16:31:54.416Z] STF 16:31:54.321 - | Program: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/tmp/6.XpJVM/bin/java
[2026-03-11T16:31:54.416Z] STF 16:31:54.321 - | Mnemonic: OT8
[2026-03-11T16:31:54.416Z] STF 16:31:54.321 - | Echo: ECHO_ON
[2026-03-11T16:31:54.416Z] STF 16:31:54.321 - | Expectation: NON_ZERO_EXIT [1] within 5m
[2026-03-11T16:31:54.416Z] STF 16:31:54.321 - |
[2026-03-11T16:31:54.416Z] STF 16:31:54.322 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello -XX:+UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType
[2026-03-11T16:31:54.416Z] STF 16:31:54.322 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/13.OT8.stderr
[2026-03-11T16:31:54.416Z] STF 16:31:54.322 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/13.OT8.stdout
[2026-03-11T16:31:54.416Z] STF 16:31:54.328 - Monitoring processes: OT8
[2026-03-11T16:31:55.118Z] OT8 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello
[2026-03-11T16:31:55.514Z] OT8 JUnit version 4.12
[2026-03-11T16:31:56.229Z] OT8 .E
[2026-03-11T16:31:56.229Z] OT8 Time: 0.061
[2026-03-11T16:31:56.229Z] OT8 There was 1 failure:
[2026-03-11T16:31:56.229Z] OT8 1) testPatchingOfNewClassInExistingPackage(net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType)
[2026-03-11T16:31:56.229Z] OT8 java.lang.IllegalAccessException: class net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType (in module com.test) cannot access class adoptopenjdk.test.modularity.newpkg.NewClass2 (in module com.hello) because module com.hello does not export adoptopenjdk.test.modularity.newpkg to module com.test
[2026-03-11T16:31:56.229Z] OT8 at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:401)
[2026-03-11T16:31:56.229Z] OT8 at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:660)
[2026-03-11T16:31:56.229Z] OT8 at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:492)
[2026-03-11T16:31:56.229Z] OT8 at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
[2026-03-11T16:31:56.229Z] OT8 at com.test/net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType.testPatchingOfNewClassInExistingPackage(TestOverrideUsingUnexportedPublicType.java:34)
[2026-03-11T16:31:56.229Z] OT8 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2026-03-11T16:31:56.229Z] OT8 at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.Suite.runChild(Suite.java:128)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.Suite.runChild(Suite.java:27)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77)
[2026-03-11T16:31:56.229Z] OT8 at org.junit.runner.JUnitCore.main(JUnitCore.java:36)
[2026-03-11T16:31:56.229Z] OT8
[2026-03-11T16:31:56.229Z] OT8 FAILURES!!!
[2026-03-11T16:31:56.229Z] OT8 Tests run: 1, Failures: 1
[2026-03-11T16:31:56.229Z] OT8
[2026-03-11T16:31:56.229Z] STF 16:31:56.033 - Monitoring Report Summary:
[2026-03-11T16:31:56.229Z] STF 16:31:56.033 - o Process OT8 ended with the expected exit code (1)
[2026-03-11T16:31:56.229Z] STF 16:31:56.033 -
[2026-03-11T16:31:56.229Z] STF 16:31:56.034 - +------ Step 14 - Check output
[2026-03-11T16:31:56.229Z] STF 16:31:56.034 - | Count file matches
[2026-03-11T16:31:56.229Z] STF 16:31:56.034 - | TargetFile: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/results/13.OT8.stdout
[2026-03-11T16:31:56.229Z] STF 16:31:56.034 - | ExpectedNumMatches: 1
[2026-03-11T16:31:56.229Z] STF 16:31:56.034 - | SearchStrings: ["java.lang.IllegalAccessException"]
[2026-03-11T16:31:56.229Z] STF 16:31:56.034 - |
[2026-03-11T16:31:56.229Z] STF 16:31:56.034 - Found 1 instances of ["java.lang.IllegalAccessException"]
[2026-03-11T16:31:56.229Z] STF 16:31:56.034 - EXECUTE stage completed
[2026-03-11T16:31:56.562Z] STF 16:31:56.277 -
[2026-03-11T16:31:56.562Z] STF 16:31:56.277 - ==================== T E A R D O W N ====================
[2026-03-11T16:31:56.562Z] STF 16:31:56.278 - Running teardown: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17732460087664/PatModImg_Adv_0/20260311-163128-PatModImgTest/tearDown.pl
[2026-03-11T16:31:56.562Z] STF 16:31:56.513 - TEARDOWN stage completed
[2026-03-11T16:31:56.562Z] STF 16:31:56.526 -
[2026-03-11T16:31:56.562Z] STF 16:31:56.526 - ===================== R E S U L T S =====================
[2026-03-11T16:31:56.562Z] STF 16:31:56.526 - Stage results:
[2026-03-11T16:31:56.562Z] STF 16:31:56.527 - setUp: pass
[2026-03-11T16:31:56.562Z] STF 16:31:56.527 - execute: pass
[2026-03-11T16:31:56.562Z] STF 16:31:56.527 - teardown: pass
[2026-03-11T16:31:56.562Z] STF 16:31:56.527 -
[2026-03-11T16:31:56.562Z] STF 16:31:56.527 - Overall result: PASSED
[2026-03-11T16:31:56.562Z] -----------------------------------
[2026-03-11T16:31:56.562Z] PatModImg_Adv_0_PASSED
[2026-03-11T16:31:56.562Z] -----------------------------------
[2026-03-11T16:31:56.883Z]
[2026-03-11T16:31:56.883Z] TEST TEARDOWN:
[2026-03-11T16:31:56.883Z] Nothing to be done for teardown.
[2026-03-11T16:31:56.883Z] PatModImg_Adv_0 Finish Time: Wed Mar 11 16:31:56 2026 Epoch Time (ms): 1773246716701