PatModImg_AppMod_1
[2024-12-09T16:18:54.194Z] Running test PatModImg_AppMod_1 ...
[2024-12-09T16:18:54.194Z] ===============================================
[2024-12-09T16:18:54.491Z] PatModImg_AppMod_1 Start Time: Mon Dec 9 16:18:54 2024 Epoch Time (ms): 1733761134444
[2024-12-09T16:18:54.788Z] variation: Mode650
[2024-12-09T16:18:55.084Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-12-09T16:18:55.084Z] { \
[2024-12-09T16:18:55.084Z] echo ""; echo "TEST SETUP:"; \
[2024-12-09T16:18:55.084Z] echo "Nothing to be done for setup."; \
[2024-12-09T16:18:55.084Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatModImg_AppMod_1"; \
[2024-12-09T16:18:55.084Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatModImg_AppMod_1"; \
[2024-12-09T16:18:55.084Z] echo ""; echo "TESTING:"; \
[2024-12-09T16:18:55.084Z] 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_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-12-09T16:18:55.084Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_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_17337590845159\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-12-09T16:18:55.084Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-12-09T16:18:55.084Z] echo "Nothing to be done for teardown."; \
[2024-12-09T16:18:55.084Z] } 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:55.084Z]
[2024-12-09T16:18:55.084Z] TEST SETUP:
[2024-12-09T16:18:55.084Z] Nothing to be done for setup.
[2024-12-09T16:18:55.084Z]
[2024-12-09T16:18:55.084Z] TESTING:
[2024-12-09T16:18:55.731Z] STF 16:18:55.491 - ========================= S T F =========================
[2024-12-09T16:18:55.731Z] 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_AppMod_1
[2024-12-09T16:18:55.731Z] There is 19782 Mb free
[2024-12-09T16:18:55.731Z] STF 16:18:55.570 - ================== G E N E R A T I O N ==================
[2024-12-09T16:18:55.731Z] STF 16:18:55.575 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image
[2024-12-09T16:18:55.731Z] STF 16:18:55.576 - 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_AppMod_1/20241209-161855-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_AppMod_1/20241209-161855-PatModImgTest"
[2024-12-09T16:18:55.731Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:18:57.274Z] GEN 16:18:56.850 - 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:57.274Z] GEN 16:18:56.881 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-12-09T16:18:57.274Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-12-09T16:18:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] 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:57.274Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-12-09T16:18:57.274Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-12-09T16:18:57.274Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-12-09T16:18:57.274Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2024-12-09T16:18:57.274Z] GEN 16:18:57.131 - Using Mode NoOptions. Values = ''
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 -
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - Test command summary:
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - Step Stage Command Description
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - -----+--------+-----------------+------------
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 1 execute jar Create com.hello jar
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 2 execute jar Create com.hola jar
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 3 execute jar Create com.helper jar
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 4 execute jar Create com.discreet jar
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 5 execute jar Create tests jar
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 6 execute jlink Create runtime image for PatchModule test
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 7 execute jar Create com.hello jar
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 8 execute jar create java.xml.jar
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-12-09T16:18:57.573Z] GEN 16:18:57.256 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-12-09T16:18:57.573Z] STF 16:18:57.304 -
[2024-12-09T16:18:57.573Z] STF 16:18:57.304 - Script generation completed
[2024-12-09T16:18:57.573Z] STF 16:18:57.304 -
[2024-12-09T16:18:57.573Z] STF 16:18:57.307 -
[2024-12-09T16:18:57.573Z] STF 16:18:57.307 - ======================= S E T U P =======================
[2024-12-09T16:18:57.573Z] STF 16:18:57.307 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_1/20241209-161855-PatModImgTest/setUp.pl
[2024-12-09T16:18:57.872Z] STF 16:18:57.694 - SETUP stage completed
[2024-12-09T16:18:57.872Z] STF 16:18:57.721 -
[2024-12-09T16:18:57.872Z] STF 16:18:57.721 - ==================== E X E C U T E - ====================
[2024-12-09T16:18:57.872Z] STF 16:18:57.721 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_1/20241209-161855-PatModImgTest/execute.pl
[2024-12-09T16:18:58.171Z] STF 16:18:58.116 -
[2024-12-09T16:18:58.171Z] STF 16:18:58.116 - Java version
[2024-12-09T16:18:58.171Z] STF 16:18:58.116 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-12-09T16:18:58.171Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:18:58.469Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-12-09T16:18:58.469Z] OpenJDK Runtime Environment Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea)
[2024-12-09T16:18:58.469Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea, mixed mode)
[2024-12-09T16:18:58.469Z] STF 16:18:58.248 -
[2024-12-09T16:18:58.469Z] STF 16:18:58.248 - +------ Step 1 - Create com.hello jar
[2024-12-09T16:18:58.469Z] STF 16:18:58.248 - | Create modular jar
[2024-12-09T16:18:58.469Z] STF 16:18:58.248 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-12-09T16:18:58.469Z] STF 16:18:58.248 - | ModuleVersion: null
[2024-12-09T16:18:58.469Z] STF 16:18:58.248 - | MainClass: null
[2024-12-09T16:18:58.469Z] STF 16:18:58.249 - | HashModules: null
[2024-12-09T16:18:58.469Z] STF 16:18:58.249 - |
[2024-12-09T16:18:58.469Z] STF 16:18:58.250 - 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_AppMod_1/20241209-161855-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:58.469Z] STF 16:18:58.250 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/1.CMJ.stderr
[2024-12-09T16:18:58.470Z] STF 16:18:58.250 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/1.CMJ.stdout
[2024-12-09T16:18:58.470Z] STF 16:18:58.319 - Monitoring processes: CMJ
[2024-12-09T16:18:58.470Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:18:58.767Z] STF 16:18:58.727 - Monitoring Report Summary:
[2024-12-09T16:18:58.767Z] STF 16:18:58.728 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:18:58.767Z] STF 16:18:58.728 - Created modular jar: 1.com.hello.jar
[2024-12-09T16:18:58.767Z] STF 16:18:58.728 -
[2024-12-09T16:18:58.767Z] STF 16:18:58.729 - +------ Step 2 - Create com.hola jar
[2024-12-09T16:18:58.767Z] STF 16:18:58.729 - | Create modular jar
[2024-12-09T16:18:58.767Z] STF 16:18:58.729 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-12-09T16:18:58.767Z] STF 16:18:58.729 - | ModuleVersion: null
[2024-12-09T16:18:58.767Z] STF 16:18:58.729 - | MainClass: null
[2024-12-09T16:18:58.767Z] STF 16:18:58.729 - | HashModules: null
[2024-12-09T16:18:58.767Z] STF 16:18:58.729 - |
[2024-12-09T16:18:58.768Z] STF 16:18:58.729 - 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_AppMod_1/20241209-161855-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:58.768Z] STF 16:18:58.729 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/2.CMJ.stderr
[2024-12-09T16:18:58.768Z] STF 16:18:58.729 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/2.CMJ.stdout
[2024-12-09T16:18:58.768Z] STF 16:18:58.738 - Monitoring processes: CMJ
[2024-12-09T16:18:59.066Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:18:59.363Z] STF 16:18:59.163 - Monitoring Report Summary:
[2024-12-09T16:18:59.363Z] STF 16:18:59.163 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 - Created modular jar: 2.com.hola.jar
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 -
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 - +------ Step 3 - Create com.helper jar
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 - | Create modular jar
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 - | ModuleVersion: null
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 - | MainClass: null
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 - | HashModules: null
[2024-12-09T16:18:59.363Z] STF 16:18:59.164 - |
[2024-12-09T16:18:59.363Z] STF 16:18:59.165 - 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_AppMod_1/20241209-161855-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:59.363Z] STF 16:18:59.165 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/3.CMJ.stderr
[2024-12-09T16:18:59.363Z] STF 16:18:59.165 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/3.CMJ.stdout
[2024-12-09T16:18:59.363Z] STF 16:18:59.173 - Monitoring processes: CMJ
[2024-12-09T16:18:59.363Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:18:59.661Z] STF 16:18:59.585 - Monitoring Report Summary:
[2024-12-09T16:18:59.661Z] STF 16:18:59.585 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 - Created modular jar: 3.com.helper.jar
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 -
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 - +------ Step 4 - Create com.discreet jar
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 - | Create modular jar
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 - | ModuleVersion: null
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 - | MainClass: null
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 - | HashModules: null
[2024-12-09T16:18:59.661Z] STF 16:18:59.586 - |
[2024-12-09T16:18:59.661Z] STF 16:18:59.587 - 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_AppMod_1/20241209-161855-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:59.661Z] STF 16:18:59.587 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/4.CMJ.stderr
[2024-12-09T16:18:59.661Z] STF 16:18:59.587 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/4.CMJ.stdout
[2024-12-09T16:18:59.661Z] STF 16:18:59.595 - Monitoring processes: CMJ
[2024-12-09T16:18:59.959Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:19:00.257Z] STF 16:19:00.021 - Monitoring Report Summary:
[2024-12-09T16:19:00.257Z] STF 16:19:00.021 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 - Created modular jar: 4.com.discreet.jar
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 -
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 - +------ Step 5 - Create tests jar
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 - | Create modular jar
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 - | ModuleVersion: null
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 - | MainClass: null
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 - | HashModules: null
[2024-12-09T16:19:00.257Z] STF 16:19:00.022 - |
[2024-12-09T16:19:00.257Z] STF 16:19:00.023 - 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_AppMod_1/20241209-161855-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:19:00.257Z] STF 16:19:00.023 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/5.CMJ.stderr
[2024-12-09T16:19:00.257Z] STF 16:19:00.023 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/5.CMJ.stdout
[2024-12-09T16:19:00.257Z] STF 16:19:00.031 - Monitoring processes: CMJ
[2024-12-09T16:19:00.257Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:19:00.555Z] STF 16:19:00.494 - Monitoring Report Summary:
[2024-12-09T16:19:00.555Z] STF 16:19:00.494 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:19:00.555Z] STF 16:19:00.495 - Created modular jar: 5.com.test.jar
[2024-12-09T16:19:00.555Z] STF 16:19:00.495 -
[2024-12-09T16:19:00.555Z] STF 16:19:00.495 - +------ Step 6 - Create runtime image for PatchModule test
[2024-12-09T16:19:00.555Z] STF 16:19:00.495 - | Run jlink to create runtime image
[2024-12-09T16:19:00.555Z] STF 16:19:00.495 - | ImageName: XpJVM
[2024-12-09T16:19:00.555Z] STF 16:19:00.495 - |
[2024-12-09T16:19:00.555Z] STF 16:19:00.496 - 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_AppMod_1\20241209-161855-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_AppMod_1\20241209-161855-PatModImgTest\tmp\6.XpJVM
[2024-12-09T16:19:00.555Z] STF 16:19:00.496 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/6.JLNK.stderr
[2024-12-09T16:19:00.555Z] STF 16:19:00.496 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/6.JLNK.stdout
[2024-12-09T16:19:00.555Z] STF 16:19:00.504 - Monitoring processes: JLNK
[2024-12-09T16:19:00.555Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:19:03.335Z] STF 16:19:02.892 - Monitoring Report Summary:
[2024-12-09T16:19:03.335Z] STF 16:19:02.892 - o Process JLNK ended with the expected exit code (0)
[2024-12-09T16:19:03.335Z] STF 16:19:02.893 -
[2024-12-09T16:19:03.335Z] STF 16:19:02.893 - +------ Step 7 - Create com.hello jar
[2024-12-09T16:19:03.335Z] STF 16:19:02.893 - | Create modular jar
[2024-12-09T16:19:03.335Z] STF 16:19:02.893 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-12-09T16:19:03.335Z] STF 16:19:02.893 - | ModuleVersion: null
[2024-12-09T16:19:03.335Z] STF 16:19:02.893 - | MainClass: null
[2024-12-09T16:19:03.335Z] STF 16:19:02.893 - | HashModules: null
[2024-12-09T16:19:03.335Z] STF 16:19:02.894 - |
[2024-12-09T16:19:03.335Z] STF 16:19:02.894 - 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_AppMod_1/20241209-161855-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:19:03.335Z] STF 16:19:02.894 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/7.CMJ.stderr
[2024-12-09T16:19:03.335Z] STF 16:19:02.894 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/7.CMJ.stdout
[2024-12-09T16:19:03.335Z] STF 16:19:02.907 - Monitoring processes: CMJ
[2024-12-09T16:19:03.335Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:19:03.633Z] STF 16:19:03.335 - Monitoring Report Summary:
[2024-12-09T16:19:03.633Z] STF 16:19:03.335 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 - Created modular jar: 7.com.hello.jar
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 -
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 - +------ Step 8 - create java.xml.jar
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 - | Create modular jar
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 - | ModuleVersion: null
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 - | MainClass: null
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 - | HashModules: null
[2024-12-09T16:19:03.633Z] STF 16:19:03.336 - |
[2024-12-09T16:19:03.633Z] STF 16:19:03.337 - 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_AppMod_1/20241209-161855-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:19:03.633Z] STF 16:19:03.337 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/8.CMJ.stderr
[2024-12-09T16:19:03.633Z] STF 16:19:03.337 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/8.CMJ.stdout
[2024-12-09T16:19:03.633Z] STF 16:19:03.345 - Monitoring processes: CMJ
[2024-12-09T16:19:03.633Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:19:03.928Z] STF 16:19:03.772 - Monitoring Report Summary:
[2024-12-09T16:19:03.928Z] STF 16:19:03.772 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 - Created modular jar: 8.java.xml.jar
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 -
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 - | Run foreground process
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 - | Mnemonic: OT21
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 - | Echo: ECHO_ON
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 - | Expectation: CLEAN_RUN within 5m
[2024-12-09T16:19:03.928Z] STF 16:19:03.773 - |
[2024-12-09T16:19:03.928Z] STF 16:19:03.774 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=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 -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.TestOverrideUsingAppModule
[2024-12-09T16:19:03.928Z] STF 16:19:03.774 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/9.OT21.stderr
[2024-12-09T16:19:03.928Z] STF 16:19:03.774 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/9.OT21.stdout
[2024-12-09T16:19:03.928Z] STF 16:19:03.807 - Monitoring processes: OT21
[2024-12-09T16:19:03.928Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:19:04.227Z] OT21 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\com.hello
[2024-12-09T16:19:04.227Z] OT21 JUnit version 4.12
[2024-12-09T16:19:04.525Z] OT21 .
[2024-12-09T16:19:04.525Z] OT21 Time: 0.015
[2024-12-09T16:19:04.525Z] OT21
[2024-12-09T16:19:04.525Z] OT21 OK (1 test)
[2024-12-09T16:19:04.525Z] OT21
[2024-12-09T16:19:04.525Z] STF 16:19:04.240 - Monitoring Report Summary:
[2024-12-09T16:19:04.525Z] STF 16:19:04.240 - o Process OT21 ended with the expected exit code (0)
[2024-12-09T16:19:04.525Z] STF 16:19:04.241 -
[2024-12-09T16:19:04.525Z] STF 16:19:04.241 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-12-09T16:19:04.525Z] STF 16:19:04.241 - | Run foreground process
[2024-12-09T16:19:04.525Z] STF 16:19:04.241 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-12-09T16:19:04.525Z] STF 16:19:04.241 - | Mnemonic: OT22
[2024-12-09T16:19:04.525Z] STF 16:19:04.241 - | Echo: ECHO_ON
[2024-12-09T16:19:04.525Z] STF 16:19:04.241 - | Expectation: CLEAN_RUN within 5m
[2024-12-09T16:19:04.525Z] STF 16:19:04.241 - |
[2024-12-09T16:19:04.525Z] STF 16:19:04.242 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/modules/7.com.hello.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.TestOverrideUsingAppModule
[2024-12-09T16:19:04.525Z] STF 16:19:04.242 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/10.OT22.stderr
[2024-12-09T16:19:04.525Z] STF 16:19:04.242 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_1/20241209-161855-PatModImgTest/results/10.OT22.stdout
[2024-12-09T16:19:04.525Z] STF 16:19:04.251 - Monitoring processes: OT22
[2024-12-09T16:19:04.525Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:19:04.525Z] OT22 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_AppMod_1\20241209-161855-PatModImgTest\modules\7.com.hello.jar
[2024-12-09T16:19:04.824Z] OT22 JUnit version 4.12
[2024-12-09T16:19:04.824Z] OT22 .
[2024-12-09T16:19:04.824Z] OT22 Time: 0.015
[2024-12-09T16:19:04.824Z] OT22
[2024-12-09T16:19:04.824Z] OT22 OK (1 test)
[2024-12-09T16:19:04.824Z] OT22
[2024-12-09T16:19:04.824Z] STF 16:19:04.615 - Monitoring Report Summary:
[2024-12-09T16:19:04.824Z] STF 16:19:04.615 - o Process OT22 ended with the expected exit code (0)
[2024-12-09T16:19:04.824Z] STF 16:19:04.616 - EXECUTE stage completed
[2024-12-09T16:19:04.824Z] STF 16:19:04.730 -
[2024-12-09T16:19:04.824Z] STF 16:19:04.730 - ==================== T E A R D O W N ====================
[2024-12-09T16:19:04.824Z] STF 16:19:04.730 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_1/20241209-161855-PatModImgTest/tearDown.pl
[2024-12-09T16:19:05.468Z] STF 16:19:05.116 - TEARDOWN stage completed
[2024-12-09T16:19:05.468Z] STF 16:19:05.164 -
[2024-12-09T16:19:05.468Z] STF 16:19:05.164 - ===================== R E S U L T S =====================
[2024-12-09T16:19:05.468Z] STF 16:19:05.164 - Stage results:
[2024-12-09T16:19:05.468Z] STF 16:19:05.165 - setUp: pass
[2024-12-09T16:19:05.468Z] STF 16:19:05.165 - execute: pass
[2024-12-09T16:19:05.468Z] STF 16:19:05.165 - teardown: pass
[2024-12-09T16:19:05.468Z] STF 16:19:05.165 -
[2024-12-09T16:19:05.468Z] STF 16:19:05.165 - Overall result: PASSED
[2024-12-09T16:19:05.468Z] -----------------------------------
[2024-12-09T16:19:05.468Z] PatModImg_AppMod_1_PASSED
[2024-12-09T16:19:05.468Z] -----------------------------------
[2024-12-09T16:19:05.468Z]
[2024-12-09T16:19:05.468Z] TEST TEARDOWN:
[2024-12-09T16:19:05.468Z] Nothing to be done for teardown.
[2024-12-09T16:19:05.768Z] PatModImg_AppMod_1 Finish Time: Mon Dec 9 16:19:05 2024 Epoch Time (ms): 1733761145569