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

[TEST_BUG] java/lang/management/MemoryMXBean/LowMemoryTest.java fails intermittently

XMLWordPrintable

        TESTFAIL:java/lang/management/MemoryMXBean/LowMemoryTest

        The test java/lang/management/MemoryMXBean/LowMemoryTest.java fails in nightly.

        #section:main
        ----------messages:(3/181)----------
        command: main -XX:+UseConcMarkSweepGC LowMemoryTest
        reason: User specified action: run main/othervm/timeout=600 -XX:+UseConcMarkSweepGC LowMemoryTest
        elapsed time (seconds): 2.996
        ----------System.out:(33/2019)----------
        Setting threshold for CMS Old Gen from 0 to 35795762. Current used = 0
        AllocatorThread is doing task 1 phase 1
        Notification for CMS Old Gen [type = java.management.memory.threshold.exceeded count = 1]
            usage = init = 61603840(60160K) used = 61603840(60160K) committed = 61603840(60160K) max = 357957632(349568K)
        Notification for CMS Old Gen [type = java.management.memory.threshold.exceeded count = 2]
            usage = init = 61603840(60160K) used = 36275968(35425K) committed = 61603840(60160K) max = 357957632(349568K)
        AllocatorThread done task 1 phase 2
        SweepThread is doing task 1 phase 2
        SweepThread done task 1 phase 3
        AllocatorThread is doing task 2 phase 3
        Notification for CMS Old Gen [type = java.management.memory.threshold.exceeded count = 3]
            usage = init = 61603840(60160K) used = 36415144(35561K) committed = 61603840(60160K) max = 357957632(349568K)
        AllocatorThread done task 2 phase 4
        SweepThread is doing task 2 phase 4
        SweepThread done task 2 phase 5
        AllocatorThread is doing task 3 phase 5
        Notification for CMS Old Gen [type = java.management.memory.threshold.exceeded count = 4]
            usage = init = 61603840(60160K) used = 36360064(35507K) committed = 61603840(60160K) max = 357957632(349568K)
        AllocatorThread done task 3 phase 6
        SweepThread is doing task 3 phase 6
        SweepThread done task 3 phase 7
        AllocatorThread is doing task 4 phase 7
        Notification for CMS Old Gen [type = java.management.memory.threshold.exceeded count = 5]
            usage = init = 61603840(60160K) used = 36360064(35507K) committed = 61603840(60160K) max = 357957632(349568K)
        SweepThread is doing task 4 phase 8
        AllocatorThread done task 4 phase 8
        SweepThread done task 4 phase 9
        AllocatorThread is doing task 5 phase 9
        Notification for CMS Old Gen [type = java.management.memory.threshold.exceeded count = 6]
            usage = init = 61603840(60160K) used = 36360064(35507K) committed = 61603840(60160K) max = 357957632(349568K)
        AllocatorThread done task 5 phase 10
        SweepThread is doing task 5 phase 10
        SweepThread done task 5 phase 11
        ----------System.err:(14/887)----------
        java.lang.RuntimeException: Unexpected number of triggers = 6 but expected to be 5
        at LowMemoryTest$TestListener.checkResult(LowMemoryTest.java:89)
        at LowMemoryTest.main(LowMemoryTest.java:174)
        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:484)
        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: Unexpected number of triggers = 6 but expected to be 5
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected number of triggers = 6 but expected to be 5
        ----------rerun:(21/1693)*----------
        DISPLAY=sc11152338.us.oracle.com:1 \\
        HOME=/Users/aurora/ \\
        LANG=en_US.UTF-8 \\
        PATH=/bin:/usr/bin \\
        TZ=PST8PDT \\
        CLASSPATH=/Users/aurora/CommonData/jtreg/lib/javatest.jar:/Users/aurora/CommonData/jtreg/lib/jtreg.jar:/Users/aurora/sandbox/gresults/testoutput/jdk_management/JTwork/classes/java/lang/management/MemoryMXBean:/Users/aurora/sandbox/testbase/test/java/lang/management/MemoryMXBean:/Users/aurora/CommonData/jdk/lib/tools.jar \\
            /Users/aurora/CommonData/jdk/bin/java \\
                -Dtest.vm.opts='-ea -esa -Xmx512m' \\
                -Dcompile.jdk=/Users/aurora/CommonData/jdk \\
                -Dtest.src.path=/Users/aurora/sandbox/testbase/test/java/lang/management/MemoryMXBean \\
                -Dtest.src=/Users/aurora/sandbox/testbase/test/java/lang/management/MemoryMXBean \\
                -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
                -Dtest.class.path=/Users/aurora/sandbox/gresults/testoutput/jdk_management/JTwork/classes/java/lang/management/MemoryMXBean \\
                -Dtest.timeout.factor=4.0 \\
                -Dtest.classes=/Users/aurora/sandbox/gresults/testoutput/jdk_management/JTwork/classes/java/lang/management/MemoryMXBean \\
                -Dtest.class.path.prefix=/Users/aurora/sandbox/gresults/testoutput/jdk_management/JTwork/classes/java/lang/management/MemoryMXBean:/Users/aurora/sandbox/testbase/test/java/lang/management/MemoryMXBean \\
                -Dtest.jdk=/Users/aurora/CommonData/jdk \\
                -Dtest.java.opts=-d64 \\
                -Dtest.compiler.opts= \\
                -ea -esa -Xmx512m -d64 -XX:+UseConcMarkSweepGC \\
                com.sun.javatest.regtest.MainWrapper /Users/aurora/sandbox/gresults/testoutput/jdk_management/JTwork/classes/java/lang/management/MemoryMXBean/LowMemoryTest.jta
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected number of triggers = 6 but expected to be 5


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected number of triggers = 6 but expected to be 5



        RULE java/lang/management/MemoryMXBean/LowMemoryTest.java Exception stderr: [Exception in thread "main" java.lang.RuntimeException: Unexpected number of triggers = ... but expected to be ...

              jbachorik Jaroslav Bachorík
              ewang Eric Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: