ClassLoadingTest_5m_1

[2025-02-21T08:16:52.374Z] Running test ClassLoadingTest_5m_1 ... [2025-02-21T08:16:52.374Z] =============================================== [2025-02-21T08:16:52.721Z] ClassLoadingTest_5m_1 Start Time: Fri Feb 21 08:16:52 2025 Epoch Time (ms): 1740125812433 [2025-02-21T08:16:52.721Z] variation: Mode650 [2025-02-21T08:16:52.721Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-21T08:16:52.721Z] { \ [2025-02-21T08:16:52.721Z] echo ""; echo "TEST SETUP:"; \ [2025-02-21T08:16:52.721Z] echo "Nothing to be done for setup."; \ [2025-02-21T08:16:52.721Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_1740125650687\\ClassLoadingTest_5m_1"; \ [2025-02-21T08:16:52.721Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_1740125650687\\ClassLoadingTest_5m_1"; \ [2025-02-21T08:16:52.721Z] echo ""; echo "TESTING:"; \ [2025-02-21T08:16:52.721Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests///..//jvmtest\\system\\otherLoadTest/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests///..//jvmtest\\system\\otherLoadTest/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests///..//jvmtest\\system\\otherLoadTest/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_1740125650687\\ClassLoadingTest_5m_1" -test=ClassloadingLoadTest -test-args="timeLimit=5m"; \ [2025-02-21T08:16:52.721Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "ClassLoadingTest_5m_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_1740125650687\\ClassLoadingTest_5m_1"; else echo "-----------------------------------"; echo "ClassLoadingTest_5m_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-21T08:16:52.721Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-21T08:16:52.721Z] echo "Nothing to be done for teardown."; \ [2025-02-21T08:16:52.721Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\\TKG\\output_1740125650687\\TestTargetResult"; [2025-02-21T08:16:53.091Z] [2025-02-21T08:16:53.091Z] TEST SETUP: [2025-02-21T08:16:53.091Z] Nothing to be done for setup. [2025-02-21T08:16:53.091Z] [2025-02-21T08:16:53.091Z] TESTING: [2025-02-21T08:16:53.091Z] STF 08:16:52.965 - ========================= S T F ========================= [2025-02-21T08:16:53.091Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_1740125650687\ClassLoadingTest_5m_1 [2025-02-21T08:16:53.436Z] There is 128706 Mb free [2025-02-21T08:16:53.436Z] STF 08:16:53.033 - ================== G E N E R A T I O N ================== [2025-02-21T08:16:53.436Z] STF 08:16:53.036 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image [2025-02-21T08:16:53.437Z] STF 08:16:53.037 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows_rerun/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_1740125650687\ClassLoadingTest_5m_1/20250221-081652-ClassloadingLoadTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_1740125650687\ClassLoadingTest_5m_1/20250221-081652-ClassloadingLoadTest" [2025-02-21T08:16:54.619Z] GEN 08:16:54.543 - Found test. Project: 'openjdk.test.load' class: 'ClassloadingLoadTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\aqa-systemtest\openjdk.test.load\bin' [2025-02-21T08:16:54.972Z] GEN 08:16:54.599 - Found test. Project: 'openjdk.test.load' class: 'net.adoptopenjdk.stf.ClassloadingLoadTest' [2025-02-21T08:16:54.972Z] GEN Classpath directories used by project 'openjdk.test.load': [2025-02-21T08:16:54.972Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_rerun\\jvmtest\\system\\aqa-systemtest\\openjdk.test.load\\bin [2025-02-21T08:16:54.972Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_rerun\\jvmtest\\system\\STF\\stf.core\\bin [2025-02-21T08:16:54.972Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_rerun\\jvmtest\\system\\STF\\stf.load\\bin [2025-02-21T08:16:54.972Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-21T08:16:54.972Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-21T08:16:54.972Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-21T08:16:54.972Z] GEN c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar [2025-02-21T08:16:55.310Z] GEN 08:16:54.940 - Using Mode NoOptions. Values = '' [2025-02-21T08:16:55.310Z] GEN 08:16:55.160 - [2025-02-21T08:16:55.310Z] GEN 08:16:55.160 - Test command summary: [2025-02-21T08:16:55.310Z] GEN 08:16:55.161 - Step Stage Command Description [2025-02-21T08:16:55.310Z] GEN 08:16:55.161 - -----+--------+-----------------+------------ [2025-02-21T08:16:55.310Z] GEN 08:16:55.161 - 1 execute Run java Run classloading tests [2025-02-21T08:16:55.310Z] STF 08:16:55.218 - [2025-02-21T08:16:55.310Z] STF 08:16:55.218 - Script generation completed [2025-02-21T08:16:55.311Z] STF 08:16:55.218 - [2025-02-21T08:16:55.311Z] STF 08:16:55.220 - [2025-02-21T08:16:55.311Z] STF 08:16:55.220 - ======================= S E T U P ======================= [2025-02-21T08:16:55.311Z] STF 08:16:55.220 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_1740125650687\ClassLoadingTest_5m_1/20250221-081652-ClassloadingLoadTest/setUp.pl [2025-02-21T08:16:55.699Z] STF 08:16:55.412 - SETUP stage completed [2025-02-21T08:16:55.699Z] STF 08:16:55.433 - [2025-02-21T08:16:55.699Z] STF 08:16:55.433 - ==================== E X E C U T E - ==================== [2025-02-21T08:16:55.699Z] STF 08:16:55.433 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_1740125650687\ClassLoadingTest_5m_1/20250221-081652-ClassloadingLoadTest/execute.pl [2025-02-21T08:16:55.699Z] STF 08:16:55.590 - [2025-02-21T08:16:55.699Z] STF 08:16:55.590 - Java version [2025-02-21T08:16:55.699Z] STF 08:16:55.590 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image/bin/java -version [2025-02-21T08:16:56.047Z] openjdk version "11.0.27-beta" 2025-04-15 [2025-02-21T08:16:56.047Z] OpenJDK Runtime Environment Temurin-11.0.27+2-202502201950 (build 11.0.27-beta+2-ea) [2025-02-21T08:16:56.047Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+2-202502201950 (build 11.0.27-beta+2-ea, mixed mode) [2025-02-21T08:16:56.047Z] STF 08:16:55.748 - [2025-02-21T08:16:56.047Z] STF 08:16:55.748 - +------ Step 1 - Run classloading tests [2025-02-21T08:16:56.047Z] STF 08:16:55.748 - | Run foreground process [2025-02-21T08:16:56.047Z] STF 08:16:55.748 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image/bin/java [2025-02-21T08:16:56.047Z] STF 08:16:55.748 - | Mnemonic: CLT [2025-02-21T08:16:56.047Z] STF 08:16:55.748 - | Echo: ECHO_ON [2025-02-21T08:16:56.047Z] STF 08:16:55.748 - | Expectation: CLEAN_RUN within 1h5m [2025-02-21T08:16:56.047Z] STF 08:16:55.748 - | [2025-02-21T08:16:56.047Z] STF 08:16:55.749 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/jdkbinary/j2sdk-image/bin/java -javaagent:C:/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\aqa-systemtest -Djava.version.number=11 --add-modules=java.rmi -XX:-UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\STF\stf.load\bin;C:\jenkins\workspace\Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows_rerun\jvmtest\system\aqa-systemtest\openjdk.test.classloading\bin net.adoptopenjdk.loadTest.LoadTest -resultsDir C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_rerun\aqa-tests\TKG\output_1740125650687\ClassLoadingTest_5m_1\20250221-081652-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_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/TKG/output_1740125650687/ClassLoadingTest_5m_1/20250221-081652-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-21T08:16:56.047Z] STF 08:16:55.749 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/TKG/output_1740125650687/ClassLoadingTest_5m_1/20250221-081652-ClassloadingLoadTest/results/1.CLT.stderr [2025-02-21T08:16:56.047Z] STF 08:16:55.749 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/TKG/output_1740125650687/ClassLoadingTest_5m_1/20250221-081652-ClassloadingLoadTest/results/1.CLT.stdout [2025-02-21T08:16:56.047Z] STF 08:16:55.784 - Monitoring processes: CLT [2025-02-21T08:16:57.711Z] CLT stderr ERROR StatusLogger Unrecognized format specifier [msg] [2025-02-21T08:16:57.711Z] CLT stderr ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern. [2025-02-21T08:16:58.051Z] CLT 2025-02-21 08:16:57,591 main ERROR Unrecognized format specifier [msg] [2025-02-21T08:16:58.051Z] CLT 2025-02-21 08:16:57,601 main ERROR Unrecognized conversion specifier [msg] starting at position 23 in conversion pattern. [2025-02-21T08:16:58.051Z] 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-21T08:16:58.051Z] CLT stderr at java.base/java.lang.ClassLoader.defineClass1(Native Method) [2025-02-21T08:16:58.051Z] CLT stderr at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022) [2025-02-21T08:16:58.051Z] CLT stderr at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) [2025-02-21T08:16:58.051Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800) [2025-02-21T08:16:58.051Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698) [2025-02-21T08:16:58.051Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) [2025-02-21T08:16:58.051Z] CLT stderr at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) [2025-02-21T08:16:58.051Z] CLT stderr at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) [2025-02-21T08:16:58.051Z] CLT stderr at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.createInstance(ReusableLogEventFactory.java:109) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.getOrCreateMutableLogEvent(ReusableLogEventFactory.java:105) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.core.impl.ReusableLogEventFactory.createEvent(ReusableLogEventFactory.java:80) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:415) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.core.Logger.log(Logger.java:161) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2017) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1983) [2025-02-21T08:16:58.051Z] CLT stderr at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1320) [2025-02-21T08:16:58.051Z] CLT stderr at net.adoptopenjdk.loadTest.LoadTest.<init>(LoadTest.java:253) [2025-02-21T08:16:58.051Z] CLT stderr at net.adoptopenjdk.loadTest.LoadTest.main(LoadTest.java:105) [2025-02-21T08:16:58.051Z] STF 08:16:57.945 - **FAILED** Process CLT ended with exit code (1) and not the expected exit code/s (0) [2025-02-21T08:16:58.051Z] STF 08:16:57.946 - Monitoring Report Summary: [2025-02-21T08:16:58.051Z] STF 08:16:57.946 - o Process CLT ended with exit code (1) and not the expected exit code/s (0) [2025-02-21T08:16:58.051Z] STF 08:16:57.946 - Killing processes: CLT [2025-02-21T08:16:58.051Z] STF 08:16:57.946 - o Process CLT pid 21396 is not running [2025-02-21T08:16:58.051Z] **FAILED** at step 1 (Run classloading tests). Expected return value=0 Actual=1 at C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_1740125650687\ClassLoadingTest_5m_1/20250221-081652-ClassloadingLoadTest/execute.pl line 98. [2025-02-21T08:16:58.051Z] STF 08:16:57.983 - **FAILED** execute script failed. Expected return value=0 Actual=1 [2025-02-21T08:16:58.051Z] STF 08:16:57.983 - [2025-02-21T08:16:58.051Z] STF 08:16:57.983 - ==================== T E A R D O W N ==================== [2025-02-21T08:16:58.051Z] STF 08:16:57.983 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_rerun/aqa-tests/\TKG\output_1740125650687\ClassLoadingTest_5m_1/20250221-081652-ClassloadingLoadTest/tearDown.pl [2025-02-21T08:16:58.397Z] STF 08:16:58.159 - TEARDOWN stage completed [2025-02-21T08:16:58.397Z] STF 08:16:58.182 - [2025-02-21T08:16:58.397Z] STF 08:16:58.182 - ===================== R E S U L T S ===================== [2025-02-21T08:16:58.397Z] STF 08:16:58.182 - Stage results: [2025-02-21T08:16:58.397Z] STF 08:16:58.182 - setUp: pass [2025-02-21T08:16:58.397Z] STF 08:16:58.182 - execute: *fail* [2025-02-21T08:16:58.397Z] STF 08:16:58.182 - teardown: pass [2025-02-21T08:16:58.397Z] STF 08:16:58.182 - [2025-02-21T08:16:58.397Z] STF 08:16:58.182 - Overall result: **FAILED** [2025-02-21T08:16:58.397Z] ----------------------------------- [2025-02-21T08:16:58.397Z] ClassLoadingTest_5m_1_FAILED [2025-02-21T08:16:58.397Z] ----------------------------------- [2025-02-21T08:16:58.397Z] [2025-02-21T08:16:58.397Z] TEST TEARDOWN: [2025-02-21T08:16:58.397Z] Nothing to be done for teardown. [2025-02-21T08:16:58.397Z] ClassLoadingTest_5m_1 Finish Time: Fri Feb 21 08:16:58 2025 Epoch Time (ms): 1740125818324