PatMod_AppMod_2

[2024-08-01T10:13:42.770Z] Running test PatMod_AppMod_2 ... [2024-08-01T10:13:42.770Z] =============================================== [2024-08-01T10:13:43.082Z] PatMod_AppMod_2 Start Time: Thu Aug 1 10:13:42 2024 Epoch Time (ms): 1722507222783 [2024-08-01T10:13:43.082Z] variation: Mode1000 [2024-08-01T10:13:43.082Z] JVM_OPTIONS: [2024-08-01T10:13:43.082Z] { \ [2024-08-01T10:13:43.082Z] echo ""; echo "TEST SETUP:"; \ [2024-08-01T10:13:43.082Z] echo "Nothing to be done for setup."; \ [2024-08-01T10:13:43.082Z] mkdir -p "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\PatMod_AppMod_2"; \ [2024-08-01T10:13:43.082Z] cd "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\PatMod_AppMod_2"; \ [2024-08-01T10:13:43.082Z] echo ""; echo "TESTING:"; \ [2024-08-01T10:13:43.082Z] perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\PatMod_AppMod_2" -test=PatModTest -test-args="variant=AppMod"; \ [2024-08-01T10:13:43.082Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_2""_PASSED"; echo "-----------------------------------"; cd F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\PatMod_AppMod_2"; else echo "-----------------------------------"; echo "PatMod_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-01T10:13:43.082Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-01T10:13:43.082Z] echo "Nothing to be done for teardown."; \ [2024-08-01T10:13:43.082Z] } 2>&1 | tee -a "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\TestTargetResult"; [2024-08-01T10:13:43.082Z] [2024-08-01T10:13:43.082Z] TEST SETUP: [2024-08-01T10:13:43.082Z] Nothing to be done for setup. [2024-08-01T10:13:43.395Z] [2024-08-01T10:13:43.395Z] TESTING: [2024-08-01T10:13:43.395Z] STF 10:13:43.310 - ========================= S T F ========================= [2024-08-01T10:13:43.395Z] systemtest-prereqs has been processed, and set to: F:/workspace/testDependency/system_libRetrieving amount of free space on drive containing F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatMod_AppMod_2 [2024-08-01T10:13:43.395Z] There is 113204 Mb free [2024-08-01T10:13:43.395Z] STF 10:13:43.338 - ================== G E N E R A T I O N ================== [2024-08-01T10:13:43.395Z] STF 10:13:43.341 - Checking JVM: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-01T10:13:43.395Z] STF 10:13:43.341 - Starting process to generate scripts: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatMod_AppMod_2/20240801-101343-PatModTest/stf_parameters.properties, , F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatMod_AppMod_2/20240801-101343-PatModTest" [2024-08-01T10:13:44.490Z] GEN 10:13:44.205 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-01T10:13:44.490Z] GEN 10:13:44.214 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-08-01T10:13:44.490Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-01T10:13:44.490Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-01T10:13:44.490Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-01T10:13:44.490Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-01T10:13:44.490Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-01T10:13:44.490Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-01T10:13:44.490Z] GEN F:/workspace/testDependency/system_lib/junit/junit.jar [2024-08-01T10:13:44.490Z] GEN 10:13:44.419 - Using Mode NoOptions. Values = '' [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - Test command summary: [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - Step Stage Command Description [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - -----+--------+-----------------+------------ [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - 1 execute jar Create com.hello jar [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - 2 execute jar Create com.discreet jar [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - 3 execute jar create java.xml.jar [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-08-01T10:13:44.802Z] GEN 10:13:44.502 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-08-01T10:13:44.802Z] STF 10:13:44.521 - [2024-08-01T10:13:44.802Z] STF 10:13:44.521 - Script generation completed [2024-08-01T10:13:44.802Z] STF 10:13:44.521 - [2024-08-01T10:13:44.802Z] STF 10:13:44.521 - [2024-08-01T10:13:44.803Z] STF 10:13:44.521 - ======================= S E T U P ======================= [2024-08-01T10:13:44.803Z] STF 10:13:44.521 - Running setup: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatMod_AppMod_2/20240801-101343-PatModTest/setUp.pl [2024-08-01T10:13:44.803Z] STF 10:13:44.655 - SETUP stage completed [2024-08-01T10:13:44.803Z] STF 10:13:44.668 - [2024-08-01T10:13:44.803Z] STF 10:13:44.668 - ==================== E X E C U T E - ==================== [2024-08-01T10:13:44.803Z] STF 10:13:44.668 - Running execute: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatMod_AppMod_2/20240801-101343-PatModTest/execute.pl [2024-08-01T10:13:45.114Z] STF 10:13:44.802 - [2024-08-01T10:13:45.114Z] STF 10:13:44.802 - Java version [2024-08-01T10:13:45.114Z] STF 10:13:44.802 - Running: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-01T10:13:45.114Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-01T10:13:45.114Z] OpenJDK Runtime Environment Temurin-11.0.25+1-202407312219 (build 11.0.25-beta+1-ea) [2024-08-01T10:13:45.114Z] OpenJDK Client VM Temurin-11.0.25+1-202407312219 (build 11.0.25-beta+1-ea, mixed mode) [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - +------ Step 1 - Create com.hello jar [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - | Create modular jar [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - | ModuleVersion: null [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - | MainClass: null [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - | HashModules: null [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - | [2024-08-01T10:13:45.114Z] STF 10:13:44.899 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/modules/1.com.hello.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-01T10:13:45.114Z] STF 10:13:44.900 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/1.CMJ.stderr [2024-08-01T10:13:45.114Z] STF 10:13:44.900 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/1.CMJ.stdout [2024-08-01T10:13:45.114Z] STF 10:13:44.926 - Monitoring processes: CMJ [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - Monitoring Report Summary: [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - Created modular jar: 1.com.hello.jar [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - +------ Step 2 - Create com.discreet jar [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - | Create modular jar [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - | ModuleVersion: null [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - | MainClass: null [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - | HashModules: null [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - | [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/modules/2.com.discreet.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/2.CMJ.stderr [2024-08-01T10:13:45.425Z] STF 10:13:45.197 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/2.CMJ.stdout [2024-08-01T10:13:45.425Z] STF 10:13:45.200 - Monitoring processes: CMJ [2024-08-01T10:13:45.736Z] STF 10:13:45.462 - Monitoring Report Summary: [2024-08-01T10:13:45.736Z] STF 10:13:45.462 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:13:45.736Z] STF 10:13:45.462 - Created modular jar: 2.com.discreet.jar [2024-08-01T10:13:45.736Z] STF 10:13:45.462 - [2024-08-01T10:13:45.736Z] STF 10:13:45.462 - +------ Step 3 - create java.xml.jar [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - | Create modular jar [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - | ModuleVersion: null [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - | MainClass: null [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - | HashModules: null [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - | [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/modules/3.java.xml.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/3.CMJ.stderr [2024-08-01T10:13:45.737Z] STF 10:13:45.462 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/3.CMJ.stdout [2024-08-01T10:13:45.737Z] STF 10:13:45.465 - Monitoring processes: CMJ [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - Monitoring Report Summary: [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - Created modular jar: 3.java.xml.jar [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - | Run foreground process [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - | Mnemonic: OT21 [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - | Echo: ECHO_ON [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - | Expectation: CLEAN_RUN within 1m [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - | [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -classpath F:/workspace/testDependency/system_lib/junit/junit.jar;F:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/4.OT21.stderr [2024-08-01T10:13:46.047Z] STF 10:13:45.728 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/4.OT21.stdout [2024-08-01T10:13:46.047Z] STF 10:13:45.736 - Monitoring processes: OT21 [2024-08-01T10:13:46.047Z] OT21 stderr WARNING: module-info.class ignored in patch: F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-08-01T10:13:46.047Z] OT21 JUnit version 4.12 [2024-08-01T10:13:46.047Z] OT21 . [2024-08-01T10:13:46.047Z] OT21 Time: 0.003 [2024-08-01T10:13:46.047Z] OT21 [2024-08-01T10:13:46.047Z] OT21 OK (1 test) [2024-08-01T10:13:46.047Z] OT21 [2024-08-01T10:13:46.359Z] STF 10:13:46.037 - Monitoring Report Summary: [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - o Process OT21 ended with the expected exit code (0) [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - | Run foreground process [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - | Mnemonic: OT22 [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - | Echo: ECHO_ON [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - | Expectation: CLEAN_RUN within 1m [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - | [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/modules/1.com.hello.jar -classpath F:/workspace/testDependency/system_lib/junit/junit.jar;F:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/5.OT22.stderr [2024-08-01T10:13:46.360Z] STF 10:13:46.037 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatMod_AppMod_2/20240801-101343-PatModTest/results/5.OT22.stdout [2024-08-01T10:13:46.360Z] STF 10:13:46.043 - Monitoring processes: OT22 [2024-08-01T10:13:46.360Z] OT22 stderr WARNING: module-info.class ignored in patch: F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17225033243813\PatMod_AppMod_2\20240801-101343-PatModTest\modules\1.com.hello.jar [2024-08-01T10:13:46.360Z] OT22 JUnit version 4.12 [2024-08-01T10:13:46.360Z] OT22 . [2024-08-01T10:13:46.360Z] OT22 Time: 0.004 [2024-08-01T10:13:46.360Z] OT22 [2024-08-01T10:13:46.360Z] OT22 OK (1 test) [2024-08-01T10:13:46.360Z] OT22 [2024-08-01T10:13:46.671Z] STF 10:13:46.336 - Monitoring Report Summary: [2024-08-01T10:13:46.672Z] STF 10:13:46.336 - o Process OT22 ended with the expected exit code (0) [2024-08-01T10:13:46.672Z] STF 10:13:46.336 - EXECUTE stage completed [2024-08-01T10:13:46.672Z] STF 10:13:46.356 - [2024-08-01T10:13:46.672Z] STF 10:13:46.356 - ==================== T E A R D O W N ==================== [2024-08-01T10:13:46.672Z] STF 10:13:46.356 - Running teardown: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatMod_AppMod_2/20240801-101343-PatModTest/tearDown.pl [2024-08-01T10:13:46.672Z] STF 10:13:46.492 - TEARDOWN stage completed [2024-08-01T10:13:46.672Z] STF 10:13:46.508 - [2024-08-01T10:13:46.672Z] STF 10:13:46.508 - ===================== R E S U L T S ===================== [2024-08-01T10:13:46.672Z] STF 10:13:46.508 - Stage results: [2024-08-01T10:13:46.672Z] STF 10:13:46.508 - setUp: pass [2024-08-01T10:13:46.672Z] STF 10:13:46.508 - execute: pass [2024-08-01T10:13:46.672Z] STF 10:13:46.508 - teardown: pass [2024-08-01T10:13:46.672Z] STF 10:13:46.508 - [2024-08-01T10:13:46.672Z] STF 10:13:46.508 - Overall result: PASSED [2024-08-01T10:13:46.672Z] ----------------------------------- [2024-08-01T10:13:46.672Z] PatMod_AppMod_2_PASSED [2024-08-01T10:13:46.672Z] ----------------------------------- [2024-08-01T10:13:46.672Z] [2024-08-01T10:13:46.672Z] TEST TEARDOWN: [2024-08-01T10:13:46.672Z] Nothing to be done for teardown. [2024-08-01T10:13:46.986Z] PatMod_AppMod_2 Finish Time: Thu Aug 1 10:13:46 2024 Epoch Time (ms): 1722507226732