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

imageio/stream/StreamCloserLeak/run_test.sh fails due to "RuntimeException: Test FAILED: extra class loader is detected!"

XMLWordPrintable

      The following test failed in the jdk/jdk CI:

      javax/imageio/stream/StreamCloserLeak/run_test.sh

      Here's a snippet of the log file:

      All apps finished.
      Enumerate strong refs:
      =======================
      Wait testapp/Uniq17: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq17: test is done!
      testapp/Uniq15: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq15: test is done!
      testapp/Uniq2: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq2: test is done!
      testapp/Uniq1: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq1: test is done!
      testapp/Uniq18: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq18: test is done!
      testapp/Uniq7: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq7: test is done!
      testapp/Uniq19: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq19: test is done!
      testapp/Uniq12: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq12: test is done!
      testapp/Uniq14: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq14: test is done!
      testapp/Uniq11: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq11: test is done!
      testapp/Uniq8: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq8: test is done!
      testapp/Uniq6: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq6: test is done!
      testapp/Uniq3: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq3: test is done!
      testapp/Uniq9: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq9: test is done!
      testapp/Uniq16: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq16: test is done!
      testapp/Uniq13: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq13: test is done!
      testapp/Uniq5: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq5: test is done!
      testapp/Uniq10: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq10: test is done!
      testapp/Uniq4: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq4: test is done!
      testapp/Uniq0: Current thread: Thread[Finalizer,8,system]
      testapp/Uniq0: test is done!
      .+..+..+..
      Wait for workaround completion...
      Wait .+..+..+..
      Classloaders still alive:
      ->testapp/Uniq9
      The test failed :-(
      exit status was 1
      ----------System.err:(4/379)*----------
      C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk12-jdk.765\\src.full\\open\\test\\jdk\\javax\\imageio\\stream\\StreamCloserLeak\\run_test.sh: line 125: cd: /Temp: No such file or directory
      Exception in thread "main" java.lang.RuntimeException: Test FAILED: exta class loader is detected!
      at test.Main.main(Main.java:162)
      Test FAILED: some classloaders weren't destroyed.
      ----------rerun:(30/2986)*----------

            jdv Jayathirth D V
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: