PatMod_AppMod_0
[2023-04-18T23:31:13.845Z] Running test PatMod_AppMod_0 ...
[2023-04-18T23:31:13.845Z] ===============================================
[2023-04-18T23:31:13.845Z] PatMod_AppMod_0 Start Time: Wed Apr 19 00:31:13 2023 Epoch Time (ms): 1681860673789
[2023-04-18T23:31:13.845Z] variation: Mode150
[2023-04-18T23:31:13.845Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2023-04-18T23:31:13.845Z] { \
[2023-04-18T23:31:13.845Z] echo ""; echo "TEST SETUP:"; \
[2023-04-18T23:31:13.845Z] echo "Nothing to be done for setup."; \
[2023-04-18T23:31:13.845Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_0"; \
[2023-04-18T23:31:13.845Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_0"; \
[2023-04-18T23:31:13.845Z] echo ""; echo "TESTING:"; \
[2023-04-18T23:31:13.845Z] 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_0" -test=PatModTest -test-args="variant=AppMod"; \
[2023-04-18T23:31:13.845Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_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_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2023-04-18T23:31:13.845Z] echo ""; echo "TEST TEARDOWN:"; \
[2023-04-18T23:31:13.845Z] echo "Nothing to be done for teardown."; \
[2023-04-18T23:31:13.845Z] } 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:13.845Z]
[2023-04-18T23:31:13.845Z] TEST SETUP:
[2023-04-18T23:31:13.845Z] Nothing to be done for setup.
[2023-04-18T23:31:13.845Z]
[2023-04-18T23:31:13.845Z] TESTING:
[2023-04-18T23:31:14.198Z] STF 00:31:13.890 - ========================= S T F =========================
[2023-04-18T23:31:14.198Z] 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_0
[2023-04-18T23:31:14.198Z] There is 48674 Mb free
[2023-04-18T23:31:14.198Z] STF 00:31:13.898 - ================== G E N E R A T I O N ==================
[2023-04-18T23:31:14.198Z] STF 00:31:13.900 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../
[2023-04-18T23:31:14.198Z] STF 00:31:13.900 - 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_0/20230419-003113-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_0/20230419-003113-PatModTest"
[2023-04-18T23:31:14.198Z] 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:14.952Z] GEN 00:31:14.607 - 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:14.952Z] GEN 00:31:14.620 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest'
[2023-04-18T23:31:14.952Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2023-04-18T23:31:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.952Z] 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:14.953Z] 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:14.953Z] 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:14.953Z] 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:14.953Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2023-04-18T23:31:14.953Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin
[2023-04-18T23:31:14.953Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar
[2023-04-18T23:31:14.953Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar
[2023-04-18T23:31:14.953Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar
[2023-04-18T23:31:14.953Z] GEN 00:31:14.754 - Using Mode NoOptions. Values = ''
[2023-04-18T23:31:14.953Z] GEN 00:31:14.807 -
[2023-04-18T23:31:14.953Z] GEN 00:31:14.807 - Test command summary:
[2023-04-18T23:31:14.953Z] GEN 00:31:14.808 - Step Stage Command Description
[2023-04-18T23:31:14.953Z] GEN 00:31:14.808 - -----+--------+-----------------+------------
[2023-04-18T23:31:14.953Z] GEN 00:31:14.808 - 1 execute jar Create com.hello jar
[2023-04-18T23:31:14.953Z] GEN 00:31:14.808 - 2 execute jar Create com.discreet jar
[2023-04-18T23:31:14.953Z] GEN 00:31:14.808 - 3 execute jar create java.xml.jar
[2023-04-18T23:31:14.953Z] GEN 00:31:14.808 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy
[2023-04-18T23:31:14.953Z] GEN 00:31:14.808 - 5 execute Run java Verify if we can Patch an Application module using modular jar
[2023-04-18T23:31:14.953Z] STF 00:31:14.831 -
[2023-04-18T23:31:14.953Z] STF 00:31:14.831 - Script generation completed
[2023-04-18T23:31:14.953Z] STF 00:31:14.831 -
[2023-04-18T23:31:14.953Z] STF 00:31:14.832 -
[2023-04-18T23:31:14.953Z] STF 00:31:14.832 - ======================= S E T U P =======================
[2023-04-18T23:31:14.953Z] STF 00:31:14.832 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/setUp.pl
[2023-04-18T23:31:14.953Z] STF 00:31:14.902 - SETUP stage completed
[2023-04-18T23:31:14.953Z] STF 00:31:14.906 -
[2023-04-18T23:31:14.953Z] STF 00:31:14.906 - ==================== E X E C U T E - ====================
[2023-04-18T23:31:14.953Z] STF 00:31:14.906 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/execute.pl
[2023-04-18T23:31:15.306Z] STF 00:31:14.975 -
[2023-04-18T23:31:15.306Z] STF 00:31:14.975 - Java version
[2023-04-18T23:31:15.306Z] STF 00:31:14.975 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2023-04-18T23:31:15.306Z] openjdk version "17.0.7" 2023-04-18
[2023-04-18T23:31:15.306Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
[2023-04-18T23:31:15.306Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
[2023-04-18T23:31:15.306Z] STF 00:31:15.036 -
[2023-04-18T23:31:15.306Z] STF 00:31:15.036 - +------ Step 1 - Create com.hello jar
[2023-04-18T23:31:15.306Z] STF 00:31:15.036 - | Create modular jar
[2023-04-18T23:31:15.306Z] STF 00:31:15.036 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2023-04-18T23:31:15.306Z] STF 00:31:15.036 - | ModuleVersion: null
[2023-04-18T23:31:15.306Z] STF 00:31:15.036 - | MainClass: null
[2023-04-18T23:31:15.306Z] STF 00:31:15.036 - | HashModules: null
[2023-04-18T23:31:15.306Z] STF 00:31:15.036 - |
[2023-04-18T23:31:15.306Z] STF 00:31:15.037 - 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_0/20230419-003113-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:15.306Z] STF 00:31:15.037 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/1.CMJ.stderr
[2023-04-18T23:31:15.306Z] STF 00:31:15.037 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/1.CMJ.stdout
[2023-04-18T23:31:15.306Z] STF 00:31:15.046 - Monitoring processes: CMJ
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - Monitoring Report Summary:
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - Created modular jar: 1.com.hello.jar
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 -
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - +------ Step 2 - Create com.discreet jar
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - | Create modular jar
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - | ModuleVersion: null
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - | MainClass: null
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - | HashModules: null
[2023-04-18T23:31:15.306Z] STF 00:31:15.234 - |
[2023-04-18T23:31:15.306Z] STF 00:31:15.235 - 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_0/20230419-003113-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:15.306Z] STF 00:31:15.235 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/2.CMJ.stderr
[2023-04-18T23:31:15.306Z] STF 00:31:15.235 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/2.CMJ.stdout
[2023-04-18T23:31:15.306Z] STF 00:31:15.236 - Monitoring processes: CMJ
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - Monitoring Report Summary:
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - Created modular jar: 2.com.discreet.jar
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 -
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - +------ Step 3 - create java.xml.jar
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - | Create modular jar
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - | ModuleVersion: null
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - | MainClass: null
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - | HashModules: null
[2023-04-18T23:31:15.660Z] STF 00:31:15.440 - |
[2023-04-18T23:31:15.660Z] STF 00:31:15.441 - 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_0/20230419-003113-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:15.660Z] STF 00:31:15.441 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/3.CMJ.stderr
[2023-04-18T23:31:15.660Z] STF 00:31:15.441 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/3.CMJ.stdout
[2023-04-18T23:31:15.660Z] STF 00:31:15.442 - Monitoring processes: CMJ
[2023-04-18T23:31:17.694Z] STF 00:31:15.642 - Monitoring Report Summary:
[2023-04-18T23:31:17.694Z] STF 00:31:15.642 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 - Created modular jar: 3.java.xml.jar
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 -
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 - | Run foreground process
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 - | Mnemonic: OT21
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 - | Echo: ECHO_ON
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 - | Expectation: CLEAN_RUN within 1m
[2023-04-18T23:31:17.694Z] STF 00:31:15.643 - |
[2023-04-18T23:31:17.694Z] STF 00:31:15.644 - 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:17.694Z] STF 00:31:15.644 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/4.OT21.stderr
[2023-04-18T23:31:17.694Z] STF 00:31:15.644 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/4.OT21.stdout
[2023-04-18T23:31:17.694Z] STF 00:31:15.645 - Monitoring processes: OT21
[2023-04-18T23:31:17.694Z] 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:17.694Z] OT21 JUnit version 4.12
[2023-04-18T23:31:17.694Z] OT21 .
[2023-04-18T23:31:17.694Z] OT21 Time: 0.004
[2023-04-18T23:31:17.694Z] OT21
[2023-04-18T23:31:17.694Z] OT21 OK (1 test)
[2023-04-18T23:31:17.694Z] OT21
[2023-04-18T23:31:17.694Z] STF 00:31:15.973 - Monitoring Report Summary:
[2023-04-18T23:31:17.694Z] STF 00:31:15.973 - o Process OT21 ended with the expected exit code (0)
[2023-04-18T23:31:17.694Z] STF 00:31:15.973 -
[2023-04-18T23:31:17.694Z] STF 00:31:15.973 - +------ Step 5 - Verify if we can Patch an Application module using modular jar
[2023-04-18T23:31:17.694Z] STF 00:31:15.973 - | Run foreground process
[2023-04-18T23:31:17.694Z] STF 00:31:15.973 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java
[2023-04-18T23:31:17.694Z] STF 00:31:15.973 - | Mnemonic: OT22
[2023-04-18T23:31:17.694Z] STF 00:31:15.974 - | Echo: ECHO_ON
[2023-04-18T23:31:17.694Z] STF 00:31:15.974 - | Expectation: CLEAN_RUN within 1m
[2023-04-18T23:31:17.694Z] STF 00:31:15.974 - |
[2023-04-18T23:31:17.695Z] STF 00:31:15.974 - 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_0/20230419-003113-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:17.695Z] STF 00:31:15.974 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/5.OT22.stderr
[2023-04-18T23:31:17.695Z] STF 00:31:15.974 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/results/5.OT22.stdout
[2023-04-18T23:31:17.695Z] STF 00:31:15.975 - Monitoring processes: OT22
[2023-04-18T23:31:17.695Z] 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_0/20230419-003113-PatModTest/modules/1.com.hello.jar
[2023-04-18T23:31:17.695Z] OT22 JUnit version 4.12
[2023-04-18T23:31:17.695Z] OT22 .
[2023-04-18T23:31:17.695Z] OT22 Time: 0.004
[2023-04-18T23:31:17.695Z] OT22
[2023-04-18T23:31:17.695Z] OT22 OK (1 test)
[2023-04-18T23:31:17.695Z] OT22
[2023-04-18T23:31:17.695Z] STF 00:31:16.309 - Monitoring Report Summary:
[2023-04-18T23:31:17.695Z] STF 00:31:16.309 - o Process OT22 ended with the expected exit code (0)
[2023-04-18T23:31:17.695Z] STF 00:31:16.309 - EXECUTE stage completed
[2023-04-18T23:31:17.695Z] STF 00:31:16.322 -
[2023-04-18T23:31:17.695Z] STF 00:31:16.322 - ==================== T E A R D O W N ====================
[2023-04-18T23:31:17.695Z] STF 00:31:16.322 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/PatMod_AppMod_0/20230419-003113-PatModTest/tearDown.pl
[2023-04-18T23:31:17.695Z] STF 00:31:16.390 - TEARDOWN stage completed
[2023-04-18T23:31:17.695Z] STF 00:31:16.401 -
[2023-04-18T23:31:17.695Z] STF 00:31:16.401 - ===================== R E S U L T S =====================
[2023-04-18T23:31:17.695Z] STF 00:31:16.401 - Stage results:
[2023-04-18T23:31:17.695Z] STF 00:31:16.401 - setUp: pass
[2023-04-18T23:31:17.695Z] STF 00:31:16.401 - execute: pass
[2023-04-18T23:31:17.695Z] STF 00:31:16.401 - teardown: pass
[2023-04-18T23:31:17.695Z] STF 00:31:16.401 -
[2023-04-18T23:31:17.695Z] STF 00:31:16.401 - Overall result: PASSED
[2023-04-18T23:31:17.695Z] -----------------------------------
[2023-04-18T23:31:17.695Z] PatMod_AppMod_0_PASSED
[2023-04-18T23:31:17.695Z] -----------------------------------
[2023-04-18T23:31:17.695Z]
[2023-04-18T23:31:17.695Z] TEST TEARDOWN:
[2023-04-18T23:31:17.695Z] Nothing to be done for teardown.
[2023-04-18T23:31:17.695Z] PatMod_AppMod_0 Finish Time: Wed Apr 19 00:31:16 2023 Epoch Time (ms): 1681860676431