ClassLoadingTest_5m_0

[2025-02-06T11:13:03.865Z] Running test ClassLoadingTest_5m_0 ... [2025-02-06T11:13:03.865Z] =============================================== [2025-02-06T11:13:03.866Z] ClassLoadingTest_5m_0 Start Time: Thu Feb 6 11:13:03 2025 Epoch Time (ms): 1738840383798 [2025-02-06T11:13:04.179Z] variation: Mode150 [2025-02-06T11:13:04.179Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-06T11:13:04.179Z] { \ [2025-02-06T11:13:04.179Z] echo ""; echo "TEST SETUP:"; \ [2025-02-06T11:13:04.179Z] echo "Nothing to be done for setup."; \ [2025-02-06T11:13:04.179Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17388402673692\\ClassLoadingTest_5m_0"; \ [2025-02-06T11:13:04.179Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17388402673692\\ClassLoadingTest_5m_0"; \ [2025-02-06T11:13:04.179Z] echo ""; echo "TESTING:"; \ [2025-02-06T11:13:04.179Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests///..//jvmtest\\system\\otherLoadTest/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests///..//jvmtest\\system\\otherLoadTest/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests///..//jvmtest\\system\\otherLoadTest/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17388402673692\\ClassLoadingTest_5m_0" -test=ClassloadingLoadTest -test-args="timeLimit=5m"; \ [2025-02-06T11:13:04.179Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "ClassLoadingTest_5m_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17388402673692\\ClassLoadingTest_5m_0"; else echo "-----------------------------------"; echo "ClassLoadingTest_5m_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-06T11:13:04.179Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-06T11:13:04.179Z] echo "Nothing to be done for teardown."; \ [2025-02-06T11:13:04.179Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17388402673692\\TestTargetResult"; [2025-02-06T11:13:04.509Z] [2025-02-06T11:13:04.509Z] TEST SETUP: [2025-02-06T11:13:04.509Z] Nothing to be done for setup. [2025-02-06T11:13:04.509Z] [2025-02-06T11:13:04.509Z] TESTING: [2025-02-06T11:13:04.509Z] STF 11:13:04.385 - ========================= S T F ========================= [2025-02-06T11:13:04.509Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_17388402673692\ClassLoadingTest_5m_0 [2025-02-06T11:13:04.509Z] There is 132071 Mb free [2025-02-06T11:13:04.509Z] STF 11:13:04.440 - ================== G E N E R A T I O N ================== [2025-02-06T11:13:04.509Z] STF 11:13:04.443 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image [2025-02-06T11:13:04.509Z] STF 11:13:04.443 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_17388402673692\ClassLoadingTest_5m_0/20250206-111304-ClassloadingLoadTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_17388402673692\ClassLoadingTest_5m_0/20250206-111304-ClassloadingLoadTest" [2025-02-06T11:13:04.837Z] GEN stderr OpenJDK 64-Bit Server VM warning: 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 [2025-02-06T11:13:05.526Z] GEN 11:13:05.374 - Found test. Project: 'openjdk.test.load' class: 'ClassloadingLoadTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\aqa-systemtest\openjdk.test.load\bin' [2025-02-06T11:13:05.526Z] GEN 11:13:05.409 - Found test. Project: 'openjdk.test.load' class: 'net.adoptopenjdk.stf.ClassloadingLoadTest' [2025-02-06T11:13:05.851Z] GEN Classpath directories used by project 'openjdk.test.load': [2025-02-06T11:13:05.851Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\\jvmtest\\system\\aqa-systemtest\\openjdk.test.load\\bin [2025-02-06T11:13:05.851Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\\jvmtest\\system\\STF\\stf.core\\bin [2025-02-06T11:13:05.851Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\\jvmtest\\system\\STF\\stf.load\\bin [2025-02-06T11:13:05.851Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-06T11:13:05.851Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-06T11:13:05.851Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-06T11:13:05.851Z] GEN c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar [2025-02-06T11:13:05.851Z] GEN 11:13:05.667 - Using Mode NoOptions. Values = '' [2025-02-06T11:13:05.851Z] GEN 11:13:05.755 - [2025-02-06T11:13:05.851Z] GEN 11:13:05.755 - Test command summary: [2025-02-06T11:13:05.851Z] GEN 11:13:05.756 - Step Stage Command Description [2025-02-06T11:13:05.851Z] GEN 11:13:05.756 - -----+--------+-----------------+------------ [2025-02-06T11:13:05.851Z] GEN 11:13:05.756 - 1 execute Run java Run classloading tests [2025-02-06T11:13:05.851Z] STF 11:13:05.788 - [2025-02-06T11:13:05.851Z] STF 11:13:05.788 - Script generation completed [2025-02-06T11:13:05.851Z] STF 11:13:05.788 - [2025-02-06T11:13:05.851Z] STF 11:13:05.790 - [2025-02-06T11:13:05.851Z] STF 11:13:05.790 - ======================= S E T U P ======================= [2025-02-06T11:13:05.851Z] STF 11:13:05.790 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_17388402673692\ClassLoadingTest_5m_0/20250206-111304-ClassloadingLoadTest/setUp.pl [2025-02-06T11:13:06.176Z] STF 11:13:05.931 - SETUP stage completed [2025-02-06T11:13:06.176Z] STF 11:13:05.949 - [2025-02-06T11:13:06.176Z] STF 11:13:05.949 - ==================== E X E C U T E - ==================== [2025-02-06T11:13:06.176Z] STF 11:13:05.949 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_17388402673692\ClassLoadingTest_5m_0/20250206-111304-ClassloadingLoadTest/execute.pl [2025-02-06T11:13:06.176Z] STF 11:13:06.107 - [2025-02-06T11:13:06.176Z] STF 11:13:06.107 - Java version [2025-02-06T11:13:06.176Z] STF 11:13:06.107 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image/bin/java -version [2025-02-06T11:13:06.508Z] openjdk version "17.0.15-beta" 2025-04-15 [2025-02-06T11:13:06.508Z] OpenJDK Runtime Environment Temurin-17.0.15+1-202502052231 (build 17.0.15-beta+1-ea) [2025-02-06T11:13:06.508Z] OpenJDK 64-Bit Server VM Temurin-17.0.15+1-202502052231 (build 17.0.15-beta+1-ea, mixed mode, sharing) [2025-02-06T11:13:06.508Z] STF 11:13:06.205 - [2025-02-06T11:13:06.508Z] STF 11:13:06.205 - +------ Step 1 - Run classloading tests [2025-02-06T11:13:06.508Z] STF 11:13:06.205 - | Run foreground process [2025-02-06T11:13:06.508Z] STF 11:13:06.205 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image/bin/java [2025-02-06T11:13:06.508Z] STF 11:13:06.205 - | Mnemonic: CLT [2025-02-06T11:13:06.508Z] STF 11:13:06.205 - | Echo: ECHO_ON [2025-02-06T11:13:06.508Z] STF 11:13:06.205 - | Expectation: CLEAN_RUN within 1h5m [2025-02-06T11:13:06.508Z] STF 11:13:06.206 - | [2025-02-06T11:13:06.508Z] STF 11:13:06.206 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image/bin/java -javaagent:C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -Djava.classloading.dir=C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\aqa-systemtest -Djava.version.number=17 --add-modules=java.rmi -XX:+UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\STF\stf.load\bin;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\STF\stf.core\bin;c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar;c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar;c:/jenkins/testDependency/system_lib/asm/asm.jar;c:/jenkins/testDependency/system_lib/asm/asm-commons.jar;c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\aqa-systemtest\openjdk.test.classloading\bin net.adoptopenjdk.loadTest.LoadTest -resultsDir C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_rerun\aqa-tests\TKG\output_17388402673692\ClassLoadingTest_5m_0\20250206-111304-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 C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/TKG/output_17388402673692/ClassLoadingTest_5m_0/20250206-111304-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-06T11:13:06.508Z] STF 11:13:06.206 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/TKG/output_17388402673692/ClassLoadingTest_5m_0/20250206-111304-ClassloadingLoadTest/results/1.CLT.stderr [2025-02-06T11:13:06.508Z] STF 11:13:06.206 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/TKG/output_17388402673692/ClassLoadingTest_5m_0/20250206-111304-ClassloadingLoadTest/results/1.CLT.stdout [2025-02-06T11:13:06.508Z] STF 11:13:06.244 - Monitoring processes: CLT [2025-02-06T11:13:07.626Z] CLT stderr ERROR StatusLogger Unrecognized format specifier [msg] [2025-02-06T11:13:07.626Z] CLT stderr ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern. [2025-02-06T11:13:07.957Z] CLT 2025-02-06 11:13:07,519 main ERROR Unrecognized format specifier [msg] [2025-02-06T11:13:07.957Z] CLT 2025-02-06 11:13:07,531 main ERROR Unrecognized conversion specifier [msg] starting at position 23 in conversion pattern. [2025-02-06T11:13:07.957Z] 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-06T11:13:07.957Z] CLT stderr at java.base/java.lang.ClassLoader.defineClass1(Native Method) [2025-02-06T11:13:07.957Z] CLT stderr at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) [2025-02-06T11:13:07.957Z] CLT stderr at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) [2025-02-06T11:13:07.957Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) [2025-02-06T11:13:07.957Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) [2025-02-06T11:13:07.957Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) [2025-02-06T11:13:07.957Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) [2025-02-06T11:13:07.957Z] CLT stderr at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) [2025-02-06T11:13:07.957Z] CLT stderr at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) [2025-02-06T11:13:07.957Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.createInstance(ReusableLogEventFactory.java:109) [2025-02-06T11:13:07.957Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.getOrCreateMutableLogEvent(ReusableLogEventFactory.java:105) [2025-02-06T11:13:07.957Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.createEvent(ReusableLogEventFactory.java:80) [2025-02-06T11:13:07.957Z] CLT stderr at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:415) [2025-02-06T11:13:07.958Z] CLT stderr at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82) [2025-02-06T11:13:07.958Z] CLT stderr at org.apache.logging.log4j.core.Logger.log(Logger.java:161) [2025-02-06T11:13:07.958Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205) [2025-02-06T11:13:07.958Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159) [2025-02-06T11:13:07.958Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142) [2025-02-06T11:13:07.958Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2017) [2025-02-06T11:13:07.958Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1983) [2025-02-06T11:13:07.958Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1320) [2025-02-06T11:13:07.958Z] CLT stderr at net.adoptopenjdk.loadTest.LoadTest.<init>(LoadTest.java:253) [2025-02-06T11:13:07.958Z] CLT stderr at net.adoptopenjdk.loadTest.LoadTest.main(LoadTest.java:105) [2025-02-06T11:13:07.958Z] STF 11:13:07.831 - **FAILED** Process CLT ended with exit code (1) and not the expected exit code/s (0) [2025-02-06T11:13:07.958Z] STF 11:13:07.831 - Monitoring Report Summary: [2025-02-06T11:13:07.958Z] STF 11:13:07.831 - o Process CLT ended with exit code (1) and not the expected exit code/s (0) [2025-02-06T11:13:07.958Z] STF 11:13:07.832 - Killing processes: CLT [2025-02-06T11:13:07.958Z] STF 11:13:07.832 - o Process CLT pid 51232 is not running [2025-02-06T11:13:07.958Z] **FAILED** at step 1 (Run classloading tests). Expected return value=0 Actual=1 at C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_17388402673692\ClassLoadingTest_5m_0/20250206-111304-ClassloadingLoadTest/execute.pl line 98. [2025-02-06T11:13:07.958Z] STF 11:13:07.871 - **FAILED** execute script failed. Expected return value=0 Actual=1 [2025-02-06T11:13:07.958Z] STF 11:13:07.872 - [2025-02-06T11:13:07.958Z] STF 11:13:07.872 - ==================== T E A R D O W N ==================== [2025-02-06T11:13:07.958Z] STF 11:13:07.872 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_17388402673692\ClassLoadingTest_5m_0/20250206-111304-ClassloadingLoadTest/tearDown.pl [2025-02-06T11:13:08.268Z] STF 11:13:08.013 - TEARDOWN stage completed [2025-02-06T11:13:08.268Z] STF 11:13:08.030 - [2025-02-06T11:13:08.268Z] STF 11:13:08.030 - ===================== R E S U L T S ===================== [2025-02-06T11:13:08.268Z] STF 11:13:08.030 - Stage results: [2025-02-06T11:13:08.268Z] STF 11:13:08.030 - setUp: pass [2025-02-06T11:13:08.268Z] STF 11:13:08.030 - execute: *fail* [2025-02-06T11:13:08.268Z] STF 11:13:08.030 - teardown: pass [2025-02-06T11:13:08.268Z] STF 11:13:08.030 - [2025-02-06T11:13:08.268Z] STF 11:13:08.030 - Overall result: **FAILED** [2025-02-06T11:13:08.268Z] ----------------------------------- [2025-02-06T11:13:08.268Z] ClassLoadingTest_5m_0_FAILED [2025-02-06T11:13:08.268Z] ----------------------------------- [2025-02-06T11:13:08.268Z] [2025-02-06T11:13:08.268Z] TEST TEARDOWN: [2025-02-06T11:13:08.268Z] Nothing to be done for teardown. [2025-02-06T11:13:08.268Z] ClassLoadingTest_5m_0 Finish Time: Thu Feb 6 11:13:08 2025 Epoch Time (ms): 1738840388165