PatModImg_AppMod_1
[2024-08-08T06:09:07.224Z] Running test PatModImg_AppMod_1 ...
[2024-08-08T06:09:07.224Z] ===============================================
[2024-08-08T06:09:07.595Z] PatModImg_AppMod_1 Start Time: Thu Aug 8 06:09:07 2024 Epoch Time (ms): 1723097347343
[2024-08-08T06:09:07.595Z] variation: Mode650
[2024-08-08T06:09:07.965Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-08-08T06:09:07.965Z] { \
[2024-08-08T06:09:07.965Z] echo ""; echo "TEST SETUP:"; \
[2024-08-08T06:09:07.965Z] echo "Nothing to be done for setup."; \
[2024-08-08T06:09:07.965Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17230948245205\\PatModImg_AppMod_1"; \
[2024-08-08T06:09:07.965Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17230948245205\\PatModImg_AppMod_1"; \
[2024-08-08T06:09:07.965Z] echo ""; echo "TESTING:"; \
[2024-08-08T06:09:07.965Z] perl C:/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:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17230948245205\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-08-08T06:09:07.965Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17230948245205\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-08-08T06:09:07.965Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-08-08T06:09:07.965Z] echo "Nothing to be done for teardown."; \
[2024-08-08T06:09:07.965Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17230948245205\\TestTargetResult";
[2024-08-08T06:09:07.965Z]
[2024-08-08T06:09:07.965Z] TEST SETUP:
[2024-08-08T06:09:07.965Z] Nothing to be done for setup.
[2024-08-08T06:09:07.965Z]
[2024-08-08T06:09:07.965Z] TESTING:
[2024-08-08T06:09:08.296Z] STF 06:09:07.974 - ========================= S T F =========================
[2024-08-08T06:09:08.296Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17230948245205\PatModImg_AppMod_1
[2024-08-08T06:09:08.296Z] There is 107372 Mb free
[2024-08-08T06:09:08.296Z] STF 06:09:08.018 - ================== G E N E R A T I O N ==================
[2024-08-08T06:09:08.296Z] STF 06:09:08.020 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2024-08-08T06:09:08.296Z] STF 06:09:08.021 - Starting process to generate scripts: c:/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:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/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:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17230948245205\PatModImg_AppMod_1/20240808-060907-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17230948245205\PatModImg_AppMod_1/20240808-060907-PatModImgTest"
[2024-08-08T06:09:08.296Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:08.296Z] GEN [0.017s][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-08T06:09:09.415Z] GEN 06:09:08.968 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-08-08T06:09:09.415Z] GEN 06:09:08.979 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-08-08T06:09:09.415Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-08-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-08-08T06:09:09.415Z] GEN C:\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-08T06:09:09.415Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-08-08T06:09:09.415Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-08-08T06:09:09.415Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-08-08T06:09:09.415Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-08-08T06:09:09.415Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-08-08T06:09:09.415Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-08-08T06:09:09.415Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-08-08T06:09:09.415Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-08-08T06:09:09.415Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2024-08-08T06:09:09.415Z] GEN 06:09:09.174 - Using Mode NoOptions. Values = ''
[2024-08-08T06:09:09.415Z] GEN 06:09:09.265 -
[2024-08-08T06:09:09.415Z] GEN 06:09:09.265 - Test command summary:
[2024-08-08T06:09:09.415Z] GEN 06:09:09.265 - Step Stage Command Description
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - -----+--------+-----------------+------------
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 1 execute jar Create com.hello jar
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 2 execute jar Create com.hola jar
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 3 execute jar Create com.helper jar
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 4 execute jar Create com.discreet jar
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 5 execute jar Create tests jar
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 6 execute jlink Create runtime image for PatchModule test
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 7 execute jar Create com.hello jar
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 8 execute jar create java.xml.jar
[2024-08-08T06:09:09.415Z] GEN 06:09:09.266 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-08-08T06:09:09.415Z] GEN 06:09:09.267 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-08-08T06:09:09.415Z] STF 06:09:09.303 -
[2024-08-08T06:09:09.415Z] STF 06:09:09.303 - Script generation completed
[2024-08-08T06:09:09.415Z] STF 06:09:09.303 -
[2024-08-08T06:09:09.415Z] STF 06:09:09.305 -
[2024-08-08T06:09:09.415Z] STF 06:09:09.305 - ======================= S E T U P =======================
[2024-08-08T06:09:09.415Z] STF 06:09:09.305 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17230948245205\PatModImg_AppMod_1/20240808-060907-PatModImgTest/setUp.pl
[2024-08-08T06:09:09.742Z] STF 06:09:09.434 - SETUP stage completed
[2024-08-08T06:09:09.742Z] STF 06:09:09.444 -
[2024-08-08T06:09:09.742Z] STF 06:09:09.444 - ==================== E X E C U T E - ====================
[2024-08-08T06:09:09.742Z] STF 06:09:09.444 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17230948245205\PatModImg_AppMod_1/20240808-060907-PatModImgTest/execute.pl
[2024-08-08T06:09:09.742Z] STF 06:09:09.571 -
[2024-08-08T06:09:09.742Z] STF 06:09:09.572 - Java version
[2024-08-08T06:09:09.742Z] STF 06:09:09.572 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-08-08T06:09:09.742Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:09.742Z] openjdk version "21.0.5-beta" 2024-10-15
[2024-08-08T06:09:09.742Z] OpenJDK Runtime Environment Temurin-21.0.5+2-202408071907 (build 21.0.5-beta+2-ea)
[2024-08-08T06:09:09.742Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+2-202408071907 (build 21.0.5-beta+2-ea, mixed mode, sharing)
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 -
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - +------ Step 1 - Create com.hello jar
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - | Create modular jar
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - | ModuleVersion: null
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - | MainClass: null
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - | HashModules: null
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - |
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/modules/1.com.hello.jar -C C:\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-08T06:09:09.742Z] STF 06:09:09.660 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/1.CMJ.stderr
[2024-08-08T06:09:09.742Z] STF 06:09:09.660 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/1.CMJ.stdout
[2024-08-08T06:09:09.742Z] STF 06:09:09.693 - Monitoring processes: CMJ
[2024-08-08T06:09:10.066Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - Monitoring Report Summary:
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - o Process CMJ ended with the expected exit code (0)
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - Created modular jar: 1.com.hello.jar
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 -
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - +------ Step 2 - Create com.hola jar
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - | Create modular jar
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - | ModuleVersion: null
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - | MainClass: null
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - | HashModules: null
[2024-08-08T06:09:10.066Z] STF 06:09:09.990 - |
[2024-08-08T06:09:10.066Z] STF 06:09:09.991 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/modules/2.com.hola.jar -C C:\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-08T06:09:10.066Z] STF 06:09:09.991 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/2.CMJ.stderr
[2024-08-08T06:09:10.066Z] STF 06:09:09.991 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/2.CMJ.stdout
[2024-08-08T06:09:10.066Z] STF 06:09:09.996 - Monitoring processes: CMJ
[2024-08-08T06:09:10.066Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:10.396Z] STF 06:09:10.295 - Monitoring Report Summary:
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - o Process CMJ ended with the expected exit code (0)
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - Created modular jar: 2.com.hola.jar
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 -
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - +------ Step 3 - Create com.helper jar
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - | Create modular jar
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - | ModuleVersion: null
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - | MainClass: null
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - | HashModules: null
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - |
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/modules/3.com.helper.jar -C C:\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-08T06:09:10.396Z] STF 06:09:10.296 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/3.CMJ.stderr
[2024-08-08T06:09:10.396Z] STF 06:09:10.296 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/3.CMJ.stdout
[2024-08-08T06:09:10.396Z] STF 06:09:10.302 - Monitoring processes: CMJ
[2024-08-08T06:09:10.396Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - Monitoring Report Summary:
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - o Process CMJ ended with the expected exit code (0)
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - Created modular jar: 3.com.helper.jar
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 -
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - +------ Step 4 - Create com.discreet jar
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - | Create modular jar
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - | ModuleVersion: null
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - | MainClass: null
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - | HashModules: null
[2024-08-08T06:09:10.725Z] STF 06:09:10.593 - |
[2024-08-08T06:09:10.726Z] STF 06:09:10.593 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/modules/4.com.discreet.jar -C C:\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-08T06:09:10.726Z] STF 06:09:10.593 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/4.CMJ.stderr
[2024-08-08T06:09:10.726Z] STF 06:09:10.593 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/4.CMJ.stdout
[2024-08-08T06:09:10.726Z] STF 06:09:10.598 - Monitoring processes: CMJ
[2024-08-08T06:09:10.726Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - Monitoring Report Summary:
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - o Process CMJ ended with the expected exit code (0)
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - Created modular jar: 4.com.discreet.jar
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 -
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - +------ Step 5 - Create tests jar
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - | Create modular jar
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - | ModuleVersion: null
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - | MainClass: null
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - | HashModules: null
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - |
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/modules/5.com.test.jar -C C:\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-08T06:09:11.051Z] STF 06:09:10.901 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/5.CMJ.stderr
[2024-08-08T06:09:11.051Z] STF 06:09:10.901 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/5.CMJ.stdout
[2024-08-08T06:09:11.051Z] STF 06:09:10.908 - Monitoring processes: CMJ
[2024-08-08T06:09:11.051Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - Monitoring Report Summary:
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - o Process CMJ ended with the expected exit code (0)
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - Created modular jar: 5.com.test.jar
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 -
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - +------ Step 6 - Create runtime image for PatchModule test
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - | Run jlink to create runtime image
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - | ImageName: XpJVM
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - |
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17230948245205\PatModImg_AppMod_1\20240808-060907-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17230948245205\PatModImg_AppMod_1\20240808-060907-PatModImgTest\tmp\6.XpJVM
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/6.JLNK.stderr
[2024-08-08T06:09:11.386Z] STF 06:09:11.223 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/6.JLNK.stdout
[2024-08-08T06:09:11.386Z] STF 06:09:11.230 - Monitoring processes: JLNK
[2024-08-08T06:09:11.386Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:14.287Z] STF 06:09:13.549 - Monitoring Report Summary:
[2024-08-08T06:09:14.287Z] STF 06:09:13.549 - o Process JLNK ended with the expected exit code (0)
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 -
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - +------ Step 7 - Create com.hello jar
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - | Create modular jar
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - | ModuleVersion: null
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - | MainClass: null
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - | HashModules: null
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - |
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/modules/7.com.hello.jar -C C:\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-08T06:09:14.287Z] STF 06:09:13.550 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/7.CMJ.stderr
[2024-08-08T06:09:14.287Z] STF 06:09:13.550 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/7.CMJ.stdout
[2024-08-08T06:09:14.287Z] STF 06:09:13.558 - Monitoring processes: CMJ
[2024-08-08T06:09:14.287Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:14.287Z] STF 06:09:13.947 - Monitoring Report Summary:
[2024-08-08T06:09:14.287Z] STF 06:09:13.947 - o Process CMJ ended with the expected exit code (0)
[2024-08-08T06:09:14.287Z] STF 06:09:13.948 - Created modular jar: 7.com.hello.jar
[2024-08-08T06:09:14.287Z] STF 06:09:13.948 -
[2024-08-08T06:09:14.287Z] STF 06:09:13.948 - +------ Step 8 - create java.xml.jar
[2024-08-08T06:09:14.287Z] STF 06:09:13.948 - | Create modular jar
[2024-08-08T06:09:14.288Z] STF 06:09:13.948 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-08-08T06:09:14.288Z] STF 06:09:13.948 - | ModuleVersion: null
[2024-08-08T06:09:14.288Z] STF 06:09:13.948 - | MainClass: null
[2024-08-08T06:09:14.288Z] STF 06:09:13.948 - | HashModules: null
[2024-08-08T06:09:14.288Z] STF 06:09:13.948 - |
[2024-08-08T06:09:14.288Z] STF 06:09:13.948 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/modules/8.java.xml.jar -C C:\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-08T06:09:14.288Z] STF 06:09:13.948 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/8.CMJ.stderr
[2024-08-08T06:09:14.288Z] STF 06:09:13.948 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/8.CMJ.stdout
[2024-08-08T06:09:14.288Z] STF 06:09:13.954 - Monitoring processes: CMJ
[2024-08-08T06:09:14.288Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - Monitoring Report Summary:
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - o Process CMJ ended with the expected exit code (0)
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - Created modular jar: 8.java.xml.jar
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 -
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - | Run foreground process
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - | Mnemonic: OT21
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - | Echo: ECHO_ON
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - | Expectation: CLEAN_RUN within 5m
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - |
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/9.OT21.stderr
[2024-08-08T06:09:14.613Z] STF 06:09:14.254 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/9.OT21.stdout
[2024-08-08T06:09:14.613Z] STF 06:09:14.293 - Monitoring processes: OT21
[2024-08-08T06:09:14.613Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:14.613Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\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-08T06:09:14.613Z] OT21 JUnit version 4.12
[2024-08-08T06:09:14.943Z] OT21 .
[2024-08-08T06:09:14.943Z] OT21 Time: 0.011
[2024-08-08T06:09:14.943Z] OT21
[2024-08-08T06:09:14.943Z] OT21 OK (1 test)
[2024-08-08T06:09:14.943Z] OT21
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - Monitoring Report Summary:
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - o Process OT21 ended with the expected exit code (0)
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 -
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - | Run foreground process
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - | Mnemonic: OT22
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - | Echo: ECHO_ON
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - | Expectation: CLEAN_RUN within 5m
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - |
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/10.OT22.stderr
[2024-08-08T06:09:14.943Z] STF 06:09:14.657 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17230948245205/PatModImg_AppMod_1/20240808-060907-PatModImgTest/results/10.OT22.stdout
[2024-08-08T06:09:14.943Z] STF 06:09:14.663 - Monitoring processes: OT22
[2024-08-08T06:09:14.943Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-08-08T06:09:14.943Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17230948245205\PatModImg_AppMod_1\20240808-060907-PatModImgTest\modules\7.com.hello.jar
[2024-08-08T06:09:14.943Z] OT22 JUnit version 4.12
[2024-08-08T06:09:15.329Z] OT22 .
[2024-08-08T06:09:15.329Z] OT22 Time: 0.007
[2024-08-08T06:09:15.329Z] OT22
[2024-08-08T06:09:15.329Z] OT22 OK (1 test)
[2024-08-08T06:09:15.329Z] OT22
[2024-08-08T06:09:15.329Z] STF 06:09:14.985 - Monitoring Report Summary:
[2024-08-08T06:09:15.329Z] STF 06:09:14.985 - o Process OT22 ended with the expected exit code (0)
[2024-08-08T06:09:15.329Z] STF 06:09:14.985 - EXECUTE stage completed
[2024-08-08T06:09:15.329Z] STF 06:09:15.047 -
[2024-08-08T06:09:15.329Z] STF 06:09:15.047 - ==================== T E A R D O W N ====================
[2024-08-08T06:09:15.329Z] STF 06:09:15.047 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17230948245205\PatModImg_AppMod_1/20240808-060907-PatModImgTest/tearDown.pl
[2024-08-08T06:09:15.329Z] STF 06:09:15.176 - TEARDOWN stage completed
[2024-08-08T06:09:15.329Z] STF 06:09:15.189 -
[2024-08-08T06:09:15.329Z] STF 06:09:15.189 - ===================== R E S U L T S =====================
[2024-08-08T06:09:15.329Z] STF 06:09:15.189 - Stage results:
[2024-08-08T06:09:15.329Z] STF 06:09:15.189 - setUp: pass
[2024-08-08T06:09:15.329Z] STF 06:09:15.189 - execute: pass
[2024-08-08T06:09:15.329Z] STF 06:09:15.189 - teardown: pass
[2024-08-08T06:09:15.329Z] STF 06:09:15.189 -
[2024-08-08T06:09:15.329Z] STF 06:09:15.189 - Overall result: PASSED
[2024-08-08T06:09:15.329Z] -----------------------------------
[2024-08-08T06:09:15.329Z] PatModImg_AppMod_1_PASSED
[2024-08-08T06:09:15.330Z] -----------------------------------
[2024-08-08T06:09:15.702Z]
[2024-08-08T06:09:15.702Z] TEST TEARDOWN:
[2024-08-08T06:09:15.702Z] Nothing to be done for teardown.
[2024-08-08T06:09:15.702Z] PatModImg_AppMod_1 Finish Time: Thu Aug 8 06:09:15 2024 Epoch Time (ms): 1723097355431