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

Linux testcase failure java/util/WeakHashMap/GCDuringIteration.java

    Details

      Description

      Client VM product build failure on Linux 32bit (Fedora 9).

      Not sure this will reproduce but will try. Felt it was important to file the failure in a bug.
      Hotspot was upgraded recently, so it might be wise to try different hotspot builds.

      --------------------------------------------------
      TEST: java/util/WeakHashMap/GCDuringIteration.java
      JDK under test: (/tmp/jprt/P2/T/151224.ohair/testproduct/linux_i586_2.6-product)
      java version "1.7.0-2009-05-18-151224.ohair.jdk"
      Java(TM) SE Runtime Environment (build 1.7.0-2009-05-18-151224.ohair.jdk-jprtadm_2009_05_18_08_18-b00)
      Java HotSpot(TM) Server VM (build 16.0-b03, mixed mode)

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

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.651 seconds
      messages:
      command: compile /tmp/jprt/P2/T/151224.ohair/source/test/java/util/WeakHashMap/GCDuringIteration.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.651
      STDOUT:
      STDERR:

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
      REASON: Assumed action based on file name: run main GCDuringIteration
      TIME: 0.446 seconds
      messages:
      command: main GCDuringIteration
      reason: Assumed action based on file name: run main GCDuringIteration
      elapsed time (seconds): 0.446
      STDOUT:
      [18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [17, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
      [9]

      Passed = 385, failed = 1

      STDERR:
      20 not equal to 19
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1353)
      at GCDuringIteration.fail(GCDuringIteration.java:207)
      at GCDuringIteration.fail(GCDuringIteration.java:208)
      at GCDuringIteration.equal(GCDuringIteration.java:213)
      at GCDuringIteration.test(GCDuringIteration.java:104)
      at GCDuringIteration.instanceMain(GCDuringIteration.java:217)
      at GCDuringIteration.main(GCDuringIteration.java:215)
      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:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)
      java.lang.AssertionError: Some tests failed
      at GCDuringIteration.instanceMain(GCDuringIteration.java:219)
      at GCDuringIteration.main(GCDuringIteration.java:215)
      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:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)

      JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.AssertionError: Some tests failed

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martin Martin Buchholz
                Reporter:
                ohair Kelly Ohair (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: