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

test/java/net/MulticastSocket/Test.java failing on Solaris 10

XMLWordPrintable

    • generic
    • generic

      #Test Results (version 2)
      #Fri Sep 23 01:37:27 UTC 2011
      #checksum:55090452730e56cc
      #-----testdescription-----
      $file=/Users/aurora/sandbox/testbase/test/java/net/MulticastSocket/Test.java
      $root=/Users/aurora/sandbox/testbase/test
      keywords=bug4488458
      run=ASSUMED_ACTION main Test\n
      source=Test.java
      title=IPv4 and IPv6 multicasting broken on Linux

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

      #-----testresult-----
      description=file:/Users/aurora/sandbox/testbase/test/java/net/MulticastSocket/Test.java
      elapsed=8020 0:00:08.020
      end=Fri Sep 23 01:37:27 UTC 2011
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed - see log file for details
      hostname=sc14160049
      javatestOS=SunOS 5.10 (x86)
      javatestVersion=4.1.4
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Fri Sep 23 01:37:19 UTC 2011
      test=java/net/MulticastSocket/Test.java
      work=/Users/aurora/sandbox/gresults/testoutput/jdk_net/JTwork/java/net/MulticastSocket

      #section:script_messages
      ----------messages:(4/179)----------
      JDK under test: (/Users/aurora/sandbox/jdk)
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b9265)
      Java HotSpot(TM) Server VM (build 22.0-b03, mixed mode)

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

      #section:compile
      ----------messages:(3/168)----------
      command: compile /Users/aurora/sandbox/testbase/test/java/net/MulticastSocket/Test.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.013
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/107)----------
      command: main Test
      reason: Assumed action based on file name: run main Test
      elapsed time (seconds): 8.005
      ----------System.out:(24/616)----------
      **********************
      Test 1: /224.80.80.80
      Join: /224.80.80.80
      Send packet to: /224.80.80.80
      Got packet! - Good.
      Send packet to: /224.80.80.80
      Got packet! - Good.
      Leave: /224.80.80.80
      No packet received within timeout! - Good.
      Join: /224.80.80.80
      Send packet to: /224.80.80.80
      Got packet! - Good.
      Send packet to: /224.80.80.80
      Got packet! - Good.
      Leave: /224.80.80.80
      No packet received within timeout! - Good.
      Test passed.
      **********************
      Test 2: /ff01:0:0:0:0:0:0:a
      Join: /ff01:0:0:0:0:0:0:a
      Failed: Unexpected exception thrown:
      Test failed!!
      **********************
      2 test(s) executed. 1 test(s) failed.
      ----------System.err:(25/1374)----------
      java.net.SocketException: Cannot assign requested address
      at java.net.PlainDatagramSocketImpl.join(Native Method)
      at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:168)
      at java.net.MulticastSocket.joinGroup(MulticastSocket.java:306)
      at Test.doTest(Test.java:60)
      at Test.allTests(Test.java:167)
      at Test.main(Test.java:187)
      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.MainAction$SameVMRunnable.run(MainAction.java:680)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Test failed - see log file for details
      at Test.main(Test.java:199)
      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.MainAction$SameVMRunnable.run(MainAction.java:680)
      at java.lang.Thread.run(Thread.java:722)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed - see log file for details


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed - see log file for details

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: