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

(sctp) Some sctp tests fails on Solaris 11 with Assertion error

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_11

      Description

      Testsuite name: Regression
      Test name(s): com/sun/nio/sctp/SctpChannel/Bind.java
                           com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java
                           com/sun/nio/sctp/SctpChannel/SocketOptionTests.java

      JDK tested:9b52,9b53
      OS tested:Solaris,Linux
      Is it a regression? No
      Regression introduced in release/build: N/A
                                     
      Is it platform specific? Yes ( Fails in Solaris 11 and passes in Solaris 10 and Linux)
                            
      The is failure reproduced:Solaris 11

      com/sun/nio/sctp/SctpChannel/Bind.java

      ----------System.err:(35/2113)----------
      java.lang.IllegalStateException: Cannot add or remove addresses from a channel that is bound to the wildcard address
      at sun.nio.ch.sctp.SctpChannelImpl.bindUnbindAddress(SctpChannelImpl.java:235)
      at sun.nio.ch.sctp.SctpChannelImpl.bindAddress(SctpChannelImpl.java:209)
      at Bind.testBindUnbind(Bind.java:162)
      at Bind.test(Bind.java:67)
      at Bind.instanceMain(Bind.java:346)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at Bind.main(Bind.java:343)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)
      java.lang.AssertionError: Some tests failed
      at Bind.instanceMain(Bind.java:348)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at Bind.main(Bind.java:343)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

      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

      com/sun/nio/sctp/SctpChannel/SocketOptionTest.java

      ----------System.err:(38/2293)----------
      SO_RCVBUF: value (262140) not as expected (16384)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1333)
      at SocketOptionTests.fail(SocketOptionTests.java:203)
      at SocketOptionTests.fail(SocketOptionTests.java:204)
      at SocketOptionTests.check(SocketOptionTests.java:207)
      at SocketOptionTests.checkOption(SocketOptionTests.java:53)
      at SocketOptionTests.test(SocketOptionTests.java:109)
      at SocketOptionTests.instanceMain(SocketOptionTests.java:215)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at SocketOptionTests.main(SocketOptionTests.java:212)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)
      java.lang.AssertionError: Some tests failed
      at SocketOptionTests.instanceMain(SocketOptionTests.java:217)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at SocketOptionTests.main(SocketOptionTests.java:212)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

      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


      com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java

      ---------System.err:(39/2465)----------
      java.net.SocketException: Connection reset by peer
      at sun.nio.ch.sctp.SctpChannelImpl.receive0(Native Method)
      at sun.nio.ch.sctp.SctpChannelImpl.receiveIntoNativeBuffer(SctpChannelImpl.java:859)
      at sun.nio.ch.sctp.SctpChannelImpl.receive(SctpChannelImpl.java:835)
      at sun.nio.ch.sctp.SctpChannelImpl.receive(SctpChannelImpl.java:778)
      at sun.nio.ch.sctp.SctpChannelImpl.receive(SctpChannelImpl.java:740)
      at ReceiveIntoDirect.doTest(ReceiveIntoDirect.java:154)
      at ReceiveIntoDirect.runWithManyOffsets(ReceiveIntoDirect.java:96)
      at ReceiveIntoDirect.test(ReceiveIntoDirect.java:82)
      at ReceiveIntoDirect.instanceMain(ReceiveIntoDirect.java:272)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at ReceiveIntoDirect.main(ReceiveIntoDirect.java:269)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)
      java.lang.AssertionError: Some tests failed
      at ReceiveIntoDirect.instanceMain(ReceiveIntoDirect.java:274)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at ReceiveIntoDirect.main(ReceiveIntoDirect.java:269)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chegar Chris Hegarty
              Reporter:
              pchopra Pooja Chopra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: