PatModImg_PlatMod_0

[2024-11-17T10:03:52.850Z] Running test PatModImg_PlatMod_0 ... [2024-11-17T10:03:53.148Z] =============================================== [2024-11-17T10:03:53.447Z] PatModImg_PlatMod_0 Start Time: Sun Nov 17 10:03:53 2024 Epoch Time (ms): 1731837833267 [2024-11-17T10:03:53.745Z] variation: Mode150 [2024-11-17T10:03:53.745Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-17T10:03:53.745Z] { \ [2024-11-17T10:03:53.745Z] echo ""; echo "TEST SETUP:"; \ [2024-11-17T10:03:53.745Z] echo "Nothing to be done for setup."; \ [2024-11-17T10:03:53.746Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\PatModImg_PlatMod_0"; \ [2024-11-17T10:03:53.746Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\PatModImg_PlatMod_0"; \ [2024-11-17T10:03:53.746Z] echo ""; echo "TESTING:"; \ [2024-11-17T10:03:53.746Z] 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\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-11-17T10:03:53.746Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_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\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-17T10:03:53.746Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-17T10:03:53.746Z] echo "Nothing to be done for teardown."; \ [2024-11-17T10:03:53.746Z] } 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:03:54.043Z] [2024-11-17T10:03:54.043Z] TEST SETUP: [2024-11-17T10:03:54.043Z] Nothing to be done for setup. [2024-11-17T10:03:54.043Z] [2024-11-17T10:03:54.043Z] TESTING: [2024-11-17T10:03:54.690Z] STF 10:03:54.330 - ========================= S T F ========================= [2024-11-17T10:03:54.690Z] 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\PatModImg_PlatMod_0 [2024-11-17T10:03:54.690Z] There is 21754 Mb free [2024-11-17T10:03:54.690Z] STF 10:03:54.407 - ================== G E N E R A T I O N ================== [2024-11-17T10:03:54.690Z] STF 10:03:54.412 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-17T10:03:54.690Z] STF 10:03:54.413 - 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\PatModImg_PlatMod_0/20241117-100354-PatModImgTest/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\PatModImg_PlatMod_0/20241117-100354-PatModImgTest" [2024-11-17T10:03:54.690Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:56.224Z] GEN 10:03:55.783 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.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:56.224Z] GEN 10:03:55.798 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-17T10:03:56.224Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-17T10:03:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] 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:56.224Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-17T10:03:56.224Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-17T10:03:56.224Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-17T10:03:56.224Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-17T10:03:56.224Z] GEN 10:03:56.080 - Using Mode NoOptions. Values = '' [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - Test command summary: [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - Step Stage Command Description [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - -----+--------+-----------------+------------ [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 1 execute jar Create com.hello jar [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 2 execute jar Create com.hola jar [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 3 execute jar Create com.helper jar [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 4 execute jar Create com.discreet jar [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 5 execute jar Create tests jar [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 6 execute jlink Create runtime image for PatchModule test [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 7 execute jar Create com.hello jar [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 8 execute jar create java.xml.jar [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-11-17T10:03:56.522Z] GEN 10:03:56.267 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-11-17T10:03:56.522Z] STF 10:03:56.317 - [2024-11-17T10:03:56.522Z] STF 10:03:56.317 - Script generation completed [2024-11-17T10:03:56.522Z] STF 10:03:56.317 - [2024-11-17T10:03:56.522Z] STF 10:03:56.320 - [2024-11-17T10:03:56.522Z] STF 10:03:56.320 - ======================= S E T U P ======================= [2024-11-17T10:03:56.523Z] STF 10:03:56.320 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatModImg_PlatMod_0/20241117-100354-PatModImgTest/setUp.pl [2024-11-17T10:03:56.820Z] STF 10:03:56.705 - SETUP stage completed [2024-11-17T10:03:56.820Z] STF 10:03:56.733 - [2024-11-17T10:03:56.821Z] STF 10:03:56.733 - ==================== E X E C U T E - ==================== [2024-11-17T10:03:56.821Z] STF 10:03:56.733 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatModImg_PlatMod_0/20241117-100354-PatModImgTest/execute.pl [2024-11-17T10:03:57.467Z] STF 10:03:57.127 - [2024-11-17T10:03:57.467Z] STF 10:03:57.127 - Java version [2024-11-17T10:03:57.467Z] STF 10:03:57.127 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-17T10:03:57.467Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:57.467Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-17T10:03:57.467Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea) [2024-11-17T10:03:57.467Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea, mixed mode) [2024-11-17T10:03:57.467Z] STF 10:03:57.274 - [2024-11-17T10:03:57.467Z] STF 10:03:57.274 - +------ Step 1 - Create com.hello jar [2024-11-17T10:03:57.467Z] STF 10:03:57.274 - | Create modular jar [2024-11-17T10:03:57.467Z] STF 10:03:57.274 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-17T10:03:57.467Z] STF 10:03:57.274 - | ModuleVersion: null [2024-11-17T10:03:57.467Z] STF 10:03:57.274 - | MainClass: null [2024-11-17T10:03:57.467Z] STF 10:03:57.274 - | HashModules: null [2024-11-17T10:03:57.467Z] STF 10:03:57.274 - | [2024-11-17T10:03:57.467Z] STF 10:03:57.276 - 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/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/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-mods\com.hello . [2024-11-17T10:03:57.467Z] STF 10:03:57.276 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/1.CMJ.stderr [2024-11-17T10:03:57.467Z] STF 10:03:57.276 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/1.CMJ.stdout [2024-11-17T10:03:57.468Z] STF 10:03:57.348 - Monitoring processes: CMJ [2024-11-17T10:03:57.468Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:58.111Z] STF 10:03:57.766 - Monitoring Report Summary: [2024-11-17T10:03:58.111Z] STF 10:03:57.766 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - Created modular jar: 1.com.hello.jar [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - +------ Step 2 - Create com.hola jar [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - | Create modular jar [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - | ModuleVersion: null [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - | MainClass: null [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - | HashModules: null [2024-11-17T10:03:58.111Z] STF 10:03:57.767 - | [2024-11-17T10:03:58.111Z] STF 10:03:57.768 - 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/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/modules/2.com.hola.jar -C 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:58.111Z] STF 10:03:57.768 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/2.CMJ.stderr [2024-11-17T10:03:58.111Z] STF 10:03:57.768 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/2.CMJ.stdout [2024-11-17T10:03:58.111Z] STF 10:03:57.776 - Monitoring processes: CMJ [2024-11-17T10:03:58.111Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:58.410Z] STF 10:03:58.207 - Monitoring Report Summary: [2024-11-17T10:03:58.410Z] STF 10:03:58.207 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - Created modular jar: 2.com.hola.jar [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - +------ Step 3 - Create com.helper jar [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - | Create modular jar [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - | ModuleVersion: null [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - | MainClass: null [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - | HashModules: null [2024-11-17T10:03:58.410Z] STF 10:03:58.208 - | [2024-11-17T10:03:58.410Z] STF 10:03:58.209 - 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/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/modules/3.com.helper.jar -C 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:58.410Z] STF 10:03:58.209 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/3.CMJ.stderr [2024-11-17T10:03:58.410Z] STF 10:03:58.209 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/3.CMJ.stdout [2024-11-17T10:03:58.410Z] STF 10:03:58.217 - Monitoring processes: CMJ [2024-11-17T10:03:58.410Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:59.058Z] STF 10:03:58.658 - Monitoring Report Summary: [2024-11-17T10:03:59.058Z] STF 10:03:58.658 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - Created modular jar: 3.com.helper.jar [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - +------ Step 4 - Create com.discreet jar [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - | Create modular jar [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - | ModuleVersion: null [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - | MainClass: null [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - | HashModules: null [2024-11-17T10:03:59.058Z] STF 10:03:58.659 - | [2024-11-17T10:03:59.058Z] STF 10:03:58.660 - 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/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/modules/4.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-mods\com.discreet . [2024-11-17T10:03:59.058Z] STF 10:03:58.660 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/4.CMJ.stderr [2024-11-17T10:03:59.058Z] STF 10:03:58.660 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/4.CMJ.stdout [2024-11-17T10:03:59.058Z] STF 10:03:58.668 - Monitoring processes: CMJ [2024-11-17T10:03:59.058Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:59.355Z] STF 10:03:59.095 - Monitoring Report Summary: [2024-11-17T10:03:59.356Z] STF 10:03:59.095 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - Created modular jar: 4.com.discreet.jar [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - +------ Step 5 - Create tests jar [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - | Create modular jar [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - | ModuleVersion: null [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - | MainClass: null [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - | HashModules: null [2024-11-17T10:03:59.356Z] STF 10:03:59.096 - | [2024-11-17T10:03:59.356Z] STF 10:03:59.097 - 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/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-17T10:03:59.356Z] STF 10:03:59.097 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/5.CMJ.stderr [2024-11-17T10:03:59.356Z] STF 10:03:59.097 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/5.CMJ.stdout [2024-11-17T10:03:59.356Z] STF 10:03:59.106 - Monitoring processes: CMJ [2024-11-17T10:03:59.356Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:03:59.654Z] STF 10:03:59.563 - Monitoring Report Summary: [2024-11-17T10:03:59.654Z] STF 10:03:59.563 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:03:59.654Z] STF 10:03:59.564 - Created modular jar: 5.com.test.jar [2024-11-17T10:03:59.654Z] STF 10:03:59.564 - [2024-11-17T10:03:59.654Z] STF 10:03:59.564 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-17T10:03:59.654Z] STF 10:03:59.564 - | Run jlink to create runtime image [2024-11-17T10:03:59.654Z] STF 10:03:59.564 - | ImageName: XpJVM [2024-11-17T10:03:59.654Z] STF 10:03:59.564 - | [2024-11-17T10:03:59.654Z] STF 10:03:59.565 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17318358094769\PatModImg_PlatMod_0\20241117-100354-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17318358094769\PatModImg_PlatMod_0\20241117-100354-PatModImgTest\tmp\6.XpJVM [2024-11-17T10:03:59.654Z] STF 10:03:59.565 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/6.JLNK.stderr [2024-11-17T10:03:59.654Z] STF 10:03:59.565 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/6.JLNK.stdout [2024-11-17T10:03:59.654Z] STF 10:03:59.596 - Monitoring processes: JLNK [2024-11-17T10:03:59.953Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:03.528Z] STF 10:04:03.220 - Monitoring Report Summary: [2024-11-17T10:04:03.528Z] STF 10:04:03.220 - o Process JLNK ended with the expected exit code (0) [2024-11-17T10:04:03.529Z] STF 10:04:03.220 - [2024-11-17T10:04:03.529Z] STF 10:04:03.220 - +------ Step 7 - Create com.hello jar [2024-11-17T10:04:03.529Z] STF 10:04:03.220 - | Create modular jar [2024-11-17T10:04:03.529Z] STF 10:04:03.220 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-17T10:04:03.529Z] STF 10:04:03.220 - | ModuleVersion: null [2024-11-17T10:04:03.529Z] STF 10:04:03.220 - | MainClass: null [2024-11-17T10:04:03.529Z] STF 10:04:03.221 - | HashModules: null [2024-11-17T10:04:03.529Z] STF 10:04:03.221 - | [2024-11-17T10:04:03.529Z] STF 10:04:03.221 - 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/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/modules/7.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:04:03.529Z] STF 10:04:03.221 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/7.CMJ.stderr [2024-11-17T10:04:03.529Z] STF 10:04:03.221 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/7.CMJ.stdout [2024-11-17T10:04:03.529Z] STF 10:04:03.230 - Monitoring processes: CMJ [2024-11-17T10:04:03.529Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:03.828Z] STF 10:04:03.672 - Monitoring Report Summary: [2024-11-17T10:04:03.828Z] STF 10:04:03.672 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - Created modular jar: 7.com.hello.jar [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - +------ Step 8 - create java.xml.jar [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - | Create modular jar [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - | ModuleVersion: null [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - | MainClass: null [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - | HashModules: null [2024-11-17T10:04:03.828Z] STF 10:04:03.673 - | [2024-11-17T10:04:03.829Z] STF 10:04:03.674 - 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/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/modules/8.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:04:03.829Z] STF 10:04:03.674 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/8.CMJ.stderr [2024-11-17T10:04:03.829Z] STF 10:04:03.674 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/8.CMJ.stdout [2024-11-17T10:04:03.829Z] STF 10:04:03.682 - Monitoring processes: CMJ [2024-11-17T10:04:03.829Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:04.476Z] STF 10:04:04.134 - Monitoring Report Summary: [2024-11-17T10:04:04.476Z] STF 10:04:04.134 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - Created modular jar: 8.java.xml.jar [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - | Run foreground process [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - | Mnemonic: OT11 [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - | Echo: ECHO_ON [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - | Expectation: CLEAN_RUN within 5m [2024-11-17T10:04:04.476Z] STF 10:04:04.135 - | [2024-11-17T10:04:04.476Z] STF 10:04:04.136 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=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 -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.TestOverrideUsingUpgradablePlatformModule [2024-11-17T10:04:04.476Z] STF 10:04:04.136 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/9.OT11.stderr [2024-11-17T10:04:04.476Z] STF 10:04:04.136 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/9.OT11.stdout [2024-11-17T10:04:04.476Z] STF 10:04:04.175 - Monitoring processes: OT11 [2024-11-17T10:04:04.476Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:04.775Z] OT11 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\java.xml [2024-11-17T10:04:04.775Z] OT11 JUnit version 4.12 [2024-11-17T10:04:04.775Z] OT11 . [2024-11-17T10:04:04.775Z] OT11 Time: 0.016 [2024-11-17T10:04:04.775Z] OT11 [2024-11-17T10:04:04.775Z] OT11 OK (1 test) [2024-11-17T10:04:04.775Z] OT11 [2024-11-17T10:04:04.775Z] STF 10:04:04.630 - Monitoring Report Summary: [2024-11-17T10:04:04.775Z] STF 10:04:04.630 - o Process OT11 ended with the expected exit code (0) [2024-11-17T10:04:04.775Z] STF 10:04:04.631 - [2024-11-17T10:04:04.775Z] STF 10:04:04.631 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-11-17T10:04:04.775Z] STF 10:04:04.631 - | Run foreground process [2024-11-17T10:04:04.775Z] STF 10:04:04.631 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-17T10:04:04.775Z] STF 10:04:04.631 - | Mnemonic: OT12 [2024-11-17T10:04:04.775Z] STF 10:04:04.631 - | Echo: ECHO_ON [2024-11-17T10:04:04.775Z] STF 10:04:04.631 - | Expectation: CLEAN_RUN within 5m [2024-11-17T10:04:04.775Z] STF 10:04:04.631 - | [2024-11-17T10:04:04.775Z] STF 10:04:04.632 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/modules/8.java.xml.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.TestOverrideUsingUpgradablePlatformModule [2024-11-17T10:04:04.775Z] STF 10:04:04.632 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/10.OT12.stderr [2024-11-17T10:04:04.775Z] STF 10:04:04.632 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_PlatMod_0/20241117-100354-PatModImgTest/results/10.OT12.stdout [2024-11-17T10:04:04.775Z] STF 10:04:04.641 - Monitoring processes: OT12 [2024-11-17T10:04:04.775Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:05.074Z] OT12 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\PatModImg_PlatMod_0\20241117-100354-PatModImgTest\modules\8.java.xml.jar [2024-11-17T10:04:05.074Z] OT12 JUnit version 4.12 [2024-11-17T10:04:05.074Z] OT12 . [2024-11-17T10:04:05.074Z] OT12 Time: 0.016 [2024-11-17T10:04:05.074Z] OT12 [2024-11-17T10:04:05.074Z] OT12 OK (1 test) [2024-11-17T10:04:05.074Z] OT12 [2024-11-17T10:04:05.371Z] STF 10:04:05.005 - Monitoring Report Summary: [2024-11-17T10:04:05.371Z] STF 10:04:05.005 - o Process OT12 ended with the expected exit code (0) [2024-11-17T10:04:05.371Z] STF 10:04:05.006 - EXECUTE stage completed [2024-11-17T10:04:05.371Z] STF 10:04:05.110 - [2024-11-17T10:04:05.371Z] STF 10:04:05.110 - ==================== T E A R D O W N ==================== [2024-11-17T10:04:05.371Z] STF 10:04:05.110 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatModImg_PlatMod_0/20241117-100354-PatModImgTest/tearDown.pl [2024-11-17T10:04:05.670Z] STF 10:04:05.502 - TEARDOWN stage completed [2024-11-17T10:04:05.670Z] STF 10:04:05.550 - [2024-11-17T10:04:05.670Z] STF 10:04:05.550 - ===================== R E S U L T S ===================== [2024-11-17T10:04:05.670Z] STF 10:04:05.550 - Stage results: [2024-11-17T10:04:05.670Z] STF 10:04:05.550 - setUp: pass [2024-11-17T10:04:05.670Z] STF 10:04:05.550 - execute: pass [2024-11-17T10:04:05.670Z] STF 10:04:05.550 - teardown: pass [2024-11-17T10:04:05.670Z] STF 10:04:05.550 - [2024-11-17T10:04:05.670Z] STF 10:04:05.550 - Overall result: PASSED [2024-11-17T10:04:05.670Z] ----------------------------------- [2024-11-17T10:04:05.670Z] PatModImg_PlatMod_0_PASSED [2024-11-17T10:04:05.670Z] ----------------------------------- [2024-11-17T10:04:05.968Z] [2024-11-17T10:04:05.968Z] TEST TEARDOWN: [2024-11-17T10:04:05.968Z] Nothing to be done for teardown. [2024-11-17T10:04:05.968Z] PatModImg_PlatMod_0 Finish Time: Sun Nov 17 10:04:05 2024 Epoch Time (ms): 1731837845955