PatMod_AppMod_1
[2024-11-14T20:35:25.527Z] Running test PatMod_AppMod_1 ...
[2024-11-14T20:35:25.527Z] ===============================================
[2024-11-14T20:35:25.844Z] PatMod_AppMod_1 Start Time: Thu Nov 14 20:35:25 2024 Epoch Time (ms): 1731616525603
[2024-11-14T20:35:25.844Z] variation: Mode650
[2024-11-14T20:35:26.218Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-11-14T20:35:26.218Z] { \
[2024-11-14T20:35:26.218Z] echo ""; echo "TEST SETUP:"; \
[2024-11-14T20:35:26.218Z] echo "Nothing to be done for setup."; \
[2024-11-14T20:35:26.218Z] mkdir -p "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatMod_AppMod_1"; \
[2024-11-14T20:35:26.218Z] cd "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatMod_AppMod_1"; \
[2024-11-14T20:35:26.218Z] echo ""; echo "TESTING:"; \
[2024-11-14T20:35:26.218Z] perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatMod_AppMod_1" -test=PatModTest -test-args="variant=AppMod"; \
[2024-11-14T20:35:26.218Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\PatMod_AppMod_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-14T20:35:26.218Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-14T20:35:26.218Z] echo "Nothing to be done for teardown."; \
[2024-11-14T20:35:26.218Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\TestTargetResult";
[2024-11-14T20:35:26.218Z]
[2024-11-14T20:35:26.218Z] TEST SETUP:
[2024-11-14T20:35:26.218Z] Nothing to be done for setup.
[2024-11-14T20:35:26.218Z]
[2024-11-14T20:35:26.218Z] TESTING:
[2024-11-14T20:35:26.544Z] STF 20:35:26.253 - ========================= S T F =========================
[2024-11-14T20:35:26.544Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatMod_AppMod_1
[2024-11-14T20:35:26.544Z] There is 96484 Mb free
[2024-11-14T20:35:26.544Z] STF 20:35:26.317 - ================== G E N E R A T I O N ==================
[2024-11-14T20:35:26.544Z] STF 20:35:26.320 - Checking JVM: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2024-11-14T20:35:26.544Z] STF 20:35:26.321 - Starting process to generate scripts: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatMod_AppMod_1/20241114-203526-PatModTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatMod_AppMod_1/20241114-203526-PatModTest"
[2024-11-14T20:35:26.544Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:35:26.544Z] GEN [0.026s][warning][cds] 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
[2024-11-14T20:35:28.149Z] GEN 20:35:27.717 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-11-14T20:35:28.149Z] GEN 20:35:27.735 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest'
[2024-11-14T20:35:28.149Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-11-14T20:35:28.149Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-11-14T20:35:28.149Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-11-14T20:35:28.149Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-11-14T20:35:28.149Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-14T20:35:28.149Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-14T20:35:28.149Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar
[2024-11-14T20:35:28.149Z] GEN 20:35:28.014 - Using Mode NoOptions. Values = ''
[2024-11-14T20:35:28.478Z] GEN 20:35:28.113 -
[2024-11-14T20:35:28.478Z] GEN 20:35:28.114 - Test command summary:
[2024-11-14T20:35:28.478Z] GEN 20:35:28.114 - Step Stage Command Description
[2024-11-14T20:35:28.478Z] GEN 20:35:28.114 - -----+--------+-----------------+------------
[2024-11-14T20:35:28.478Z] GEN 20:35:28.114 - 1 execute jar Create com.hello jar
[2024-11-14T20:35:28.478Z] GEN 20:35:28.115 - 2 execute jar Create com.discreet jar
[2024-11-14T20:35:28.478Z] GEN 20:35:28.115 - 3 execute jar create java.xml.jar
[2024-11-14T20:35:28.478Z] GEN 20:35:28.115 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy
[2024-11-14T20:35:28.478Z] GEN 20:35:28.115 - 5 execute Run java Verify if we can Patch an Application module using modular jar
[2024-11-14T20:35:28.478Z] STF 20:35:28.167 -
[2024-11-14T20:35:28.478Z] STF 20:35:28.167 - Script generation completed
[2024-11-14T20:35:28.478Z] STF 20:35:28.167 -
[2024-11-14T20:35:28.478Z] STF 20:35:28.169 -
[2024-11-14T20:35:28.478Z] STF 20:35:28.169 - ======================= S E T U P =======================
[2024-11-14T20:35:28.478Z] STF 20:35:28.169 - Running setup: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatMod_AppMod_1/20241114-203526-PatModTest/setUp.pl
[2024-11-14T20:35:28.478Z] STF 20:35:28.337 - SETUP stage completed
[2024-11-14T20:35:28.478Z] STF 20:35:28.353 -
[2024-11-14T20:35:28.478Z] STF 20:35:28.353 - ==================== E X E C U T E - ====================
[2024-11-14T20:35:28.478Z] STF 20:35:28.353 - Running execute: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatMod_AppMod_1/20241114-203526-PatModTest/execute.pl
[2024-11-14T20:35:28.806Z] STF 20:35:28.557 -
[2024-11-14T20:35:28.806Z] STF 20:35:28.557 - Java version
[2024-11-14T20:35:28.806Z] STF 20:35:28.557 - Running: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-11-14T20:35:28.806Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:35:28.806Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-11-14T20:35:28.806Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411132002 (build 21.0.6-beta+3-ea)
[2024-11-14T20:35:28.806Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411132002 (build 21.0.6-beta+3-ea, mixed mode, sharing)
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 -
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 - +------ Step 1 - Create com.hello jar
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 - | Create modular jar
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 - | ModuleVersion: null
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 - | MainClass: null
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 - | HashModules: null
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 - |
[2024-11-14T20:35:28.806Z] STF 20:35:28.681 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/modules/1.com.hello.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2024-11-14T20:35:28.806Z] STF 20:35:28.682 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/1.CMJ.stderr
[2024-11-14T20:35:28.806Z] STF 20:35:28.682 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/1.CMJ.stdout
[2024-11-14T20:35:28.806Z] STF 20:35:28.723 - Monitoring processes: CMJ
[2024-11-14T20:35:28.806Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:35:29.496Z] STF 20:35:29.120 - Monitoring Report Summary:
[2024-11-14T20:35:29.496Z] STF 20:35:29.120 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - Created modular jar: 1.com.hello.jar
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 -
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - +------ Step 2 - Create com.discreet jar
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - | Create modular jar
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - | ModuleVersion: null
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - | MainClass: null
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - | HashModules: null
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - |
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/modules/2.com.discreet.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet .
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/2.CMJ.stderr
[2024-11-14T20:35:29.496Z] STF 20:35:29.121 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/2.CMJ.stdout
[2024-11-14T20:35:29.496Z] STF 20:35:29.130 - Monitoring processes: CMJ
[2024-11-14T20:35:29.496Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - Monitoring Report Summary:
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - Created modular jar: 2.com.discreet.jar
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 -
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - +------ Step 3 - create java.xml.jar
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - | Create modular jar
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - | ModuleVersion: null
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - | MainClass: null
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - | HashModules: null
[2024-11-14T20:35:29.824Z] STF 20:35:29.530 - |
[2024-11-14T20:35:29.824Z] STF 20:35:29.531 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/modules/3.java.xml.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2024-11-14T20:35:29.824Z] STF 20:35:29.531 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/3.CMJ.stderr
[2024-11-14T20:35:29.824Z] STF 20:35:29.531 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/3.CMJ.stdout
[2024-11-14T20:35:29.824Z] STF 20:35:29.538 - Monitoring processes: CMJ
[2024-11-14T20:35:29.824Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:35:30.152Z] STF 20:35:29.948 - Monitoring Report Summary:
[2024-11-14T20:35:30.152Z] STF 20:35:29.948 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T20:35:30.152Z] STF 20:35:29.949 - Created modular jar: 3.java.xml.jar
[2024-11-14T20:35:30.152Z] STF 20:35:29.949 -
[2024-11-14T20:35:30.152Z] STF 20:35:29.949 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy
[2024-11-14T20:35:30.152Z] STF 20:35:29.949 - | Run foreground process
[2024-11-14T20:35:30.153Z] STF 20:35:29.949 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java
[2024-11-14T20:35:30.153Z] STF 20:35:29.949 - | Mnemonic: OT21
[2024-11-14T20:35:30.153Z] STF 20:35:29.949 - | Echo: ECHO_ON
[2024-11-14T20:35:30.153Z] STF 20:35:29.949 - | Expectation: CLEAN_RUN within 1m
[2024-11-14T20:35:30.153Z] STF 20:35:29.949 - |
[2024-11-14T20:35:30.153Z] STF 20:35:29.950 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-14T20:35:30.153Z] STF 20:35:29.950 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/4.OT21.stderr
[2024-11-14T20:35:30.153Z] STF 20:35:29.950 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/4.OT21.stdout
[2024-11-14T20:35:30.153Z] STF 20:35:29.957 - Monitoring processes: OT21
[2024-11-14T20:35:30.153Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:35:30.479Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello
[2024-11-14T20:35:30.479Z] OT21 JUnit version 4.12
[2024-11-14T20:35:30.479Z] OT21 .
[2024-11-14T20:35:30.884Z] OT21 Time: 0.006
[2024-11-14T20:35:30.884Z] OT21
[2024-11-14T20:35:30.884Z] OT21 OK (1 test)
[2024-11-14T20:35:30.884Z] OT21
[2024-11-14T20:35:30.884Z] STF 20:35:30.485 - Monitoring Report Summary:
[2024-11-14T20:35:30.884Z] STF 20:35:30.485 - o Process OT21 ended with the expected exit code (0)
[2024-11-14T20:35:30.884Z] STF 20:35:30.486 -
[2024-11-14T20:35:30.884Z] STF 20:35:30.486 - +------ Step 5 - Verify if we can Patch an Application module using modular jar
[2024-11-14T20:35:30.884Z] STF 20:35:30.486 - | Run foreground process
[2024-11-14T20:35:30.884Z] STF 20:35:30.486 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java
[2024-11-14T20:35:30.884Z] STF 20:35:30.486 - | Mnemonic: OT22
[2024-11-14T20:35:30.884Z] STF 20:35:30.486 - | Echo: ECHO_ON
[2024-11-14T20:35:30.884Z] STF 20:35:30.486 - | Expectation: CLEAN_RUN within 1m
[2024-11-14T20:35:30.884Z] STF 20:35:30.486 - |
[2024-11-14T20:35:30.885Z] STF 20:35:30.486 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/modules/1.com.hello.jar -XX:-UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-14T20:35:30.885Z] STF 20:35:30.486 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/5.OT22.stderr
[2024-11-14T20:35:30.885Z] STF 20:35:30.486 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/PatMod_AppMod_1/20241114-203526-PatModTest/results/5.OT22.stdout
[2024-11-14T20:35:30.885Z] STF 20:35:30.494 - Monitoring processes: OT22
[2024-11-14T20:35:30.885Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T20:35:31.211Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17316146282192\PatMod_AppMod_1\20241114-203526-PatModTest\modules\1.com.hello.jar
[2024-11-14T20:35:31.211Z] OT22 JUnit version 4.12
[2024-11-14T20:35:31.211Z] OT22 .
[2024-11-14T20:35:31.211Z] OT22 Time: 0.009
[2024-11-14T20:35:31.211Z] OT22
[2024-11-14T20:35:31.211Z] OT22 OK (1 test)
[2024-11-14T20:35:31.211Z] OT22
[2024-11-14T20:35:31.211Z] STF 20:35:31.059 - Monitoring Report Summary:
[2024-11-14T20:35:31.211Z] STF 20:35:31.059 - o Process OT22 ended with the expected exit code (0)
[2024-11-14T20:35:31.211Z] STF 20:35:31.059 - EXECUTE stage completed
[2024-11-14T20:35:31.211Z] STF 20:35:31.089 -
[2024-11-14T20:35:31.211Z] STF 20:35:31.089 - ==================== T E A R D O W N ====================
[2024-11-14T20:35:31.211Z] STF 20:35:31.089 - Running teardown: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\PatMod_AppMod_1/20241114-203526-PatModTest/tearDown.pl
[2024-11-14T20:35:31.597Z] STF 20:35:31.263 - TEARDOWN stage completed
[2024-11-14T20:35:31.597Z] STF 20:35:31.277 -
[2024-11-14T20:35:31.597Z] STF 20:35:31.277 - ===================== R E S U L T S =====================
[2024-11-14T20:35:31.597Z] STF 20:35:31.277 - Stage results:
[2024-11-14T20:35:31.597Z] STF 20:35:31.277 - setUp: pass
[2024-11-14T20:35:31.597Z] STF 20:35:31.277 - execute: pass
[2024-11-14T20:35:31.597Z] STF 20:35:31.277 - teardown: pass
[2024-11-14T20:35:31.597Z] STF 20:35:31.277 -
[2024-11-14T20:35:31.597Z] STF 20:35:31.277 - Overall result: PASSED
[2024-11-14T20:35:31.597Z] -----------------------------------
[2024-11-14T20:35:31.597Z] PatMod_AppMod_1_PASSED
[2024-11-14T20:35:31.597Z] -----------------------------------
[2024-11-14T20:35:31.597Z]
[2024-11-14T20:35:31.597Z] TEST TEARDOWN:
[2024-11-14T20:35:31.597Z] Nothing to be done for teardown.
[2024-11-14T20:35:31.597Z] PatMod_AppMod_1 Finish Time: Thu Nov 14 20:35:31 2024 Epoch Time (ms): 1731616531502