PatModImg_AppMod_1
[2024-11-21T10:33:47.582Z] Running test PatModImg_AppMod_1 ...
[2024-11-21T10:33:47.582Z] ===============================================
[2024-11-21T10:33:47.872Z] PatModImg_AppMod_1 Start Time: Thu Nov 21 10:33:47 2024 Epoch Time (ms): 1732185227735
[2024-11-21T10:33:48.162Z] variation: Mode650
[2024-11-21T10:33:48.507Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-11-21T10:33:48.507Z] { \
[2024-11-21T10:33:48.507Z] echo ""; echo "TEST SETUP:"; \
[2024-11-21T10:33:48.507Z] echo "Nothing to be done for setup."; \
[2024-11-21T10:33:48.507Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\PatModImg_AppMod_1"; \
[2024-11-21T10:33:48.507Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\PatModImg_AppMod_1"; \
[2024-11-21T10:33:48.507Z] echo ""; echo "TESTING:"; \
[2024-11-21T10:33:48.507Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-11-21T10:33:48.507Z] 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_17321831717298\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-21T10:33:48.507Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-21T10:33:48.507Z] echo "Nothing to be done for teardown."; \
[2024-11-21T10:33:48.507Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\TestTargetResult";
[2024-11-21T10:33:48.507Z]
[2024-11-21T10:33:48.507Z] TEST SETUP:
[2024-11-21T10:33:48.507Z] Nothing to be done for setup.
[2024-11-21T10:33:48.507Z]
[2024-11-21T10:33:48.507Z] TESTING:
[2024-11-21T10:33:49.147Z] STF 10:33:48.813 - ========================= S T F =========================
[2024-11-21T10:33:49.147Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_AppMod_1
[2024-11-21T10:33:49.147Z] There is 24161 Mb free
[2024-11-21T10:33:49.147Z] STF 10:33:48.894 - ================== G E N E R A T I O N ==================
[2024-11-21T10:33:49.147Z] STF 10:33:48.899 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image
[2024-11-21T10:33:49.148Z] STF 10:33:48.900 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_AppMod_1/20241121-103348-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_AppMod_1/20241121-103348-PatModImgTest"
[2024-11-21T10:33:49.148Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:50.670Z] GEN Java lib directory does not exist: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\lib
[2024-11-21T10:33:50.670Z] GEN 10:33:50.235 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-11-21T10:33:50.670Z] GEN 10:33:50.250 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-11-21T10:33:50.670Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-11-21T10:33:50.670Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-11-21T10:33:50.670Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-11-21T10:33:50.670Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-11-21T10:33:50.670Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-21T10:33:50.670Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-21T10:33:50.670Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2024-11-21T10:33:50.670Z] GEN Java lib directory does not exist: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\lib
[2024-11-21T10:33:50.670Z] GEN 10:33:50.516 - Using Mode NoOptions. Values = ''
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 -
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - Test command summary:
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - Step Stage Command Description
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - -----+--------+-----------------+------------
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 1 execute jar Create com.hello jar
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 2 execute jar Create com.hola jar
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 3 execute jar Create com.helper jar
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 4 execute jar Create com.discreet jar
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 5 execute jar Create tests jar
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 6 execute jlink Create runtime image for PatchModule test
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 7 execute jar Create com.hello jar
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 8 execute jar create java.xml.jar
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-11-21T10:33:50.974Z] GEN 10:33:50.656 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-11-21T10:33:50.974Z] STF 10:33:50.725 -
[2024-11-21T10:33:50.974Z] STF 10:33:50.726 - Script generation completed
[2024-11-21T10:33:50.974Z] STF 10:33:50.726 -
[2024-11-21T10:33:50.974Z] STF 10:33:50.728 -
[2024-11-21T10:33:50.974Z] STF 10:33:50.728 - ======================= S E T U P =======================
[2024-11-21T10:33:50.974Z] STF 10:33:50.728 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_AppMod_1/20241121-103348-PatModImgTest/setUp.pl
[2024-11-21T10:33:51.284Z] STF 10:33:51.110 - SETUP stage completed
[2024-11-21T10:33:51.284Z] STF 10:33:51.159 -
[2024-11-21T10:33:51.284Z] STF 10:33:51.159 - ==================== E X E C U T E - ====================
[2024-11-21T10:33:51.284Z] STF 10:33:51.159 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_AppMod_1/20241121-103348-PatModImgTest/execute.pl
[2024-11-21T10:33:51.929Z] STF 10:33:51.547 -
[2024-11-21T10:33:51.929Z] STF 10:33:51.547 - Java version
[2024-11-21T10:33:51.929Z] STF 10:33:51.548 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-11-21T10:33:51.929Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:51.929Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-11-21T10:33:51.929Z] OpenJDK Runtime Environment Temurin-21.0.6+4-202411202006 (build 21.0.6-beta+4-ea)
[2024-11-21T10:33:51.929Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+4-202411202006 (build 21.0.6-beta+4-ea, mixed mode)
[2024-11-21T10:33:51.929Z] STF 10:33:51.676 -
[2024-11-21T10:33:51.929Z] STF 10:33:51.676 - +------ Step 1 - Create com.hello jar
[2024-11-21T10:33:51.929Z] STF 10:33:51.676 - | Create modular jar
[2024-11-21T10:33:51.929Z] STF 10:33:51.676 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-21T10:33:51.929Z] STF 10:33:51.676 - | ModuleVersion: null
[2024-11-21T10:33:51.929Z] STF 10:33:51.676 - | MainClass: null
[2024-11-21T10:33:51.929Z] STF 10:33:51.676 - | HashModules: null
[2024-11-21T10:33:51.929Z] STF 10:33:51.676 - |
[2024-11-21T10:33:51.929Z] STF 10:33:51.677 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2024-11-21T10:33:51.929Z] STF 10:33:51.678 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/1.CMJ.stderr
[2024-11-21T10:33:51.929Z] STF 10:33:51.678 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/1.CMJ.stdout
[2024-11-21T10:33:51.929Z] STF 10:33:51.747 - Monitoring processes: CMJ
[2024-11-21T10:33:51.929Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:52.570Z] STF 10:33:52.193 - Monitoring Report Summary:
[2024-11-21T10:33:52.570Z] STF 10:33:52.193 - o Process CMJ ended with the expected exit code (0)
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 - Created modular jar: 1.com.hello.jar
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 -
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 - +------ Step 2 - Create com.hola jar
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 - | Create modular jar
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 - | ModuleVersion: null
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 - | MainClass: null
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 - | HashModules: null
[2024-11-21T10:33:52.570Z] STF 10:33:52.194 - |
[2024-11-21T10:33:52.570Z] STF 10:33:52.195 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2024-11-21T10:33:52.570Z] STF 10:33:52.195 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/2.CMJ.stderr
[2024-11-21T10:33:52.570Z] STF 10:33:52.195 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/2.CMJ.stdout
[2024-11-21T10:33:52.570Z] STF 10:33:52.203 - Monitoring processes: CMJ
[2024-11-21T10:33:52.570Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:52.871Z] STF 10:33:52.644 - Monitoring Report Summary:
[2024-11-21T10:33:52.871Z] STF 10:33:52.644 - o Process CMJ ended with the expected exit code (0)
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 - Created modular jar: 2.com.hola.jar
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 -
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 - +------ Step 3 - Create com.helper jar
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 - | Create modular jar
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 - | ModuleVersion: null
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 - | MainClass: null
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 - | HashModules: null
[2024-11-21T10:33:52.871Z] STF 10:33:52.645 - |
[2024-11-21T10:33:52.871Z] STF 10:33:52.646 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2024-11-21T10:33:52.871Z] STF 10:33:52.646 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/3.CMJ.stderr
[2024-11-21T10:33:52.872Z] STF 10:33:52.646 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/3.CMJ.stdout
[2024-11-21T10:33:52.872Z] STF 10:33:52.654 - Monitoring processes: CMJ
[2024-11-21T10:33:52.872Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:53.173Z] STF 10:33:53.080 - Monitoring Report Summary:
[2024-11-21T10:33:53.173Z] STF 10:33:53.080 - o Process CMJ ended with the expected exit code (0)
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 - Created modular jar: 3.com.helper.jar
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 -
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 - +------ Step 4 - Create com.discreet jar
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 - | Create modular jar
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 - | ModuleVersion: null
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 - | MainClass: null
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 - | HashModules: null
[2024-11-21T10:33:53.173Z] STF 10:33:53.081 - |
[2024-11-21T10:33:53.173Z] STF 10:33:53.082 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2024-11-21T10:33:53.173Z] STF 10:33:53.082 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/4.CMJ.stderr
[2024-11-21T10:33:53.173Z] STF 10:33:53.082 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/4.CMJ.stdout
[2024-11-21T10:33:53.173Z] STF 10:33:53.091 - Monitoring processes: CMJ
[2024-11-21T10:33:53.474Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:53.765Z] STF 10:33:53.517 - Monitoring Report Summary:
[2024-11-21T10:33:53.765Z] STF 10:33:53.517 - o Process CMJ ended with the expected exit code (0)
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 - Created modular jar: 4.com.discreet.jar
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 -
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 - +------ Step 5 - Create tests jar
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 - | Create modular jar
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 - | ModuleVersion: null
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 - | MainClass: null
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 - | HashModules: null
[2024-11-21T10:33:53.765Z] STF 10:33:53.518 - |
[2024-11-21T10:33:53.765Z] STF 10:33:53.519 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2024-11-21T10:33:53.765Z] STF 10:33:53.519 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/5.CMJ.stderr
[2024-11-21T10:33:53.765Z] STF 10:33:53.519 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/5.CMJ.stdout
[2024-11-21T10:33:53.765Z] STF 10:33:53.527 - Monitoring processes: CMJ
[2024-11-21T10:33:53.765Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:54.407Z] STF 10:33:54.001 - Monitoring Report Summary:
[2024-11-21T10:33:54.407Z] STF 10:33:54.001 - o Process CMJ ended with the expected exit code (0)
[2024-11-21T10:33:54.407Z] STF 10:33:54.002 - Created modular jar: 5.com.test.jar
[2024-11-21T10:33:54.407Z] STF 10:33:54.002 -
[2024-11-21T10:33:54.407Z] STF 10:33:54.002 - +------ Step 6 - Create runtime image for PatchModule test
[2024-11-21T10:33:54.407Z] STF 10:33:54.002 - | Run jlink to create runtime image
[2024-11-21T10:33:54.407Z] STF 10:33:54.002 - | ImageName: XpJVM
[2024-11-21T10:33:54.407Z] STF 10:33:54.002 - |
[2024-11-21T10:33:54.407Z] STF 10:33:54.003 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17321831717298\PatModImg_AppMod_1\20241121-103348-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17321831717298\PatModImg_AppMod_1\20241121-103348-PatModImgTest\tmp\6.XpJVM
[2024-11-21T10:33:54.407Z] STF 10:33:54.003 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/6.JLNK.stderr
[2024-11-21T10:33:54.407Z] STF 10:33:54.003 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/6.JLNK.stdout
[2024-11-21T10:33:54.407Z] STF 10:33:54.011 - Monitoring processes: JLNK
[2024-11-21T10:33:54.407Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:57.152Z] STF 10:33:56.519 - Monitoring Report Summary:
[2024-11-21T10:33:57.152Z] STF 10:33:56.519 - o Process JLNK ended with the expected exit code (0)
[2024-11-21T10:33:57.152Z] STF 10:33:56.520 -
[2024-11-21T10:33:57.152Z] STF 10:33:56.520 - +------ Step 7 - Create com.hello jar
[2024-11-21T10:33:57.152Z] STF 10:33:56.520 - | Create modular jar
[2024-11-21T10:33:57.152Z] STF 10:33:56.520 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-11-21T10:33:57.152Z] STF 10:33:56.520 - | ModuleVersion: null
[2024-11-21T10:33:57.152Z] STF 10:33:56.520 - | MainClass: null
[2024-11-21T10:33:57.152Z] STF 10:33:56.520 - | HashModules: null
[2024-11-21T10:33:57.152Z] STF 10:33:56.520 - |
[2024-11-21T10:33:57.152Z] STF 10:33:56.521 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2024-11-21T10:33:57.152Z] STF 10:33:56.521 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/7.CMJ.stderr
[2024-11-21T10:33:57.152Z] STF 10:33:56.521 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/7.CMJ.stdout
[2024-11-21T10:33:57.152Z] STF 10:33:56.530 - Monitoring processes: CMJ
[2024-11-21T10:33:57.152Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:57.152Z] STF 10:33:56.954 - Monitoring Report Summary:
[2024-11-21T10:33:57.152Z] STF 10:33:56.954 - o Process CMJ ended with the expected exit code (0)
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 - Created modular jar: 7.com.hello.jar
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 -
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 - +------ Step 8 - create java.xml.jar
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 - | Create modular jar
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 - | ModuleVersion: null
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 - | MainClass: null
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 - | HashModules: null
[2024-11-21T10:33:57.152Z] STF 10:33:56.955 - |
[2024-11-21T10:33:57.152Z] STF 10:33:56.956 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2024-11-21T10:33:57.152Z] STF 10:33:56.956 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/8.CMJ.stderr
[2024-11-21T10:33:57.152Z] STF 10:33:56.956 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/8.CMJ.stdout
[2024-11-21T10:33:57.152Z] STF 10:33:56.965 - Monitoring processes: CMJ
[2024-11-21T10:33:57.152Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:57.793Z] STF 10:33:57.406 - Monitoring Report Summary:
[2024-11-21T10:33:57.793Z] STF 10:33:57.406 - o Process CMJ ended with the expected exit code (0)
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 - Created modular jar: 8.java.xml.jar
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 -
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 - | Run foreground process
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 - | Mnemonic: OT21
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 - | Echo: ECHO_ON
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 - | Expectation: CLEAN_RUN within 5m
[2024-11-21T10:33:57.793Z] STF 10:33:57.407 - |
[2024-11-21T10:33:57.793Z] STF 10:33:57.408 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-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-11-21T10:33:57.793Z] STF 10:33:57.408 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/9.OT21.stderr
[2024-11-21T10:33:57.793Z] STF 10:33:57.408 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/9.OT21.stdout
[2024-11-21T10:33:57.793Z] STF 10:33:57.442 - Monitoring processes: OT21
[2024-11-21T10:33:57.793Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:58.094Z] 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-11-21T10:33:58.094Z] OT21 JUnit version 4.12
[2024-11-21T10:33:58.094Z] OT21 .
[2024-11-21T10:33:58.094Z] OT21 Time: 0
[2024-11-21T10:33:58.094Z] OT21
[2024-11-21T10:33:58.094Z] OT21 OK (1 test)
[2024-11-21T10:33:58.094Z] OT21
[2024-11-21T10:33:58.094Z] STF 10:33:57.941 - Monitoring Report Summary:
[2024-11-21T10:33:58.094Z] STF 10:33:57.941 - o Process OT21 ended with the expected exit code (0)
[2024-11-21T10:33:58.094Z] STF 10:33:57.942 -
[2024-11-21T10:33:58.094Z] STF 10:33:57.942 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-11-21T10:33:58.094Z] STF 10:33:57.942 - | Run foreground process
[2024-11-21T10:33:58.094Z] STF 10:33:57.942 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-21T10:33:58.094Z] STF 10:33:57.942 - | Mnemonic: OT22
[2024-11-21T10:33:58.094Z] STF 10:33:57.942 - | Echo: ECHO_ON
[2024-11-21T10:33:58.094Z] STF 10:33:57.942 - | Expectation: CLEAN_RUN within 5m
[2024-11-21T10:33:58.094Z] STF 10:33:57.942 - |
[2024-11-21T10:33:58.094Z] STF 10:33:57.943 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-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_17321831717298/PatModImg_AppMod_1/20241121-103348-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-11-21T10:33:58.094Z] STF 10:33:57.943 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/10.OT22.stderr
[2024-11-21T10:33:58.094Z] STF 10:33:57.943 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/PatModImg_AppMod_1/20241121-103348-PatModImgTest/results/10.OT22.stdout
[2024-11-21T10:33:58.094Z] STF 10:33:57.952 - Monitoring processes: OT22
[2024-11-21T10:33:58.094Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-21T10:33:58.395Z] 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_17321831717298\PatModImg_AppMod_1\20241121-103348-PatModImgTest\modules\7.com.hello.jar
[2024-11-21T10:33:58.395Z] OT22 JUnit version 4.12
[2024-11-21T10:33:58.395Z] OT22 .
[2024-11-21T10:33:58.395Z] OT22 Time: 0
[2024-11-21T10:33:58.395Z] OT22
[2024-11-21T10:33:58.395Z] OT22 OK (1 test)
[2024-11-21T10:33:58.395Z] OT22
[2024-11-21T10:33:58.395Z] STF 10:33:58.315 - Monitoring Report Summary:
[2024-11-21T10:33:58.395Z] STF 10:33:58.315 - o Process OT22 ended with the expected exit code (0)
[2024-11-21T10:33:58.395Z] STF 10:33:58.316 - EXECUTE stage completed
[2024-11-21T10:33:58.696Z] STF 10:33:58.423 -
[2024-11-21T10:33:58.696Z] STF 10:33:58.423 - ==================== T E A R D O W N ====================
[2024-11-21T10:33:58.696Z] STF 10:33:58.423 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\PatModImg_AppMod_1/20241121-103348-PatModImgTest/tearDown.pl
[2024-11-21T10:33:59.041Z] STF 10:33:58.797 - TEARDOWN stage completed
[2024-11-21T10:33:59.041Z] STF 10:33:58.825 -
[2024-11-21T10:33:59.041Z] STF 10:33:58.826 - ===================== R E S U L T S =====================
[2024-11-21T10:33:59.041Z] STF 10:33:58.826 - Stage results:
[2024-11-21T10:33:59.041Z] STF 10:33:58.826 - setUp: pass
[2024-11-21T10:33:59.041Z] STF 10:33:58.826 - execute: pass
[2024-11-21T10:33:59.041Z] STF 10:33:58.826 - teardown: pass
[2024-11-21T10:33:59.041Z] STF 10:33:58.826 -
[2024-11-21T10:33:59.041Z] STF 10:33:58.826 - Overall result: PASSED
[2024-11-21T10:33:59.041Z] -----------------------------------
[2024-11-21T10:33:59.041Z] PatModImg_AppMod_1_PASSED
[2024-11-21T10:33:59.041Z] -----------------------------------
[2024-11-21T10:33:59.041Z]
[2024-11-21T10:33:59.041Z] TEST TEARDOWN:
[2024-11-21T10:33:59.041Z] Nothing to be done for teardown.
[2024-11-21T10:33:59.346Z] PatModImg_AppMod_1 Finish Time: Thu Nov 21 10:33:59 2024 Epoch Time (ms): 1732185239188