PatModImg_Adv_0
[2025-05-28T21:22:40.109Z] Running test PatModImg_Adv_0 ...
[2025-05-28T21:22:40.109Z] ===============================================
[2025-05-28T21:22:40.109Z] PatModImg_Adv_0 Start Time: Wed May 28 22:22:40 2025 Epoch Time (ms): 1748467360071
[2025-05-28T21:22:40.109Z] variation: Mode150
[2025-05-28T21:22:40.109Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-05-28T21:22:40.109Z] { \
[2025-05-28T21:22:40.109Z] echo ""; echo "TEST SETUP:"; \
[2025-05-28T21:22:40.109Z] echo "Nothing to be done for setup."; \
[2025-05-28T21:22:40.109Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0"; \
[2025-05-28T21:22:40.109Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0"; \
[2025-05-28T21:22:40.109Z] echo ""; echo "TESTING:"; \
[2025-05-28T21:22:40.109Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0" -test=PatModImgTest -test-args="variant=Adv"; \
[2025-05-28T21:22:40.109Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_Adv_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0"; else echo "-----------------------------------"; echo "PatModImg_Adv_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-05-28T21:22:40.109Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-05-28T21:22:40.109Z] echo "Nothing to be done for teardown."; \
[2025-05-28T21:22:40.109Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/TestTargetResult";
[2025-05-28T21:22:40.109Z]
[2025-05-28T21:22:40.109Z] TEST SETUP:
[2025-05-28T21:22:40.109Z] Nothing to be done for setup.
[2025-05-28T21:22:40.109Z]
[2025-05-28T21:22:40.109Z] TESTING:
[2025-05-28T21:22:40.462Z] STF 22:22:40.169 - ========================= S T F =========================
[2025-05-28T21:22:40.462Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0
[2025-05-28T21:22:40.462Z] There is 51581 Mb free
[2025-05-28T21:22:40.462Z] STF 22:22:40.177 - ================== G E N E R A T I O N ==================
[2025-05-28T21:22:40.462Z] STF 22:22:40.179 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-05-28T21:22:40.462Z] STF 22:22:40.179 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest"
[2025-05-28T21:22:41.236Z] GEN 22:22:41.047 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-05-28T21:22:41.236Z] GEN 22:22:41.067 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-05-28T21:22:41.589Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-05-28T21:22:41.589Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-05-28T21:22:41.589Z] GEN 22:22:41.285 - Using Mode NoOptions. Values = ''
[2025-05-28T21:22:41.589Z] GEN 22:22:41.386 -
[2025-05-28T21:22:41.589Z] GEN 22:22:41.386 - Test command summary:
[2025-05-28T21:22:41.589Z] GEN 22:22:41.386 - Step Stage Command Description
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - -----+--------+-----------------+------------
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 1 execute jar Create com.hello jar
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 2 execute jar Create com.hola jar
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 3 execute jar Create com.helper jar
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 4 execute jar Create com.discreet jar
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 5 execute jar Create tests jar
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 6 execute jlink Create runtime image for PatchModule test
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 7 execute jar Create com.hello jar
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 8 execute jar create java.xml.jar
[2025-05-28T21:22:41.589Z] GEN 22:22:41.387 - 9 execute Run java Run application class override test where we specify two exploded module paths in a single --patch-module option
[2025-05-28T21:22:41.589Z] GEN 22:22:41.388 - 10 execute Run java Verify if a module can be specified only once on --patch-module
[2025-05-28T21:22:41.589Z] GEN 22:22:41.388 - 11 execute Run java Combine stderr and stdout files of process OT7
[2025-05-28T21:22:41.589Z] GEN 22:22:41.388 - 12 execute count Check output
[2025-05-28T21:22:41.589Z] GEN 22:22:41.388 - 13 execute Run java (Negative test) Verify if --patch-module allows replacing of module-info.class
[2025-05-28T21:22:41.589Z] GEN 22:22:41.388 - 14 execute count Check output
[2025-05-28T21:22:41.589Z] STF 22:22:41.406 -
[2025-05-28T21:22:41.589Z] STF 22:22:41.406 - Script generation completed
[2025-05-28T21:22:41.589Z] STF 22:22:41.406 -
[2025-05-28T21:22:41.589Z] STF 22:22:41.407 -
[2025-05-28T21:22:41.589Z] STF 22:22:41.407 - ======================= S E T U P =======================
[2025-05-28T21:22:41.589Z] STF 22:22:41.407 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/setUp.pl
[2025-05-28T21:22:41.589Z] STF 22:22:41.484 - SETUP stage completed
[2025-05-28T21:22:41.589Z] STF 22:22:41.492 -
[2025-05-28T21:22:41.589Z] STF 22:22:41.492 - ==================== E X E C U T E - ====================
[2025-05-28T21:22:41.590Z] STF 22:22:41.492 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/execute.pl
[2025-05-28T21:22:41.590Z] STF 22:22:41.572 -
[2025-05-28T21:22:41.590Z] STF 22:22:41.572 - Java version
[2025-05-28T21:22:41.590Z] STF 22:22:41.572 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-05-28T21:22:41.942Z] openjdk version "17.0.16-beta" 2025-07-15
[2025-05-28T21:22:41.942Z] OpenJDK Runtime Environment Temurin-17.0.16+5-202505281933 (build 17.0.16-beta+5-ea)
[2025-05-28T21:22:41.942Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+5-202505281933 (build 17.0.16-beta+5-ea, mixed mode)
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 -
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - +------ Step 1 - Create com.hello jar
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - | Create modular jar
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - | ModuleVersion: null
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - | MainClass: null
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - | HashModules: null
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - |
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/1.CMJ.stderr
[2025-05-28T21:22:41.942Z] STF 22:22:41.674 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/1.CMJ.stdout
[2025-05-28T21:22:41.942Z] STF 22:22:41.685 - Monitoring processes: CMJ
[2025-05-28T21:22:42.294Z] STF 22:22:41.976 - Monitoring Report Summary:
[2025-05-28T21:22:42.294Z] STF 22:22:41.976 - o Process CMJ ended with the expected exit code (0)
[2025-05-28T21:22:42.294Z] STF 22:22:41.976 - Created modular jar: 1.com.hello.jar
[2025-05-28T21:22:42.294Z] STF 22:22:41.976 -
[2025-05-28T21:22:42.294Z] STF 22:22:41.976 - +------ Step 2 - Create com.hola jar
[2025-05-28T21:22:42.294Z] STF 22:22:41.976 - | Create modular jar
[2025-05-28T21:22:42.294Z] STF 22:22:41.976 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-28T21:22:42.294Z] STF 22:22:41.976 - | ModuleVersion: null
[2025-05-28T21:22:42.294Z] STF 22:22:41.977 - | MainClass: null
[2025-05-28T21:22:42.294Z] STF 22:22:41.977 - | HashModules: null
[2025-05-28T21:22:42.294Z] STF 22:22:41.977 - |
[2025-05-28T21:22:42.294Z] STF 22:22:41.977 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-05-28T21:22:42.294Z] STF 22:22:41.977 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/2.CMJ.stderr
[2025-05-28T21:22:42.294Z] STF 22:22:41.977 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/2.CMJ.stdout
[2025-05-28T21:22:42.294Z] STF 22:22:41.978 - Monitoring processes: CMJ
[2025-05-28T21:22:42.294Z] STF 22:22:42.253 - Monitoring Report Summary:
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - o Process CMJ ended with the expected exit code (0)
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - Created modular jar: 2.com.hola.jar
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 -
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - +------ Step 3 - Create com.helper jar
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - | Create modular jar
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - | ModuleVersion: null
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - | MainClass: null
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - | HashModules: null
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - |
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/3.CMJ.stderr
[2025-05-28T21:22:42.294Z] STF 22:22:42.254 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/3.CMJ.stdout
[2025-05-28T21:22:42.294Z] STF 22:22:42.257 - Monitoring processes: CMJ
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - Monitoring Report Summary:
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - o Process CMJ ended with the expected exit code (0)
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - Created modular jar: 3.com.helper.jar
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 -
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - +------ Step 4 - Create com.discreet jar
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - | Create modular jar
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - | ModuleVersion: null
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - | MainClass: null
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - | HashModules: null
[2025-05-28T21:22:42.645Z] STF 22:22:42.534 - |
[2025-05-28T21:22:42.645Z] STF 22:22:42.535 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-05-28T21:22:42.645Z] STF 22:22:42.535 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/4.CMJ.stderr
[2025-05-28T21:22:42.645Z] STF 22:22:42.535 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/4.CMJ.stdout
[2025-05-28T21:22:42.645Z] STF 22:22:42.537 - Monitoring processes: CMJ
[2025-05-28T21:22:42.998Z] STF 22:22:42.812 - Monitoring Report Summary:
[2025-05-28T21:22:42.998Z] STF 22:22:42.812 - o Process CMJ ended with the expected exit code (0)
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - Created modular jar: 4.com.discreet.jar
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 -
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - +------ Step 5 - Create tests jar
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - | Create modular jar
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - | ModuleVersion: null
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - | MainClass: null
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - | HashModules: null
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - |
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/5.CMJ.stderr
[2025-05-28T21:22:42.998Z] STF 22:22:42.813 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/5.CMJ.stdout
[2025-05-28T21:22:42.998Z] STF 22:22:42.815 - Monitoring processes: CMJ
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - Monitoring Report Summary:
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - o Process CMJ ended with the expected exit code (0)
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - Created modular jar: 5.com.test.jar
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 -
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - +------ Step 6 - Create runtime image for PatchModule test
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - | Run jlink to create runtime image
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - | ImageName: XpJVM
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - |
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/tmp/6.XpJVM
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/6.JLNK.stderr
[2025-05-28T21:22:43.350Z] STF 22:22:43.118 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/6.JLNK.stdout
[2025-05-28T21:22:43.350Z] STF 22:22:43.120 - Monitoring processes: JLNK
[2025-05-28T21:22:45.721Z] STF 22:22:45.479 - Monitoring Report Summary:
[2025-05-28T21:22:45.721Z] STF 22:22:45.479 - o Process JLNK ended with the expected exit code (0)
[2025-05-28T21:22:45.721Z] STF 22:22:45.479 -
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - +------ Step 7 - Create com.hello jar
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - | Create modular jar
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - | ModuleVersion: null
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - | MainClass: null
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - | HashModules: null
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - |
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/modules/7.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/7.CMJ.stderr
[2025-05-28T21:22:45.721Z] STF 22:22:45.480 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/7.CMJ.stdout
[2025-05-28T21:22:45.721Z] STF 22:22:45.482 - Monitoring processes: CMJ
[2025-05-28T21:22:46.074Z] STF 22:22:45.759 - Monitoring Report Summary:
[2025-05-28T21:22:46.074Z] STF 22:22:45.759 - o Process CMJ ended with the expected exit code (0)
[2025-05-28T21:22:46.074Z] STF 22:22:45.759 - Created modular jar: 7.com.hello.jar
[2025-05-28T21:22:46.074Z] STF 22:22:45.759 -
[2025-05-28T21:22:46.074Z] STF 22:22:45.759 - +------ Step 8 - create java.xml.jar
[2025-05-28T21:22:46.074Z] STF 22:22:45.759 - | Create modular jar
[2025-05-28T21:22:46.074Z] STF 22:22:45.759 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-05-28T21:22:46.074Z] STF 22:22:45.760 - | ModuleVersion: null
[2025-05-28T21:22:46.074Z] STF 22:22:45.760 - | MainClass: null
[2025-05-28T21:22:46.074Z] STF 22:22:45.760 - | HashModules: null
[2025-05-28T21:22:46.074Z] STF 22:22:45.760 - |
[2025-05-28T21:22:46.074Z] STF 22:22:45.760 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/modules/8.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-05-28T21:22:46.074Z] STF 22:22:45.760 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/8.CMJ.stderr
[2025-05-28T21:22:46.074Z] STF 22:22:45.760 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/8.CMJ.stdout
[2025-05-28T21:22:46.074Z] STF 22:22:45.762 - Monitoring processes: CMJ
[2025-05-28T21:22:46.074Z] STF 22:22:46.037 - Monitoring Report Summary:
[2025-05-28T21:22:46.074Z] STF 22:22:46.037 - o Process CMJ ended with the expected exit code (0)
[2025-05-28T21:22:46.074Z] STF 22:22:46.037 - Created modular jar: 8.java.xml.jar
[2025-05-28T21:22:46.074Z] STF 22:22:46.037 -
[2025-05-28T21:22:46.074Z] STF 22:22:46.037 - +------ Step 9 - Run application class override test where we specify two exploded module paths in a single --patch-module option
[2025-05-28T21:22:46.074Z] STF 22:22:46.037 - | Run foreground process
[2025-05-28T21:22:46.074Z] STF 22:22:46.037 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-28T21:22:46.074Z] STF 22:22:46.037 - | Mnemonic: OT1
[2025-05-28T21:22:46.074Z] STF 22:22:46.038 - | Echo: ECHO_ON
[2025-05-28T21:22:46.074Z] STF 22:22:46.038 - | Expectation: CLEAN_RUN within 5m
[2025-05-28T21:22:46.074Z] STF 22:22:46.038 - |
[2025-05-28T21:22:46.074Z] STF 22:22:46.038 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-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=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingMultipleFilePaths
[2025-05-28T21:22:46.074Z] STF 22:22:46.038 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/9.OT1.stderr
[2025-05-28T21:22:46.074Z] STF 22:22:46.038 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/9.OT1.stdout
[2025-05-28T21:22:46.074Z] STF 22:22:46.040 - Monitoring processes: OT1
[2025-05-28T21:22:46.427Z] OT1 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2025-05-28T21:22:46.427Z] OT1 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello
[2025-05-28T21:22:46.427Z] OT1 JUnit version 4.12
[2025-05-28T21:22:46.780Z] OT1 ...
[2025-05-28T21:22:46.780Z] OT1 Time: 0.013
[2025-05-28T21:22:46.780Z] OT1
[2025-05-28T21:22:46.780Z] OT1 OK (3 tests)
[2025-05-28T21:22:46.780Z] OT1
[2025-05-28T21:22:46.780Z] STF 22:22:46.498 - Monitoring Report Summary:
[2025-05-28T21:22:46.780Z] STF 22:22:46.498 - o Process OT1 ended with the expected exit code (0)
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 -
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - +------ Step 10 - Verify if a module can be specified only once on --patch-module
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - | Run foreground process
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - | Mnemonic: OT7
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - | Echo: ECHO_ON
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - | Expectation: NON_ZERO_EXIT [1] within 5m
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - |
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/10.OT7.stderr
[2025-05-28T21:22:46.780Z] STF 22:22:46.499 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/10.OT7.stdout
[2025-05-28T21:22:46.780Z] STF 22:22:46.502 - Monitoring processes: OT7
[2025-05-28T21:22:46.780Z] OT7 Error occurred during initialization of boot layer
[2025-05-28T21:22:46.780Z] OT7 java.lang.ExceptionInInitializerError
[2025-05-28T21:22:46.780Z] OT7 Caused by: java.lang.RuntimeException: com.hello specified more than once to --patch-module
[2025-05-28T21:22:46.780Z] STF 22:22:46.604 - Monitoring Report Summary:
[2025-05-28T21:22:46.780Z] STF 22:22:46.604 - o Process OT7 ended with the expected exit code (1)
[2025-05-28T21:22:46.780Z] STF 22:22:46.604 -
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - +------ Step 11 - Combine stderr and stdout files of process OT7
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - | Run foreground process
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - | Mnemonic: CO
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - | Echo: ECHO_OFF
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - | Expectation: NON_ZERO_EXIT [0] within 30s
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - |
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/10.OT7.stdout -Dfile2=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/10.OT7.stderr -Dfinal.file=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/combinedOT7.txt -XX:+UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/11.CO.stderr
[2025-05-28T21:22:46.780Z] STF 22:22:46.605 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/11.CO.stdout
[2025-05-28T21:22:46.780Z] STF 22:22:46.607 - Monitoring processes: CO
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 - Monitoring Report Summary:
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 - o Process CO ended with the expected exit code (0)
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 -
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 - +------ Step 12 - Check output
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 - | Count file matches
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/combinedOT7.txt
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 - | ExpectedNumMatches: 1
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 - | SearchStrings: ["java.lang.ExceptionInInitializerError"]
[2025-05-28T21:22:47.133Z] STF 22:22:46.804 - |
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - Found 1 instances of ["java.lang.ExceptionInInitializerError"]
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 -
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - +------ Step 13 - (Negative test) Verify if --patch-module allows replacing of module-info.class
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - | Run foreground process
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - | Mnemonic: OT8
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - | Echo: ECHO_ON
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - | Expectation: NON_ZERO_EXIT [1] within 5m
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - |
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/13.OT8.stderr
[2025-05-28T21:22:47.133Z] STF 22:22:46.805 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/13.OT8.stdout
[2025-05-28T21:22:47.133Z] STF 22:22:46.807 - Monitoring processes: OT8
[2025-05-28T21:22:47.133Z] OT8 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new/com.hello
[2025-05-28T21:22:47.133Z] OT8 JUnit version 4.12
[2025-05-28T21:22:47.133Z] OT8 .E
[2025-05-28T21:22:47.486Z] OT8 Time: 0.014
[2025-05-28T21:22:47.486Z] OT8 There was 1 failure:
[2025-05-28T21:22:47.486Z] OT8 1) testPatchingOfNewClassInExistingPackage(net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType)
[2025-05-28T21:22:47.486Z] 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
[2025-05-28T21:22:47.486Z] OT8 at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392)
[2025-05-28T21:22:47.486Z] OT8 at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674)
[2025-05-28T21:22:47.486Z] OT8 at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:490)
[2025-05-28T21:22:47.486Z] OT8 at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
[2025-05-28T21:22:47.486Z] OT8 at com.test/net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType.testPatchingOfNewClassInExistingPackage(TestOverrideUsingUnexportedPublicType.java:34)
[2025-05-28T21:22:47.486Z] OT8 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2025-05-28T21:22:47.486Z] OT8 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2025-05-28T21:22:47.486Z] OT8 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2025-05-28T21:22:47.486Z] OT8 at java.base/java.lang.reflect.Method.invoke(Method.java:569)
[2025-05-28T21:22:47.486Z] OT8 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[2025-05-28T21:22:47.486Z] OT8 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[2025-05-28T21:22:47.486Z] OT8 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[2025-05-28T21:22:47.486Z] OT8 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[2025-05-28T21:22:47.486Z] OT8 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.Suite.runChild(Suite.java:128)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.Suite.runChild(Suite.java:27)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77)
[2025-05-28T21:22:47.487Z] OT8 at org.junit.runner.JUnitCore.main(JUnitCore.java:36)
[2025-05-28T21:22:47.487Z] OT8
[2025-05-28T21:22:47.487Z] OT8 FAILURES!!!
[2025-05-28T21:22:47.487Z] OT8 Tests run: 1, Failures: 1
[2025-05-28T21:22:47.487Z] OT8
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - Monitoring Report Summary:
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - o Process OT8 ended with the expected exit code (1)
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 -
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - +------ Step 14 - Check output
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - | Count file matches
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/results/13.OT8.stdout
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - | ExpectedNumMatches: 1
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - | SearchStrings: ["java.lang.IllegalAccessException"]
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - |
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - Found 1 instances of ["java.lang.IllegalAccessException"]
[2025-05-28T21:22:47.487Z] STF 22:22:47.136 - EXECUTE stage completed
[2025-05-28T21:22:47.487Z] STF 22:22:47.168 -
[2025-05-28T21:22:47.487Z] STF 22:22:47.168 - ==================== T E A R D O W N ====================
[2025-05-28T21:22:47.487Z] STF 22:22:47.168 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_Adv_0/20250528-222240-PatModImgTest/tearDown.pl
[2025-05-28T21:22:47.487Z] STF 22:22:47.241 - TEARDOWN stage completed
[2025-05-28T21:22:47.487Z] STF 22:22:47.249 -
[2025-05-28T21:22:47.487Z] STF 22:22:47.249 - ===================== R E S U L T S =====================
[2025-05-28T21:22:47.487Z] STF 22:22:47.249 - Stage results:
[2025-05-28T21:22:47.487Z] STF 22:22:47.249 - setUp: pass
[2025-05-28T21:22:47.487Z] STF 22:22:47.249 - execute: pass
[2025-05-28T21:22:47.487Z] STF 22:22:47.249 - teardown: pass
[2025-05-28T21:22:47.487Z] STF 22:22:47.249 -
[2025-05-28T21:22:47.487Z] STF 22:22:47.249 - Overall result: PASSED
[2025-05-28T21:22:47.487Z] -----------------------------------
[2025-05-28T21:22:47.487Z] PatModImg_Adv_0_PASSED
[2025-05-28T21:22:47.487Z] -----------------------------------
[2025-05-28T21:22:47.487Z]
[2025-05-28T21:22:47.487Z] TEST TEARDOWN:
[2025-05-28T21:22:47.487Z] Nothing to be done for teardown.
[2025-05-28T21:22:47.487Z] PatModImg_Adv_0 Finish Time: Wed May 28 22:22:47 2025 Epoch Time (ms): 1748467367293