PatModImg_PlatMod_1

[2024-11-21T10:33:20.902Z] Running test PatModImg_PlatMod_1 ... [2024-11-21T10:33:21.194Z] =============================================== [2024-11-21T10:33:21.538Z] PatModImg_PlatMod_1 Start Time: Thu Nov 21 10:33:21 2024 Epoch Time (ms): 1732185201250 [2024-11-21T10:33:21.538Z] variation: Mode650 [2024-11-21T10:33:21.881Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-21T10:33:21.881Z] { \ [2024-11-21T10:33:21.881Z] echo ""; echo "TEST SETUP:"; \ [2024-11-21T10:33:21.881Z] echo "Nothing to be done for setup."; \ [2024-11-21T10:33:21.881Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\PatModImg_PlatMod_1"; \ [2024-11-21T10:33:21.881Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\PatModImg_PlatMod_1"; \ [2024-11-21T10:33:21.881Z] echo ""; echo "TESTING:"; \ [2024-11-21T10:33:21.881Z] 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_17321831717298\\PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-11-21T10:33:21.881Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_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_17321831717298\\PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-21T10:33:21.881Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-21T10:33:21.881Z] echo "Nothing to be done for teardown."; \ [2024-11-21T10:33:21.881Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\TestTargetResult"; [2024-11-21T10:33:21.881Z] [2024-11-21T10:33:21.881Z] TEST SETUP: [2024-11-21T10:33:21.881Z] Nothing to be done for setup. [2024-11-21T10:33:22.173Z] [2024-11-21T10:33:22.173Z] TESTING: [2024-11-21T10:33:22.474Z] STF 10:33:22.250 - ========================= S T F ========================= [2024-11-21T10:33:22.474Z] 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_17321831717298\PatModImg_PlatMod_1 [2024-11-21T10:33:22.474Z] There is 24163 Mb free [2024-11-21T10:33:22.474Z] STF 10:33:22.328 - ================== G E N E R A T I O N ================== [2024-11-21T10:33:22.474Z] STF 10:33:22.333 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-21T10:33:22.474Z] STF 10:33:22.334 - 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_17321831717298\PatModImg_PlatMod_1/20241121-103322-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_17321831717298\PatModImg_PlatMod_1/20241121-103322-PatModImgTest" [2024-11-21T10:33:22.474Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:24.001Z] GEN Java lib directory does not exist: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\lib [2024-11-21T10:33:24.001Z] GEN 10:33:23.657 - 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-21T10:33:24.001Z] GEN 10:33:23.672 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-21T10:33:24.001Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] 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-21T10:33:24.001Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-21T10:33:24.001Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-21T10:33:24.001Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-21T10:33:24.001Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-21T10:33:24.001Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-21T10:33:24.001Z] GEN Java lib directory does not exist: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\lib [2024-11-21T10:33:24.001Z] GEN 10:33:23.922 - Using Mode NoOptions. Values = '' [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - Test command summary: [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - Step Stage Command Description [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - -----+--------+-----------------+------------ [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 1 execute jar Create com.hello jar [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 2 execute jar Create com.hola jar [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 3 execute jar Create com.helper jar [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 4 execute jar Create com.discreet jar [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 5 execute jar Create tests jar [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 6 execute jlink Create runtime image for PatchModule test [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 7 execute jar Create com.hello jar [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 8 execute jar create java.xml.jar [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-11-21T10:33:24.304Z] GEN 10:33:24.063 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-11-21T10:33:24.304Z] STF 10:33:24.124 - [2024-11-21T10:33:24.304Z] STF 10:33:24.124 - Script generation completed [2024-11-21T10:33:24.304Z] STF 10:33:24.124 - [2024-11-21T10:33:24.304Z] STF 10:33:24.127 - [2024-11-21T10:33:24.304Z] STF 10:33:24.127 - ======================= S E T U P ======================= [2024-11-21T10:33:24.304Z] STF 10:33:24.127 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_PlatMod_1/20241121-103322-PatModImgTest/setUp.pl [2024-11-21T10:33:24.607Z] STF 10:33:24.500 - SETUP stage completed [2024-11-21T10:33:24.607Z] STF 10:33:24.552 - [2024-11-21T10:33:24.607Z] STF 10:33:24.552 - ==================== E X E C U T E - ==================== [2024-11-21T10:33:24.607Z] STF 10:33:24.552 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_PlatMod_1/20241121-103322-PatModImgTest/execute.pl [2024-11-21T10:33:25.251Z] STF 10:33:24.938 - [2024-11-21T10:33:25.251Z] STF 10:33:24.938 - Java version [2024-11-21T10:33:25.251Z] STF 10:33:24.938 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-21T10:33:25.251Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:25.251Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-21T10:33:25.251Z] OpenJDK Runtime Environment Temurin-21.0.6+4-202411202006 (build 21.0.6-beta+4-ea) [2024-11-21T10:33:25.251Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+4-202411202006 (build 21.0.6-beta+4-ea, mixed mode) [2024-11-21T10:33:25.251Z] STF 10:33:25.082 - [2024-11-21T10:33:25.251Z] STF 10:33:25.082 - +------ Step 1 - Create com.hello jar [2024-11-21T10:33:25.251Z] STF 10:33:25.082 - | Create modular jar [2024-11-21T10:33:25.251Z] STF 10:33:25.082 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-21T10:33:25.252Z] STF 10:33:25.082 - | ModuleVersion: null [2024-11-21T10:33:25.252Z] STF 10:33:25.082 - | MainClass: null [2024-11-21T10:33:25.252Z] STF 10:33:25.082 - | HashModules: null [2024-11-21T10:33:25.252Z] STF 10:33:25.082 - | [2024-11-21T10:33:25.252Z] STF 10:33:25.083 - 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_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:25.252Z] STF 10:33:25.084 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/1.CMJ.stderr [2024-11-21T10:33:25.252Z] STF 10:33:25.084 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/1.CMJ.stdout [2024-11-21T10:33:25.252Z] STF 10:33:25.153 - Monitoring processes: CMJ [2024-11-21T10:33:25.252Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:25.896Z] STF 10:33:25.599 - Monitoring Report Summary: [2024-11-21T10:33:25.897Z] STF 10:33:25.599 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - Created modular jar: 1.com.hello.jar [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - +------ Step 2 - Create com.hola jar [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - | Create modular jar [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - | ModuleVersion: null [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - | MainClass: null [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - | HashModules: null [2024-11-21T10:33:25.897Z] STF 10:33:25.600 - | [2024-11-21T10:33:25.897Z] STF 10:33:25.601 - 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_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:25.897Z] STF 10:33:25.601 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/2.CMJ.stderr [2024-11-21T10:33:25.897Z] STF 10:33:25.601 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/2.CMJ.stdout [2024-11-21T10:33:25.897Z] STF 10:33:25.609 - Monitoring processes: CMJ [2024-11-21T10:33:25.897Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:26.200Z] STF 10:33:26.034 - Monitoring Report Summary: [2024-11-21T10:33:26.200Z] STF 10:33:26.034 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - Created modular jar: 2.com.hola.jar [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - +------ Step 3 - Create com.helper jar [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - | Create modular jar [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - | ModuleVersion: null [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - | MainClass: null [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - | HashModules: null [2024-11-21T10:33:26.200Z] STF 10:33:26.035 - | [2024-11-21T10:33:26.200Z] STF 10:33:26.036 - 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_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:26.200Z] STF 10:33:26.036 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/3.CMJ.stderr [2024-11-21T10:33:26.200Z] STF 10:33:26.036 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/3.CMJ.stdout [2024-11-21T10:33:26.200Z] STF 10:33:26.044 - Monitoring processes: CMJ [2024-11-21T10:33:26.200Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:26.846Z] STF 10:33:26.499 - Monitoring Report Summary: [2024-11-21T10:33:26.846Z] STF 10:33:26.499 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - Created modular jar: 3.com.helper.jar [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - +------ Step 4 - Create com.discreet jar [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - | Create modular jar [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - | ModuleVersion: null [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - | MainClass: null [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - | HashModules: null [2024-11-21T10:33:26.846Z] STF 10:33:26.500 - | [2024-11-21T10:33:26.846Z] STF 10:33:26.501 - 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_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:26.846Z] STF 10:33:26.501 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/4.CMJ.stderr [2024-11-21T10:33:26.846Z] STF 10:33:26.501 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/4.CMJ.stdout [2024-11-21T10:33:26.846Z] STF 10:33:26.509 - Monitoring processes: CMJ [2024-11-21T10:33:26.846Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:27.149Z] STF 10:33:26.921 - Monitoring Report Summary: [2024-11-21T10:33:27.149Z] STF 10:33:26.921 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - Created modular jar: 4.com.discreet.jar [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - +------ Step 5 - Create tests jar [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - | Create modular jar [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - | ModuleVersion: null [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - | MainClass: null [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - | HashModules: null [2024-11-21T10:33:27.149Z] STF 10:33:26.922 - | [2024-11-21T10:33:27.149Z] STF 10:33:26.923 - 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_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:27.149Z] STF 10:33:26.923 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/5.CMJ.stderr [2024-11-21T10:33:27.149Z] STF 10:33:26.923 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/5.CMJ.stdout [2024-11-21T10:33:27.149Z] STF 10:33:26.931 - Monitoring processes: CMJ [2024-11-21T10:33:27.149Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:27.455Z] STF 10:33:27.379 - Monitoring Report Summary: [2024-11-21T10:33:27.455Z] STF 10:33:27.379 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:33:27.455Z] STF 10:33:27.380 - Created modular jar: 5.com.test.jar [2024-11-21T10:33:27.455Z] STF 10:33:27.380 - [2024-11-21T10:33:27.455Z] STF 10:33:27.380 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-21T10:33:27.455Z] STF 10:33:27.380 - | Run jlink to create runtime image [2024-11-21T10:33:27.455Z] STF 10:33:27.380 - | ImageName: XpJVM [2024-11-21T10:33:27.455Z] STF 10:33:27.380 - | [2024-11-21T10:33:27.455Z] STF 10:33:27.381 - 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_17321831717298\PatModImg_PlatMod_1\20241121-103322-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_17321831717298\PatModImg_PlatMod_1\20241121-103322-PatModImgTest\tmp\6.XpJVM [2024-11-21T10:33:27.455Z] STF 10:33:27.381 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/6.JLNK.stderr [2024-11-21T10:33:27.455Z] STF 10:33:27.381 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/6.JLNK.stdout [2024-11-21T10:33:27.455Z] STF 10:33:27.390 - Monitoring processes: JLNK [2024-11-21T10:33:27.757Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:30.606Z] STF 10:33:29.890 - Monitoring Report Summary: [2024-11-21T10:33:30.607Z] STF 10:33:29.890 - o Process JLNK ended with the expected exit code (0) [2024-11-21T10:33:30.607Z] STF 10:33:29.891 - [2024-11-21T10:33:30.607Z] STF 10:33:29.891 - +------ Step 7 - Create com.hello jar [2024-11-21T10:33:30.607Z] STF 10:33:29.891 - | Create modular jar [2024-11-21T10:33:30.607Z] STF 10:33:29.891 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-21T10:33:30.607Z] STF 10:33:29.891 - | ModuleVersion: null [2024-11-21T10:33:30.607Z] STF 10:33:29.891 - | MainClass: null [2024-11-21T10:33:30.607Z] STF 10:33:29.891 - | HashModules: null [2024-11-21T10:33:30.607Z] STF 10:33:29.891 - | [2024-11-21T10:33:30.607Z] STF 10:33:29.892 - 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_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:30.607Z] STF 10:33:29.892 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/7.CMJ.stderr [2024-11-21T10:33:30.607Z] STF 10:33:29.892 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/7.CMJ.stdout [2024-11-21T10:33:30.607Z] STF 10:33:29.900 - Monitoring processes: CMJ [2024-11-21T10:33:30.607Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:30.607Z] STF 10:33:30.332 - Monitoring Report Summary: [2024-11-21T10:33:30.607Z] STF 10:33:30.332 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - Created modular jar: 7.com.hello.jar [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - +------ Step 8 - create java.xml.jar [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - | Create modular jar [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - | ModuleVersion: null [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - | MainClass: null [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - | HashModules: null [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - | [2024-11-21T10:33:30.607Z] STF 10:33:30.333 - 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_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:30.607Z] STF 10:33:30.334 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/8.CMJ.stderr [2024-11-21T10:33:30.607Z] STF 10:33:30.334 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/8.CMJ.stdout [2024-11-21T10:33:30.607Z] STF 10:33:30.341 - Monitoring processes: CMJ [2024-11-21T10:33:30.607Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:30.926Z] STF 10:33:30.769 - Monitoring Report Summary: [2024-11-21T10:33:30.926Z] STF 10:33:30.769 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:33:30.926Z] STF 10:33:30.770 - Created modular jar: 8.java.xml.jar [2024-11-21T10:33:30.926Z] STF 10:33:30.770 - [2024-11-21T10:33:30.926Z] STF 10:33:30.770 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-11-21T10:33:30.926Z] STF 10:33:30.770 - | Run foreground process [2024-11-21T10:33:30.926Z] STF 10:33:30.770 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-21T10:33:30.926Z] STF 10:33:30.770 - | Mnemonic: OT11 [2024-11-21T10:33:30.926Z] STF 10:33:30.770 - | Echo: ECHO_ON [2024-11-21T10:33:30.926Z] STF 10:33:30.770 - | Expectation: CLEAN_RUN within 5m [2024-11-21T10:33:30.926Z] STF 10:33:30.771 - | [2024-11-21T10:33:30.926Z] STF 10:33:30.771 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:30.926Z] STF 10:33:30.771 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/9.OT11.stderr [2024-11-21T10:33:30.926Z] STF 10:33:30.771 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/9.OT11.stdout [2024-11-21T10:33:30.926Z] STF 10:33:30.805 - Monitoring processes: OT11 [2024-11-21T10:33:31.230Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:31.230Z] 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-21T10:33:31.536Z] OT11 JUnit version 4.12 [2024-11-21T10:33:31.536Z] OT11 . [2024-11-21T10:33:31.536Z] OT11 Time: 0 [2024-11-21T10:33:31.536Z] OT11 [2024-11-21T10:33:31.536Z] OT11 OK (1 test) [2024-11-21T10:33:31.536Z] OT11 [2024-11-21T10:33:31.536Z] STF 10:33:31.250 - Monitoring Report Summary: [2024-11-21T10:33:31.536Z] STF 10:33:31.250 - o Process OT11 ended with the expected exit code (0) [2024-11-21T10:33:31.536Z] STF 10:33:31.251 - [2024-11-21T10:33:31.536Z] STF 10:33:31.251 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-11-21T10:33:31.536Z] STF 10:33:31.251 - | Run foreground process [2024-11-21T10:33:31.536Z] STF 10:33:31.251 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-21T10:33:31.536Z] STF 10:33:31.251 - | Mnemonic: OT12 [2024-11-21T10:33:31.536Z] STF 10:33:31.251 - | Echo: ECHO_ON [2024-11-21T10:33:31.536Z] STF 10:33:31.251 - | Expectation: CLEAN_RUN within 5m [2024-11-21T10:33:31.536Z] STF 10:33:31.251 - | [2024-11-21T10:33:31.536Z] STF 10:33:31.252 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-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_17321831717298/PatModImg_PlatMod_1/20241121-103322-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-21T10:33:31.536Z] STF 10:33:31.252 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/10.OT12.stderr [2024-11-21T10:33:31.536Z] STF 10:33:31.252 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_PlatMod_1/20241121-103322-PatModImgTest/results/10.OT12.stdout [2024-11-21T10:33:31.536Z] STF 10:33:31.261 - Monitoring processes: OT12 [2024-11-21T10:33:31.536Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:33:31.536Z] 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_17321831717298\PatModImg_PlatMod_1\20241121-103322-PatModImgTest\modules\8.java.xml.jar [2024-11-21T10:33:31.536Z] OT12 JUnit version 4.12 [2024-11-21T10:33:31.826Z] OT12 . [2024-11-21T10:33:31.826Z] OT12 Time: 0.016 [2024-11-21T10:33:31.826Z] OT12 [2024-11-21T10:33:31.826Z] OT12 OK (1 test) [2024-11-21T10:33:31.826Z] OT12 [2024-11-21T10:33:31.826Z] STF 10:33:31.645 - Monitoring Report Summary: [2024-11-21T10:33:31.826Z] STF 10:33:31.645 - o Process OT12 ended with the expected exit code (0) [2024-11-21T10:33:31.826Z] STF 10:33:31.646 - EXECUTE stage completed [2024-11-21T10:33:31.826Z] STF 10:33:31.758 - [2024-11-21T10:33:31.827Z] STF 10:33:31.758 - ==================== T E A R D O W N ==================== [2024-11-21T10:33:31.827Z] STF 10:33:31.758 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_PlatMod_1/20241121-103322-PatModImgTest/tearDown.pl [2024-11-21T10:33:32.489Z] STF 10:33:32.141 - TEARDOWN stage completed [2024-11-21T10:33:32.489Z] STF 10:33:32.192 - [2024-11-21T10:33:32.489Z] STF 10:33:32.192 - ===================== R E S U L T S ===================== [2024-11-21T10:33:32.489Z] STF 10:33:32.192 - Stage results: [2024-11-21T10:33:32.489Z] STF 10:33:32.193 - setUp: pass [2024-11-21T10:33:32.489Z] STF 10:33:32.193 - execute: pass [2024-11-21T10:33:32.489Z] STF 10:33:32.193 - teardown: pass [2024-11-21T10:33:32.489Z] STF 10:33:32.193 - [2024-11-21T10:33:32.489Z] STF 10:33:32.193 - Overall result: PASSED [2024-11-21T10:33:32.489Z] ----------------------------------- [2024-11-21T10:33:32.489Z] PatModImg_PlatMod_1_PASSED [2024-11-21T10:33:32.489Z] ----------------------------------- [2024-11-21T10:33:32.489Z] [2024-11-21T10:33:32.489Z] TEST TEARDOWN: [2024-11-21T10:33:32.489Z] Nothing to be done for teardown. [2024-11-21T10:33:32.782Z] PatModImg_PlatMod_1 Finish Time: Thu Nov 21 10:33:32 2024 Epoch Time (ms): 1732185212610