PatModImg_PlatMod_1

[2024-10-31T00:42:13.630Z] Running test PatModImg_PlatMod_1 ... [2024-10-31T00:42:13.917Z] =============================================== [2024-10-31T00:42:14.256Z] PatModImg_PlatMod_1 Start Time: Thu Oct 31 00:42:13 2024 Epoch Time (ms): 1730335333983 [2024-10-31T00:42:14.256Z] variation: Mode650 [2024-10-31T00:42:14.544Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-10-31T00:42:14.544Z] { \ [2024-10-31T00:42:14.544Z] echo ""; echo "TEST SETUP:"; \ [2024-10-31T00:42:14.544Z] echo "Nothing to be done for setup."; \ [2024-10-31T00:42:14.544Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\PatModImg_PlatMod_1"; \ [2024-10-31T00:42:14.544Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\PatModImg_PlatMod_1"; \ [2024-10-31T00:42:14.544Z] echo ""; echo "TESTING:"; \ [2024-10-31T00:42:14.544Z] 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_17303333119957\\PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-10-31T00:42:14.544Z] 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_17303333119957\\PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-31T00:42:14.544Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-31T00:42:14.544Z] echo "Nothing to be done for teardown."; \ [2024-10-31T00:42:14.544Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\TestTargetResult"; [2024-10-31T00:42:14.882Z] [2024-10-31T00:42:14.882Z] TEST SETUP: [2024-10-31T00:42:14.882Z] Nothing to be done for setup. [2024-10-31T00:42:14.882Z] [2024-10-31T00:42:14.882Z] TESTING: [2024-10-31T00:42:15.182Z] STF 00:42:14.967 - ========================= S T F ========================= [2024-10-31T00:42:15.182Z] 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_17303333119957\PatModImg_PlatMod_1 [2024-10-31T00:42:15.182Z] There is 32538 Mb free [2024-10-31T00:42:15.182Z] STF 00:42:15.044 - ================== G E N E R A T I O N ================== [2024-10-31T00:42:15.182Z] STF 00:42:15.050 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-31T00:42:15.182Z] STF 00:42:15.050 - 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_17303333119957\PatModImg_PlatMod_1/20241031-004214-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_17303333119957\PatModImg_PlatMod_1/20241031-004214-PatModImgTest" [2024-10-31T00:42:15.478Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:16.540Z] GEN 00:42:16.327 - 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-10-31T00:42:16.540Z] GEN 00:42:16.342 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-10-31T00:42:16.838Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-31T00:42:16.838Z] 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-10-31T00:42:16.838Z] 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-10-31T00:42:16.838Z] 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-10-31T00:42:16.838Z] 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-10-31T00:42:16.838Z] 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-10-31T00:42:16.838Z] 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-10-31T00:42:16.838Z] 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-10-31T00:42:16.839Z] 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-10-31T00:42:16.839Z] 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-10-31T00:42:16.839Z] 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-10-31T00:42:16.839Z] 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-10-31T00:42:16.839Z] 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-10-31T00:42:16.839Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-31T00:42:16.839Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-31T00:42:16.839Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-31T00:42:16.839Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-31T00:42:16.839Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-31T00:42:16.839Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-31T00:42:16.839Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-31T00:42:16.839Z] GEN 00:42:16.608 - Using Mode NoOptions. Values = '' [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - Test command summary: [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - Step Stage Command Description [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - -----+--------+-----------------+------------ [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 1 execute jar Create com.hello jar [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 2 execute jar Create com.hola jar [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 3 execute jar Create com.helper jar [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 4 execute jar Create com.discreet jar [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 5 execute jar Create tests jar [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 6 execute jlink Create runtime image for PatchModule test [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 7 execute jar Create com.hello jar [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 8 execute jar create java.xml.jar [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-10-31T00:42:16.839Z] GEN 00:42:16.748 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-10-31T00:42:16.839Z] STF 00:42:16.800 - [2024-10-31T00:42:16.839Z] STF 00:42:16.800 - Script generation completed [2024-10-31T00:42:16.839Z] STF 00:42:16.800 - [2024-10-31T00:42:16.839Z] STF 00:42:16.803 - [2024-10-31T00:42:16.839Z] STF 00:42:16.803 - ======================= S E T U P ======================= [2024-10-31T00:42:16.839Z] STF 00:42:16.803 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatModImg_PlatMod_1/20241031-004214-PatModImgTest/setUp.pl [2024-10-31T00:42:17.474Z] STF 00:42:17.170 - SETUP stage completed [2024-10-31T00:42:17.474Z] STF 00:42:17.219 - [2024-10-31T00:42:17.474Z] STF 00:42:17.219 - ==================== E X E C U T E - ==================== [2024-10-31T00:42:17.474Z] STF 00:42:17.219 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatModImg_PlatMod_1/20241031-004214-PatModImgTest/execute.pl [2024-10-31T00:42:17.773Z] STF 00:42:17.592 - [2024-10-31T00:42:17.773Z] STF 00:42:17.592 - Java version [2024-10-31T00:42:17.773Z] STF 00:42:17.593 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-31T00:42:17.773Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:17.773Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-10-31T00:42:17.773Z] OpenJDK Runtime Environment Temurin-21.0.6+1-202410302002 (build 21.0.6-beta+1-ea) [2024-10-31T00:42:17.773Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+1-202410302002 (build 21.0.6-beta+1-ea, mixed mode) [2024-10-31T00:42:18.074Z] STF 00:42:17.729 - [2024-10-31T00:42:18.074Z] STF 00:42:17.730 - +------ Step 1 - Create com.hello jar [2024-10-31T00:42:18.074Z] STF 00:42:17.730 - | Create modular jar [2024-10-31T00:42:18.074Z] STF 00:42:17.730 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-31T00:42:18.074Z] STF 00:42:17.730 - | ModuleVersion: null [2024-10-31T00:42:18.074Z] STF 00:42:17.730 - | MainClass: null [2024-10-31T00:42:18.074Z] STF 00:42:17.730 - | HashModules: null [2024-10-31T00:42:18.074Z] STF 00:42:17.730 - | [2024-10-31T00:42:18.074Z] STF 00:42:17.731 - 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_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:18.074Z] STF 00:42:17.731 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/1.CMJ.stderr [2024-10-31T00:42:18.074Z] STF 00:42:17.731 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/1.CMJ.stdout [2024-10-31T00:42:18.074Z] STF 00:42:17.801 - Monitoring processes: CMJ [2024-10-31T00:42:18.074Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:18.370Z] STF 00:42:18.238 - Monitoring Report Summary: [2024-10-31T00:42:18.370Z] STF 00:42:18.238 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - Created modular jar: 1.com.hello.jar [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - +------ Step 2 - Create com.hola jar [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - | Create modular jar [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - | ModuleVersion: null [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - | MainClass: null [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - | HashModules: null [2024-10-31T00:42:18.370Z] STF 00:42:18.239 - | [2024-10-31T00:42:18.370Z] STF 00:42:18.240 - 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_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:18.370Z] STF 00:42:18.240 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/2.CMJ.stderr [2024-10-31T00:42:18.371Z] STF 00:42:18.240 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/2.CMJ.stdout [2024-10-31T00:42:18.371Z] STF 00:42:18.248 - Monitoring processes: CMJ [2024-10-31T00:42:18.371Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:19.004Z] STF 00:42:18.673 - Monitoring Report Summary: [2024-10-31T00:42:19.004Z] STF 00:42:18.673 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - Created modular jar: 2.com.hola.jar [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - +------ Step 3 - Create com.helper jar [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - | Create modular jar [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - | ModuleVersion: null [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - | MainClass: null [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - | HashModules: null [2024-10-31T00:42:19.004Z] STF 00:42:18.674 - | [2024-10-31T00:42:19.005Z] STF 00:42:18.675 - 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_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:19.005Z] STF 00:42:18.675 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/3.CMJ.stderr [2024-10-31T00:42:19.005Z] STF 00:42:18.675 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/3.CMJ.stdout [2024-10-31T00:42:19.005Z] STF 00:42:18.683 - Monitoring processes: CMJ [2024-10-31T00:42:19.005Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:19.302Z] STF 00:42:19.108 - Monitoring Report Summary: [2024-10-31T00:42:19.302Z] STF 00:42:19.108 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - Created modular jar: 3.com.helper.jar [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - +------ Step 4 - Create com.discreet jar [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - | Create modular jar [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - | ModuleVersion: null [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - | MainClass: null [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - | HashModules: null [2024-10-31T00:42:19.302Z] STF 00:42:19.109 - | [2024-10-31T00:42:19.302Z] STF 00:42:19.110 - 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_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:19.302Z] STF 00:42:19.110 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/4.CMJ.stderr [2024-10-31T00:42:19.302Z] STF 00:42:19.110 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/4.CMJ.stdout [2024-10-31T00:42:19.302Z] STF 00:42:19.118 - Monitoring processes: CMJ [2024-10-31T00:42:19.302Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:19.926Z] STF 00:42:19.545 - Monitoring Report Summary: [2024-10-31T00:42:19.926Z] STF 00:42:19.545 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - Created modular jar: 4.com.discreet.jar [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - +------ Step 5 - Create tests jar [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - | Create modular jar [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - | ModuleVersion: null [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - | MainClass: null [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - | HashModules: null [2024-10-31T00:42:19.926Z] STF 00:42:19.546 - | [2024-10-31T00:42:19.926Z] STF 00:42:19.547 - 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_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:19.926Z] STF 00:42:19.547 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/5.CMJ.stderr [2024-10-31T00:42:19.927Z] STF 00:42:19.547 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/5.CMJ.stdout [2024-10-31T00:42:19.927Z] STF 00:42:19.555 - Monitoring processes: CMJ [2024-10-31T00:42:19.927Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:20.224Z] STF 00:42:20.048 - Monitoring Report Summary: [2024-10-31T00:42:20.224Z] STF 00:42:20.049 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:42:20.224Z] STF 00:42:20.049 - Created modular jar: 5.com.test.jar [2024-10-31T00:42:20.224Z] STF 00:42:20.050 - [2024-10-31T00:42:20.224Z] STF 00:42:20.050 - +------ Step 6 - Create runtime image for PatchModule test [2024-10-31T00:42:20.224Z] STF 00:42:20.050 - | Run jlink to create runtime image [2024-10-31T00:42:20.224Z] STF 00:42:20.050 - | ImageName: XpJVM [2024-10-31T00:42:20.224Z] STF 00:42:20.050 - | [2024-10-31T00:42:20.224Z] STF 00:42:20.050 - 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_17303333119957\PatModImg_PlatMod_1\20241031-004214-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_17303333119957\PatModImg_PlatMod_1\20241031-004214-PatModImgTest\tmp\6.XpJVM [2024-10-31T00:42:20.224Z] STF 00:42:20.050 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/6.JLNK.stderr [2024-10-31T00:42:20.224Z] STF 00:42:20.050 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/6.JLNK.stdout [2024-10-31T00:42:20.224Z] STF 00:42:20.059 - Monitoring processes: JLNK [2024-10-31T00:42:20.224Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:22.944Z] STF 00:42:22.601 - Monitoring Report Summary: [2024-10-31T00:42:22.944Z] STF 00:42:22.602 - o Process JLNK ended with the expected exit code (0) [2024-10-31T00:42:22.944Z] STF 00:42:22.602 - [2024-10-31T00:42:22.944Z] STF 00:42:22.602 - +------ Step 7 - Create com.hello jar [2024-10-31T00:42:22.944Z] STF 00:42:22.602 - | Create modular jar [2024-10-31T00:42:22.944Z] STF 00:42:22.603 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-31T00:42:22.944Z] STF 00:42:22.603 - | ModuleVersion: null [2024-10-31T00:42:22.944Z] STF 00:42:22.603 - | MainClass: null [2024-10-31T00:42:22.944Z] STF 00:42:22.603 - | HashModules: null [2024-10-31T00:42:22.944Z] STF 00:42:22.603 - | [2024-10-31T00:42:22.944Z] STF 00:42:22.603 - 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_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:22.944Z] STF 00:42:22.603 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/7.CMJ.stderr [2024-10-31T00:42:22.944Z] STF 00:42:22.603 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/7.CMJ.stdout [2024-10-31T00:42:22.944Z] STF 00:42:22.611 - Monitoring processes: CMJ [2024-10-31T00:42:22.944Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:23.242Z] STF 00:42:23.064 - Monitoring Report Summary: [2024-10-31T00:42:23.242Z] STF 00:42:23.064 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - Created modular jar: 7.com.hello.jar [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - +------ Step 8 - create java.xml.jar [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - | Create modular jar [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - | ModuleVersion: null [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - | MainClass: null [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - | HashModules: null [2024-10-31T00:42:23.242Z] STF 00:42:23.065 - | [2024-10-31T00:42:23.242Z] STF 00:42:23.066 - 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_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:23.242Z] STF 00:42:23.066 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/8.CMJ.stderr [2024-10-31T00:42:23.242Z] STF 00:42:23.066 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/8.CMJ.stdout [2024-10-31T00:42:23.242Z] STF 00:42:23.074 - Monitoring processes: CMJ [2024-10-31T00:42:23.242Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:23.887Z] STF 00:42:23.502 - Monitoring Report Summary: [2024-10-31T00:42:23.887Z] STF 00:42:23.502 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - Created modular jar: 8.java.xml.jar [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - | Run foreground process [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/tmp/6.XpJVM/bin/java [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - | Mnemonic: OT11 [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - | Echo: ECHO_ON [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - | Expectation: CLEAN_RUN within 5m [2024-10-31T00:42:23.887Z] STF 00:42:23.503 - | [2024-10-31T00:42:23.887Z] STF 00:42:23.504 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:23.887Z] STF 00:42:23.504 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/9.OT11.stderr [2024-10-31T00:42:23.887Z] STF 00:42:23.504 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/9.OT11.stdout [2024-10-31T00:42:23.887Z] STF 00:42:23.537 - Monitoring processes: OT11 [2024-10-31T00:42:23.887Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:23.887Z] 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-10-31T00:42:24.187Z] OT11 JUnit version 4.12 [2024-10-31T00:42:24.187Z] OT11 . [2024-10-31T00:42:24.187Z] OT11 Time: 0.016 [2024-10-31T00:42:24.187Z] OT11 [2024-10-31T00:42:24.187Z] OT11 OK (1 test) [2024-10-31T00:42:24.187Z] OT11 [2024-10-31T00:42:24.187Z] STF 00:42:23.983 - Monitoring Report Summary: [2024-10-31T00:42:24.187Z] STF 00:42:23.983 - o Process OT11 ended with the expected exit code (0) [2024-10-31T00:42:24.187Z] STF 00:42:23.984 - [2024-10-31T00:42:24.187Z] STF 00:42:23.984 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-10-31T00:42:24.187Z] STF 00:42:23.984 - | Run foreground process [2024-10-31T00:42:24.187Z] STF 00:42:23.984 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/tmp/6.XpJVM/bin/java [2024-10-31T00:42:24.187Z] STF 00:42:23.984 - | Mnemonic: OT12 [2024-10-31T00:42:24.187Z] STF 00:42:23.984 - | Echo: ECHO_ON [2024-10-31T00:42:24.187Z] STF 00:42:23.984 - | Expectation: CLEAN_RUN within 5m [2024-10-31T00:42:24.187Z] STF 00:42:23.984 - | [2024-10-31T00:42:24.187Z] STF 00:42:23.985 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-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_17303333119957/PatModImg_PlatMod_1/20241031-004214-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-10-31T00:42:24.187Z] STF 00:42:23.985 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/10.OT12.stderr [2024-10-31T00:42:24.187Z] STF 00:42:23.985 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_PlatMod_1/20241031-004214-PatModImgTest/results/10.OT12.stdout [2024-10-31T00:42:24.187Z] STF 00:42:23.995 - Monitoring processes: OT12 [2024-10-31T00:42:24.187Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:42:24.485Z] 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_17303333119957\PatModImg_PlatMod_1\20241031-004214-PatModImgTest\modules\8.java.xml.jar [2024-10-31T00:42:24.485Z] OT12 JUnit version 4.12 [2024-10-31T00:42:24.485Z] OT12 . [2024-10-31T00:42:24.485Z] OT12 Time: 0 [2024-10-31T00:42:24.485Z] OT12 [2024-10-31T00:42:24.485Z] OT12 OK (1 test) [2024-10-31T00:42:24.485Z] OT12 [2024-10-31T00:42:24.485Z] STF 00:42:24.374 - Monitoring Report Summary: [2024-10-31T00:42:24.485Z] STF 00:42:24.374 - o Process OT12 ended with the expected exit code (0) [2024-10-31T00:42:24.485Z] STF 00:42:24.375 - EXECUTE stage completed [2024-10-31T00:42:24.485Z] STF 00:42:24.449 - [2024-10-31T00:42:24.485Z] STF 00:42:24.449 - ==================== T E A R D O W N ==================== [2024-10-31T00:42:24.485Z] STF 00:42:24.449 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatModImg_PlatMod_1/20241031-004214-PatModImgTest/tearDown.pl [2024-10-31T00:42:25.126Z] STF 00:42:24.827 - TEARDOWN stage completed [2024-10-31T00:42:25.126Z] STF 00:42:24.878 - [2024-10-31T00:42:25.126Z] STF 00:42:24.878 - ===================== R E S U L T S ===================== [2024-10-31T00:42:25.126Z] STF 00:42:24.878 - Stage results: [2024-10-31T00:42:25.126Z] STF 00:42:24.878 - setUp: pass [2024-10-31T00:42:25.126Z] STF 00:42:24.878 - execute: pass [2024-10-31T00:42:25.126Z] STF 00:42:24.878 - teardown: pass [2024-10-31T00:42:25.126Z] STF 00:42:24.878 - [2024-10-31T00:42:25.126Z] STF 00:42:24.878 - Overall result: PASSED [2024-10-31T00:42:25.126Z] ----------------------------------- [2024-10-31T00:42:25.126Z] PatModImg_PlatMod_1_PASSED [2024-10-31T00:42:25.126Z] ----------------------------------- [2024-10-31T00:42:25.126Z] [2024-10-31T00:42:25.126Z] TEST TEARDOWN: [2024-10-31T00:42:25.126Z] Nothing to be done for teardown. [2024-10-31T00:42:25.414Z] PatModImg_PlatMod_1 Finish Time: Thu Oct 31 00:42:25 2024 Epoch Time (ms): 1730335345264