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

3 regression tests fail due to lack of network resources, win98

XMLWordPrintable

    • x86
    • windows_98



      Name: aaR10208 Date: 02/14/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b16
      Testbase : Regression-test
      Platform[s] : Windows 98
      switch/Mode : -client
      Falling test[s]:
      java/net/Authenticator/B4678055.java
      java/net/Authenticator/B4722333.java
      java/net/Authenticator/B4769350.java

      These 3 tests fail on Win98 boxes with a reason "No buffer space available (maximum
      connections reached?)".


      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/net/Authenticator/B4678055.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/net/Authenticator/B4722333.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/net/Authenticator/B4769350.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/net/www/httptest/ClosedChannelList.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/net/www/httptest/AbstractCallback.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/net/www/httptest/HttpCallback.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/net/www/httptest/HttpServer.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/net/www/httptest/HttpTransaction.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b16/regtest/win32/win98_-client_linux-17/workDir/test/java/net/Authenticator/B4678055.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b16/regtest/win32/win98_-client_linux-17/workDir/test/java/net/Authenticator/B4722333.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b16/regtest/win32/win98_-client_linux-17/workDir/test/java/net/Authenticator/B4769350.jtr

      How to reproduce:
      =================
      Run the following script on Win98 box (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
      JDK=c:/j2sdk1.4.2
      TESTBASE=h:/java/regtest/test

      cp ${TESTBASE}/java/net/Authenticator/B4678055.java .
      cp ${TESTBASE}/java/net/Authenticator/B4722333.java .
      cp ${TESTBASE}/java/net/Authenticator/B4769350.java .
      cp ${TESTBASE}/sun/net/www/httptest/ClosedChannelList.java .
      cp ${TESTBASE}/sun/net/www/httptest/AbstractCallback.java .
      cp ${TESTBASE}/sun/net/www/httptest/HttpCallback.java .
      cp ${TESTBASE}/sun/net/www/httptest/HttpServer.java .
      cp ${TESTBASE}/sun/net/www/httptest/HttpTransaction.java .

      ${JDK}/bin/javac *.java
      ${JDK}/bin/java -showversion B4678055

      --- script end ---

      Test output:
      ==============
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b16)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b16, mixed mode)

      Server: listening on port: 1548
      client opening connection to: http://localhost:1548/d1/foo.html
      null
      Basic dXNlcjpwYXNzMQ==
      reading
      Hello .
      finished reading
      client opening connection to: http://localhost:1548/d2/foo.html
      null
      Basic dXNlcjpwYXNzMQ==
      Basic dXNlcjpwYXNzMg==
      java.io.IOException: Unable to establish loopback connection
              at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:104)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:120)
              at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27
      )
              at java.nio.channels.Pipe.open(Pipe.java:133)
              at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:101)
              at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvid
      er.java:26)
              at java.nio.channels.Selector.open(Selector.java:209)
              at HttpServer$NioOutputStream.<init>(HttpServer.java:482)
              at HttpTransaction.sendResponse(HttpTransaction.java:215)
              at B4678055.okReply(B4678055.java:27)
              at B4678055.request(B4678055.java:67)
              at HttpServer$Server.read(HttpServer.java:243)
              at HttpServer$Server.run(HttpServer.java:180)
      Caused by: java.net.SocketException: No buffer space available (maximum connecti
      ons reached?): connect
              at sun.nio.ch.Net.connect(Native Method)
              at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
              at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
              at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:75)
              ... 13 more

      Specific machine info:
      ======================
      Hostname: linux-17
      OS: Windows 98


      ======================================================================

            jccollet Jean-Christophe Collet (Inactive)
            sundrsunw Sundr Sundr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: