Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8190747

ExecutorService/Invoke.java fails intermittently

    Details

      Description

      Observed the failure with JDK 10 build 30, on Windows:

      ----------System.err:(48/2820)----------
      java.lang.AssertionError: Assertion failure
      at Invoke.fail(Invoke.java:50)
      at Invoke.check(Invoke.java:63)
      at Invoke.check(Invoke.java:67)
      at Invoke$2Task.call(Invoke.java:146)
      at Invoke$2Task.call(Invoke.java:143)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:844)
      java.lang.AssertionError: Assertion failure
      at Invoke.fail(Invoke.java:50)
      at Invoke.check(Invoke.java:63)
      at Invoke.check(Invoke.java:67)
      at Invoke$2Task.call(Invoke.java:146)
      at Invoke$2Task.call(Invoke.java:143)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:844)
      java.lang.AssertionError: Assertion failure
      at Invoke.fail(Invoke.java:50)
      at Invoke.check(Invoke.java:63)
      at Invoke.check(Invoke.java:67)
      at Invoke.testInvokeAny(Invoke.java:172)
      at Invoke.main(Invoke.java:87)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)
      java.lang.Error: Passed = 17, failed = 3
      at Invoke.main(Invoke.java:93)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.Error
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.Error: Passed = 17, failed = 3

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martin Martin Buchholz
                Reporter:
                amlu Amy Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: