PatModImg_AppMod_0
[2024-11-14T00:23:03.153Z] Running test PatModImg_AppMod_0 ...
[2024-11-14T00:23:03.153Z] ===============================================
[2024-11-14T00:23:03.153Z] PatModImg_AppMod_0 Start Time: Thu Nov 14 00:23:02 2024 Epoch Time (ms): 1731543782393
[2024-11-14T00:23:03.153Z] variation: Mode150
[2024-11-14T00:23:03.153Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-11-14T00:23:03.153Z] { \
[2024-11-14T00:23:03.153Z] echo ""; echo "TEST SETUP:"; \
[2024-11-14T00:23:03.153Z] echo "Nothing to be done for setup."; \
[2024-11-14T00:23:03.153Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0"; \
[2024-11-14T00:23:03.153Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0"; \
[2024-11-14T00:23:03.153Z] echo ""; echo "TESTING:"; \
[2024-11-14T00:23:03.153Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-11-14T00:23:03.153Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-14T00:23:03.153Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-14T00:23:03.153Z] echo "Nothing to be done for teardown."; \
[2024-11-14T00:23:03.153Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/TestTargetResult";
[2024-11-14T00:23:03.153Z]
[2024-11-14T00:23:03.153Z] TEST SETUP:
[2024-11-14T00:23:03.153Z] Nothing to be done for setup.
[2024-11-14T00:23:03.153Z]
[2024-11-14T00:23:03.153Z] TESTING:
[2024-11-14T00:23:03.153Z] STF 00:23:02.502 - ========================= S T F =========================
[2024-11-14T00:23:03.153Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0
[2024-11-14T00:23:03.153Z] There is 17423 Mb free
[2024-11-14T00:23:03.153Z] STF 00:23:02.517 - ================== G E N E R A T I O N ==================
[2024-11-14T00:23:03.153Z] STF 00:23:02.519 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image
[2024-11-14T00:23:03.153Z] STF 00:23:02.519 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest"
[2024-11-14T00:23:03.153Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:03.905Z] GEN 00:23:03.664 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2024-11-14T00:23:03.905Z] GEN 00:23:03.673 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-11-14T00:23:04.659Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/STF/stf.core/bin
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-14T00:23:04.659Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar
[2024-11-14T00:23:04.659Z] GEN 00:23:03.944 - Using Mode NoOptions. Values = ''
[2024-11-14T00:23:04.659Z] GEN 00:23:04.041 -
[2024-11-14T00:23:04.659Z] GEN 00:23:04.041 - Test command summary:
[2024-11-14T00:23:04.659Z] GEN 00:23:04.042 - Step Stage Command Description
[2024-11-14T00:23:04.659Z] GEN 00:23:04.042 - -----+--------+-----------------+------------
[2024-11-14T00:23:04.659Z] GEN 00:23:04.042 - 1 execute jar Create com.hello jar
[2024-11-14T00:23:04.659Z] GEN 00:23:04.042 - 2 execute jar Create com.hola jar
[2024-11-14T00:23:04.659Z] GEN 00:23:04.042 - 3 execute jar Create com.helper jar
[2024-11-14T00:23:04.659Z] GEN 00:23:04.042 - 4 execute jar Create com.discreet jar
[2024-11-14T00:23:04.659Z] GEN 00:23:04.043 - 5 execute jar Create tests jar
[2024-11-14T00:23:04.659Z] GEN 00:23:04.043 - 6 execute jlink Create runtime image for PatchModule test
[2024-11-14T00:23:04.659Z] GEN 00:23:04.043 - 7 execute jar Create com.hello jar
[2024-11-14T00:23:04.659Z] GEN 00:23:04.043 - 8 execute jar create java.xml.jar
[2024-11-14T00:23:04.659Z] GEN 00:23:04.043 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-11-14T00:23:04.659Z] GEN 00:23:04.043 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-11-14T00:23:04.659Z] STF 00:23:04.072 -
[2024-11-14T00:23:04.659Z] STF 00:23:04.072 - Script generation completed
[2024-11-14T00:23:04.659Z] STF 00:23:04.072 -
[2024-11-14T00:23:04.659Z] STF 00:23:04.073 -
[2024-11-14T00:23:04.659Z] STF 00:23:04.073 - ======================= S E T U P =======================
[2024-11-14T00:23:04.659Z] STF 00:23:04.073 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/setUp.pl
[2024-11-14T00:23:04.659Z] STF 00:23:04.158 - SETUP stage completed
[2024-11-14T00:23:04.659Z] STF 00:23:04.164 -
[2024-11-14T00:23:04.659Z] STF 00:23:04.164 - ==================== E X E C U T E - ====================
[2024-11-14T00:23:04.659Z] STF 00:23:04.164 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/execute.pl
[2024-11-14T00:23:04.659Z] STF 00:23:04.250 -
[2024-11-14T00:23:04.659Z] STF 00:23:04.250 - Java version
[2024-11-14T00:23:04.659Z] STF 00:23:04.250 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/java -version
[2024-11-14T00:23:04.659Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:04.659Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-11-14T00:23:04.659Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411132008 (build 21.0.6-beta+3-ea)
[2024-11-14T00:23:04.659Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411132008 (build 21.0.6-beta+3-ea, mixed mode)
[2024-11-14T00:23:04.659Z] STF 00:23:04.382 -
[2024-11-14T00:23:04.659Z] STF 00:23:04.382 - +------ Step 1 - Create com.hello jar
[2024-11-14T00:23:04.659Z] STF 00:23:04.382 - | Create modular jar
[2024-11-14T00:23:04.659Z] STF 00:23:04.382 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-14T00:23:04.659Z] STF 00:23:04.382 - | ModuleVersion: null
[2024-11-14T00:23:04.659Z] STF 00:23:04.382 - | MainClass: null
[2024-11-14T00:23:04.659Z] STF 00:23:04.382 - | HashModules: null
[2024-11-14T00:23:04.659Z] STF 00:23:04.382 - |
[2024-11-14T00:23:04.659Z] STF 00:23:04.383 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2024-11-14T00:23:04.659Z] STF 00:23:04.383 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/1.CMJ.stderr
[2024-11-14T00:23:04.659Z] STF 00:23:04.383 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/1.CMJ.stdout
[2024-11-14T00:23:04.659Z] STF 00:23:04.403 - Monitoring processes: CMJ
[2024-11-14T00:23:04.659Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - Monitoring Report Summary:
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - Created modular jar: 1.com.hello.jar
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 -
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - +------ Step 2 - Create com.hola jar
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - | Create modular jar
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - | ModuleVersion: null
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - | MainClass: null
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - | HashModules: null
[2024-11-14T00:23:05.412Z] STF 00:23:04.799 - |
[2024-11-14T00:23:05.412Z] STF 00:23:04.800 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2024-11-14T00:23:05.412Z] STF 00:23:04.800 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/2.CMJ.stderr
[2024-11-14T00:23:05.412Z] STF 00:23:04.800 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/2.CMJ.stdout
[2024-11-14T00:23:05.412Z] STF 00:23:04.806 - Monitoring processes: CMJ
[2024-11-14T00:23:05.412Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - Monitoring Report Summary:
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - Created modular jar: 2.com.hola.jar
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 -
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - +------ Step 3 - Create com.helper jar
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - | Create modular jar
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - | ModuleVersion: null
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - | MainClass: null
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - | HashModules: null
[2024-11-14T00:23:05.412Z] STF 00:23:05.204 - |
[2024-11-14T00:23:05.412Z] STF 00:23:05.205 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2024-11-14T00:23:05.412Z] STF 00:23:05.205 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/3.CMJ.stderr
[2024-11-14T00:23:05.412Z] STF 00:23:05.205 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/3.CMJ.stdout
[2024-11-14T00:23:05.412Z] STF 00:23:05.211 - Monitoring processes: CMJ
[2024-11-14T00:23:05.412Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - Monitoring Report Summary:
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - Created modular jar: 3.com.helper.jar
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 -
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - +------ Step 4 - Create com.discreet jar
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - | Create modular jar
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - | ModuleVersion: null
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - | MainClass: null
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - | HashModules: null
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - |
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/4.CMJ.stderr
[2024-11-14T00:23:06.167Z] STF 00:23:05.608 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/4.CMJ.stdout
[2024-11-14T00:23:06.167Z] STF 00:23:05.615 - Monitoring processes: CMJ
[2024-11-14T00:23:06.167Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:06.167Z] STF 00:23:06.029 - Monitoring Report Summary:
[2024-11-14T00:23:06.167Z] STF 00:23:06.029 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - Created modular jar: 4.com.discreet.jar
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 -
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - +------ Step 5 - Create tests jar
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - | Create modular jar
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - | ModuleVersion: null
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - | MainClass: null
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - | HashModules: null
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - |
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/5.CMJ.stderr
[2024-11-14T00:23:06.167Z] STF 00:23:06.030 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/5.CMJ.stdout
[2024-11-14T00:23:06.167Z] STF 00:23:06.037 - Monitoring processes: CMJ
[2024-11-14T00:23:06.167Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:06.925Z] STF 00:23:06.447 - Monitoring Report Summary:
[2024-11-14T00:23:06.925Z] STF 00:23:06.447 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T00:23:06.925Z] STF 00:23:06.447 - Created modular jar: 5.com.test.jar
[2024-11-14T00:23:06.925Z] STF 00:23:06.447 -
[2024-11-14T00:23:06.925Z] STF 00:23:06.447 - +------ Step 6 - Create runtime image for PatchModule test
[2024-11-14T00:23:06.925Z] STF 00:23:06.447 - | Run jlink to create runtime image
[2024-11-14T00:23:06.925Z] STF 00:23:06.447 - | ImageName: XpJVM
[2024-11-14T00:23:06.925Z] STF 00:23:06.447 - |
[2024-11-14T00:23:06.925Z] STF 00:23:06.448 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/tmp/6.XpJVM
[2024-11-14T00:23:06.925Z] STF 00:23:06.448 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/6.JLNK.stderr
[2024-11-14T00:23:06.925Z] STF 00:23:06.448 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/6.JLNK.stdout
[2024-11-14T00:23:06.925Z] STF 00:23:06.455 - Monitoring processes: JLNK
[2024-11-14T00:23:06.925Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - Monitoring Report Summary:
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - o Process JLNK ended with the expected exit code (0)
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 -
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - +------ Step 7 - Create com.hello jar
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - | Create modular jar
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - | ModuleVersion: null
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - | MainClass: null
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - | HashModules: null
[2024-11-14T00:23:09.344Z] STF 00:23:08.928 - |
[2024-11-14T00:23:09.344Z] STF 00:23:08.929 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2024-11-14T00:23:09.344Z] STF 00:23:08.929 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/7.CMJ.stderr
[2024-11-14T00:23:09.344Z] STF 00:23:08.929 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/7.CMJ.stdout
[2024-11-14T00:23:09.344Z] STF 00:23:08.935 - Monitoring processes: CMJ
[2024-11-14T00:23:09.344Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:10.097Z] STF 00:23:09.324 - Monitoring Report Summary:
[2024-11-14T00:23:10.097Z] STF 00:23:09.324 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - Created modular jar: 7.com.hello.jar
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 -
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - +------ Step 8 - create java.xml.jar
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - | Create modular jar
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - | ModuleVersion: null
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - | MainClass: null
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - | HashModules: null
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - |
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/8.CMJ.stderr
[2024-11-14T00:23:10.097Z] STF 00:23:09.325 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/8.CMJ.stdout
[2024-11-14T00:23:10.097Z] STF 00:23:09.332 - Monitoring processes: CMJ
[2024-11-14T00:23:10.097Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:10.097Z] STF 00:23:09.720 - Monitoring Report Summary:
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - Created modular jar: 8.java.xml.jar
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 -
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - | Run foreground process
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - | Mnemonic: OT21
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - | Echo: ECHO_ON
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - | Expectation: CLEAN_RUN within 5m
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - |
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/9.OT21.stderr
[2024-11-14T00:23:10.097Z] STF 00:23:09.721 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/9.OT21.stdout
[2024-11-14T00:23:10.097Z] STF 00:23:09.726 - Monitoring processes: OT21
[2024-11-14T00:23:10.850Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:10.850Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2024-11-14T00:23:10.850Z] OT21 JUnit version 4.12
[2024-11-14T00:23:10.850Z] OT21 .
[2024-11-14T00:23:10.850Z] OT21 Time: 0.023
[2024-11-14T00:23:10.850Z] OT21
[2024-11-14T00:23:10.850Z] OT21 OK (1 test)
[2024-11-14T00:23:10.850Z] OT21
[2024-11-14T00:23:10.850Z] STF 00:23:10.698 - Monitoring Report Summary:
[2024-11-14T00:23:10.850Z] STF 00:23:10.698 - o Process OT21 ended with the expected exit code (0)
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 -
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - | Run foreground process
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - | Mnemonic: OT22
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - | Echo: ECHO_ON
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - | Expectation: CLEAN_RUN within 5m
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - |
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/10.OT22.stderr
[2024-11-14T00:23:10.850Z] STF 00:23:10.699 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/results/10.OT22.stdout
[2024-11-14T00:23:10.850Z] STF 00:23:10.706 - Monitoring processes: OT22
[2024-11-14T00:23:11.604Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T00:23:11.604Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/modules/7.com.hello.jar
[2024-11-14T00:23:11.604Z] OT22 JUnit version 4.12
[2024-11-14T00:23:11.604Z] OT22 .
[2024-11-14T00:23:11.604Z] OT22 Time: 0.007
[2024-11-14T00:23:11.604Z] OT22
[2024-11-14T00:23:11.604Z] OT22 OK (1 test)
[2024-11-14T00:23:11.604Z] OT22
[2024-11-14T00:23:11.604Z] STF 00:23:11.071 - Monitoring Report Summary:
[2024-11-14T00:23:11.604Z] STF 00:23:11.071 - o Process OT22 ended with the expected exit code (0)
[2024-11-14T00:23:11.604Z] STF 00:23:11.071 - EXECUTE stage completed
[2024-11-14T00:23:11.604Z] STF 00:23:11.118 -
[2024-11-14T00:23:11.604Z] STF 00:23:11.118 - ==================== T E A R D O W N ====================
[2024-11-14T00:23:11.604Z] STF 00:23:11.118 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_ppc64_aix_testList_0/aqa-tests/TKG/../TKG/output_17315369864280/PatModImg_AppMod_0/20241114-002302-PatModImgTest/tearDown.pl
[2024-11-14T00:23:11.604Z] STF 00:23:11.203 - TEARDOWN stage completed
[2024-11-14T00:23:11.604Z] STF 00:23:11.213 -
[2024-11-14T00:23:11.604Z] STF 00:23:11.213 - ===================== R E S U L T S =====================
[2024-11-14T00:23:11.604Z] STF 00:23:11.213 - Stage results:
[2024-11-14T00:23:11.604Z] STF 00:23:11.213 - setUp: pass
[2024-11-14T00:23:11.604Z] STF 00:23:11.213 - execute: pass
[2024-11-14T00:23:11.604Z] STF 00:23:11.213 - teardown: pass
[2024-11-14T00:23:11.604Z] STF 00:23:11.213 -
[2024-11-14T00:23:11.604Z] STF 00:23:11.213 - Overall result: PASSED
[2024-11-14T00:23:11.604Z] -----------------------------------
[2024-11-14T00:23:11.604Z] PatModImg_AppMod_0_PASSED
[2024-11-14T00:23:11.604Z] -----------------------------------
[2024-11-14T00:23:11.604Z]
[2024-11-14T00:23:11.604Z] TEST TEARDOWN:
[2024-11-14T00:23:11.604Z] Nothing to be done for teardown.
[2024-11-14T00:23:11.604Z] PatModImg_AppMod_0 Finish Time: Thu Nov 14 00:23:11 2024 Epoch Time (ms): 1731543791288