PatMod_AppMod_0
[2023-04-18T23:13:43.669Z] Running test PatMod_AppMod_0 ...
[2023-04-18T23:13:43.669Z] ===============================================
[2023-04-18T23:13:43.669Z] PatMod_AppMod_0 Start Time: Tue Apr 18 16:13:43 2023 Epoch Time (ms): 1681859623387
[2023-04-18T23:13:43.669Z] variation: Mode150
[2023-04-18T23:13:43.669Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2023-04-18T23:13:43.669Z] { \
[2023-04-18T23:13:43.669Z] echo ""; echo "TEST SETUP:"; \
[2023-04-18T23:13:43.669Z] echo "Nothing to be done for setup."; \
[2023-04-18T23:13:43.669Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0"; \
[2023-04-18T23:13:43.669Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0"; \
[2023-04-18T23:13:43.669Z] echo ""; echo "TESTING:"; \
[2023-04-18T23:13:43.669Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \
[2023-04-18T23:13:43.669Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2023-04-18T23:13:43.669Z] echo ""; echo "TEST TEARDOWN:"; \
[2023-04-18T23:13:43.669Z] echo "Nothing to be done for teardown."; \
[2023-04-18T23:13:43.670Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/TestTargetResult";
[2023-04-18T23:13:43.670Z]
[2023-04-18T23:13:43.670Z] TEST SETUP:
[2023-04-18T23:13:43.670Z] Nothing to be done for setup.
[2023-04-18T23:13:43.670Z]
[2023-04-18T23:13:43.670Z] TESTING:
[2023-04-18T23:13:43.670Z] STF 16:13:43.482 - ========================= S T F =========================
[2023-04-18T23:13:43.670Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0
[2023-04-18T23:13:43.670Z] There is 114023 Mb free
[2023-04-18T23:13:43.670Z] STF 16:13:43.492 - ================== G E N E R A T I O N ==================
[2023-04-18T23:13:43.670Z] STF 16:13:43.492 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../
[2023-04-18T23:13:43.670Z] STF 16:13:43.492 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_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_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest"
[2023-04-18T23:13:44.335Z] GEN 16:13:43.787 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2023-04-18T23:13:44.335Z] GEN 16:13:43.792 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest'
[2023-04-18T23:13:44.335Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/STF/stf.core/bin
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar
[2023-04-18T23:13:44.335Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar
[2023-04-18T23:13:44.335Z] GEN 16:13:43.863 - Using Mode NoOptions. Values = ''
[2023-04-18T23:13:44.335Z] GEN 16:13:43.885 -
[2023-04-18T23:13:44.335Z] GEN 16:13:43.885 - Test command summary:
[2023-04-18T23:13:44.335Z] GEN 16:13:43.885 - Step Stage Command Description
[2023-04-18T23:13:44.335Z] GEN 16:13:43.885 - -----+--------+-----------------+------------
[2023-04-18T23:13:44.335Z] GEN 16:13:43.885 - 1 execute jar Create com.hello jar
[2023-04-18T23:13:44.336Z] GEN 16:13:43.885 - 2 execute jar Create com.discreet jar
[2023-04-18T23:13:44.336Z] GEN 16:13:43.885 - 3 execute jar create java.xml.jar
[2023-04-18T23:13:44.336Z] GEN 16:13:43.885 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy
[2023-04-18T23:13:44.336Z] GEN 16:13:43.885 - 5 execute Run java Verify if we can Patch an Application module using modular jar
[2023-04-18T23:13:44.336Z] STF 16:13:43.908 -
[2023-04-18T23:13:44.336Z] STF 16:13:43.908 - Script generation completed
[2023-04-18T23:13:44.336Z] STF 16:13:43.908 -
[2023-04-18T23:13:44.336Z] STF 16:13:43.908 -
[2023-04-18T23:13:44.336Z] STF 16:13:43.908 - ======================= S E T U P =======================
[2023-04-18T23:13:44.336Z] STF 16:13:43.908 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/setUp.pl
[2023-04-18T23:13:44.336Z] STF 16:13:43.962 - SETUP stage completed
[2023-04-18T23:13:44.336Z] STF 16:13:43.965 -
[2023-04-18T23:13:44.336Z] STF 16:13:43.965 - ==================== E X E C U T E - ====================
[2023-04-18T23:13:44.336Z] STF 16:13:43.965 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/execute.pl
[2023-04-18T23:13:44.336Z] STF 16:13:44.017 -
[2023-04-18T23:13:44.336Z] STF 16:13:44.017 - Java version
[2023-04-18T23:13:44.336Z] STF 16:13:44.017 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 -
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - +------ Step 1 - Create com.hello jar
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - | Create modular jar
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - | ModuleVersion: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - | MainClass: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - | HashModules: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - |
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/1.CMJ.stderr
[2023-04-18T23:13:44.336Z] STF 16:13:44.056 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/1.CMJ.stdout
[2023-04-18T23:13:44.336Z] openjdk version "17.0.7" 2023-04-18
[2023-04-18T23:13:44.336Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
[2023-04-18T23:13:44.336Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode)
[2023-04-18T23:13:44.336Z] STF 16:13:44.064 - Monitoring processes: CMJ
[2023-04-18T23:13:44.336Z] STF 16:13:44.158 - Monitoring Report Summary:
[2023-04-18T23:13:44.336Z] STF 16:13:44.158 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - Created modular jar: 1.com.hello.jar
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 -
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - +------ Step 2 - Create com.discreet jar
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - | Create modular jar
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - | ModuleVersion: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - | MainClass: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - | HashModules: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - |
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/modules/2.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet .
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/2.CMJ.stderr
[2023-04-18T23:13:44.336Z] STF 16:13:44.159 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/2.CMJ.stdout
[2023-04-18T23:13:44.336Z] STF 16:13:44.161 - Monitoring processes: CMJ
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - Monitoring Report Summary:
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - Created modular jar: 2.com.discreet.jar
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 -
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - +------ Step 3 - create java.xml.jar
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - | Create modular jar
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - | ModuleVersion: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - | MainClass: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - | HashModules: null
[2023-04-18T23:13:44.336Z] STF 16:13:44.255 - |
[2023-04-18T23:13:44.337Z] STF 16:13:44.255 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/modules/3.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2023-04-18T23:13:44.337Z] STF 16:13:44.255 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/3.CMJ.stderr
[2023-04-18T23:13:44.337Z] STF 16:13:44.256 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/3.CMJ.stdout
[2023-04-18T23:13:44.337Z] STF 16:13:44.258 - Monitoring processes: CMJ
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - Monitoring Report Summary:
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - Created modular jar: 3.java.xml.jar
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 -
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - | Run foreground process
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - | Mnemonic: OT21
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - | Echo: ECHO_ON
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - | Expectation: CLEAN_RUN within 1m
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - |
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_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_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/4.OT21.stderr
[2023-04-18T23:13:45.001Z] STF 16:13:44.363 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/4.OT21.stdout
[2023-04-18T23:13:45.001Z] STF 16:13:44.366 - Monitoring processes: OT21
[2023-04-18T23:13:45.001Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2023-04-18T23:13:45.001Z] OT21 JUnit version 4.12
[2023-04-18T23:13:45.001Z] OT21 .
[2023-04-18T23:13:45.001Z] OT21 Time: 0.001
[2023-04-18T23:13:45.001Z] OT21
[2023-04-18T23:13:45.001Z] OT21 OK (1 test)
[2023-04-18T23:13:45.001Z] OT21
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - Monitoring Report Summary:
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - o Process OT21 ended with the expected exit code (0)
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 -
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - +------ Step 5 - Verify if we can Patch an Application module using modular jar
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - | Run foreground process
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - | Mnemonic: OT22
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - | Echo: ECHO_ON
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - | Expectation: CLEAN_RUN within 1m
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - |
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_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_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/modules/1.com.hello.jar -XX:+UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/5.OT22.stderr
[2023-04-18T23:13:45.001Z] STF 16:13:44.488 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/results/5.OT22.stdout
[2023-04-18T23:13:45.001Z] STF 16:13:44.490 - Monitoring processes: OT22
[2023-04-18T23:13:45.001Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/modules/1.com.hello.jar
[2023-04-18T23:13:45.001Z] OT22 JUnit version 4.12
[2023-04-18T23:13:45.001Z] OT22 .
[2023-04-18T23:13:45.001Z] OT22 Time: 0.002
[2023-04-18T23:13:45.001Z] OT22
[2023-04-18T23:13:45.001Z] OT22 OK (1 test)
[2023-04-18T23:13:45.001Z] OT22
[2023-04-18T23:13:45.001Z] STF 16:13:44.610 - Monitoring Report Summary:
[2023-04-18T23:13:45.001Z] STF 16:13:44.610 - o Process OT22 ended with the expected exit code (0)
[2023-04-18T23:13:45.001Z] STF 16:13:44.610 - EXECUTE stage completed
[2023-04-18T23:13:45.001Z] STF 16:13:44.618 -
[2023-04-18T23:13:45.001Z] STF 16:13:44.618 - ==================== T E A R D O W N ====================
[2023-04-18T23:13:45.001Z] STF 16:13:44.618 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_0/20230418-161343-PatModTest/tearDown.pl
[2023-04-18T23:13:45.001Z] STF 16:13:44.673 - TEARDOWN stage completed
[2023-04-18T23:13:45.001Z] STF 16:13:44.676 -
[2023-04-18T23:13:45.001Z] STF 16:13:44.676 - ===================== R E S U L T S =====================
[2023-04-18T23:13:45.001Z] STF 16:13:44.676 - Stage results:
[2023-04-18T23:13:45.001Z] STF 16:13:44.676 - setUp: pass
[2023-04-18T23:13:45.001Z] STF 16:13:44.676 - execute: pass
[2023-04-18T23:13:45.001Z] STF 16:13:44.676 - teardown: pass
[2023-04-18T23:13:45.001Z] STF 16:13:44.676 -
[2023-04-18T23:13:45.001Z] STF 16:13:44.676 - Overall result: PASSED
[2023-04-18T23:13:45.001Z] -----------------------------------
[2023-04-18T23:13:45.001Z] PatMod_AppMod_0_PASSED
[2023-04-18T23:13:45.001Z] -----------------------------------
[2023-04-18T23:13:45.001Z]
[2023-04-18T23:13:45.001Z] TEST TEARDOWN:
[2023-04-18T23:13:45.001Z] Nothing to be done for teardown.
[2023-04-18T23:13:45.001Z] PatMod_AppMod_0 Finish Time: Tue Apr 18 16:13:44 2023 Epoch Time (ms): 1681859624712