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

test/java/util/logging/LogManagerInstanceTest.java failing intermittently

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • 8
    • core-libs
    • None

    Description


      This test has failed a few times in my environment (very intermittent). The environment is an up to date build of jdk8/tl (essentially b96 + TL fixes for b98 and beyond).


      #Test Results (version 2)
      #Thu Jul 04 14:57:24 IST 2013
      #checksum:695efa37d84377b8
      #-----testdescription-----
      $file=/data/jenkins/jobs/jdk8-tl-build/builds/2013-07-04_14-07-05/archive/jdk/test/java/util/logging/LogManagerInstanceTest.java
      $root=/data/jenkins/jobs/jdk8-tl-build/builds/2013-07-04_14-07-05/archive/jdk/test
      keywords=bug8010727
      run=USER_SPECIFIED main LogManagerInstanceTest\n
      source=LogManagerInstanceTest.java
      title=LogManager.addLogger should succeed to add a logger named "" if LogManager.getLogger("") returns null.

      #-----environment-----

      #-----testresult-----
      description=file\:/data/jenkins/jobs/jdk8-tl-build/builds/2013-07-04_14-07-05/archive/jdk/test/java/util/logging/LogManagerInstanceTest.java
      elapsed=141 0\:00\:00.141
      end=Thu Jul 04 14\:57\:24 IST 2013
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Root logger already exists
      hostname=ashtown.ie.oracle.com
      javatestOS=Linux 3.2.0-23-generic (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 dev b00
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Thu Jul 04 14\:57\:24 IST 2013
      test=java/util/logging/LogManagerInstanceTest.java
      user.name=jenkins
      work=/data/jenkins/workspace/jdk8-tl-test/JTwork/java/util/logging

      #section:script_messages
      ----------messages:(5/312)----------
      JDK under test: (/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-jenkins_2013_07_04_14_08-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b38, mixed mode)


      #section:build
      ----------messages:(3/107)----------
      command: build LogManagerInstanceTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.059
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/247)----------
      command: compile -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-07-04_14-07-05/archive/jdk/test/java/util/logging/LogManagerInstanceTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.059
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/131)----------
      command: main LogManagerInstanceTest
      reason: User specified action: run main LogManagerInstanceTest
      elapsed time (seconds): 0.082
      ----------System.err:(14/802)----------
      java.lang.RuntimeException: Root logger already exists
      at LogManagerInstanceTest$SecondLogManager.<init>(LogManagerInstanceTest.java:66)
      at LogManagerInstanceTest$SecondLogManager.<init>(LogManagerInstanceTest.java:57)
      at LogManagerInstanceTest.main(LogManagerInstanceTest.java:42)
      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:491)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
      at java.lang.Thread.run(Thread.java:724)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Root logger already exists


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Root logger already exists

      Attachments

        Issue Links

          Activity

            People

              dfuchs Daniel Fuchs
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: