PatModImg_PlatMod_0

[2024-12-09T16:18:15.440Z] Running test PatModImg_PlatMod_0 ... [2024-12-09T16:18:15.736Z] =============================================== [2024-12-09T16:18:16.030Z] PatModImg_PlatMod_0 Start Time: Mon Dec 9 16:18:15 2024 Epoch Time (ms): 1733761095819 [2024-12-09T16:18:16.336Z] variation: Mode150 [2024-12-09T16:18:16.336Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-12-09T16:18:16.336Z] { \ [2024-12-09T16:18:16.336Z] echo ""; echo "TEST SETUP:"; \ [2024-12-09T16:18:16.336Z] echo "Nothing to be done for setup."; \ [2024-12-09T16:18:16.336Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatModImg_PlatMod_0"; \ [2024-12-09T16:18:16.336Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatModImg_PlatMod_0"; \ [2024-12-09T16:18:16.336Z] echo ""; echo "TESTING:"; \ [2024-12-09T16:18:16.336Z] 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_17337590845159\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-12-09T16:18:16.336Z] 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_17337590845159\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-09T16:18:16.336Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-09T16:18:16.336Z] echo "Nothing to be done for teardown."; \ [2024-12-09T16:18:16.336Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\TestTargetResult"; [2024-12-09T16:18:16.634Z] [2024-12-09T16:18:16.634Z] TEST SETUP: [2024-12-09T16:18:16.634Z] Nothing to be done for setup. [2024-12-09T16:18:16.634Z] [2024-12-09T16:18:16.634Z] TESTING: [2024-12-09T16:18:16.934Z] STF 16:18:16.835 - ========================= S T F ========================= [2024-12-09T16:18:16.934Z] 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_17337590845159\PatModImg_PlatMod_0 [2024-12-09T16:18:17.233Z] There is 19784 Mb free [2024-12-09T16:18:17.233Z] STF 16:18:16.913 - ================== G E N E R A T I O N ================== [2024-12-09T16:18:17.233Z] STF 16:18:16.918 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-12-09T16:18:17.233Z] STF 16:18:16.918 - 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_17337590845159\PatModImg_PlatMod_0/20241209-161816-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_17337590845159\PatModImg_PlatMod_0/20241209-161816-PatModImgTest" [2024-12-09T16:18:17.233Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:18.296Z] GEN 16:18:18.116 - 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-12-09T16:18:18.296Z] GEN 16:18:18.131 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-12-09T16:18:18.599Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] 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-12-09T16:18:18.599Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-12-09T16:18:18.599Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-12-09T16:18:18.599Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-12-09T16:18:18.599Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-12-09T16:18:18.599Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-09T16:18:18.599Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-09T16:18:18.599Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-09T16:18:18.599Z] GEN 16:18:18.381 - Using Mode NoOptions. Values = '' [2024-12-09T16:18:18.898Z] GEN 16:18:18.585 - [2024-12-09T16:18:18.898Z] GEN 16:18:18.585 - Test command summary: [2024-12-09T16:18:18.898Z] GEN 16:18:18.585 - Step Stage Command Description [2024-12-09T16:18:18.898Z] GEN 16:18:18.585 - -----+--------+-----------------+------------ [2024-12-09T16:18:18.898Z] GEN 16:18:18.585 - 1 execute jar Create com.hello jar [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 2 execute jar Create com.hola jar [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 3 execute jar Create com.helper jar [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 4 execute jar Create com.discreet jar [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 5 execute jar Create tests jar [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 6 execute jlink Create runtime image for PatchModule test [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 7 execute jar Create com.hello jar [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 8 execute jar create java.xml.jar [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-12-09T16:18:18.899Z] GEN 16:18:18.585 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-12-09T16:18:18.899Z] STF 16:18:18.640 - [2024-12-09T16:18:18.899Z] STF 16:18:18.640 - Script generation completed [2024-12-09T16:18:18.899Z] STF 16:18:18.640 - [2024-12-09T16:18:18.899Z] STF 16:18:18.642 - [2024-12-09T16:18:18.899Z] STF 16:18:18.643 - ======================= S E T U P ======================= [2024-12-09T16:18:18.899Z] STF 16:18:18.643 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_PlatMod_0/20241209-161816-PatModImgTest/setUp.pl [2024-12-09T16:18:19.198Z] STF 16:18:19.038 - SETUP stage completed [2024-12-09T16:18:19.198Z] STF 16:18:19.089 - [2024-12-09T16:18:19.198Z] STF 16:18:19.089 - ==================== E X E C U T E - ==================== [2024-12-09T16:18:19.198Z] STF 16:18:19.089 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_PlatMod_0/20241209-161816-PatModImgTest/execute.pl [2024-12-09T16:18:19.496Z] STF 16:18:19.460 - [2024-12-09T16:18:19.496Z] STF 16:18:19.460 - Java version [2024-12-09T16:18:19.496Z] STF 16:18:19.460 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-12-09T16:18:19.795Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:19.795Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-12-09T16:18:19.795Z] OpenJDK Runtime Environment Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea) [2024-12-09T16:18:19.795Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea, mixed mode) [2024-12-09T16:18:19.795Z] STF 16:18:19.582 - [2024-12-09T16:18:19.795Z] STF 16:18:19.583 - +------ Step 1 - Create com.hello jar [2024-12-09T16:18:19.795Z] STF 16:18:19.583 - | Create modular jar [2024-12-09T16:18:19.795Z] STF 16:18:19.583 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-12-09T16:18:19.795Z] STF 16:18:19.583 - | ModuleVersion: null [2024-12-09T16:18:19.795Z] STF 16:18:19.583 - | MainClass: null [2024-12-09T16:18:19.795Z] STF 16:18:19.583 - | HashModules: null [2024-12-09T16:18:19.795Z] STF 16:18:19.583 - | [2024-12-09T16:18:19.795Z] STF 16:18:19.584 - 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_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:19.795Z] STF 16:18:19.584 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/1.CMJ.stderr [2024-12-09T16:18:19.795Z] STF 16:18:19.584 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/1.CMJ.stdout [2024-12-09T16:18:19.795Z] STF 16:18:19.652 - Monitoring processes: CMJ [2024-12-09T16:18:19.795Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:20.442Z] STF 16:18:20.074 - Monitoring Report Summary: [2024-12-09T16:18:20.442Z] STF 16:18:20.074 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - Created modular jar: 1.com.hello.jar [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - +------ Step 2 - Create com.hola jar [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - | Create modular jar [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - | ModuleVersion: null [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - | MainClass: null [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - | HashModules: null [2024-12-09T16:18:20.442Z] STF 16:18:20.075 - | [2024-12-09T16:18:20.442Z] STF 16:18:20.076 - 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_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:20.442Z] STF 16:18:20.076 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/2.CMJ.stderr [2024-12-09T16:18:20.442Z] STF 16:18:20.076 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/2.CMJ.stdout [2024-12-09T16:18:20.442Z] STF 16:18:20.084 - Monitoring processes: CMJ [2024-12-09T16:18:20.442Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:20.739Z] STF 16:18:20.508 - Monitoring Report Summary: [2024-12-09T16:18:20.739Z] STF 16:18:20.508 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - Created modular jar: 2.com.hola.jar [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - +------ Step 3 - Create com.helper jar [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - | Create modular jar [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - | ModuleVersion: null [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - | MainClass: null [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - | HashModules: null [2024-12-09T16:18:20.739Z] STF 16:18:20.509 - | [2024-12-09T16:18:20.739Z] STF 16:18:20.510 - 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_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:20.739Z] STF 16:18:20.510 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/3.CMJ.stderr [2024-12-09T16:18:20.739Z] STF 16:18:20.510 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/3.CMJ.stdout [2024-12-09T16:18:20.739Z] STF 16:18:20.518 - Monitoring processes: CMJ [2024-12-09T16:18:20.739Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:21.037Z] STF 16:18:20.930 - Monitoring Report Summary: [2024-12-09T16:18:21.037Z] STF 16:18:20.930 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - Created modular jar: 3.com.helper.jar [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - +------ Step 4 - Create com.discreet jar [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - | Create modular jar [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - | ModuleVersion: null [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - | MainClass: null [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - | HashModules: null [2024-12-09T16:18:21.037Z] STF 16:18:20.931 - | [2024-12-09T16:18:21.037Z] STF 16:18:20.932 - 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_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:21.037Z] STF 16:18:20.932 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/4.CMJ.stderr [2024-12-09T16:18:21.037Z] STF 16:18:20.932 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/4.CMJ.stdout [2024-12-09T16:18:21.037Z] STF 16:18:20.940 - Monitoring processes: CMJ [2024-12-09T16:18:21.037Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:21.686Z] STF 16:18:21.366 - Monitoring Report Summary: [2024-12-09T16:18:21.686Z] STF 16:18:21.366 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - Created modular jar: 4.com.discreet.jar [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - +------ Step 5 - Create tests jar [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - | Create modular jar [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - | ModuleVersion: null [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - | MainClass: null [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - | HashModules: null [2024-12-09T16:18:21.686Z] STF 16:18:21.367 - | [2024-12-09T16:18:21.686Z] STF 16:18:21.368 - 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_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:21.686Z] STF 16:18:21.368 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/5.CMJ.stderr [2024-12-09T16:18:21.686Z] STF 16:18:21.368 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/5.CMJ.stdout [2024-12-09T16:18:21.686Z] STF 16:18:21.376 - Monitoring processes: CMJ [2024-12-09T16:18:21.686Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:21.983Z] STF 16:18:21.820 - Monitoring Report Summary: [2024-12-09T16:18:21.983Z] STF 16:18:21.820 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:21.983Z] STF 16:18:21.821 - Created modular jar: 5.com.test.jar [2024-12-09T16:18:21.983Z] STF 16:18:21.821 - [2024-12-09T16:18:21.983Z] STF 16:18:21.821 - +------ Step 6 - Create runtime image for PatchModule test [2024-12-09T16:18:21.983Z] STF 16:18:21.821 - | Run jlink to create runtime image [2024-12-09T16:18:21.983Z] STF 16:18:21.821 - | ImageName: XpJVM [2024-12-09T16:18:21.983Z] STF 16:18:21.821 - | [2024-12-09T16:18:21.983Z] STF 16:18:21.822 - 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_17337590845159\PatModImg_PlatMod_0\20241209-161816-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_17337590845159\PatModImg_PlatMod_0\20241209-161816-PatModImgTest\tmp\6.XpJVM [2024-12-09T16:18:21.983Z] STF 16:18:21.822 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/6.JLNK.stderr [2024-12-09T16:18:21.983Z] STF 16:18:21.822 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/6.JLNK.stdout [2024-12-09T16:18:21.983Z] STF 16:18:21.854 - Monitoring processes: JLNK [2024-12-09T16:18:21.983Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:25.563Z] STF 16:18:25.041 - Monitoring Report Summary: [2024-12-09T16:18:25.563Z] STF 16:18:25.041 - o Process JLNK ended with the expected exit code (0) [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - +------ Step 7 - Create com.hello jar [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - | Create modular jar [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - | ModuleVersion: null [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - | MainClass: null [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - | HashModules: null [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - | [2024-12-09T16:18:25.563Z] STF 16:18:25.042 - 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_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:25.563Z] STF 16:18:25.043 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/7.CMJ.stderr [2024-12-09T16:18:25.563Z] STF 16:18:25.043 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/7.CMJ.stdout [2024-12-09T16:18:25.563Z] STF 16:18:25.060 - Monitoring processes: CMJ [2024-12-09T16:18:25.563Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:25.860Z] STF 16:18:25.552 - Monitoring Report Summary: [2024-12-09T16:18:25.860Z] STF 16:18:25.553 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:25.861Z] STF 16:18:25.553 - Created modular jar: 7.com.hello.jar [2024-12-09T16:18:25.861Z] STF 16:18:25.553 - [2024-12-09T16:18:25.861Z] STF 16:18:25.553 - +------ Step 8 - create java.xml.jar [2024-12-09T16:18:25.861Z] STF 16:18:25.553 - | Create modular jar [2024-12-09T16:18:25.861Z] STF 16:18:25.554 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-12-09T16:18:25.861Z] STF 16:18:25.554 - | ModuleVersion: null [2024-12-09T16:18:25.861Z] STF 16:18:25.554 - | MainClass: null [2024-12-09T16:18:25.861Z] STF 16:18:25.554 - | HashModules: null [2024-12-09T16:18:25.861Z] STF 16:18:25.554 - | [2024-12-09T16:18:25.861Z] STF 16:18:25.554 - 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_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:25.861Z] STF 16:18:25.554 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/8.CMJ.stderr [2024-12-09T16:18:25.861Z] STF 16:18:25.554 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/8.CMJ.stdout [2024-12-09T16:18:25.861Z] STF 16:18:25.562 - Monitoring processes: CMJ [2024-12-09T16:18:25.861Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:26.160Z] STF 16:18:25.990 - Monitoring Report Summary: [2024-12-09T16:18:26.160Z] STF 16:18:25.990 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - Created modular jar: 8.java.xml.jar [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - | Run foreground process [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/tmp/6.XpJVM/bin/java [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - | Mnemonic: OT11 [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - | Echo: ECHO_ON [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - | Expectation: CLEAN_RUN within 5m [2024-12-09T16:18:26.160Z] STF 16:18:25.991 - | [2024-12-09T16:18:26.160Z] STF 16:18:25.992 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:26.160Z] STF 16:18:25.992 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/9.OT11.stderr [2024-12-09T16:18:26.160Z] STF 16:18:25.992 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/9.OT11.stdout [2024-12-09T16:18:26.160Z] STF 16:18:26.024 - Monitoring processes: OT11 [2024-12-09T16:18:26.160Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:26.459Z] 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-12-09T16:18:26.459Z] OT11 JUnit version 4.12 [2024-12-09T16:18:26.459Z] OT11 . [2024-12-09T16:18:26.459Z] OT11 Time: 0 [2024-12-09T16:18:26.459Z] OT11 [2024-12-09T16:18:26.459Z] OT11 OK (1 test) [2024-12-09T16:18:26.459Z] OT11 [2024-12-09T16:18:26.459Z] STF 16:18:26.417 - Monitoring Report Summary: [2024-12-09T16:18:26.459Z] STF 16:18:26.417 - o Process OT11 ended with the expected exit code (0) [2024-12-09T16:18:26.459Z] STF 16:18:26.418 - [2024-12-09T16:18:26.459Z] STF 16:18:26.418 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-12-09T16:18:26.459Z] STF 16:18:26.418 - | Run foreground process [2024-12-09T16:18:26.460Z] STF 16:18:26.418 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/tmp/6.XpJVM/bin/java [2024-12-09T16:18:26.460Z] STF 16:18:26.418 - | Mnemonic: OT12 [2024-12-09T16:18:26.460Z] STF 16:18:26.418 - | Echo: ECHO_ON [2024-12-09T16:18:26.460Z] STF 16:18:26.418 - | Expectation: CLEAN_RUN within 5m [2024-12-09T16:18:26.460Z] STF 16:18:26.418 - | [2024-12-09T16:18:26.460Z] STF 16:18:26.419 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-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_17337590845159/PatModImg_PlatMod_0/20241209-161816-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-12-09T16:18:26.460Z] STF 16:18:26.419 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/10.OT12.stderr [2024-12-09T16:18:26.460Z] STF 16:18:26.419 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_PlatMod_0/20241209-161816-PatModImgTest/results/10.OT12.stdout [2024-12-09T16:18:26.762Z] STF 16:18:26.486 - Monitoring processes: OT12 [2024-12-09T16:18:26.762Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:26.762Z] 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_17337590845159\PatModImg_PlatMod_0\20241209-161816-PatModImgTest\modules\8.java.xml.jar [2024-12-09T16:18:26.762Z] OT12 JUnit version 4.12 [2024-12-09T16:18:27.062Z] OT12 . [2024-12-09T16:18:27.062Z] OT12 Time: 0 [2024-12-09T16:18:27.062Z] OT12 [2024-12-09T16:18:27.062Z] OT12 OK (1 test) [2024-12-09T16:18:27.062Z] OT12 [2024-12-09T16:18:27.062Z] STF 16:18:26.853 - Monitoring Report Summary: [2024-12-09T16:18:27.062Z] STF 16:18:26.854 - o Process OT12 ended with the expected exit code (0) [2024-12-09T16:18:27.062Z] STF 16:18:26.854 - EXECUTE stage completed [2024-12-09T16:18:27.062Z] STF 16:18:26.964 - [2024-12-09T16:18:27.062Z] STF 16:18:26.964 - ==================== T E A R D O W N ==================== [2024-12-09T16:18:27.062Z] STF 16:18:26.964 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_PlatMod_0/20241209-161816-PatModImgTest/tearDown.pl [2024-12-09T16:18:27.709Z] STF 16:18:27.335 - TEARDOWN stage completed [2024-12-09T16:18:27.709Z] STF 16:18:27.386 - [2024-12-09T16:18:27.709Z] STF 16:18:27.386 - ===================== R E S U L T S ===================== [2024-12-09T16:18:27.709Z] STF 16:18:27.386 - Stage results: [2024-12-09T16:18:27.709Z] STF 16:18:27.386 - setUp: pass [2024-12-09T16:18:27.709Z] STF 16:18:27.386 - execute: pass [2024-12-09T16:18:27.709Z] STF 16:18:27.386 - teardown: pass [2024-12-09T16:18:27.709Z] STF 16:18:27.386 - [2024-12-09T16:18:27.709Z] STF 16:18:27.386 - Overall result: PASSED [2024-12-09T16:18:27.709Z] ----------------------------------- [2024-12-09T16:18:27.709Z] PatModImg_PlatMod_0_PASSED [2024-12-09T16:18:27.709Z] ----------------------------------- [2024-12-09T16:18:27.709Z] [2024-12-09T16:18:27.709Z] TEST TEARDOWN: [2024-12-09T16:18:27.709Z] Nothing to be done for teardown. [2024-12-09T16:18:28.005Z] PatModImg_PlatMod_0 Finish Time: Mon Dec 9 16:18:27 2024 Epoch Time (ms): 1733761107788