ClassLoadingTest_5m_0

[2025-02-05T22:49:24.061Z] Running test ClassLoadingTest_5m_0 ... [2025-02-05T22:49:24.061Z] =============================================== [2025-02-05T22:49:24.061Z] ClassLoadingTest_5m_0 Start Time: Wed Feb 5 17:49:23 2025 Epoch Time (ms): 1738795763619 [2025-02-05T22:49:24.061Z] variation: Mode150 [2025-02-05T22:49:24.061Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-05T22:49:24.061Z] { \ [2025-02-05T22:49:24.061Z] echo ""; echo "TEST SETUP:"; \ [2025-02-05T22:49:24.061Z] echo "Nothing to be done for setup."; \ [2025-02-05T22:49:24.061Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0"; \ [2025-02-05T22:49:24.061Z] cd "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0"; \ [2025-02-05T22:49:24.061Z] echo ""; echo "TESTING:"; \ [2025-02-05T22:49:24.061Z] perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/otherLoadTest/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/otherLoadTest/..//STF;/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/otherLoadTest/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0" -test=ClassloadingLoadTest -test-args="timeLimit=5m"; \ [2025-02-05T22:49:24.061Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "ClassLoadingTest_5m_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0"; else echo "-----------------------------------"; echo "ClassLoadingTest_5m_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-05T22:49:24.061Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-05T22:49:24.061Z] echo "Nothing to be done for teardown."; \ [2025-02-05T22:49:24.061Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/TestTargetResult"; [2025-02-05T22:49:24.061Z] [2025-02-05T22:49:24.061Z] TEST SETUP: [2025-02-05T22:49:24.061Z] Nothing to be done for setup. [2025-02-05T22:49:24.061Z] [2025-02-05T22:49:24.061Z] TESTING: [2025-02-05T22:49:24.061Z] STF 17:49:23.655 - ========================= S T F ========================= [2025-02-05T22:49:24.061Z] 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_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0 [2025-02-05T22:49:24.061Z] There is 28629 Mb free [2025-02-05T22:49:24.061Z] STF 17:49:23.659 - ================== G E N E R A T I O N ================== [2025-02-05T22:49:24.061Z] STF 17:49:23.659 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-02-05T22:49:24.062Z] STF 17:49:23.660 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/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_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest" [2025-02-05T22:49:24.463Z] GEN 17:49:24.002 - Found test. Project: 'openjdk.test.load' class: 'ClassloadingLoadTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.load/bin' [2025-02-05T22:49:24.463Z] GEN 17:49:24.008 - Found test. Project: 'openjdk.test.load' class: 'net.adoptopenjdk.stf.ClassloadingLoadTest' [2025-02-05T22:49:24.463Z] GEN Classpath directories used by project 'openjdk.test.load': [2025-02-05T22:49:24.463Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.load/bin [2025-02-05T22:49:24.463Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-02-05T22:49:24.463Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.load/bin [2025-02-05T22:49:24.463Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-02-05T22:49:24.463Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-02-05T22:49:24.463Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-02-05T22:49:24.463Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar [2025-02-05T22:49:24.463Z] GEN 17:49:24.086 - Using Mode NoOptions. Values = '' [2025-02-05T22:49:24.463Z] GEN 17:49:24.119 - [2025-02-05T22:49:24.463Z] GEN 17:49:24.119 - Test command summary: [2025-02-05T22:49:24.463Z] GEN 17:49:24.119 - Step Stage Command Description [2025-02-05T22:49:24.463Z] GEN 17:49:24.119 - -----+--------+-----------------+------------ [2025-02-05T22:49:24.463Z] GEN 17:49:24.119 - 1 execute Run java Run classloading tests [2025-02-05T22:49:24.463Z] STF 17:49:24.152 - [2025-02-05T22:49:24.463Z] STF 17:49:24.152 - Script generation completed [2025-02-05T22:49:24.463Z] STF 17:49:24.152 - [2025-02-05T22:49:24.463Z] STF 17:49:24.153 - [2025-02-05T22:49:24.463Z] STF 17:49:24.153 - ======================= S E T U P ======================= [2025-02-05T22:49:24.463Z] STF 17:49:24.153 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/setUp.pl [2025-02-05T22:49:24.463Z] STF 17:49:24.178 - SETUP stage completed [2025-02-05T22:49:24.463Z] STF 17:49:24.190 - [2025-02-05T22:49:24.463Z] STF 17:49:24.190 - ==================== E X E C U T E - ==================== [2025-02-05T22:49:24.463Z] STF 17:49:24.190 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/execute.pl [2025-02-05T22:49:24.463Z] STF 17:49:24.217 - [2025-02-05T22:49:24.463Z] STF 17:49:24.217 - Java version [2025-02-05T22:49:24.463Z] STF 17:49:24.217 - Running: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-02-05T22:49:24.463Z] openjdk version "11.0.27-beta" 2025-04-15 [2025-02-05T22:49:24.463Z] OpenJDK Runtime Environment Temurin-11.0.27+1-202502052111 (build 11.0.27-beta+1-ea) [2025-02-05T22:49:24.463Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+1-202502052111 (build 11.0.27-beta+1-ea, mixed mode) [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - +------ Step 1 - Run classloading tests [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - | Run foreground process [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - | Mnemonic: CLT [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - | Echo: ECHO_ON [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - | Expectation: CLEAN_RUN within 1h5m [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - | [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -javaagent:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -Djava.classloading.dir=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest -Djava.version.number=11 --add-modules=java.rmi -XX:+UseCompressedOops -classpath /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.load/bin:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin:/Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar:/Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar:/Users/admin/workspace/testDependency/system_lib/asm/asm.jar:/Users/admin/workspace/testDependency/system_lib/asm/asm-commons.jar:/Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.classloading/bin net.adoptopenjdk.loadTest.LoadTest -resultsDir /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/results -resultsPrefix 1.CLT. -timeLimit 5m -abortIfOutOfMemory false -reportFailureLimit 1 -abortAtFailureLimit 10 -maxTotalLogFileSpace 200M -maxSingleLogSize 1/25 -suite.classloading.threadCount 10 -suite.classloading.inventoryFile /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/results/1.CLT.inventory/openjdk.test.load/config/inventories/classloading/classloading.xml -suite.classloading.inventoryExcludeFile none -suite.classloading.selection random -suite.classloading.seed -1 -suite.classloading.repeatCount 1 -suite.classloading.thinkingTime 0ms..0ms [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/results/1.CLT.stderr [2025-02-05T22:49:24.463Z] STF 17:49:24.255 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/results/1.CLT.stdout [2025-02-05T22:49:24.463Z] STF 17:49:24.259 - Monitoring processes: CLT [2025-02-05T22:49:24.861Z] CLT stderr ERROR StatusLogger Unrecognized format specifier [msg] [2025-02-05T22:49:24.861Z] CLT stderr ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern. [2025-02-05T22:49:24.861Z] CLT 2025-02-05 17:49:24,649 main ERROR Unrecognized format specifier [msg] [2025-02-05T22:49:24.861Z] CLT 2025-02-05 17:49:24,651 main ERROR Unrecognized conversion specifier [msg] starting at position 23 in conversion pattern. [2025-02-05T22:49:24.861Z] CLT stderr Exception in thread "main" java.lang.LinkageError: loader 'app' attempted duplicate class definition for org.apache.logging.log4j.core.impl.MutableLogEvent. (org.apache.logging.log4j.core.impl.MutableLogEvent is in unnamed module of loader 'app') [2025-02-05T22:49:24.861Z] CLT stderr at java.base/java.lang.ClassLoader.defineClass1(Native Method) [2025-02-05T22:49:24.861Z] CLT stderr at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022) [2025-02-05T22:49:24.861Z] CLT stderr at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) [2025-02-05T22:49:24.861Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800) [2025-02-05T22:49:24.861Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698) [2025-02-05T22:49:24.861Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) [2025-02-05T22:49:24.861Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) [2025-02-05T22:49:24.861Z] CLT stderr at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) [2025-02-05T22:49:24.861Z] CLT stderr at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.createInstance(ReusableLogEventFactory.java:109) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.getOrCreateMutableLogEvent(ReusableLogEventFactory.java:105) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.createEvent(ReusableLogEventFactory.java:80) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:415) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.core.Logger.log(Logger.java:161) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2017) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1983) [2025-02-05T22:49:24.861Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1320) [2025-02-05T22:49:24.861Z] CLT stderr at net.adoptopenjdk.loadTest.LoadTest.<init>(LoadTest.java:253) [2025-02-05T22:49:24.861Z] CLT stderr at net.adoptopenjdk.loadTest.LoadTest.main(LoadTest.java:105) [2025-02-05T22:49:24.861Z] STF 17:49:24.722 - **FAILED** Process CLT ended with exit code (1) and not the expected exit code/s (0) [2025-02-05T22:49:24.861Z] STF 17:49:24.722 - Monitoring Report Summary: [2025-02-05T22:49:24.861Z] STF 17:49:24.722 - o Process CLT ended with exit code (1) and not the expected exit code/s (0) [2025-02-05T22:49:24.861Z] STF 17:49:24.722 - Killing processes: CLT [2025-02-05T22:49:24.861Z] STF 17:49:24.722 - o Process CLT pid 20706 is not running [2025-02-05T22:49:24.861Z] **FAILED** at step 1 (Run classloading tests). Expected return value=0 Actual=1 at /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/execute.pl line 97. [2025-02-05T22:49:24.861Z] STF 17:49:24.730 - **FAILED** execute script failed. Expected return value=0 Actual=1 [2025-02-05T22:49:24.861Z] STF 17:49:24.730 - [2025-02-05T22:49:24.861Z] STF 17:49:24.730 - ==================== T E A R D O W N ==================== [2025-02-05T22:49:24.861Z] STF 17:49:24.730 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17387957557874/ClassLoadingTest_5m_0/20250205-174923-ClassloadingLoadTest/tearDown.pl [2025-02-05T22:49:24.861Z] STF 17:49:24.760 - TEARDOWN stage completed [2025-02-05T22:49:24.861Z] STF 17:49:24.767 - [2025-02-05T22:49:24.861Z] STF 17:49:24.767 - ===================== R E S U L T S ===================== [2025-02-05T22:49:24.861Z] STF 17:49:24.767 - Stage results: [2025-02-05T22:49:24.861Z] STF 17:49:24.767 - setUp: pass [2025-02-05T22:49:24.861Z] STF 17:49:24.767 - execute: *fail* [2025-02-05T22:49:24.861Z] STF 17:49:24.767 - teardown: pass [2025-02-05T22:49:24.861Z] STF 17:49:24.767 - [2025-02-05T22:49:24.861Z] STF 17:49:24.767 - Overall result: **FAILED** [2025-02-05T22:49:24.861Z] ----------------------------------- [2025-02-05T22:49:24.861Z] ClassLoadingTest_5m_0_FAILED [2025-02-05T22:49:24.861Z] ----------------------------------- [2025-02-05T22:49:24.861Z] [2025-02-05T22:49:24.861Z] TEST TEARDOWN: [2025-02-05T22:49:24.861Z] Nothing to be done for teardown. [2025-02-05T22:49:24.861Z] ClassLoadingTest_5m_0 Finish Time: Wed Feb 5 17:49:24 2025 Epoch Time (ms): 1738795764777