PatModImg_AppMod_0
[2024-10-31T00:42:27.625Z] Running test PatModImg_AppMod_0 ...
[2024-10-31T00:42:27.625Z] ===============================================
[2024-10-31T00:42:27.914Z] PatModImg_AppMod_0 Start Time: Thu Oct 31 00:42:27 2024 Epoch Time (ms): 1730335347764
[2024-10-31T00:42:28.253Z] variation: Mode150
[2024-10-31T00:42:28.253Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-10-31T00:42:28.253Z] { \
[2024-10-31T00:42:28.253Z] echo ""; echo "TEST SETUP:"; \
[2024-10-31T00:42:28.253Z] echo "Nothing to be done for setup."; \
[2024-10-31T00:42:28.253Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\PatModImg_AppMod_0"; \
[2024-10-31T00:42:28.253Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\PatModImg_AppMod_0"; \
[2024-10-31T00:42:28.253Z] echo ""; echo "TESTING:"; \
[2024-10-31T00:42:28.253Z] 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_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-10-31T00:42:28.253Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_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_17303333119957\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-10-31T00:42:28.253Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-10-31T00:42:28.253Z] echo "Nothing to be done for teardown."; \
[2024-10-31T00:42:28.253Z] } 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:28.593Z]
[2024-10-31T00:42:28.593Z] TEST SETUP:
[2024-10-31T00:42:28.593Z] Nothing to be done for setup.
[2024-10-31T00:42:28.593Z]
[2024-10-31T00:42:28.593Z] TESTING:
[2024-10-31T00:42:28.933Z] STF 00:42:28.780 - ========================= S T F =========================
[2024-10-31T00:42:28.933Z] 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_AppMod_0
[2024-10-31T00:42:29.222Z] There is 32536 Mb free
[2024-10-31T00:42:29.222Z] STF 00:42:28.862 - ================== G E N E R A T I O N ==================
[2024-10-31T00:42:29.222Z] STF 00:42:28.868 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image
[2024-10-31T00:42:29.222Z] STF 00:42:28.868 - 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_AppMod_0/20241031-004228-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_AppMod_0/20241031-004228-PatModImgTest"
[2024-10-31T00:42:29.222Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:30.262Z] GEN 00:42:30.139 - 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:30.262Z] GEN 00:42:30.155 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-10-31T00:42:30.562Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-10-31T00:42:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] 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:30.562Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-10-31T00:42:30.562Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-10-31T00:42:30.562Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-10-31T00:42:30.562Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2024-10-31T00:42:30.562Z] GEN 00:42:30.420 - Using Mode NoOptions. Values = ''
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 -
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - Test command summary:
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - Step Stage Command Description
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - -----+--------+-----------------+------------
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 1 execute jar Create com.hello jar
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 2 execute jar Create com.hola jar
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 3 execute jar Create com.helper jar
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 4 execute jar Create com.discreet jar
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 5 execute jar Create tests jar
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 6 execute jlink Create runtime image for PatchModule test
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 7 execute jar Create com.hello jar
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 8 execute jar create java.xml.jar
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-10-31T00:42:30.860Z] GEN 00:42:30.545 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-10-31T00:42:30.860Z] STF 00:42:30.614 -
[2024-10-31T00:42:30.860Z] STF 00:42:30.615 - Script generation completed
[2024-10-31T00:42:30.860Z] STF 00:42:30.615 -
[2024-10-31T00:42:30.860Z] STF 00:42:30.617 -
[2024-10-31T00:42:30.860Z] STF 00:42:30.617 - ======================= S E T U P =======================
[2024-10-31T00:42:30.860Z] STF 00:42:30.617 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatModImg_AppMod_0/20241031-004228-PatModImgTest/setUp.pl
[2024-10-31T00:42:31.158Z] STF 00:42:30.998 - SETUP stage completed
[2024-10-31T00:42:31.158Z] STF 00:42:31.046 -
[2024-10-31T00:42:31.158Z] STF 00:42:31.047 - ==================== E X E C U T E - ====================
[2024-10-31T00:42:31.158Z] STF 00:42:31.047 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatModImg_AppMod_0/20241031-004228-PatModImgTest/execute.pl
[2024-10-31T00:42:31.795Z] STF 00:42:31.436 -
[2024-10-31T00:42:31.795Z] STF 00:42:31.436 - Java version
[2024-10-31T00:42:31.795Z] STF 00:42:31.436 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-10-31T00:42:31.795Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:31.795Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-10-31T00:42:31.795Z] OpenJDK Runtime Environment Temurin-21.0.6+1-202410302002 (build 21.0.6-beta+1-ea)
[2024-10-31T00:42:31.795Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+1-202410302002 (build 21.0.6-beta+1-ea, mixed mode)
[2024-10-31T00:42:31.795Z] STF 00:42:31.567 -
[2024-10-31T00:42:31.795Z] STF 00:42:31.567 - +------ Step 1 - Create com.hello jar
[2024-10-31T00:42:31.795Z] STF 00:42:31.567 - | Create modular jar
[2024-10-31T00:42:31.795Z] STF 00:42:31.567 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-10-31T00:42:31.795Z] STF 00:42:31.567 - | ModuleVersion: null
[2024-10-31T00:42:31.795Z] STF 00:42:31.567 - | MainClass: null
[2024-10-31T00:42:31.795Z] STF 00:42:31.567 - | HashModules: null
[2024-10-31T00:42:31.795Z] STF 00:42:31.568 - |
[2024-10-31T00:42:31.795Z] STF 00:42:31.569 - 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_AppMod_0/20241031-004228-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:31.795Z] STF 00:42:31.569 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/1.CMJ.stderr
[2024-10-31T00:42:31.795Z] STF 00:42:31.569 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/1.CMJ.stdout
[2024-10-31T00:42:31.795Z] STF 00:42:31.639 - Monitoring processes: CMJ
[2024-10-31T00:42:31.795Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:32.422Z] STF 00:42:32.082 - Monitoring Report Summary:
[2024-10-31T00:42:32.422Z] STF 00:42:32.082 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 - Created modular jar: 1.com.hello.jar
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 -
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 - +------ Step 2 - Create com.hola jar
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 - | Create modular jar
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 - | ModuleVersion: null
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 - | MainClass: null
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 - | HashModules: null
[2024-10-31T00:42:32.422Z] STF 00:42:32.083 - |
[2024-10-31T00:42:32.422Z] STF 00:42:32.084 - 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_AppMod_0/20241031-004228-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:32.422Z] STF 00:42:32.084 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/2.CMJ.stderr
[2024-10-31T00:42:32.422Z] STF 00:42:32.084 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/2.CMJ.stdout
[2024-10-31T00:42:32.422Z] STF 00:42:32.092 - Monitoring processes: CMJ
[2024-10-31T00:42:32.422Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:32.720Z] STF 00:42:32.551 - Monitoring Report Summary:
[2024-10-31T00:42:32.720Z] STF 00:42:32.551 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 - Created modular jar: 2.com.hola.jar
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 -
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 - +------ Step 3 - Create com.helper jar
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 - | Create modular jar
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 - | ModuleVersion: null
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 - | MainClass: null
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 - | HashModules: null
[2024-10-31T00:42:32.720Z] STF 00:42:32.552 - |
[2024-10-31T00:42:32.720Z] STF 00:42:32.553 - 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_AppMod_0/20241031-004228-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:32.720Z] STF 00:42:32.553 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/3.CMJ.stderr
[2024-10-31T00:42:32.720Z] STF 00:42:32.553 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/3.CMJ.stdout
[2024-10-31T00:42:32.720Z] STF 00:42:32.560 - Monitoring processes: CMJ
[2024-10-31T00:42:32.720Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:33.357Z] STF 00:42:33.013 - Monitoring Report Summary:
[2024-10-31T00:42:33.357Z] STF 00:42:33.013 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T00:42:33.357Z] STF 00:42:33.014 - Created modular jar: 3.com.helper.jar
[2024-10-31T00:42:33.357Z] STF 00:42:33.014 -
[2024-10-31T00:42:33.357Z] STF 00:42:33.014 - +------ Step 4 - Create com.discreet jar
[2024-10-31T00:42:33.357Z] STF 00:42:33.014 - | Create modular jar
[2024-10-31T00:42:33.357Z] STF 00:42:33.014 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-10-31T00:42:33.357Z] STF 00:42:33.015 - | ModuleVersion: null
[2024-10-31T00:42:33.357Z] STF 00:42:33.015 - | MainClass: null
[2024-10-31T00:42:33.357Z] STF 00:42:33.015 - | HashModules: null
[2024-10-31T00:42:33.357Z] STF 00:42:33.015 - |
[2024-10-31T00:42:33.357Z] STF 00:42:33.015 - 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_AppMod_0/20241031-004228-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:33.357Z] STF 00:42:33.015 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/4.CMJ.stderr
[2024-10-31T00:42:33.357Z] STF 00:42:33.015 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/4.CMJ.stdout
[2024-10-31T00:42:33.357Z] STF 00:42:33.023 - Monitoring processes: CMJ
[2024-10-31T00:42:33.357Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:33.655Z] STF 00:42:33.470 - Monitoring Report Summary:
[2024-10-31T00:42:33.655Z] STF 00:42:33.470 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T00:42:33.655Z] STF 00:42:33.471 - Created modular jar: 4.com.discreet.jar
[2024-10-31T00:42:33.655Z] STF 00:42:33.471 -
[2024-10-31T00:42:33.655Z] STF 00:42:33.471 - +------ Step 5 - Create tests jar
[2024-10-31T00:42:33.655Z] STF 00:42:33.471 - | Create modular jar
[2024-10-31T00:42:33.655Z] STF 00:42:33.471 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-10-31T00:42:33.655Z] STF 00:42:33.471 - | ModuleVersion: null
[2024-10-31T00:42:33.656Z] STF 00:42:33.471 - | MainClass: null
[2024-10-31T00:42:33.656Z] STF 00:42:33.472 - | HashModules: null
[2024-10-31T00:42:33.656Z] STF 00:42:33.472 - |
[2024-10-31T00:42:33.656Z] STF 00:42:33.473 - 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_AppMod_0/20241031-004228-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:33.656Z] STF 00:42:33.473 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/5.CMJ.stderr
[2024-10-31T00:42:33.656Z] STF 00:42:33.473 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/5.CMJ.stdout
[2024-10-31T00:42:33.656Z] STF 00:42:33.481 - Monitoring processes: CMJ
[2024-10-31T00:42:33.656Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:34.297Z] STF 00:42:33.939 - Monitoring Report Summary:
[2024-10-31T00:42:34.297Z] STF 00:42:33.939 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T00:42:34.297Z] STF 00:42:33.940 - Created modular jar: 5.com.test.jar
[2024-10-31T00:42:34.297Z] STF 00:42:33.940 -
[2024-10-31T00:42:34.297Z] STF 00:42:33.940 - +------ Step 6 - Create runtime image for PatchModule test
[2024-10-31T00:42:34.297Z] STF 00:42:33.940 - | Run jlink to create runtime image
[2024-10-31T00:42:34.297Z] STF 00:42:33.940 - | ImageName: XpJVM
[2024-10-31T00:42:34.297Z] STF 00:42:33.940 - |
[2024-10-31T00:42:34.298Z] STF 00:42:33.941 - 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_AppMod_0\20241031-004228-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_AppMod_0\20241031-004228-PatModImgTest\tmp\6.XpJVM
[2024-10-31T00:42:34.298Z] STF 00:42:33.941 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/6.JLNK.stderr
[2024-10-31T00:42:34.298Z] STF 00:42:33.941 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/6.JLNK.stdout
[2024-10-31T00:42:34.298Z] STF 00:42:33.949 - Monitoring processes: JLNK
[2024-10-31T00:42:34.298Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:37.024Z] STF 00:42:36.539 - Monitoring Report Summary:
[2024-10-31T00:42:37.024Z] STF 00:42:36.539 - o Process JLNK ended with the expected exit code (0)
[2024-10-31T00:42:37.024Z] STF 00:42:36.540 -
[2024-10-31T00:42:37.024Z] STF 00:42:36.540 - +------ Step 7 - Create com.hello jar
[2024-10-31T00:42:37.024Z] STF 00:42:36.540 - | Create modular jar
[2024-10-31T00:42:37.024Z] STF 00:42:36.540 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-10-31T00:42:37.024Z] STF 00:42:36.540 - | ModuleVersion: null
[2024-10-31T00:42:37.024Z] STF 00:42:36.540 - | MainClass: null
[2024-10-31T00:42:37.024Z] STF 00:42:36.540 - | HashModules: null
[2024-10-31T00:42:37.024Z] STF 00:42:36.540 - |
[2024-10-31T00:42:37.024Z] STF 00:42:36.541 - 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_AppMod_0/20241031-004228-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:37.024Z] STF 00:42:36.541 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/7.CMJ.stderr
[2024-10-31T00:42:37.024Z] STF 00:42:36.541 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/7.CMJ.stdout
[2024-10-31T00:42:37.024Z] STF 00:42:36.548 - Monitoring processes: CMJ
[2024-10-31T00:42:37.024Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:37.348Z] STF 00:42:36.982 - Monitoring Report Summary:
[2024-10-31T00:42:37.348Z] STF 00:42:36.982 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 - Created modular jar: 7.com.hello.jar
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 -
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 - +------ Step 8 - create java.xml.jar
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 - | Create modular jar
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 - | ModuleVersion: null
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 - | MainClass: null
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 - | HashModules: null
[2024-10-31T00:42:37.348Z] STF 00:42:36.983 - |
[2024-10-31T00:42:37.349Z] STF 00:42:36.983 - 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_AppMod_0/20241031-004228-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:37.349Z] STF 00:42:36.984 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/8.CMJ.stderr
[2024-10-31T00:42:37.349Z] STF 00:42:36.984 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/8.CMJ.stdout
[2024-10-31T00:42:37.349Z] STF 00:42:36.992 - Monitoring processes: CMJ
[2024-10-31T00:42:37.349Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:37.646Z] STF 00:42:37.439 - Monitoring Report Summary:
[2024-10-31T00:42:37.646Z] STF 00:42:37.439 - o Process CMJ ended with the expected exit code (0)
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 - Created modular jar: 8.java.xml.jar
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 -
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 - | Run foreground process
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 - | Mnemonic: OT21
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 - | Echo: ECHO_ON
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 - | Expectation: CLEAN_RUN within 5m
[2024-10-31T00:42:37.646Z] STF 00:42:37.440 - |
[2024-10-31T00:42:37.646Z] STF 00:42:37.441 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-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-10-31T00:42:37.646Z] STF 00:42:37.441 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/9.OT21.stderr
[2024-10-31T00:42:37.646Z] STF 00:42:37.441 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/9.OT21.stdout
[2024-10-31T00:42:37.646Z] STF 00:42:37.474 - Monitoring processes: OT21
[2024-10-31T00:42:37.646Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:37.945Z] 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-10-31T00:42:37.945Z] OT21 JUnit version 4.12
[2024-10-31T00:42:38.243Z] OT21 .
[2024-10-31T00:42:38.243Z] OT21 Time: 0.016
[2024-10-31T00:42:38.243Z] OT21
[2024-10-31T00:42:38.243Z] OT21 OK (1 test)
[2024-10-31T00:42:38.243Z] OT21
[2024-10-31T00:42:38.243Z] STF 00:42:37.952 - Monitoring Report Summary:
[2024-10-31T00:42:38.243Z] STF 00:42:37.952 - o Process OT21 ended with the expected exit code (0)
[2024-10-31T00:42:38.243Z] STF 00:42:37.953 -
[2024-10-31T00:42:38.243Z] STF 00:42:37.953 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-10-31T00:42:38.243Z] STF 00:42:37.953 - | Run foreground process
[2024-10-31T00:42:38.243Z] STF 00:42:37.953 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-10-31T00:42:38.243Z] STF 00:42:37.953 - | Mnemonic: OT22
[2024-10-31T00:42:38.243Z] STF 00:42:37.953 - | Echo: ECHO_ON
[2024-10-31T00:42:38.243Z] STF 00:42:37.953 - | Expectation: CLEAN_RUN within 5m
[2024-10-31T00:42:38.243Z] STF 00:42:37.953 - |
[2024-10-31T00:42:38.243Z] STF 00:42:37.954 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-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_17303333119957/PatModImg_AppMod_0/20241031-004228-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-10-31T00:42:38.243Z] STF 00:42:37.954 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/10.OT22.stderr
[2024-10-31T00:42:38.243Z] STF 00:42:37.954 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/PatModImg_AppMod_0/20241031-004228-PatModImgTest/results/10.OT22.stdout
[2024-10-31T00:42:38.243Z] STF 00:42:37.963 - Monitoring processes: OT22
[2024-10-31T00:42:38.243Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-10-31T00:42:38.243Z] 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_17303333119957\PatModImg_AppMod_0\20241031-004228-PatModImgTest\modules\7.com.hello.jar
[2024-10-31T00:42:38.543Z] OT22 JUnit version 4.12
[2024-10-31T00:42:38.543Z] OT22 .
[2024-10-31T00:42:38.543Z] OT22 Time: 0.016
[2024-10-31T00:42:38.543Z] OT22
[2024-10-31T00:42:38.543Z] OT22 OK (1 test)
[2024-10-31T00:42:38.543Z] OT22
[2024-10-31T00:42:38.543Z] STF 00:42:38.343 - Monitoring Report Summary:
[2024-10-31T00:42:38.543Z] STF 00:42:38.343 - o Process OT22 ended with the expected exit code (0)
[2024-10-31T00:42:38.543Z] STF 00:42:38.344 - EXECUTE stage completed
[2024-10-31T00:42:38.543Z] STF 00:42:38.451 -
[2024-10-31T00:42:38.543Z] STF 00:42:38.451 - ==================== T E A R D O W N ====================
[2024-10-31T00:42:38.543Z] STF 00:42:38.451 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\PatModImg_AppMod_0/20241031-004228-PatModImgTest/tearDown.pl
[2024-10-31T00:42:39.170Z] STF 00:42:38.842 - TEARDOWN stage completed
[2024-10-31T00:42:39.170Z] STF 00:42:38.869 -
[2024-10-31T00:42:39.170Z] STF 00:42:38.869 - ===================== R E S U L T S =====================
[2024-10-31T00:42:39.170Z] STF 00:42:38.869 - Stage results:
[2024-10-31T00:42:39.170Z] STF 00:42:38.869 - setUp: pass
[2024-10-31T00:42:39.170Z] STF 00:42:38.869 - execute: pass
[2024-10-31T00:42:39.170Z] STF 00:42:38.869 - teardown: pass
[2024-10-31T00:42:39.170Z] STF 00:42:38.869 -
[2024-10-31T00:42:39.170Z] STF 00:42:38.869 - Overall result: PASSED
[2024-10-31T00:42:39.170Z] -----------------------------------
[2024-10-31T00:42:39.170Z] PatModImg_AppMod_0_PASSED
[2024-10-31T00:42:39.170Z] -----------------------------------
[2024-10-31T00:42:39.170Z]
[2024-10-31T00:42:39.170Z] TEST TEARDOWN:
[2024-10-31T00:42:39.170Z] Nothing to be done for teardown.
[2024-10-31T00:42:39.462Z] PatModImg_AppMod_0 Finish Time: Thu Oct 31 00:42:39 2024 Epoch Time (ms): 1730335359264