PatMod_AppMod_0

[2024-11-17T10:02:57.532Z] Running test PatMod_AppMod_0 ... [2024-11-17T10:02:57.829Z] =============================================== [2024-11-17T10:02:58.131Z] PatMod_AppMod_0 Start Time: Sun Nov 17 10:02:57 2024 Epoch Time (ms): 1731837777892 [2024-11-17T10:02:58.131Z] variation: Mode150 [2024-11-17T10:02:58.428Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-17T10:02:58.428Z] { \ [2024-11-17T10:02:58.428Z] echo ""; echo "TEST SETUP:"; \ [2024-11-17T10:02:58.428Z] echo "Nothing to be done for setup."; \ [2024-11-17T10:02:58.428Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\PatMod_AppMod_0"; \ [2024-11-17T10:02:58.428Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\PatMod_AppMod_0"; \ [2024-11-17T10:02:58.428Z] echo ""; echo "TESTING:"; \ [2024-11-17T10:02:58.428Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2024-11-17T10:02:58.428Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-17T10:02:58.428Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-17T10:02:58.428Z] echo "Nothing to be done for teardown."; \ [2024-11-17T10:02:58.428Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\TestTargetResult"; [2024-11-17T10:02:58.726Z] [2024-11-17T10:02:58.726Z] TEST SETUP: [2024-11-17T10:02:58.726Z] Nothing to be done for setup. [2024-11-17T10:02:58.726Z] [2024-11-17T10:02:58.726Z] TESTING: [2024-11-17T10:02:59.024Z] STF 10:02:58.970 - ========================= S T F ========================= [2024-11-17T10:02:59.024Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatMod_AppMod_0 [2024-11-17T10:02:59.325Z] There is 21743 Mb free [2024-11-17T10:02:59.325Z] STF 10:02:59.053 - ================== G E N E R A T I O N ================== [2024-11-17T10:02:59.325Z] STF 10:02:59.059 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-17T10:02:59.325Z] STF 10:02:59.060 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatMod_AppMod_0/20241117-100258-PatModTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatMod_AppMod_0/20241117-100258-PatModTest" [2024-11-17T10:02:59.325Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:00.861Z] GEN 10:03:00.424 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-17T10:03:00.861Z] GEN 10:03:00.439 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-11-17T10:03:00.861Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-17T10:03:00.861Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-17T10:03:00.861Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-17T10:03:00.861Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-17T10:03:00.861Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-17T10:03:00.861Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-17T10:03:00.861Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-17T10:03:00.861Z] GEN 10:03:00.689 - Using Mode NoOptions. Values = '' [2024-11-17T10:03:00.861Z] GEN 10:03:00.783 - [2024-11-17T10:03:00.861Z] GEN 10:03:00.783 - Test command summary: [2024-11-17T10:03:00.861Z] GEN 10:03:00.783 - Step Stage Command Description [2024-11-17T10:03:00.861Z] GEN 10:03:00.783 - -----+--------+-----------------+------------ [2024-11-17T10:03:00.861Z] GEN 10:03:00.799 - 1 execute jar Create com.hello jar [2024-11-17T10:03:00.861Z] GEN 10:03:00.799 - 2 execute jar Create com.discreet jar [2024-11-17T10:03:00.861Z] GEN 10:03:00.799 - 3 execute jar create java.xml.jar [2024-11-17T10:03:00.861Z] GEN 10:03:00.799 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-11-17T10:03:00.861Z] GEN 10:03:00.799 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-11-17T10:03:00.861Z] STF 10:03:00.850 - [2024-11-17T10:03:00.861Z] STF 10:03:00.850 - Script generation completed [2024-11-17T10:03:00.861Z] STF 10:03:00.850 - [2024-11-17T10:03:01.159Z] STF 10:03:00.853 - [2024-11-17T10:03:01.159Z] STF 10:03:00.853 - ======================= S E T U P ======================= [2024-11-17T10:03:01.159Z] STF 10:03:00.853 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatMod_AppMod_0/20241117-100258-PatModTest/setUp.pl [2024-11-17T10:03:01.455Z] STF 10:03:01.236 - SETUP stage completed [2024-11-17T10:03:01.455Z] STF 10:03:01.285 - [2024-11-17T10:03:01.455Z] STF 10:03:01.285 - ==================== E X E C U T E - ==================== [2024-11-17T10:03:01.455Z] STF 10:03:01.285 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatMod_AppMod_0/20241117-100258-PatModTest/execute.pl [2024-11-17T10:03:01.755Z] STF 10:03:01.689 - [2024-11-17T10:03:01.755Z] STF 10:03:01.689 - Java version [2024-11-17T10:03:01.755Z] STF 10:03:01.690 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-17T10:03:01.755Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:02.058Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-17T10:03:02.058Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea) [2024-11-17T10:03:02.058Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea, mixed mode) [2024-11-17T10:03:02.058Z] STF 10:03:01.831 - [2024-11-17T10:03:02.058Z] STF 10:03:01.831 - +------ Step 1 - Create com.hello jar [2024-11-17T10:03:02.058Z] STF 10:03:01.831 - | Create modular jar [2024-11-17T10:03:02.058Z] STF 10:03:01.831 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-17T10:03:02.058Z] STF 10:03:01.831 - | ModuleVersion: null [2024-11-17T10:03:02.058Z] STF 10:03:01.831 - | MainClass: null [2024-11-17T10:03:02.058Z] STF 10:03:01.831 - | HashModules: null [2024-11-17T10:03:02.058Z] STF 10:03:01.831 - | [2024-11-17T10:03:02.058Z] STF 10:03:01.832 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-11-17T10:03:02.058Z] STF 10:03:01.833 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/1.CMJ.stderr [2024-11-17T10:03:02.058Z] STF 10:03:01.833 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/1.CMJ.stdout [2024-11-17T10:03:02.058Z] STF 10:03:01.904 - Monitoring processes: CMJ [2024-11-17T10:03:02.058Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:02.713Z] STF 10:03:02.351 - Monitoring Report Summary: [2024-11-17T10:03:02.713Z] STF 10:03:02.351 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - Created modular jar: 1.com.hello.jar [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - +------ Step 2 - Create com.discreet jar [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - | Create modular jar [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - | ModuleVersion: null [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - | MainClass: null [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - | HashModules: null [2024-11-17T10:03:02.713Z] STF 10:03:02.352 - | [2024-11-17T10:03:02.713Z] STF 10:03:02.353 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/modules/2.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2024-11-17T10:03:02.713Z] STF 10:03:02.353 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/2.CMJ.stderr [2024-11-17T10:03:02.713Z] STF 10:03:02.353 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/2.CMJ.stdout [2024-11-17T10:03:02.713Z] STF 10:03:02.362 - Monitoring processes: CMJ [2024-11-17T10:03:02.713Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:03.009Z] STF 10:03:02.802 - Monitoring Report Summary: [2024-11-17T10:03:03.009Z] STF 10:03:02.802 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - Created modular jar: 2.com.discreet.jar [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - +------ Step 3 - create java.xml.jar [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - | Create modular jar [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - | ModuleVersion: null [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - | MainClass: null [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - | HashModules: null [2024-11-17T10:03:03.009Z] STF 10:03:02.803 - | [2024-11-17T10:03:03.010Z] STF 10:03:02.804 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/modules/3.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-11-17T10:03:03.010Z] STF 10:03:02.804 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/3.CMJ.stderr [2024-11-17T10:03:03.010Z] STF 10:03:02.804 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/3.CMJ.stdout [2024-11-17T10:03:03.010Z] STF 10:03:02.813 - Monitoring processes: CMJ [2024-11-17T10:03:03.010Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:03.307Z] STF 10:03:03.255 - Monitoring Report Summary: [2024-11-17T10:03:03.307Z] STF 10:03:03.255 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - Created modular jar: 3.java.xml.jar [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - | Run foreground process [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - | Mnemonic: OT21 [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - | Echo: ECHO_ON [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - | Expectation: CLEAN_RUN within 1m [2024-11-17T10:03:03.307Z] STF 10:03:03.256 - | [2024-11-17T10:03:03.307Z] STF 10:03:03.257 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-11-17T10:03:03.307Z] STF 10:03:03.257 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/4.OT21.stderr [2024-11-17T10:03:03.307Z] STF 10:03:03.257 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/4.OT21.stdout [2024-11-17T10:03:03.307Z] STF 10:03:03.266 - Monitoring processes: OT21 [2024-11-17T10:03:03.605Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:03.605Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-11-17T10:03:03.605Z] OT21 JUnit version 4.12 [2024-11-17T10:03:03.901Z] OT21 . [2024-11-17T10:03:03.901Z] OT21 Time: 0.016 [2024-11-17T10:03:03.901Z] OT21 [2024-11-17T10:03:03.901Z] OT21 OK (1 test) [2024-11-17T10:03:03.901Z] OT21 [2024-11-17T10:03:03.901Z] STF 10:03:03.734 - Monitoring Report Summary: [2024-11-17T10:03:03.901Z] STF 10:03:03.734 - o Process OT21 ended with the expected exit code (0) [2024-11-17T10:03:03.901Z] STF 10:03:03.735 - [2024-11-17T10:03:03.901Z] STF 10:03:03.735 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-11-17T10:03:03.901Z] STF 10:03:03.735 - | Run foreground process [2024-11-17T10:03:03.901Z] STF 10:03:03.735 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:03:03.901Z] STF 10:03:03.735 - | Mnemonic: OT22 [2024-11-17T10:03:03.901Z] STF 10:03:03.735 - | Echo: ECHO_ON [2024-11-17T10:03:03.901Z] STF 10:03:03.735 - | Expectation: CLEAN_RUN within 1m [2024-11-17T10:03:03.901Z] STF 10:03:03.735 - | [2024-11-17T10:03:03.901Z] STF 10:03:03.736 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/modules/1.com.hello.jar -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-11-17T10:03:03.901Z] STF 10:03:03.736 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/5.OT22.stderr [2024-11-17T10:03:03.901Z] STF 10:03:03.736 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatMod_AppMod_0/20241117-100258-PatModTest/results/5.OT22.stdout [2024-11-17T10:03:03.901Z] STF 10:03:03.748 - Monitoring processes: OT22 [2024-11-17T10:03:03.901Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:04.201Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17318358094769\PatMod_AppMod_0\20241117-100258-PatModTest\modules\1.com.hello.jar [2024-11-17T10:03:04.201Z] OT22 JUnit version 4.12 [2024-11-17T10:03:04.201Z] OT22 . [2024-11-17T10:03:04.501Z] OT22 Time: 0 [2024-11-17T10:03:04.501Z] OT22 [2024-11-17T10:03:04.501Z] OT22 OK (1 test) [2024-11-17T10:03:04.501Z] OT22 [2024-11-17T10:03:04.501Z] STF 10:03:04.224 - Monitoring Report Summary: [2024-11-17T10:03:04.501Z] STF 10:03:04.224 - o Process OT22 ended with the expected exit code (0) [2024-11-17T10:03:04.501Z] STF 10:03:04.225 - EXECUTE stage completed [2024-11-17T10:03:04.501Z] STF 10:03:04.275 - [2024-11-17T10:03:04.501Z] STF 10:03:04.275 - ==================== T E A R D O W N ==================== [2024-11-17T10:03:04.501Z] STF 10:03:04.275 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatMod_AppMod_0/20241117-100258-PatModTest/tearDown.pl [2024-11-17T10:03:04.800Z] STF 10:03:04.674 - TEARDOWN stage completed [2024-11-17T10:03:04.800Z] STF 10:03:04.704 - [2024-11-17T10:03:04.800Z] STF 10:03:04.704 - ===================== R E S U L T S ===================== [2024-11-17T10:03:04.800Z] STF 10:03:04.704 - Stage results: [2024-11-17T10:03:04.800Z] STF 10:03:04.704 - setUp: pass [2024-11-17T10:03:04.800Z] STF 10:03:04.704 - execute: pass [2024-11-17T10:03:04.800Z] STF 10:03:04.704 - teardown: pass [2024-11-17T10:03:04.800Z] STF 10:03:04.704 - [2024-11-17T10:03:04.800Z] STF 10:03:04.704 - Overall result: PASSED [2024-11-17T10:03:04.800Z] ----------------------------------- [2024-11-17T10:03:04.800Z] PatMod_AppMod_0_PASSED [2024-11-17T10:03:04.800Z] ----------------------------------- [2024-11-17T10:03:05.100Z] [2024-11-17T10:03:05.100Z] TEST TEARDOWN: [2024-11-17T10:03:05.100Z] Nothing to be done for teardown. [2024-11-17T10:03:05.100Z] PatMod_AppMod_0 Finish Time: Sun Nov 17 10:03:05 2024 Epoch Time (ms): 1731837785064