PatModImg_PlatMod_1
[2025-02-26T21:38:58.314Z] Running test PatModImg_PlatMod_1 ...
[2025-02-26T21:38:58.314Z] ===============================================
[2025-02-26T21:38:58.314Z] PatModImg_PlatMod_1 Start Time: Wed Feb 26 13:38:58 2025 Epoch Time (ms): 1740605938017
[2025-02-26T21:38:58.314Z] variation: Mode650
[2025-02-26T21:38:58.314Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-02-26T21:38:58.314Z] { \
[2025-02-26T21:38:58.314Z] echo ""; echo "TEST SETUP:"; \
[2025-02-26T21:38:58.314Z] echo "Nothing to be done for setup."; \
[2025-02-26T21:38:58.314Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1"; \
[2025-02-26T21:38:58.314Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1"; \
[2025-02-26T21:38:58.314Z] echo ""; echo "TESTING:"; \
[2025-02-26T21:38:58.314Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \
[2025-02-26T21:38:58.314Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-02-26T21:38:58.314Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-02-26T21:38:58.314Z] echo "Nothing to be done for teardown."; \
[2025-02-26T21:38:58.314Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/TestTargetResult";
[2025-02-26T21:38:58.314Z]
[2025-02-26T21:38:58.314Z] TEST SETUP:
[2025-02-26T21:38:58.314Z] Nothing to be done for setup.
[2025-02-26T21:38:58.314Z]
[2025-02-26T21:38:58.314Z] TESTING:
[2025-02-26T21:38:58.778Z] STF 13:38:58.309 - ========================= S T F =========================
[2025-02-26T21:38:58.778Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1
[2025-02-26T21:38:58.778Z] There is 10809 Mb free
[2025-02-26T21:38:58.778Z] STF 13:38:58.330 - ================== G E N E R A T I O N ==================
[2025-02-26T21:38:58.778Z] STF 13:38:58.386 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-02-26T21:38:58.778Z] STF 13:38:58.386 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest"
[2025-02-26T21:38:59.197Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:02.683Z] GEN 13:39:02.156 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-02-26T21:39:02.683Z] GEN 13:39:02.236 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-02-26T21:39:03.234Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-02-26T21:39:03.234Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-02-26T21:39:03.235Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-02-26T21:39:03.235Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-02-26T21:39:03.235Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin
[2025-02-26T21:39:03.235Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2025-02-26T21:39:03.235Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2025-02-26T21:39:03.235Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar
[2025-02-26T21:39:03.235Z] GEN 13:39:02.848 - Using Mode NoOptions. Values = ''
[2025-02-26T21:39:04.510Z] GEN 13:39:03.869 -
[2025-02-26T21:39:04.510Z] GEN 13:39:03.869 - Test command summary:
[2025-02-26T21:39:04.510Z] GEN 13:39:03.872 - Step Stage Command Description
[2025-02-26T21:39:04.510Z] GEN 13:39:03.872 - -----+--------+-----------------+------------
[2025-02-26T21:39:04.510Z] GEN 13:39:03.873 - 1 execute jar Create com.hello jar
[2025-02-26T21:39:04.510Z] GEN 13:39:03.873 - 2 execute jar Create com.hola jar
[2025-02-26T21:39:04.510Z] GEN 13:39:03.873 - 3 execute jar Create com.helper jar
[2025-02-26T21:39:04.510Z] GEN 13:39:03.900 - 4 execute jar Create com.discreet jar
[2025-02-26T21:39:04.510Z] GEN 13:39:03.901 - 5 execute jar Create tests jar
[2025-02-26T21:39:04.510Z] GEN 13:39:03.901 - 6 execute jlink Create runtime image for PatchModule test
[2025-02-26T21:39:04.510Z] GEN 13:39:03.901 - 7 execute jar Create com.hello jar
[2025-02-26T21:39:04.510Z] GEN 13:39:03.902 - 8 execute jar create java.xml.jar
[2025-02-26T21:39:04.510Z] GEN 13:39:03.902 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory
[2025-02-26T21:39:04.510Z] GEN 13:39:03.902 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar
[2025-02-26T21:39:05.003Z] STF 13:39:04.559 -
[2025-02-26T21:39:05.003Z] STF 13:39:04.559 - Script generation completed
[2025-02-26T21:39:05.003Z] STF 13:39:04.559 -
[2025-02-26T21:39:05.003Z] STF 13:39:04.559 -
[2025-02-26T21:39:05.003Z] STF 13:39:04.559 - ======================= S E T U P =======================
[2025-02-26T21:39:05.003Z] STF 13:39:04.560 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/setUp.pl
[2025-02-26T21:39:05.003Z] STF 13:39:04.774 - SETUP stage completed
[2025-02-26T21:39:05.003Z] STF 13:39:04.784 -
[2025-02-26T21:39:05.003Z] STF 13:39:04.784 - ==================== E X E C U T E - ====================
[2025-02-26T21:39:05.003Z] STF 13:39:04.784 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/execute.pl
[2025-02-26T21:39:05.445Z] STF 13:39:04.999 -
[2025-02-26T21:39:05.445Z] STF 13:39:05.000 - Java version
[2025-02-26T21:39:05.445Z] STF 13:39:05.000 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-02-26T21:39:05.445Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:05.445Z] openjdk version "21.0.7-beta" 2025-04-15
[2025-02-26T21:39:05.445Z] OpenJDK Runtime Environment Temurin-21.0.7+4-202502262005 (build 21.0.7-beta+4-ea)
[2025-02-26T21:39:05.445Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+4-202502262005 (build 21.0.7-beta+4-ea, mixed mode)
[2025-02-26T21:39:05.445Z] STF 13:39:05.267 -
[2025-02-26T21:39:05.445Z] STF 13:39:05.267 - +------ Step 1 - Create com.hello jar
[2025-02-26T21:39:05.445Z] STF 13:39:05.267 - | Create modular jar
[2025-02-26T21:39:05.445Z] STF 13:39:05.267 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-02-26T21:39:05.445Z] STF 13:39:05.267 - | ModuleVersion: null
[2025-02-26T21:39:05.445Z] STF 13:39:05.267 - | MainClass: null
[2025-02-26T21:39:05.445Z] STF 13:39:05.267 - | HashModules: null
[2025-02-26T21:39:05.445Z] STF 13:39:05.267 - |
[2025-02-26T21:39:05.445Z] STF 13:39:05.268 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-02-26T21:39:05.445Z] STF 13:39:05.268 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/1.CMJ.stderr
[2025-02-26T21:39:05.445Z] STF 13:39:05.268 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/1.CMJ.stdout
[2025-02-26T21:39:05.989Z] STF 13:39:05.294 - Monitoring processes: CMJ
[2025-02-26T21:39:05.990Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:06.976Z] STF 13:39:06.666 - Monitoring Report Summary:
[2025-02-26T21:39:06.976Z] STF 13:39:06.666 - o Process CMJ ended with the expected exit code (0)
[2025-02-26T21:39:06.976Z] STF 13:39:06.667 - Created modular jar: 1.com.hello.jar
[2025-02-26T21:39:06.976Z] STF 13:39:06.667 -
[2025-02-26T21:39:06.976Z] STF 13:39:06.667 - +------ Step 2 - Create com.hola jar
[2025-02-26T21:39:06.976Z] STF 13:39:06.667 - | Create modular jar
[2025-02-26T21:39:06.976Z] STF 13:39:06.681 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-02-26T21:39:06.976Z] STF 13:39:06.681 - | ModuleVersion: null
[2025-02-26T21:39:06.976Z] STF 13:39:06.681 - | MainClass: null
[2025-02-26T21:39:06.976Z] STF 13:39:06.681 - | HashModules: null
[2025-02-26T21:39:06.976Z] STF 13:39:06.681 - |
[2025-02-26T21:39:06.976Z] STF 13:39:06.683 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-02-26T21:39:06.976Z] STF 13:39:06.683 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/2.CMJ.stderr
[2025-02-26T21:39:06.976Z] STF 13:39:06.683 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/2.CMJ.stdout
[2025-02-26T21:39:06.976Z] STF 13:39:06.710 - Monitoring processes: CMJ
[2025-02-26T21:39:07.522Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - Monitoring Report Summary:
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - o Process CMJ ended with the expected exit code (0)
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - Created modular jar: 2.com.hola.jar
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 -
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - +------ Step 3 - Create com.helper jar
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - | Create modular jar
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - | ModuleVersion: null
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - | MainClass: null
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - | HashModules: null
[2025-02-26T21:39:08.372Z] STF 13:39:08.028 - |
[2025-02-26T21:39:08.372Z] STF 13:39:08.029 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-02-26T21:39:08.372Z] STF 13:39:08.029 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/3.CMJ.stderr
[2025-02-26T21:39:08.372Z] STF 13:39:08.029 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/3.CMJ.stdout
[2025-02-26T21:39:08.372Z] STF 13:39:08.031 - Monitoring processes: CMJ
[2025-02-26T21:39:08.372Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - Monitoring Report Summary:
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - o Process CMJ ended with the expected exit code (0)
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - Created modular jar: 3.com.helper.jar
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 -
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - +------ Step 4 - Create com.discreet jar
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - | Create modular jar
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - | ModuleVersion: null
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - | MainClass: null
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - | HashModules: null
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - |
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/4.CMJ.stderr
[2025-02-26T21:39:09.572Z] STF 13:39:08.848 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/4.CMJ.stdout
[2025-02-26T21:39:09.572Z] STF 13:39:08.877 - Monitoring processes: CMJ
[2025-02-26T21:39:09.572Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - Monitoring Report Summary:
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - o Process CMJ ended with the expected exit code (0)
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - Created modular jar: 4.com.discreet.jar
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 -
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - +------ Step 5 - Create tests jar
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - | Create modular jar
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - | ModuleVersion: null
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - | MainClass: null
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - | HashModules: null
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - |
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/5.CMJ.stderr
[2025-02-26T21:39:11.170Z] STF 13:39:10.868 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/5.CMJ.stdout
[2025-02-26T21:39:11.170Z] STF 13:39:10.871 - Monitoring processes: CMJ
[2025-02-26T21:39:11.568Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:12.695Z] STF 13:39:11.964 - Monitoring Report Summary:
[2025-02-26T21:39:12.695Z] STF 13:39:11.964 - o Process CMJ ended with the expected exit code (0)
[2025-02-26T21:39:12.695Z] STF 13:39:11.964 - Created modular jar: 5.com.test.jar
[2025-02-26T21:39:12.695Z] STF 13:39:11.964 -
[2025-02-26T21:39:12.695Z] STF 13:39:11.964 - +------ Step 6 - Create runtime image for PatchModule test
[2025-02-26T21:39:12.695Z] STF 13:39:11.964 - | Run jlink to create runtime image
[2025-02-26T21:39:12.695Z] STF 13:39:11.964 - | ImageName: XpJVM
[2025-02-26T21:39:12.695Z] STF 13:39:11.965 - |
[2025-02-26T21:39:12.696Z] STF 13:39:11.965 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/tmp/6.XpJVM
[2025-02-26T21:39:12.696Z] STF 13:39:11.965 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/6.JLNK.stderr
[2025-02-26T21:39:12.696Z] STF 13:39:11.965 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/6.JLNK.stdout
[2025-02-26T21:39:12.696Z] STF 13:39:11.967 - Monitoring processes: JLNK
[2025-02-26T21:39:12.696Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:26.113Z] STF 13:39:24.277 - Monitoring Report Summary:
[2025-02-26T21:39:26.113Z] STF 13:39:24.277 - o Process JLNK ended with the expected exit code (0)
[2025-02-26T21:39:26.113Z] STF 13:39:24.278 -
[2025-02-26T21:39:26.113Z] STF 13:39:24.278 - +------ Step 7 - Create com.hello jar
[2025-02-26T21:39:26.113Z] STF 13:39:24.278 - | Create modular jar
[2025-02-26T21:39:26.113Z] STF 13:39:24.278 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-02-26T21:39:26.113Z] STF 13:39:24.278 - | ModuleVersion: null
[2025-02-26T21:39:26.113Z] STF 13:39:24.285 - | MainClass: null
[2025-02-26T21:39:26.113Z] STF 13:39:24.285 - | HashModules: null
[2025-02-26T21:39:26.113Z] STF 13:39:24.286 - |
[2025-02-26T21:39:26.113Z] STF 13:39:24.288 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-02-26T21:39:26.113Z] STF 13:39:24.288 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/7.CMJ.stderr
[2025-02-26T21:39:26.113Z] STF 13:39:24.288 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/7.CMJ.stdout
[2025-02-26T21:39:26.113Z] STF 13:39:24.396 - Monitoring processes: CMJ
[2025-02-26T21:39:26.113Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - Monitoring Report Summary:
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - o Process CMJ ended with the expected exit code (0)
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - Created modular jar: 7.com.hello.jar
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 -
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - +------ Step 8 - create java.xml.jar
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - | Create modular jar
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - | ModuleVersion: null
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - | MainClass: null
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - | HashModules: null
[2025-02-26T21:39:28.041Z] STF 13:39:27.776 - |
[2025-02-26T21:39:28.041Z] STF 13:39:27.777 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-02-26T21:39:28.041Z] STF 13:39:27.777 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/8.CMJ.stderr
[2025-02-26T21:39:28.041Z] STF 13:39:27.777 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/8.CMJ.stdout
[2025-02-26T21:39:28.041Z] STF 13:39:27.781 - Monitoring processes: CMJ
[2025-02-26T21:39:28.535Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:29.097Z] STF 13:39:28.726 - Monitoring Report Summary:
[2025-02-26T21:39:29.097Z] STF 13:39:28.726 - o Process CMJ ended with the expected exit code (0)
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 - Created modular jar: 8.java.xml.jar
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 -
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 - | Run foreground process
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 - | Mnemonic: OT11
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 - | Echo: ECHO_ON
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 - | Expectation: CLEAN_RUN within 5m
[2025-02-26T21:39:29.097Z] STF 13:39:28.727 - |
[2025-02-26T21:39:29.097Z] STF 13:39:28.735 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule
[2025-02-26T21:39:29.097Z] STF 13:39:28.736 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/9.OT11.stderr
[2025-02-26T21:39:29.097Z] STF 13:39:28.736 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/9.OT11.stdout
[2025-02-26T21:39:29.097Z] STF 13:39:28.783 - Monitoring processes: OT11
[2025-02-26T21:39:32.041Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:33.726Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml
[2025-02-26T21:39:34.621Z] OT11 JUnit version 4.12
[2025-02-26T21:39:34.621Z] OT11 .
[2025-02-26T21:39:34.621Z] OT11 Time: 0.007
[2025-02-26T21:39:34.621Z] OT11
[2025-02-26T21:39:34.621Z] OT11 OK (1 test)
[2025-02-26T21:39:34.621Z] OT11
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - Monitoring Report Summary:
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - o Process OT11 ended with the expected exit code (0)
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 -
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - | Run foreground process
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - | Mnemonic: OT12
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - | Echo: ECHO_ON
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - | Expectation: CLEAN_RUN within 5m
[2025-02-26T21:39:34.621Z] STF 13:39:34.075 - |
[2025-02-26T21:39:34.621Z] STF 13:39:34.076 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/8.java.xml.jar -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule
[2025-02-26T21:39:34.621Z] STF 13:39:34.076 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/10.OT12.stderr
[2025-02-26T21:39:34.621Z] STF 13:39:34.076 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/results/10.OT12.stdout
[2025-02-26T21:39:34.621Z] STF 13:39:34.079 - Monitoring processes: OT12
[2025-02-26T21:39:34.621Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-02-26T21:39:35.031Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/modules/8.java.xml.jar
[2025-02-26T21:39:35.031Z] OT12 JUnit version 4.12
[2025-02-26T21:39:35.031Z] OT12 .
[2025-02-26T21:39:35.464Z] OT12 Time: 0.004
[2025-02-26T21:39:35.464Z] OT12
[2025-02-26T21:39:35.464Z] OT12 OK (1 test)
[2025-02-26T21:39:35.464Z] OT12
[2025-02-26T21:39:35.464Z] STF 13:39:34.744 - Monitoring Report Summary:
[2025-02-26T21:39:35.464Z] STF 13:39:34.744 - o Process OT12 ended with the expected exit code (0)
[2025-02-26T21:39:35.464Z] STF 13:39:34.744 - EXECUTE stage completed
[2025-02-26T21:39:35.464Z] STF 13:39:35.011 -
[2025-02-26T21:39:35.464Z] STF 13:39:35.012 - ==================== T E A R D O W N ====================
[2025-02-26T21:39:35.464Z] STF 13:39:35.012 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/PatModImg_PlatMod_1/20250226-133858-PatModImgTest/tearDown.pl
[2025-02-26T21:39:36.559Z] STF 13:39:36.324 - TEARDOWN stage completed
[2025-02-26T21:39:36.559Z] STF 13:39:36.367 -
[2025-02-26T21:39:36.559Z] STF 13:39:36.367 - ===================== R E S U L T S =====================
[2025-02-26T21:39:36.559Z] STF 13:39:36.367 - Stage results:
[2025-02-26T21:39:36.559Z] STF 13:39:36.367 - setUp: pass
[2025-02-26T21:39:36.559Z] STF 13:39:36.367 - execute: pass
[2025-02-26T21:39:36.559Z] STF 13:39:36.367 - teardown: pass
[2025-02-26T21:39:36.559Z] STF 13:39:36.368 -
[2025-02-26T21:39:36.559Z] STF 13:39:36.368 - Overall result: PASSED
[2025-02-26T21:39:36.559Z] -----------------------------------
[2025-02-26T21:39:36.559Z] PatModImg_PlatMod_1_PASSED
[2025-02-26T21:39:36.559Z] -----------------------------------
[2025-02-26T21:39:37.077Z]
[2025-02-26T21:39:37.077Z] TEST TEARDOWN:
[2025-02-26T21:39:37.077Z] Nothing to be done for teardown.
[2025-02-26T21:39:37.077Z] PatModImg_PlatMod_1 Finish Time: Wed Feb 26 13:39:36 2025 Epoch Time (ms): 1740605976652