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

vmTestbase/nsk/monitoring/stress/classload/unload012/TestDescription.java failed with Unexpected value:: unloaded class count=1157 Expected value at least 1200

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 17
    • Fix Version/s: tbd
    • Component/s: core-svc
    • Labels:

      Description

      The log:
      Test mode: server
      Server type: custom
      loadableClassesCount: 100
      loadersCount: 12
      singleClassloaderClass: true
      classes to be loaded: 100
      classloader instances: 12
      classloader class: single
      Class dirclasses
      preloading all classes...
      For random generator using seed: 8872877327547036430
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=8872877327547036430" to command line.

      class loading...
      nsk.share.CustomClassLoader@1c9e0279(0)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@3af414cb(1)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@225dec8b(2)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@2d679ed(3)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@6eb73e04(4)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@747f3d55(5)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@390bbee5(6)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@8a3b138(7)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@5fb3f936(8)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@52abe200(9)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@36338226(10)>>> 100 classes have been loaded
      nsk.share.CustomClassLoader@238cdfa9(11)>>> 100 classes have been loaded
      Total: loading is performed 1200 times

      TEST STARTED

      Initial values:
      ---------------
      total loaded class count = 2727
      currently loaded class count = 2712
      unloaded class count = 15

      class unloading...
      nsk.share.CustomClassLoader@1c9e0279(0)>>> 100 classes have been unloaded (time left: 294 s)
      nsk.share.CustomClassLoader@3af414cb(1)>>> 100 classes have been unloaded (time left: 293 s)
      nsk.share.CustomClassLoader@225dec8b(2)>>> 100 classes have been unloaded (time left: 290 s)
      nsk.share.CustomClassLoader@2d679ed(3)>>> 100 classes have been unloaded (time left: 288 s)
      nsk.share.CustomClassLoader@6eb73e04(4)>>> 100 classes have been unloaded (time left: 287 s)
      nsk.share.CustomClassLoader@747f3d55(5)>>> 100 classes have been unloaded (time left: 285 s)
      nsk.share.CustomClassLoader@390bbee5(6)>>> 100 classes have been unloaded (time left: 283 s)
      nsk.share.CustomClassLoader@8a3b138(7)>>> 100 classes have been unloaded (time left: 281 s)
      nsk.share.CustomClassLoader@5fb3f936(8)>>> 100 classes have been unloaded (time left: 279 s)
      nsk.share.CustomClassLoader@52abe200(9)>>> 100 classes have been unloaded (time left: 277 s)
      nsk.share.CustomClassLoader@36338226(10)>>> 100 classes have been unloaded (time left: 275 s)
      nsk.share.CustomClassLoader@238cdfa9(11)>>> 100 classes have been unloaded (time left: 273 s)
      Total: unloading is performed 1200 times

      Amount of currently loaded classes:
      -----------------------------------
      total loaded class count = 2764
      currently loaded class count = 1607
      unloaded class count = 1157

      checking loaded classes...
      Unexpected value:: unloaded class count=1157 Expected value at least 1200
      Test FAILED
      ----------System.err:(16/1001)----------
      nsk.share.TestFailure: Test exit code: 97
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:90)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
      at nsk.monitoring.share.Monitoring.runTest(Monitoring.java:112)
      at nsk.monitoring.stress.classload.unload001.main(unload001.java:156)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: nsk.share.TestFailure: Test exit code: 97
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: nsk.share.TestFailure: Test exit code: 97
      ----------rerun:(45/6472)*----------

        Attachments

          Activity

            People

            Assignee:
            kevinw Kevin Walls
            Reporter:
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: