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

sun/net/InetAddress/nameservice/simple/CacheTest.java failing

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      TESTFAIL:sun/net/InetAddress/nameservice/simple/CacheTest.java
      TESTFAIL:sun/net/InetAddress/nameservice/simple/DefaultCaching.java

      This two tests are failing with jdk8/tl jobs in JPRT.

      --------------------------------------------------
      TEST: sun/net/InetAddress/nameservice/simple/CacheTest.java
      JDK under test: (C:\jprt\temp\P1\022814~1.JCG\TESTPR~1\WINDOW~1.1-P)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-201202250228.jcg-integrator.tl-pit-b00)
      Java HotSpot(TM) Client VM (build 23.0-b16, mixed mode, sharing)


      ACTION: compile -- Passed. Compilation successful
      REASON: User specified action: run compile -XDignore.symbol.file=true SimpleNameService.java SimpleNameServiceDescriptor.java
      TIME: 0.042 seconds
      messages:
      command: compile -XDignore.symbol.file=true C:\jprt\temp\P1\022814.jcg-integrator\source\jdk\test\sun\net\InetAddress\nameservice\simple\SimpleNameService.java C:\jprt\temp\P1\022814.jcg-integrator\source\jdk\test\sun\net\InetAddress\nameservice\simple\SimpleNameServiceDescriptor.java
      reason: User specified action: run compile -XDignore.symbol.file=true SimpleNameService.java SimpleNameServiceDescriptor.java
      elapsed time (seconds): 0.042
      direct:
      Note: C:\jprt\temp\P1\022814.jcg-integrator\source\jdk\test\sun\net\InetAddress\nameservice\simple\SimpleNameService.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.

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

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.042 seconds
      messages:
      command: compile C:\jprt\temp\P1\022814.jcg-integrator\source\jdk\test\sun\net\InetAddress\nameservice\simple\CacheTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.042

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.net.UnknownHostException: luster
      REASON: User specified action: run main/othervm/timeout=200 -Dsun.net.spi.nameservice.provider.1=simple,sun CacheTest
      TIME: 10.111 seconds
      messages:
      command: main -Dsun.net.spi.nameservice.provider.1=simple,sun CacheTest
      reason: User specified action: run main/othervm/timeout=200 -Dsun.net.spi.nameservice.provider.1=simple,sun CacheTest
      elapsed time (seconds): 10.111
      STDOUT:
      STDERR:
      java.net.UnknownHostException: luster
      at java.net.InetAddress.getAllByName0(InetAddress.java:1216)
      at java.net.InetAddress.getAllByName(InetAddress.java:1128)
      at java.net.InetAddress.getAllByName(InetAddress.java:1064)
      at java.net.InetAddress.getByName(InetAddress.java:1014)
      at CacheTest.main(CacheTest.java:101)
      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:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.net.UnknownHostException: luster
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.net.UnknownHostException: luster

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.net.UnknownHostException: luster
      --------------------------------------------------

        Attachments

          Activity

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              alanb Alan Bateman
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: