AutoMod2_0

[2025-02-26T21:34:18.107Z] Running test AutoMod2_0 ... [2025-02-26T21:34:18.107Z] =============================================== [2025-02-26T21:34:18.107Z] AutoMod2_0 Start Time: Wed Feb 26 13:34:17 2025 Epoch Time (ms): 1740605657789 [2025-02-26T21:34:18.107Z] variation: Mode150 [2025-02-26T21:34:18.107Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-26T21:34:18.107Z] { \ [2025-02-26T21:34:18.107Z] echo ""; echo "TEST SETUP:"; \ [2025-02-26T21:34:18.107Z] echo "Nothing to be done for setup."; \ [2025-02-26T21:34:18.107Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0"; \ [2025-02-26T21:34:18.107Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0"; \ [2025-02-26T21:34:18.107Z] echo ""; echo "TESTING:"; \ [2025-02-26T21:34:18.107Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0" -test=AutoModTest -test-args="variant=AutoMod2"; \ [2025-02-26T21:34:18.107Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "AutoMod2_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0"; else echo "-----------------------------------"; echo "AutoMod2_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-26T21:34:18.107Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-26T21:34:18.107Z] echo "Nothing to be done for teardown."; \ [2025-02-26T21:34:18.107Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/TestTargetResult"; [2025-02-26T21:34:18.107Z] [2025-02-26T21:34:18.107Z] TEST SETUP: [2025-02-26T21:34:18.107Z] Nothing to be done for setup. [2025-02-26T21:34:18.107Z] [2025-02-26T21:34:18.107Z] TESTING: [2025-02-26T21:34:18.107Z] STF 13:34:17.964 - ========================= S T F ========================= [2025-02-26T21:34:18.107Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0 [2025-02-26T21:34:18.680Z] There is 10806 Mb free [2025-02-26T21:34:18.680Z] STF 13:34:17.977 - ================== G E N E R A T I O N ================== [2025-02-26T21:34:18.680Z] STF 13:34:17.978 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-26T21:34:18.681Z] STF 13:34:17.978 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest" [2025-02-26T21:34:18.681Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:21.801Z] GEN 13:34:21.207 - Found test. Project: 'openjdk.test.modularity' class: 'AutoModTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-26T21:34:21.801Z] GEN 13:34:21.272 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.AutoModTest' [2025-02-26T21:34:22.243Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-02-26T21:34:22.243Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-02-26T21:34:22.243Z] GEN 13:34:21.798 - Using Mode NoOptions. Values = '' [2025-02-26T21:34:22.243Z] GEN 13:34:21.967 - [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - Test command summary: [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - Step Stage Command Description [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - -----+--------+-----------------+------------ [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - 1 setUp jar create common.jar [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - 2 setUp jar create com.hola.jar [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - 3 setUp jar create com.helper.jar [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - 4 setUp jar create com.test.jar [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - 5 setUp jar create com.hello.jar [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - 6 setUp jar create com.discreet.jar [2025-02-26T21:34:22.243Z] GEN 13:34:21.968 - 7 execute Run java Run TestAutomaticModules for usecase2 [2025-02-26T21:34:22.243Z] STF 13:34:22.034 - [2025-02-26T21:34:22.243Z] STF 13:34:22.034 - Script generation completed [2025-02-26T21:34:22.243Z] STF 13:34:22.034 - [2025-02-26T21:34:22.243Z] STF 13:34:22.034 - [2025-02-26T21:34:22.243Z] STF 13:34:22.035 - ======================= S E T U P ======================= [2025-02-26T21:34:22.243Z] STF 13:34:22.035 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/setUp.pl [2025-02-26T21:34:22.849Z] STF 13:34:22.177 - [2025-02-26T21:34:22.849Z] STF 13:34:22.177 - +------ Step 1 - create common.jar [2025-02-26T21:34:22.849Z] STF 13:34:22.177 - | Create project jar [2025-02-26T21:34:22.849Z] STF 13:34:22.177 - | ProjectSpec: openjdk.test.modularity/bin/common [2025-02-26T21:34:22.849Z] STF 13:34:22.177 - | ArchiveSpec: ["adoptopenjdk"] [2025-02-26T21:34:22.849Z] STF 13:34:22.177 - | [2025-02-26T21:34:22.849Z] STF 13:34:22.178 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/tmp/common.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common adoptopenjdk [2025-02-26T21:34:22.849Z] STF 13:34:22.178 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/1.JAR.stderr [2025-02-26T21:34:22.849Z] STF 13:34:22.178 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/1.JAR.stdout [2025-02-26T21:34:22.849Z] STF 13:34:22.323 - Monitoring processes: JAR [2025-02-26T21:34:24.085Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - Monitoring Report Summary: [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - o Process JAR ended with the expected exit code (0) [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - Created project jar: common.jar [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - +------ Step 2 - create com.hola.jar [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - | Create project jar [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - | ProjectSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - | ArchiveSpec: ["adoptopenjdk"] [2025-02-26T21:34:24.486Z] STF 13:34:24.236 - | [2025-02-26T21:34:24.486Z] STF 13:34:24.237 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/tmp/com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola adoptopenjdk [2025-02-26T21:34:24.486Z] STF 13:34:24.237 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/2.JAR.stderr [2025-02-26T21:34:24.486Z] STF 13:34:24.237 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/2.JAR.stdout [2025-02-26T21:34:24.486Z] STF 13:34:24.241 - Monitoring processes: JAR [2025-02-26T21:34:24.486Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:24.977Z] STF 13:34:24.791 - Monitoring Report Summary: [2025-02-26T21:34:24.977Z] STF 13:34:24.792 - o Process JAR ended with the expected exit code (0) [2025-02-26T21:34:24.977Z] STF 13:34:24.792 - Created project jar: com.hola.jar [2025-02-26T21:34:24.977Z] STF 13:34:24.792 - [2025-02-26T21:34:24.977Z] STF 13:34:24.792 - +------ Step 3 - create com.helper.jar [2025-02-26T21:34:24.977Z] STF 13:34:24.792 - | Create project jar [2025-02-26T21:34:24.977Z] STF 13:34:24.792 - | ProjectSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-02-26T21:34:24.977Z] STF 13:34:24.792 - | ArchiveSpec: ["adoptopenjdk"] [2025-02-26T21:34:24.977Z] STF 13:34:24.792 - | [2025-02-26T21:34:24.977Z] STF 13:34:24.793 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/tmp/com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper adoptopenjdk [2025-02-26T21:34:24.977Z] STF 13:34:24.793 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/3.JAR.stderr [2025-02-26T21:34:24.977Z] STF 13:34:24.793 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/3.JAR.stdout [2025-02-26T21:34:24.977Z] STF 13:34:24.807 - Monitoring processes: JAR [2025-02-26T21:34:25.413Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:26.025Z] STF 13:34:25.633 - Monitoring Report Summary: [2025-02-26T21:34:26.025Z] STF 13:34:25.633 - o Process JAR ended with the expected exit code (0) [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - Created project jar: com.helper.jar [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - +------ Step 4 - create com.test.jar [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - | Create project jar [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - | ArchiveSpec: ["net"] [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - | [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/tmp/com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test net [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/4.JAR.stderr [2025-02-26T21:34:26.025Z] STF 13:34:25.634 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/4.JAR.stdout [2025-02-26T21:34:26.025Z] STF 13:34:25.646 - Monitoring processes: JAR [2025-02-26T21:34:26.526Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:27.400Z] STF 13:34:27.057 - Monitoring Report Summary: [2025-02-26T21:34:27.400Z] STF 13:34:27.057 - o Process JAR ended with the expected exit code (0) [2025-02-26T21:34:27.400Z] STF 13:34:27.057 - Created project jar: com.test.jar [2025-02-26T21:34:27.400Z] STF 13:34:27.057 - [2025-02-26T21:34:27.400Z] STF 13:34:27.057 - +------ Step 5 - create com.hello.jar [2025-02-26T21:34:27.400Z] STF 13:34:27.057 - | Create modular jar [2025-02-26T21:34:27.400Z] STF 13:34:27.057 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-26T21:34:27.400Z] STF 13:34:27.058 - | ModuleVersion: null [2025-02-26T21:34:27.400Z] STF 13:34:27.058 - | MainClass: null [2025-02-26T21:34:27.400Z] STF 13:34:27.058 - | HashModules: null [2025-02-26T21:34:27.400Z] STF 13:34:27.058 - | [2025-02-26T21:34:27.400Z] STF 13:34:27.058 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/modules/5.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-26T21:34:27.400Z] STF 13:34:27.058 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/5.CMJ.stderr [2025-02-26T21:34:27.400Z] STF 13:34:27.058 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/5.CMJ.stdout [2025-02-26T21:34:27.400Z] STF 13:34:27.060 - Monitoring processes: CMJ [2025-02-26T21:34:27.400Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:28.272Z] STF 13:34:27.708 - Monitoring Report Summary: [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - o Process CMJ ended with the expected exit code (0) [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - Created modular jar: 5.com.hello.jar [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - +------ Step 6 - create com.discreet.jar [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - | Create modular jar [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - | ModuleVersion: null [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - | MainClass: null [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - | HashModules: null [2025-02-26T21:34:28.273Z] STF 13:34:27.708 - | [2025-02-26T21:34:28.273Z] STF 13:34:27.709 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/modules/6.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-02-26T21:34:28.273Z] STF 13:34:27.709 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/6.CMJ.stderr [2025-02-26T21:34:28.273Z] STF 13:34:27.709 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/6.CMJ.stdout [2025-02-26T21:34:28.273Z] STF 13:34:27.762 - Monitoring processes: CMJ [2025-02-26T21:34:28.273Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:28.705Z] STF 13:34:28.380 - Monitoring Report Summary: [2025-02-26T21:34:28.705Z] STF 13:34:28.380 - o Process CMJ ended with the expected exit code (0) [2025-02-26T21:34:28.705Z] STF 13:34:28.380 - Created modular jar: 6.com.discreet.jar [2025-02-26T21:34:28.705Z] STF 13:34:28.380 - SETUP stage completed [2025-02-26T21:34:28.705Z] STF 13:34:28.446 - [2025-02-26T21:34:28.705Z] STF 13:34:28.446 - ==================== E X E C U T E - ==================== [2025-02-26T21:34:28.705Z] STF 13:34:28.446 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/execute.pl [2025-02-26T21:34:29.170Z] STF 13:34:28.607 - [2025-02-26T21:34:29.170Z] STF 13:34:28.607 - Java version [2025-02-26T21:34:29.170Z] STF 13:34:28.607 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-26T21:34:29.170Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:29.765Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-26T21:34:29.765Z] OpenJDK Runtime Environment Temurin-21.0.7+4-202502262005 (build 21.0.7-beta+4-ea) [2025-02-26T21:34:29.765Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+4-202502262005 (build 21.0.7-beta+4-ea, mixed mode) [2025-02-26T21:34:29.765Z] STF 13:34:29.236 - [2025-02-26T21:34:29.765Z] STF 13:34:29.236 - +------ Step 7 - Run TestAutomaticModules for usecase2 [2025-02-26T21:34:29.765Z] STF 13:34:29.236 - | Run foreground process [2025-02-26T21:34:29.765Z] STF 13:34:29.237 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-02-26T21:34:29.765Z] STF 13:34:29.237 - | Mnemonic: T2 [2025-02-26T21:34:29.765Z] STF 13:34:29.237 - | Echo: ECHO_ON [2025-02-26T21:34:29.765Z] STF 13:34:29.237 - | Expectation: CLEAN_RUN within 1m [2025-02-26T21:34:29.765Z] STF 13:34:29.237 - | [2025-02-26T21:34:29.765Z] STF 13:34:29.263 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=junit --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests:/Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/tmp/common.jar --add-modules=com.test,junit,common -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestAutomaticModules [2025-02-26T21:34:29.766Z] STF 13:34:29.263 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/7.T2.stderr [2025-02-26T21:34:29.766Z] STF 13:34:29.263 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/results/7.T2.stdout [2025-02-26T21:34:29.766Z] STF 13:34:29.518 - Monitoring processes: T2 [2025-02-26T21:34:30.187Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-26T21:34:30.555Z] T2 JUnit version 4.12 [2025-02-26T21:34:30.959Z] T2 ... [2025-02-26T21:34:30.959Z] T2 Time: 0.004 [2025-02-26T21:34:30.959Z] T2 [2025-02-26T21:34:30.959Z] T2 OK (3 tests) [2025-02-26T21:34:30.959Z] T2 [2025-02-26T21:34:30.959Z] STF 13:34:30.469 - Monitoring Report Summary: [2025-02-26T21:34:30.959Z] STF 13:34:30.469 - o Process T2 ended with the expected exit code (0) [2025-02-26T21:34:30.959Z] STF 13:34:30.469 - EXECUTE stage completed [2025-02-26T21:34:30.959Z] STF 13:34:30.485 - [2025-02-26T21:34:30.959Z] STF 13:34:30.485 - ==================== T E A R D O W N ==================== [2025-02-26T21:34:30.959Z] STF 13:34:30.485 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_1740605292962/AutoMod2_0/20250226-133417-AutoModTest/tearDown.pl [2025-02-26T21:34:30.959Z] STF 13:34:30.586 - TEARDOWN stage completed [2025-02-26T21:34:30.959Z] STF 13:34:30.599 - [2025-02-26T21:34:30.959Z] STF 13:34:30.599 - ===================== R E S U L T S ===================== [2025-02-26T21:34:30.959Z] STF 13:34:30.599 - Stage results: [2025-02-26T21:34:30.959Z] STF 13:34:30.599 - setUp: pass [2025-02-26T21:34:30.959Z] STF 13:34:30.599 - execute: pass [2025-02-26T21:34:30.959Z] STF 13:34:30.599 - teardown: pass [2025-02-26T21:34:30.959Z] STF 13:34:30.599 - [2025-02-26T21:34:30.959Z] STF 13:34:30.599 - Overall result: PASSED [2025-02-26T21:34:30.959Z] ----------------------------------- [2025-02-26T21:34:30.959Z] AutoMod2_0_PASSED [2025-02-26T21:34:30.959Z] ----------------------------------- [2025-02-26T21:34:30.959Z] [2025-02-26T21:34:30.959Z] TEST TEARDOWN: [2025-02-26T21:34:30.959Z] Nothing to be done for teardown. [2025-02-26T21:34:30.959Z] AutoMod2_0 Finish Time: Wed Feb 26 13:34:30 2025 Epoch Time (ms): 1740605670679