PatMod_AppMod_1
[2023-04-18T23:13:45.001Z] Running test PatMod_AppMod_1 ...
[2023-04-18T23:13:45.001Z] ===============================================
[2023-04-18T23:13:45.001Z] PatMod_AppMod_1 Start Time: Tue Apr 18 16:13:44 2023 Epoch Time (ms): 1681859624792
[2023-04-18T23:13:45.001Z] variation: Mode650
[2023-04-18T23:13:45.001Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2023-04-18T23:13:45.001Z] { \
[2023-04-18T23:13:45.001Z] echo ""; echo "TEST SETUP:"; \
[2023-04-18T23:13:45.001Z] echo "Nothing to be done for setup."; \
[2023-04-18T23:13:45.001Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_1"; \
[2023-04-18T23:13:45.001Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_1"; \
[2023-04-18T23:13:45.001Z] echo ""; echo "TESTING:"; \
[2023-04-18T23:13:45.001Z] 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_1" -test=PatModTest -test-args="variant=AppMod"; \
[2023-04-18T23:13:45.001Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_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_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2023-04-18T23:13:45.001Z] echo ""; echo "TEST TEARDOWN:"; \
[2023-04-18T23:13:45.001Z] echo "Nothing to be done for teardown."; \
[2023-04-18T23:13:45.001Z] } 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:45.001Z]
[2023-04-18T23:13:45.001Z] TEST SETUP:
[2023-04-18T23:13:45.001Z] Nothing to be done for setup.
[2023-04-18T23:13:45.001Z]
[2023-04-18T23:13:45.001Z] TESTING:
[2023-04-18T23:13:45.001Z] STF 16:13:44.886 - ========================= S T F =========================
[2023-04-18T23:13:45.001Z] 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_1
[2023-04-18T23:13:45.001Z] There is 114025 Mb free
[2023-04-18T23:13:45.001Z] STF 16:13:44.896 - ================== G E N E R A T I O N ==================
[2023-04-18T23:13:45.001Z] STF 16:13:44.896 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../
[2023-04-18T23:13:45.002Z] STF 16:13:44.896 - 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_1/20230418-161344-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_1/20230418-161344-PatModTest"
[2023-04-18T23:13:45.668Z] GEN 16:13:45.194 - 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:45.669Z] GEN 16:13:45.199 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest'
[2023-04-18T23:13:45.669Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2023-04-18T23:13:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] 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:45.669Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2023-04-18T23:13:45.669Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2023-04-18T23:13:45.669Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2023-04-18T23:13:45.669Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/STF/stf.core/bin
[2023-04-18T23:13:45.669Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar
[2023-04-18T23:13:45.669Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar
[2023-04-18T23:13:45.669Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar
[2023-04-18T23:13:45.669Z] GEN 16:13:45.270 - Using Mode NoOptions. Values = ''
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 -
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 - Test command summary:
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 - Step Stage Command Description
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 - -----+--------+-----------------+------------
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 - 1 execute jar Create com.hello jar
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 - 2 execute jar Create com.discreet jar
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 - 3 execute jar create java.xml.jar
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy
[2023-04-18T23:13:45.669Z] GEN 16:13:45.291 - 5 execute Run java Verify if we can Patch an Application module using modular jar
[2023-04-18T23:13:45.669Z] STF 16:13:45.317 -
[2023-04-18T23:13:45.669Z] STF 16:13:45.317 - Script generation completed
[2023-04-18T23:13:45.669Z] STF 16:13:45.317 -
[2023-04-18T23:13:45.669Z] STF 16:13:45.317 -
[2023-04-18T23:13:45.669Z] STF 16:13:45.317 - ======================= S E T U P =======================
[2023-04-18T23:13:45.669Z] STF 16:13:45.317 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/setUp.pl
[2023-04-18T23:13:45.669Z] STF 16:13:45.371 - SETUP stage completed
[2023-04-18T23:13:45.669Z] STF 16:13:45.375 -
[2023-04-18T23:13:45.669Z] STF 16:13:45.375 - ==================== E X E C U T E - ====================
[2023-04-18T23:13:45.669Z] STF 16:13:45.375 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/execute.pl
[2023-04-18T23:13:45.669Z] STF 16:13:45.427 -
[2023-04-18T23:13:45.669Z] STF 16:13:45.427 - Java version
[2023-04-18T23:13:45.669Z] STF 16:13:45.427 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2023-04-18T23:13:45.669Z] STF 16:13:45.466 -
[2023-04-18T23:13:45.669Z] STF 16:13:45.466 - +------ Step 1 - Create com.hello jar
[2023-04-18T23:13:45.669Z] STF 16:13:45.466 - | Create modular jar
[2023-04-18T23:13:45.670Z] STF 16:13:45.466 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2023-04-18T23:13:45.670Z] STF 16:13:45.466 - | ModuleVersion: null
[2023-04-18T23:13:45.670Z] STF 16:13:45.466 - | MainClass: null
[2023-04-18T23:13:45.670Z] STF 16:13:45.466 - | HashModules: null
[2023-04-18T23:13:45.670Z] STF 16:13:45.466 - |
[2023-04-18T23:13:45.670Z] STF 16:13:45.466 - 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_1/20230418-161344-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:45.670Z] STF 16:13:45.466 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/1.CMJ.stderr
[2023-04-18T23:13:45.670Z] STF 16:13:45.466 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/1.CMJ.stdout
[2023-04-18T23:13:45.670Z] openjdk version "17.0.7" 2023-04-18
[2023-04-18T23:13:45.670Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
[2023-04-18T23:13:45.670Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode)
[2023-04-18T23:13:45.670Z] STF 16:13:45.474 - Monitoring processes: CMJ
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - Monitoring Report Summary:
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - Created modular jar: 1.com.hello.jar
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 -
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - +------ Step 2 - Create com.discreet jar
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - | Create modular jar
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - | ModuleVersion: null
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - | MainClass: null
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - | HashModules: null
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - |
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - 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_1/20230418-161344-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:45.670Z] STF 16:13:45.564 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/2.CMJ.stderr
[2023-04-18T23:13:45.670Z] STF 16:13:45.564 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/2.CMJ.stdout
[2023-04-18T23:13:45.670Z] STF 16:13:45.567 - Monitoring processes: CMJ
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - Monitoring Report Summary:
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - Created modular jar: 2.com.discreet.jar
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 -
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - +------ Step 3 - create java.xml.jar
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - | Create modular jar
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - | ModuleVersion: null
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - | MainClass: null
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - | HashModules: null
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - |
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - 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_1/20230418-161344-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:46.334Z] STF 16:13:45.658 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/3.CMJ.stderr
[2023-04-18T23:13:46.334Z] STF 16:13:45.658 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/3.CMJ.stdout
[2023-04-18T23:13:46.334Z] STF 16:13:45.661 - Monitoring processes: CMJ
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - Monitoring Report Summary:
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - Created modular jar: 3.java.xml.jar
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 -
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - | Run foreground process
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - | Mnemonic: OT21
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - | Echo: ECHO_ON
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - | Expectation: CLEAN_RUN within 1m
[2023-04-18T23:13:46.334Z] STF 16:13:45.752 - |
[2023-04-18T23:13:46.334Z] STF 16:13:45.753 - 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:46.334Z] STF 16:13:45.753 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/4.OT21.stderr
[2023-04-18T23:13:46.334Z] STF 16:13:45.753 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/4.OT21.stdout
[2023-04-18T23:13:46.334Z] STF 16:13:45.755 - Monitoring processes: OT21
[2023-04-18T23:13:46.334Z] 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:46.334Z] OT21 JUnit version 4.12
[2023-04-18T23:13:46.334Z] OT21 .
[2023-04-18T23:13:46.334Z] OT21 Time: 0.002
[2023-04-18T23:13:46.334Z] OT21
[2023-04-18T23:13:46.334Z] OT21 OK (1 test)
[2023-04-18T23:13:46.334Z] OT21
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - Monitoring Report Summary:
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - o Process OT21 ended with the expected exit code (0)
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 -
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - +------ Step 5 - Verify if we can Patch an Application module using modular jar
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - | Run foreground process
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - | Mnemonic: OT22
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - | Echo: ECHO_ON
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - | Expectation: CLEAN_RUN within 1m
[2023-04-18T23:13:46.334Z] STF 16:13:45.894 - |
[2023-04-18T23:13:46.335Z] STF 16:13:45.894 - 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_1/20230418-161344-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:46.335Z] STF 16:13:45.894 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/5.OT22.stderr
[2023-04-18T23:13:46.335Z] STF 16:13:45.894 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/results/5.OT22.stdout
[2023-04-18T23:13:46.335Z] STF 16:13:45.897 - Monitoring processes: OT22
[2023-04-18T23:13:46.335Z] 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_1/20230418-161344-PatModTest/modules/1.com.hello.jar
[2023-04-18T23:13:46.335Z] OT22 JUnit version 4.12
[2023-04-18T23:13:46.335Z] OT22 .
[2023-04-18T23:13:46.335Z] OT22 Time: 0.001
[2023-04-18T23:13:46.335Z] OT22
[2023-04-18T23:13:46.335Z] OT22 OK (1 test)
[2023-04-18T23:13:46.335Z] OT22
[2023-04-18T23:13:46.335Z] STF 16:13:46.034 - Monitoring Report Summary:
[2023-04-18T23:13:46.335Z] STF 16:13:46.034 - o Process OT22 ended with the expected exit code (0)
[2023-04-18T23:13:46.335Z] STF 16:13:46.034 - EXECUTE stage completed
[2023-04-18T23:13:46.335Z] STF 16:13:46.037 -
[2023-04-18T23:13:46.335Z] STF 16:13:46.037 - ==================== T E A R D O W N ====================
[2023-04-18T23:13:46.335Z] STF 16:13:46.037 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac/aqa-tests/TKG/../TKG/output_16818571444056/PatMod_AppMod_1/20230418-161344-PatModTest/tearDown.pl
[2023-04-18T23:13:46.335Z] STF 16:13:46.089 - TEARDOWN stage completed
[2023-04-18T23:13:46.335Z] STF 16:13:46.092 -
[2023-04-18T23:13:46.335Z] STF 16:13:46.092 - ===================== R E S U L T S =====================
[2023-04-18T23:13:46.335Z] STF 16:13:46.092 - Stage results:
[2023-04-18T23:13:46.335Z] STF 16:13:46.092 - setUp: pass
[2023-04-18T23:13:46.335Z] STF 16:13:46.092 - execute: pass
[2023-04-18T23:13:46.335Z] STF 16:13:46.092 - teardown: pass
[2023-04-18T23:13:46.335Z] STF 16:13:46.092 -
[2023-04-18T23:13:46.335Z] STF 16:13:46.092 - Overall result: PASSED
[2023-04-18T23:13:46.335Z] -----------------------------------
[2023-04-18T23:13:46.335Z] PatMod_AppMod_1_PASSED
[2023-04-18T23:13:46.335Z] -----------------------------------
[2023-04-18T23:13:46.335Z]
[2023-04-18T23:13:46.335Z] TEST TEARDOWN:
[2023-04-18T23:13:46.335Z] Nothing to be done for teardown.
[2023-04-18T23:13:46.335Z] PatMod_AppMod_1 Finish Time: Tue Apr 18 16:13:46 2023 Epoch Time (ms): 1681859626128