PatModImg_PlatMod_0
[2024-08-22T05:40:05.410Z] Running test PatModImg_PlatMod_0 ...
[2024-08-22T05:40:05.931Z] ===============================================
[2024-08-22T05:40:05.931Z] PatModImg_PlatMod_0 Start Time: Thu Aug 22 05:40:05 2024 Epoch Time (ms): 1724305205450
[2024-08-22T05:40:05.931Z] variation: Mode150
[2024-08-22T05:40:05.931Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-08-22T05:40:05.931Z] { \
[2024-08-22T05:40:05.931Z] echo ""; echo "TEST SETUP:"; \
[2024-08-22T05:40:05.931Z] echo "Nothing to be done for setup."; \
[2024-08-22T05:40:05.931Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_1724303418762\\PatModImg_PlatMod_0"; \
[2024-08-22T05:40:05.931Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_1724303418762\\PatModImg_PlatMod_0"; \
[2024-08-22T05:40:05.931Z] echo ""; echo "TESTING:"; \
[2024-08-22T05:40:05.931Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_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_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_1724303418762\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \
[2024-08-22T05:40:05.931Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_1724303418762\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-08-22T05:40:05.931Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-08-22T05:40:05.931Z] echo "Nothing to be done for teardown."; \
[2024-08-22T05:40:05.931Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_1724303418762\\TestTargetResult";
[2024-08-22T05:40:05.931Z]
[2024-08-22T05:40:05.931Z] TEST SETUP:
[2024-08-22T05:40:05.931Z] Nothing to be done for setup.
[2024-08-22T05:40:05.931Z]
[2024-08-22T05:40:05.931Z] TESTING:
[2024-08-22T05:40:05.931Z] STF 05:40:05.731 - ========================= S T F =========================
[2024-08-22T05:40:05.932Z] 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_x86-64_windows_testList_1/aqa-tests/\TKG\output_1724303418762\PatModImg_PlatMod_0
[2024-08-22T05:40:05.932Z] There is 121020 Mb free
[2024-08-22T05:40:05.932Z] STF 05:40:05.757 - ================== G E N E R A T I O N ==================
[2024-08-22T05:40:05.932Z] STF 05:40:05.759 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2024-08-22T05:40:05.932Z] STF 05:40:05.759 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_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_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_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_x86-64_windows_testList_1/aqa-tests/\TKG\output_1724303418762\PatModImg_PlatMod_0/20240822-054005-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_1724303418762\PatModImg_PlatMod_0/20240822-054005-PatModImgTest"
[2024-08-22T05:40:05.932Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:05.932Z] GEN [0.015s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set
[2024-08-22T05:40:07.025Z] GEN 05:40:06.710 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-08-22T05:40:07.025Z] GEN 05:40:06.721 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-08-22T05:40:07.025Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-08-22T05:40:07.025Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-08-22T05:40:07.025Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-08-22T05:40:07.025Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-08-22T05:40:07.025Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-08-22T05:40:07.025Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-08-22T05:40:07.025Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2024-08-22T05:40:07.025Z] GEN 05:40:06.923 - Using Mode NoOptions. Values = ''
[2024-08-22T05:40:07.547Z] GEN 05:40:07.021 -
[2024-08-22T05:40:07.547Z] GEN 05:40:07.021 - Test command summary:
[2024-08-22T05:40:07.547Z] GEN 05:40:07.021 - Step Stage Command Description
[2024-08-22T05:40:07.547Z] GEN 05:40:07.021 - -----+--------+-----------------+------------
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 1 execute jar Create com.hello jar
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 2 execute jar Create com.hola jar
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 3 execute jar Create com.helper jar
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 4 execute jar Create com.discreet jar
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 5 execute jar Create tests jar
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 6 execute jlink Create runtime image for PatchModule test
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 7 execute jar Create com.hello jar
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 8 execute jar create java.xml.jar
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory
[2024-08-22T05:40:07.547Z] GEN 05:40:07.022 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar
[2024-08-22T05:40:07.547Z] STF 05:40:07.072 -
[2024-08-22T05:40:07.547Z] STF 05:40:07.072 - Script generation completed
[2024-08-22T05:40:07.547Z] STF 05:40:07.072 -
[2024-08-22T05:40:07.547Z] STF 05:40:07.073 -
[2024-08-22T05:40:07.547Z] STF 05:40:07.073 - ======================= S E T U P =======================
[2024-08-22T05:40:07.547Z] STF 05:40:07.073 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_1724303418762\PatModImg_PlatMod_0/20240822-054005-PatModImgTest/setUp.pl
[2024-08-22T05:40:07.547Z] STF 05:40:07.186 - SETUP stage completed
[2024-08-22T05:40:07.547Z] STF 05:40:07.196 -
[2024-08-22T05:40:07.547Z] STF 05:40:07.196 - ==================== E X E C U T E - ====================
[2024-08-22T05:40:07.547Z] STF 05:40:07.196 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_1724303418762\PatModImg_PlatMod_0/20240822-054005-PatModImgTest/execute.pl
[2024-08-22T05:40:07.547Z] STF 05:40:07.310 -
[2024-08-22T05:40:07.547Z] STF 05:40:07.310 - Java version
[2024-08-22T05:40:07.547Z] STF 05:40:07.310 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-08-22T05:40:07.547Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:07.547Z] openjdk version "21.0.5-beta" 2024-10-15
[2024-08-22T05:40:07.547Z] OpenJDK Runtime Environment Temurin-21.0.5+4-202408211908 (build 21.0.5-beta+4-ea)
[2024-08-22T05:40:07.547Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+4-202408211908 (build 21.0.5-beta+4-ea, mixed mode, sharing)
[2024-08-22T05:40:07.547Z] STF 05:40:07.390 -
[2024-08-22T05:40:07.547Z] STF 05:40:07.390 - +------ Step 1 - Create com.hello jar
[2024-08-22T05:40:07.547Z] STF 05:40:07.390 - | Create modular jar
[2024-08-22T05:40:07.547Z] STF 05:40:07.390 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-08-22T05:40:07.547Z] STF 05:40:07.390 - | ModuleVersion: null
[2024-08-22T05:40:07.547Z] STF 05:40:07.390 - | MainClass: null
[2024-08-22T05:40:07.547Z] STF 05:40:07.390 - | HashModules: null
[2024-08-22T05:40:07.547Z] STF 05:40:07.390 - |
[2024-08-22T05:40:07.547Z] STF 05:40:07.391 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2024-08-22T05:40:07.547Z] STF 05:40:07.391 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/1.CMJ.stderr
[2024-08-22T05:40:07.547Z] STF 05:40:07.391 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/1.CMJ.stdout
[2024-08-22T05:40:07.547Z] STF 05:40:07.412 - Monitoring processes: CMJ
[2024-08-22T05:40:07.547Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - Monitoring Report Summary:
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - Created modular jar: 1.com.hello.jar
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 -
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - +------ Step 2 - Create com.hola jar
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - | Create modular jar
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - | ModuleVersion: null
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - | MainClass: null
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - | HashModules: null
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - |
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/2.CMJ.stderr
[2024-08-22T05:40:08.077Z] STF 05:40:07.690 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/2.CMJ.stdout
[2024-08-22T05:40:08.077Z] STF 05:40:07.693 - Monitoring processes: CMJ
[2024-08-22T05:40:08.077Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:08.077Z] STF 05:40:07.974 - Monitoring Report Summary:
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - Created modular jar: 2.com.hola.jar
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 -
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - +------ Step 3 - Create com.helper jar
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - | Create modular jar
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - | ModuleVersion: null
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - | MainClass: null
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - | HashModules: null
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - |
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/3.CMJ.stderr
[2024-08-22T05:40:08.077Z] STF 05:40:07.975 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/3.CMJ.stdout
[2024-08-22T05:40:08.077Z] STF 05:40:07.978 - Monitoring processes: CMJ
[2024-08-22T05:40:08.077Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - Monitoring Report Summary:
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - Created modular jar: 3.com.helper.jar
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 -
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - +------ Step 4 - Create com.discreet jar
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - | Create modular jar
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - | ModuleVersion: null
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - | MainClass: null
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - | HashModules: null
[2024-08-22T05:40:08.599Z] STF 05:40:08.254 - |
[2024-08-22T05:40:08.599Z] STF 05:40:08.255 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2024-08-22T05:40:08.599Z] STF 05:40:08.255 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/4.CMJ.stderr
[2024-08-22T05:40:08.599Z] STF 05:40:08.255 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/4.CMJ.stdout
[2024-08-22T05:40:08.599Z] STF 05:40:08.257 - Monitoring processes: CMJ
[2024-08-22T05:40:08.599Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - Monitoring Report Summary:
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - Created modular jar: 4.com.discreet.jar
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 -
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - +------ Step 5 - Create tests jar
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - | Create modular jar
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - | ModuleVersion: null
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - | MainClass: null
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - | HashModules: null
[2024-08-22T05:40:09.120Z] STF 05:40:08.552 - |
[2024-08-22T05:40:09.120Z] STF 05:40:08.553 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2024-08-22T05:40:09.120Z] STF 05:40:08.553 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/5.CMJ.stderr
[2024-08-22T05:40:09.120Z] STF 05:40:08.553 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/5.CMJ.stdout
[2024-08-22T05:40:09.120Z] STF 05:40:08.555 - Monitoring processes: CMJ
[2024-08-22T05:40:09.120Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 - Monitoring Report Summary:
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 - Created modular jar: 5.com.test.jar
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 -
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 - +------ Step 6 - Create runtime image for PatchModule test
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 - | Run jlink to create runtime image
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 - | ImageName: XpJVM
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 - |
[2024-08-22T05:40:09.120Z] STF 05:40:08.876 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_1724303418762\PatModImg_PlatMod_0\20240822-054005-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_1724303418762\PatModImg_PlatMod_0\20240822-054005-PatModImgTest\tmp\6.XpJVM
[2024-08-22T05:40:09.120Z] STF 05:40:08.877 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/6.JLNK.stderr
[2024-08-22T05:40:09.120Z] STF 05:40:08.877 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/6.JLNK.stdout
[2024-08-22T05:40:09.120Z] STF 05:40:08.883 - Monitoring processes: JLNK
[2024-08-22T05:40:09.120Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:11.583Z] STF 05:40:11.211 - Monitoring Report Summary:
[2024-08-22T05:40:11.583Z] STF 05:40:11.211 - o Process JLNK ended with the expected exit code (0)
[2024-08-22T05:40:11.583Z] STF 05:40:11.211 -
[2024-08-22T05:40:11.583Z] STF 05:40:11.211 - +------ Step 7 - Create com.hello jar
[2024-08-22T05:40:11.583Z] STF 05:40:11.211 - | Create modular jar
[2024-08-22T05:40:11.583Z] STF 05:40:11.211 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-08-22T05:40:11.583Z] STF 05:40:11.212 - | ModuleVersion: null
[2024-08-22T05:40:11.583Z] STF 05:40:11.212 - | MainClass: null
[2024-08-22T05:40:11.583Z] STF 05:40:11.212 - | HashModules: null
[2024-08-22T05:40:11.583Z] STF 05:40:11.212 - |
[2024-08-22T05:40:11.583Z] STF 05:40:11.212 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2024-08-22T05:40:11.583Z] STF 05:40:11.212 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/7.CMJ.stderr
[2024-08-22T05:40:11.583Z] STF 05:40:11.212 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/7.CMJ.stdout
[2024-08-22T05:40:11.583Z] STF 05:40:11.215 - Monitoring processes: CMJ
[2024-08-22T05:40:11.583Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - Monitoring Report Summary:
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - Created modular jar: 7.com.hello.jar
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 -
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - +------ Step 8 - create java.xml.jar
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - | Create modular jar
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - | ModuleVersion: null
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - | MainClass: null
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - | HashModules: null
[2024-08-22T05:40:11.583Z] STF 05:40:11.502 - |
[2024-08-22T05:40:11.583Z] STF 05:40:11.503 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml .
[2024-08-22T05:40:11.583Z] STF 05:40:11.503 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/8.CMJ.stderr
[2024-08-22T05:40:11.583Z] STF 05:40:11.503 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/8.CMJ.stdout
[2024-08-22T05:40:11.583Z] STF 05:40:11.505 - Monitoring processes: CMJ
[2024-08-22T05:40:11.583Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - Monitoring Report Summary:
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - Created modular jar: 8.java.xml.jar
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 -
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - | Run foreground process
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - | Mnemonic: OT11
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - | Echo: ECHO_ON
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - | Expectation: CLEAN_RUN within 5m
[2024-08-22T05:40:12.106Z] STF 05:40:11.781 - |
[2024-08-22T05:40:12.106Z] STF 05:40:11.782 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule
[2024-08-22T05:40:12.106Z] STF 05:40:11.782 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/9.OT11.stderr
[2024-08-22T05:40:12.106Z] STF 05:40:11.782 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/9.OT11.stdout
[2024-08-22T05:40:12.106Z] STF 05:40:11.792 - Monitoring processes: OT11
[2024-08-22T05:40:12.106Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:12.106Z] OT11 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml
[2024-08-22T05:40:12.106Z] OT11 JUnit version 4.12
[2024-08-22T05:40:12.630Z] OT11 .
[2024-08-22T05:40:12.630Z] OT11 Time: 0.006
[2024-08-22T05:40:12.630Z] OT11
[2024-08-22T05:40:12.630Z] OT11 OK (1 test)
[2024-08-22T05:40:12.630Z] OT11
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - Monitoring Report Summary:
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - o Process OT11 ended with the expected exit code (0)
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 -
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - | Run foreground process
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - | Mnemonic: OT12
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - | Echo: ECHO_ON
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - | Expectation: CLEAN_RUN within 5m
[2024-08-22T05:40:12.630Z] STF 05:40:12.108 - |
[2024-08-22T05:40:12.630Z] STF 05:40:12.109 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule
[2024-08-22T05:40:12.630Z] STF 05:40:12.109 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/10.OT12.stderr
[2024-08-22T05:40:12.630Z] STF 05:40:12.109 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_1724303418762/PatModImg_PlatMod_0/20240822-054005-PatModImgTest/results/10.OT12.stdout
[2024-08-22T05:40:12.630Z] STF 05:40:12.112 - Monitoring processes: OT12
[2024-08-22T05:40:12.630Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-22T05:40:12.630Z] OT12 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_1724303418762\PatModImg_PlatMod_0\20240822-054005-PatModImgTest\modules\8.java.xml.jar
[2024-08-22T05:40:12.630Z] OT12 JUnit version 4.12
[2024-08-22T05:40:12.630Z] OT12 .
[2024-08-22T05:40:12.630Z] OT12 Time: 0.005
[2024-08-22T05:40:12.630Z] OT12
[2024-08-22T05:40:12.630Z] OT12 OK (1 test)
[2024-08-22T05:40:12.630Z] OT12
[2024-08-22T05:40:12.630Z] STF 05:40:12.407 - Monitoring Report Summary:
[2024-08-22T05:40:12.630Z] STF 05:40:12.407 - o Process OT12 ended with the expected exit code (0)
[2024-08-22T05:40:12.630Z] STF 05:40:12.408 - EXECUTE stage completed
[2024-08-22T05:40:12.630Z] STF 05:40:12.459 -
[2024-08-22T05:40:12.630Z] STF 05:40:12.459 - ==================== T E A R D O W N ====================
[2024-08-22T05:40:12.630Z] STF 05:40:12.459 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_1724303418762\PatModImg_PlatMod_0/20240822-054005-PatModImgTest/tearDown.pl
[2024-08-22T05:40:12.630Z] STF 05:40:12.574 - TEARDOWN stage completed
[2024-08-22T05:40:13.154Z] STF 05:40:12.584 -
[2024-08-22T05:40:13.154Z] STF 05:40:12.584 - ===================== R E S U L T S =====================
[2024-08-22T05:40:13.154Z] STF 05:40:12.584 - Stage results:
[2024-08-22T05:40:13.154Z] STF 05:40:12.584 - setUp: pass
[2024-08-22T05:40:13.154Z] STF 05:40:12.584 - execute: pass
[2024-08-22T05:40:13.154Z] STF 05:40:12.584 - teardown: pass
[2024-08-22T05:40:13.154Z] STF 05:40:12.584 -
[2024-08-22T05:40:13.154Z] STF 05:40:12.584 - Overall result: PASSED
[2024-08-22T05:40:13.154Z] -----------------------------------
[2024-08-22T05:40:13.154Z] PatModImg_PlatMod_0_PASSED
[2024-08-22T05:40:13.154Z] -----------------------------------
[2024-08-22T05:40:13.154Z]
[2024-08-22T05:40:13.154Z] TEST TEARDOWN:
[2024-08-22T05:40:13.154Z] Nothing to be done for teardown.
[2024-08-22T05:40:13.154Z] PatModImg_PlatMod_0 Finish Time: Thu Aug 22 05:40:12 2024 Epoch Time (ms): 1724305212753