java.lang.Error: Test failed

JDK Bug System | Alan Bateman | 3 years ago
  1. 0

    This test has been failing since it re-worked via JDK-8004926. Below is a sample failure. Note that the agent is running in agentvm mode with concurrency, this means that each agent VM gets its own work directory (which might explain why TestApplication cannot be found) #Test Results (version 2) #Sat Oct 26 00:00:47 IST 2013 #checksum:62f403376fcea318 #-----testdescription----- $file=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java $root=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test keywords=bug5016507 bug6173612 bug6319776 bug6342019 bug6484550 bug8004926 library=../../../../lib/testlibrary maxTimeout=300 run=USER_SPECIFIED build TestManager TestApplication\nUSER_SPECIFIED main/timeout\=300 LocalManagementTest\n source=LocalManagementTest.java title=Start a managed VM and test that a management tool can connect without connection or username/password details. #-----environment----- #-----testresult----- description=file\:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java elapsed=21071 0\:00\:21.071 end=Sat Oct 26 00\:00\:47 IST 2013 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.Error\: Test failed hostname=ashtown.ie.oracle.com javatestOS=Linux 3.2.0-23-generic (amd64) javatestVersion=4.4 jtregVersion=jtreg 4.1 dev b00 script=com.sun.javatest.regtest.RegressionScript sections=script_messages build compile build compile main start=Sat Oct 26 00\:00\:26 IST 2013 test=sun/management/jmxremote/bootstrap/LocalManagementTest.java user.name=jenkins work=/data/jenkins/workspace/jdk8-tl-test/JTwork/sun/management/jmxremote/bootstrap #section:script_messages ----------messages:(5/312)---------- JDK under test: (/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image) java version "1.8.0-internal" Java(TM) SE Runtime Environment (build 1.8.0-internal-jenkins_2013_10_25_23_11-b00) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b54, mixed mode) #section:build ----------messages:(3/143)---------- command: build TestManager TestApplication reason: User specified action: run build TestManager TestApplication elapsed time (seconds): 0.069 result: Passed. Build successful #section:compile ----------messages:(3/386)---------- command: compile -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/TestManager.java /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/TestApplication.java reason: .class file out of date or does not exist elapsed time (seconds): 0.069 ----------rerun:(21/2784)*---------- HOME=/var/lib/jenkins \\ LANG=en_IE.UTF-8 \\ PATH=/bin:/usr/bin \\ /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\ -J-ea \\ -J-esa \\ -J-Xmx256m \\ -J-XX:-UseLargePages \\ -J-DCompatibilityTest.disableNetwork=true \\ -J-Dtest.vm.opts='-ea -esa -Xmx256m -XX:-UseLargePages -DCompatibilityTest.disableNetwork=true' \\ -J-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -J-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -J-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary \\ -J-Dtest.compiler.opts= \\ -J-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -J-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap \\ -J-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/lib/testlibrary \\ -J-Dtest.java.opts= \\ -J-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-XX:-UseLargePages -J-DCompatibilityTest.disableNetwork=true' \\ -d /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/TestManager.java /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/TestApplication.java ----------direct:(2/221)---------- Note: /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary/jdk/testlibrary/StreamPumper.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. result: Passed. Compilation successful #section:build ----------messages:(3/104)---------- command: build LocalManagementTest reason: Named class compiled on demand elapsed time (seconds): 0.031 result: Passed. Build successful #section:compile ----------messages:(3/261)---------- command: compile -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java reason: .class file out of date or does not exist elapsed time (seconds): 0.031 ----------rerun:(21/2659)*---------- HOME=/var/lib/jenkins \\ LANG=en_IE.UTF-8 \\ PATH=/bin:/usr/bin \\ /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\ -J-ea \\ -J-esa \\ -J-Xmx256m \\ -J-XX:-UseLargePages \\ -J-DCompatibilityTest.disableNetwork=true \\ -J-Dtest.vm.opts='-ea -esa -Xmx256m -XX:-UseLargePages -DCompatibilityTest.disableNetwork=true' \\ -J-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -J-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -J-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary \\ -J-Dtest.compiler.opts= \\ -J-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -J-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap \\ -J-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/lib/testlibrary \\ -J-Dtest.java.opts= \\ -J-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-XX:-UseLargePages -J-DCompatibilityTest.disableNetwork=true' \\ -d /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java result: Passed. Compilation successful #section:main ----------messages:(3/138)---------- command: main LocalManagementTest reason: User specified action: run main/timeout=300 LocalManagementTest elapsed time (seconds): 20.971 ----------rerun:(17/2052)*---------- HOME=/var/lib/jenkins \\ LANG=en_IE.UTF-8 \\ PATH=/bin:/usr/bin \\ /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java \\ -Dtest.vm.opts='-ea -esa -Xmx256m -XX:-UseLargePages -DCompatibilityTest.disableNetwork=true' \\ -Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary \\ -Dtest.compiler.opts= \\ -Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap \\ -Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/lib/testlibrary \\ -Dtest.java.opts= \\ -Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-XX:-UseLargePages -J-DCompatibilityTest.disableNetwork=true' \\ -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar \\ LocalManagementTest ----------System.out:(10/85)---------- test5 ========== test1 ========== test4 ========== test2 ========== test3 ========== ----------System.err:(90/5494)---------- [TestApplication] Error: Could not find or load main class TestApplication java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at LocalManagementTest.main(LocalManagementTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:800) at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:134) at LocalManagementTest.doTest(LocalManagementTest.java:176) at LocalManagementTest.test5(LocalManagementTest.java:137) ... 11 more [TestApplication] Error: Could not find or load main class TestApplication java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at LocalManagementTest.main(LocalManagementTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:800) at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:134) at LocalManagementTest.doTest(LocalManagementTest.java:176) at LocalManagementTest.test1(LocalManagementTest.java:80) ... 11 more [TestApplication] Error: Could not find or load main class TestApplication test4 failed [TestApplication] Error: Could not find or load main class TestApplication java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at LocalManagementTest.main(LocalManagementTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:800) at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:134) at LocalManagementTest.doTest(LocalManagementTest.java:176) at LocalManagementTest.test2(LocalManagementTest.java:87) ... 11 more [TestApplication] Error: Could not find or load main class TestApplication java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at LocalManagementTest.main(LocalManagementTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:800) at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:134) at LocalManagementTest.doTest(LocalManagementTest.java:176) at LocalManagementTest.test3(LocalManagementTest.java:97) ... 11 more java.lang.Error: Test failed at LocalManagementTest.main(LocalManagementTest.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) JavaTest Message: Test threw exception: java.lang.Error JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Test failed test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Test failed

    JDK Bug System | 3 years ago | Alan Bateman
    java.lang.Error: Test failed
  2. 0

    The test sun/rmi/runtime/Log/6409194/NoConsoleOutput.java failed in mach5 with following error message: -------- subprocess standard output: -------- INFO: On try # 1, ServerSocket(0) returned the reserved port 60003 in TestLibrary.getUnusedRandomPort() INFO: On try # 2, ServerSocket(0) returned the reserved port 60004 in TestLibrary.getUnusedRandomPort() INFO: On try # 3, ServerSocket(0) returned the reserved port 60005 in TestLibrary.getUnusedRandomPort() INFO: On try # 4, ServerSocket(0) returned the reserved port 60006 in TestLibrary.getUnusedRandomPort() INFO: On try # 5, ServerSocket(0) returned the reserved port 60007 in TestLibrary.getUnusedRandomPort() INFO: On try # 6, ServerSocket(0) returned the reserved port 60008 in TestLibrary.getUnusedRandomPort() INFO: On try # 7, ServerSocket(0) returned the reserved port 60009 in TestLibrary.getUnusedRandomPort() INFO: On try # 8, ServerSocket(0) returned the reserved port 60010 in TestLibrary.getUnusedRandomPort() -------- subprocess standard error: -------- --------------------------------------------- java.lang.Error: TEST FAILED: unexpected subprocess output at NoConsoleOutput.main(NoConsoleOutput.java:93) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

    JDK Bug System | 8 months ago | Amanda Jiang
    java.lang.Error: TEST FAILED: unexpected subprocess output
  3. 0

    [groovy-user] Not catching Errors properly

    Google Groups | 6 years ago | Vaclav Pech
    org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.Error: test
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 865#173394906

    GitHub | 1 year ago | danieldietrich
    java.lang.Error: test
  6. 0

    Tested LF caching feature with MethodHandles.explicitCastArguments method. 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= Non-critical exception caught becuse of code cache size is not enough to run all test cases. java.lang.VirtualMachineError: Out of space in CodeCache for adapters java.lang.VirtualMachineError: Out of space in CodeCache for adapters at java.base/java.lang.Throwable.getOurStackTrace(Throwable.java:828) at java.base/java.lang.Throwable.printStackTrace(Throwable.java:660) at java.base/java.lang.Throwable.printStackTrace(Throwable.java:648) at java.base/java.lang.Throwable.printStackTrace(Throwable.java:639) at com.oracle.testlibrary.jsr292.CodeCacheOverflowProcessor.runMHTest(CodeCacheOverflowProcessor.java:75) at LambdaFormTestCase$TestRun.doIteration(LambdaFormTestCase.java:124) at jdk.testlibrary.TimeLimitedRunner.call(TimeLimitedRunner.java:71) at LambdaFormTestCase.runTests(LambdaFormTestCase.java:193) at LFSingleThreadCachingTest.main(LFSingleThreadCachingTest.java:79) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:538) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.base/java.lang.Thread.run(Thread.java:844) FAILED. Caused by Out of space in CodeCache for adapters Tested LF caching feature with MethodHandles.filterArguments method. Non-critical exception caught becuse of code cache size is not enough to run all test cases. java.lang.VirtualMachineError: Out of space in CodeCache for adapters at java.base/jdk.internal.misc.Unsafe.defineAnonymousClass0(Native Method) at java.base/jdk.internal.misc.Unsafe.defineAnonymousClass(Unsafe.java:1204) at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadAndInitializeInvokerClass(InvokerBytecodeGenerator.java:288) at java.base/java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:280) at java.base/java.lang.invoke.InvokerBytecodeGenerator.generateCustomizedCode(InvokerBytecodeGenerator.java:677) at java.base/java.lang.invoke.LambdaForm.compileToBytecode(LambdaForm.java:846) at java.base/java.lang.invoke.LambdaForm.prepare(LambdaForm.java:808) at java.base/java.lang.invoke.MethodHandle.<init>(MethodHandle.java:464) at java.base/java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:58) at java.base/java.lang.invoke.BoundMethodHandle$Species_IL6.<init>(Species_IL6) at java.base/java.lang.invoke.BoundMethodHandle$Species_IL6.make(Species_IL6) at java.base/java.lang.invoke.BoundMethodHandle$Species_IL5.copyWithExtendL(Species_IL5) at java.base/java.lang.invoke.MethodHandles.filterArgument(MethodHandles.java:3650) at java.base/java.lang.invoke.MethodHandles.filterArguments(MethodHandles.java:3636) at TestMethods$4.getMH(TestMethods.java:180) at TestMethods.getTestCaseMH(TestMethods.java:548) at LFSingleThreadCachingTest.doTest(LFSingleThreadCachingTest.java:65) at jdk.testlibrary.Utils.filterException(Utils.java:355) at com.oracle.testlibrary.jsr292.CodeCacheOverflowProcessor.runMHTest(CodeCacheOverflowProcessor.java:70) at LambdaFormTestCase$TestRun.doIteration(LambdaFormTestCase.java:124) at jdk.testlibrary.TimeLimitedRunner.call(TimeLimitedRunner.java:71) at LambdaFormTestCase.runTests(LambdaFormTestCase.java:193) at LFSingleThreadCachingTest.main(LFSingleThreadCachingTest.java:79) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:538) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.base/java.lang.Thread.run(Thread.java:844) java.lang.Error: 1 of 1958 test cases FAILED! Rerun the test with the same "-Dseed=" option as in the log file! at LambdaFormTestCase$TestRun.checkPassed(LambdaFormTestCase.java:147) at LambdaFormTestCase.runTests(LambdaFormTestCase.java:198) at LFSingleThreadCachingTest.main(LFSingleThreadCachingTest.java:79) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:538) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.base/java.lang.Thread.run(Thread.java:844) JavaTest Message: Test threw exception: java.lang.Error: 1 of 1958 test cases FAILED! Rerun the test with the same "-Dseed=" option as in the log file! JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Error: 1 of 1958 test cases FAILED! Rerun the test with the same "-Dseed=" option as in the log file!

    JDK Bug System | 1 month ago | John Jiang
    java.lang.Error: 1 of 1958 test cases FAILED! Rerun the test with the same "-Dseed=" option as in the log file!

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Error

      Test failed

      at LocalManagementTest.main()
    2. Unknown
      LocalManagementTest.main
      1. LocalManagementTest.main(LocalManagementTest.java:75)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    4. com.sun.javatest
      MainAction$SameVMRunnable.run
      1. com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
      1 frame
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame