PatMod_AppMod_1

[2023-04-18T23:31:17.695Z] Running test PatMod_AppMod_1 ... [2023-04-18T23:31:17.695Z] =============================================== [2023-04-18T23:31:17.695Z] PatMod_AppMod_1 Start Time: Wed Apr 19 00:31:16 2023 Epoch Time (ms): 1681860676472 [2023-04-18T23:31:17.695Z] variation: Mode650 [2023-04-18T23:31:17.695Z] JVM_OPTIONS: -XX:-UseCompressedOops [2023-04-18T23:31:17.695Z] { \ [2023-04-18T23:31:17.695Z] echo ""; echo "TEST SETUP:"; \ [2023-04-18T23:31:17.695Z] echo "Nothing to be done for setup."; \ [2023-04-18T23:31:17.695Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1"; \ [2023-04-18T23:31:17.695Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1"; \ [2023-04-18T23:31:17.695Z] echo ""; echo "TESTING:"; \ [2023-04-18T23:31:17.695Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/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/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1" -test=PatModTest -test-args="variant=AppMod"; \ [2023-04-18T23:31:17.695Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-18T23:31:17.695Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-18T23:31:17.695Z] echo "Nothing to be done for teardown."; \ [2023-04-18T23:31:17.695Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/TestTargetResult"; [2023-04-18T23:31:17.695Z] [2023-04-18T23:31:17.695Z] TEST SETUP: [2023-04-18T23:31:17.695Z] Nothing to be done for setup. [2023-04-18T23:31:17.695Z] [2023-04-18T23:31:17.695Z] TESTING: [2023-04-18T23:31:17.695Z] STF 00:31:16.570 - ========================= S T F ========================= [2023-04-18T23:31:17.695Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1 [2023-04-18T23:31:17.695Z] There is 48674 Mb free [2023-04-18T23:31:17.695Z] STF 00:31:16.578 - ================== G E N E R A T I O N ================== [2023-04-18T23:31:17.695Z] STF 00:31:16.579 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../ [2023-04-18T23:31:17.695Z] STF 00:31:16.579 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest" [2023-04-18T23:31:17.695Z] GEN stderr OpenJDK 64-Bit Server VM warning: 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 [2023-04-18T23:31:17.695Z] GEN 00:31:17.284 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2023-04-18T23:31:17.695Z] GEN 00:31:17.297 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2023-04-18T23:31:17.696Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-18T23:31:17.696Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-18T23:31:17.696Z] GEN 00:31:17.431 - Using Mode NoOptions. Values = '' [2023-04-18T23:31:17.696Z] GEN 00:31:17.484 - [2023-04-18T23:31:17.696Z] GEN 00:31:17.484 - Test command summary: [2023-04-18T23:31:17.696Z] GEN 00:31:17.485 - Step Stage Command Description [2023-04-18T23:31:17.696Z] GEN 00:31:17.485 - -----+--------+-----------------+------------ [2023-04-18T23:31:17.696Z] GEN 00:31:17.485 - 1 execute jar Create com.hello jar [2023-04-18T23:31:17.696Z] GEN 00:31:17.485 - 2 execute jar Create com.discreet jar [2023-04-18T23:31:17.696Z] GEN 00:31:17.485 - 3 execute jar create java.xml.jar [2023-04-18T23:31:17.696Z] GEN 00:31:17.485 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2023-04-18T23:31:17.696Z] GEN 00:31:17.485 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2023-04-18T23:31:17.696Z] STF 00:31:17.512 - [2023-04-18T23:31:17.696Z] STF 00:31:17.512 - Script generation completed [2023-04-18T23:31:17.696Z] STF 00:31:17.512 - [2023-04-18T23:31:17.696Z] STF 00:31:17.513 - [2023-04-18T23:31:17.696Z] STF 00:31:17.513 - ======================= S E T U P ======================= [2023-04-18T23:31:17.696Z] STF 00:31:17.513 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/setUp.pl [2023-04-18T23:31:17.696Z] STF 00:31:17.581 - SETUP stage completed [2023-04-18T23:31:17.696Z] STF 00:31:17.589 - [2023-04-18T23:31:17.696Z] STF 00:31:17.589 - ==================== E X E C U T E - ==================== [2023-04-18T23:31:17.696Z] STF 00:31:17.589 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/execute.pl [2023-04-18T23:31:17.696Z] STF 00:31:17.664 - [2023-04-18T23:31:17.696Z] STF 00:31:17.664 - Java version [2023-04-18T23:31:17.696Z] STF 00:31:17.664 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java -version [2023-04-18T23:31:18.071Z] openjdk version "17.0.7" 2023-04-18 [2023-04-18T23:31:18.071Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-18T23:31:18.071Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) [2023-04-18T23:31:18.071Z] STF 00:31:17.727 - [2023-04-18T23:31:18.071Z] STF 00:31:17.727 - +------ Step 1 - Create com.hello jar [2023-04-18T23:31:18.071Z] STF 00:31:17.727 - | Create modular jar [2023-04-18T23:31:18.071Z] STF 00:31:17.727 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2023-04-18T23:31:18.071Z] STF 00:31:17.727 - | ModuleVersion: null [2023-04-18T23:31:18.071Z] STF 00:31:17.727 - | MainClass: null [2023-04-18T23:31:18.071Z] STF 00:31:17.727 - | HashModules: null [2023-04-18T23:31:18.071Z] STF 00:31:17.727 - | [2023-04-18T23:31:18.071Z] STF 00:31:17.728 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2023-04-18T23:31:18.071Z] STF 00:31:17.728 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/1.CMJ.stderr [2023-04-18T23:31:18.071Z] STF 00:31:17.728 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/1.CMJ.stdout [2023-04-18T23:31:18.071Z] STF 00:31:17.738 - Monitoring processes: CMJ [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - Monitoring Report Summary: [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - o Process CMJ ended with the expected exit code (0) [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - Created modular jar: 1.com.hello.jar [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - +------ Step 2 - Create com.discreet jar [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - | Create modular jar [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - | ModuleVersion: null [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - | MainClass: null [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - | HashModules: null [2023-04-18T23:31:18.071Z] STF 00:31:17.942 - | [2023-04-18T23:31:18.071Z] STF 00:31:17.943 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/modules/2.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2023-04-18T23:31:18.071Z] STF 00:31:17.943 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/2.CMJ.stderr [2023-04-18T23:31:18.071Z] STF 00:31:17.943 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/2.CMJ.stdout [2023-04-18T23:31:18.071Z] STF 00:31:17.944 - Monitoring processes: CMJ [2023-04-18T23:31:18.446Z] STF 00:31:18.154 - Monitoring Report Summary: [2023-04-18T23:31:18.446Z] STF 00:31:18.154 - o Process CMJ ended with the expected exit code (0) [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - Created modular jar: 2.com.discreet.jar [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - +------ Step 3 - create java.xml.jar [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - | Create modular jar [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - | ModuleVersion: null [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - | MainClass: null [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - | HashModules: null [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - | [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/modules/3.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/3.CMJ.stderr [2023-04-18T23:31:18.446Z] STF 00:31:18.155 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/3.CMJ.stdout [2023-04-18T23:31:18.446Z] STF 00:31:18.157 - Monitoring processes: CMJ [2023-04-18T23:31:18.446Z] STF 00:31:18.355 - Monitoring Report Summary: [2023-04-18T23:31:18.446Z] STF 00:31:18.355 - o Process CMJ ended with the expected exit code (0) [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - Created modular jar: 3.java.xml.jar [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - | Run foreground process [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - | Mnemonic: OT21 [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - | Echo: ECHO_ON [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - | Expectation: CLEAN_RUN within 1m [2023-04-18T23:31:18.446Z] STF 00:31:18.356 - | [2023-04-18T23:31:18.447Z] STF 00:31:18.356 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-18T23:31:18.447Z] STF 00:31:18.356 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/4.OT21.stderr [2023-04-18T23:31:18.447Z] STF 00:31:18.356 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/4.OT21.stdout [2023-04-18T23:31:18.447Z] STF 00:31:18.358 - Monitoring processes: OT21 [2023-04-18T23:31:18.797Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2023-04-18T23:31:18.797Z] OT21 JUnit version 4.12 [2023-04-18T23:31:18.797Z] OT21 . [2023-04-18T23:31:18.797Z] OT21 Time: 0.004 [2023-04-18T23:31:18.797Z] OT21 [2023-04-18T23:31:18.797Z] OT21 OK (1 test) [2023-04-18T23:31:18.797Z] OT21 [2023-04-18T23:31:18.797Z] STF 00:31:18.694 - Monitoring Report Summary: [2023-04-18T23:31:18.797Z] STF 00:31:18.694 - o Process OT21 ended with the expected exit code (0) [2023-04-18T23:31:18.797Z] STF 00:31:18.694 - [2023-04-18T23:31:18.797Z] STF 00:31:18.694 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - | Run foreground process [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - | Mnemonic: OT22 [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - | Echo: ECHO_ON [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - | Expectation: CLEAN_RUN within 1m [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - | [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/modules/1.com.hello.jar -XX:-UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/5.OT22.stderr [2023-04-18T23:31:18.797Z] STF 00:31:18.695 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/results/5.OT22.stdout [2023-04-18T23:31:18.797Z] STF 00:31:18.697 - Monitoring processes: OT22 [2023-04-18T23:31:19.149Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/modules/1.com.hello.jar [2023-04-18T23:31:19.149Z] OT22 JUnit version 4.12 [2023-04-18T23:31:19.149Z] OT22 . [2023-04-18T23:31:19.149Z] OT22 Time: 0.006 [2023-04-18T23:31:19.149Z] OT22 [2023-04-18T23:31:19.149Z] OT22 OK (1 test) [2023-04-18T23:31:19.149Z] OT22 [2023-04-18T23:31:19.149Z] STF 00:31:19.039 - Monitoring Report Summary: [2023-04-18T23:31:19.149Z] STF 00:31:19.039 - o Process OT22 ended with the expected exit code (0) [2023-04-18T23:31:19.149Z] STF 00:31:19.039 - EXECUTE stage completed [2023-04-18T23:31:19.149Z] STF 00:31:19.059 - [2023-04-18T23:31:19.149Z] STF 00:31:19.059 - ==================== T E A R D O W N ==================== [2023-04-18T23:31:19.149Z] STF 00:31:19.059 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_1/20230419-003116-PatModTest/tearDown.pl [2023-04-18T23:31:19.149Z] STF 00:31:19.129 - TEARDOWN stage completed [2023-04-18T23:31:19.504Z] STF 00:31:19.134 - [2023-04-18T23:31:19.504Z] STF 00:31:19.134 - ===================== R E S U L T S ===================== [2023-04-18T23:31:19.504Z] STF 00:31:19.134 - Stage results: [2023-04-18T23:31:19.504Z] STF 00:31:19.134 - setUp: pass [2023-04-18T23:31:19.504Z] STF 00:31:19.134 - execute: pass [2023-04-18T23:31:19.504Z] STF 00:31:19.134 - teardown: pass [2023-04-18T23:31:19.504Z] STF 00:31:19.134 - [2023-04-18T23:31:19.504Z] STF 00:31:19.134 - Overall result: PASSED [2023-04-18T23:31:19.504Z] ----------------------------------- [2023-04-18T23:31:19.504Z] PatMod_AppMod_1_PASSED [2023-04-18T23:31:19.504Z] ----------------------------------- [2023-04-18T23:31:19.504Z] [2023-04-18T23:31:19.504Z] TEST TEARDOWN: [2023-04-18T23:31:19.504Z] Nothing to be done for teardown. [2023-04-18T23:31:19.504Z] PatMod_AppMod_1 Finish Time: Wed Apr 19 00:31:19 2023 Epoch Time (ms): 1681860679163