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

TEST_BUG: test/java/util/concurrent/ThreadPoolExecutor/Custom.java failing

    XMLWordPrintable

Details

    • b27
    • generic
    • generic
    • Verified

    Backports

      Description

        This test failed for on linux-x86 in JPRT. My forest is essentially jdk7-b95.

        --------------------------------------------------
        TEST: java/util/concurrent/ThreadPoolExecutor/Custom.java
        JDK under test: (/tmp/jprt/T1/T/144354.ab23780/testproduct/linux_x64_2.6-product)
        java version "1.7.0-201006011443.ab23780.jdk"
        Java(TM) SE Runtime Environment (build 1.7.0-201006011443.ab23780.jdk-jprtadm_2010_06_01_16_06-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 19.0-b01, mixed mode)

        ACTION: build -- Passed. Build successful
        REASON: Named class compiled on demand
        TIME: 0.031 seconds
        messages:
        command: build Custom
        reason: Named class compiled on demand
        elapsed time (seconds): 0.031

        ACTION: compile -- Passed. Compilation successful
        REASON: .class file out of date or does not exist
        TIME: 0.03 seconds
        messages:
        command: compile /tmp/jprt/T1/T/144354.ab23780/source/test/java/util/concurrent/ThreadPoolExecutor/Custom.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.03

        ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: Some tests failed
        REASON: Assumed action based on file name: run main Custom
        TIME: 0.053 seconds
        messages:
        command: main Custom
        reason: Assumed action based on file name: run main Custom
        elapsed time (seconds): 0.053
        STDOUT:
        1 not equal to 0
        11 not equal to 10
        1 not equal to 0

        Passed = 5, failed = 3

        STDERR:
        java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1353)
        at Custom.fail(Custom.java:37)
        at Custom.equal(Custom.java:42)
        at Custom.main(Custom.java:105)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:613)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
        at java.lang.Thread.run(Thread.java:717)
        java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1353)
        at Custom.fail(Custom.java:37)
        at Custom.equal(Custom.java:42)
        at Custom.main(Custom.java:111)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:613)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
        at java.lang.Thread.run(Thread.java:717)
        java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1353)
        at Custom.fail(Custom.java:37)
        at Custom.equal(Custom.java:42)
        at Custom.main(Custom.java:115)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:613)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
        at java.lang.Thread.run(Thread.java:717)
        java.lang.Exception: Some tests failed
        at Custom.main(Custom.java:118)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:613)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
        at java.lang.Thread.run(Thread.java:717)

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


        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: Some tests failed
        --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

                gadams Gary Adams (Inactive)
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: