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

TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently

    Details

    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      TESTFAIL:java/nio/channels/AsynchronousChannelGroup/Basic.java

      The test java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently. see log:

      #section:main
      ----------messages:(3/161)----------
      command: main -XX:-UseVMInterruptibleIO Basic
      reason: User specified action: run main/othervm -XX:-UseVMInterruptibleIO Basic
      elapsed time (seconds): 18.377
      ----------System.out:(3/93)----------
      -- test shutdown --
      -- test shutdownNow --
      -- test operations after group is shutdown --
      ----------System.err:(14/785)----------
      java.lang.RuntimeException: Group should have terminated
      at Basic.afterShutdownTests(Basic.java:265)
      at Basic.main(Basic.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Group should have terminated
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Group should have terminated
      ----------rerun:(22/2359)*----------
      'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\
      SystemDrive=C: \\
      'SystemRoot=C:\\Windows' \\
      'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
      'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\
      'windir=C:\\Windows' \\
      'CLASSPATH=C:\\Users\\aurora\\sandbox_keepme\\jtreg\\lib\\javatest.jar;C:\\Users\\aurora\\sandbox_keepme\\jtreg\\lib\\jtreg.jar;C:\\Users\\aurora\\sandbox_keepme\\results\\run_59\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\AsynchronousChannelGroup;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\AsynchronousChannelGroup;C:\\Users\\aurora\\sandbox_keepme\\jdk\\lib\\tools.jar' \\
          'C:\\Users\\aurora\\sandbox_keepme\\jdk\\bin\\java' \\
              -Dtest.vm.opts='-ea -esa -Xmx512m' \\
              -Dcompile.jdk='C:\\Users\\aurora\\sandbox_keepme\\jdk' \\
              -Dtest.src.path='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\AsynchronousChannelGroup' \\
              -Dtest.src='C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\AsynchronousChannelGroup' \\
              -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
              -Dtest.class.path='C:\\Users\\aurora\\sandbox_keepme\\results\\run_59\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\AsynchronousChannelGroup' \\
              -Dtest.timeout.factor=4.0 \\
              -Dtest.classes='C:\\Users\\aurora\\sandbox_keepme\\results\\run_59\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\AsynchronousChannelGroup' \\
              -Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox_keepme\\results\\run_59\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\AsynchronousChannelGroup;C:\\Users\\aurora\\sandbox_keepme\\testbase\\test\\java\\nio\\channels\\AsynchronousChannelGroup' \\
              -Dtest.jdk='C:\\Users\\aurora\\sandbox_keepme\\jdk' \\
              -Dtest.java.opts= \\
              -Dtest.compiler.opts= \\
              -ea -esa -Xmx512m -XX:-UseVMInterruptibleIO \\
              com.sun.javatest.regtest.MainWrapper 'C:\\Users\\aurora\\sandbox_keepme\\results\\run_59\\testoutput\\jdk_nio\\JTwork\\classes\\java\\nio\\channels\\AsynchronousChannelGroup\\Basic.jta'
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Group should have terminated


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Group should have terminated

        Activity

        Hide
        alanb Alan Bateman added a comment -
        awaitTermination is called with a timeout of 3 seconds, this seems to be insufficient in some environments so we should increase it (all usages).
        Show
        alanb Alan Bateman added a comment - awaitTermination is called with a timeout of 3 seconds, this seems to be insufficient in some environments so we should increase it (all usages).
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/83e7a201b62c
        User: alanb
        Date: 2014-01-03 16:03:04 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/83e7a201b62c User: alanb Date: 2014-01-03 16:03:04 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/83e7a201b62c
        User: lana
        Date: 2014-01-15 02:08:46 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/83e7a201b62c User: lana Date: 2014-01-15 02:08:46 +0000

          People

          • Assignee:
            alanb Alan Bateman
            Reporter:
            ewang Eric Wang (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: