TEST: compiler/startup/StartupOutput.java TEST JDK: /var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 0.834 seconds messages: command: build compiler.startup.StartupOutput reason: Named class compiled on demand started: Fri Sep 06 22:23:17 CST 2024 Test directory: compile: compiler.startup.StartupOutput finished: Fri Sep 06 22:23:18 CST 2024 elapsed time (seconds): 0.834 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 0.834 seconds messages: command: compile /var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup/StartupOutput.java reason: .class file out of date or does not exist started: Fri Sep 06 22:23:17 CST 2024 Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED Mode: othervm finished: Fri Sep 06 22:23:18 CST 2024 elapsed time (seconds): 0.834 configuration: javac compilation environment add modules: java.base java.management add exports: java.base/jdk.internal.misc ALL-UNNAMED source path: /var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup /var/tmp/tone/run/jtreg/jdk-repo/test/lib class path: /var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/test/lib rerun: cd /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/startup/StartupOutput && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/var/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/var/tmp/tone/run/jtreg/test-images \ /var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/javac \ -J-Djdk.lang.processReaperUseDefaultStackSize=true \ -J-Dtest.wisp.socketAddress=www.alibabacloud.com \ -J-Xmixed \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xmixed -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-Xmixed -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dcompile.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -J-Dtest.name=compiler/startup/StartupOutput.java \ -J-Dtest.file=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup/StartupOutput.java \ -J-Dtest.src=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup \ -J-Dtest.src.path=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup:/var/tmp/tone/run/jtreg/jdk-repo/test/lib \ -J-Dtest.classes=/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d \ -J-Dtest.class.path=/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/test/lib \ -J-Dtest.modules='java.base/jdk.internal.misc java.management' \ @/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/startup/StartupOutput.d/compile.0.jta STDOUT: STDERR: ACTION: driver -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '# A fatal error' found in stdout REASON: User specified action: run driver compiler.startup.StartupOutput TIME: 2.539 seconds messages: command: driver compiler.startup.StartupOutput reason: User specified action: run driver compiler.startup.StartupOutput started: Fri Sep 06 22:23:18 CST 2024 Mode: othervm Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED finished: Fri Sep 06 22:23:20 CST 2024 elapsed time (seconds): 2.539 configuration: Boot Layer add modules: java.base java.management add exports: java.base/jdk.internal.misc ALL-UNNAMED STDOUT: Command line: [/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java -cp /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d:/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar -Xint -XX:+DisplayVMOutputToStdout -version ] [2024-09-06T14:23:18.351927675Z] Gathering output for process 325290 [2024-09-06T14:23:18.392284640Z] Waiting for completion for process 325290 [2024-09-06T14:23:18.392470735Z] Waiting for completion finished for process 325290 Command line: [/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java -cp /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d:/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar -Xint -XX:ReservedCodeCacheSize=1770K -XX:InitialCodeCacheSize=4K -version ] [2024-09-06T14:23:18.414897616Z] Gathering output for process 325363 [2024-09-06T14:23:18.415383311Z] Waiting for completion for process 325363 [2024-09-06T14:23:18.451609470Z] Waiting for completion finished for process 325363 Command line: [/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java -cp /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d:/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar -XX:InitialCodeCacheSize=1024K -XX:ReservedCodeCacheSize=1200k -version ] [2024-09-06T14:23:18.452787466Z] Gathering output for process 325431 [2024-09-06T14:23:20.505714432Z] Waiting for completion for process 325431 [2024-09-06T14:23:20.702359360Z] Waiting for completion finished for process 325431 STDERR: stdout: [[0.044s][warning][codecache] CodeCache is full. Compiler has been disabled. [0.044s][warning][codecache] Try increasing the code cache size using -XX:ReservedCodeCacheSize= CodeCache: size=1200Kb used=1199Kb max_used=1199Kb free=0Kb bounds [0x00007f535dbb2000, 0x00007f535dcde000, 0x00007f535dcde000] total_blobs=282, nmethods=3, adapters=199, full_count=1 Compilation: disabled (not enough contiguous free space left), stopped_count=1, restarted_count=0 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (codeBlob.cpp:413), pid=325431, tid=325470 # fatal error: Initial size of CodeCache is too small # # JRE version: OpenJDK Runtime Environment (24.0) (build 24) # Java VM: OpenJDK 64-Bit Server VM (24, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # Problematic frame: # V [libjvm.so+0x6491e3] RuntimeStub::new_runtime_stub(char const*, CodeBuffer*, short, int, OopMapSet*, bool, bool)+0x293 # # Core dump will be written. Default location: /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/startup/StartupOutput/core.325431 # # An error report file with more information is saved as: # /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/startup/StartupOutput/hs_err_pid325431.log [error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007f535e58639a] # # If you would like to submit a bug report, please visit: # mailto:yansendao.ysd@alibaba-inc.com # ]; stderr: [OpenJDK 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled. OpenJDK 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize= openjdk version "24" 2025-03-18 OpenJDK Runtime Environment (build 24) OpenJDK 64-Bit Server VM (build 24, mixed mode, sharing) ] exitValue = 134 java.lang.RuntimeException: '# A fatal error' found in stdout at jdk.test.lib.process.OutputAnalyzer.stdoutShouldNotContain(OutputAnalyzer.java:336) at compiler.startup.StartupOutput.main(StartupOutput.java:62) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:573) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1575) JavaTest Message: Test threw exception: java.lang.RuntimeException: '# A fatal error' found in stdout JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: '# A fatal error' found in stdout rerun: cd /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/startup/StartupOutput && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/var/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/var/tmp/tone/run/jtreg/test-images \ CLASSPATH=/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d:/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xmixed -ea -esa' \ -Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-Xmixed -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dcompile.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.name=compiler/startup/StartupOutput.java \ -Dtest.file=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup/StartupOutput.java \ -Dtest.src=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup \ -Dtest.src.path=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/startup:/var/tmp/tone/run/jtreg/jdk-repo/test/lib \ -Dtest.classes=/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d \ -Dtest.class.path=/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/compiler/startup/StartupOutput.d:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/10/test/lib \ -Dtest.modules='java.base/jdk.internal.misc java.management' \ --add-modules java.base,java.management \ --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \ -Djdk.lang.processReaperUseDefaultStackSize=true \ -Dtest.wisp.socketAddress=www.alibabacloud.com \ -Xmixed \ -ea \ -esa \ -Djava.library.path=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/startup/StartupOutput.d/driver.1.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '# A fatal error' found in stdout