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

java/net/HttpURLConnection/SetAuthenticator/HTTPTest.java time out

    XMLWordPrintable

    Details

      Description

      This happened once in Solaris x64 same binaries run
      Please see the test output below:
      ----------System.out:(139/6586)----------

      **** Testing HTTP SERVER307 mode ****

      Server bound to: /127.0.0.1:55325 after 1 attempt(s)
      Server bound to: /127.0.0.1:55329 after 1 attempt(s)
      Client: FIRST request: http://127.0.0.1:55329/ GET
      Server307: Got GET: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55329]
      User-agent: [Java/9-ea]
      Server307: Redirecting to server
      Server307: Sent back 307 Location: http://127.0.0.1:55325/
      Digest Server: Got GET: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55325]
      User-agent: [Java/9-ea]
      Digest Server: Requesting Digest Authentication Digest realm="dublin",
          qop="auth",
          nonce="4becfda8b24f779bce82704de88a9b62"
      Authenticator called: 1
      Digest Server: Sent back 401
      Digest Server: Got GET: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55325]
      User-agent: [Java/9-ea]
      Authorization: [Digest username="foox", realm="dublin", nonce="4becfda8b24f779bce82704de88a9b62", nc=00000001, uri="/", response="703c915d9cbe7d015f38f20f6f88d959", algorithm=MD5, cnonce="INNNPIKJDENMFFMJOBFIPHHHKODGOFLCPNPOAOBM", qop=auth]
      Digest Server: processing Digest username="foox", realm="dublin", nonce="4becfda8b24f779bce82704de88a9b62", nc=00000001, uri="/", response="703c915d9cbe7d015f38f20f6f88d959", algorithm=MD5, cnonce="INNNPIKJDENMFFMJOBFIPHHHKODGOFLCPNPOAOBM", qop=auth
      Digest Server: verified response 703c915d9cbe7d015f38f20f6f88d959
      Response code: 200
      Response body:

      Client: NEXT request: http://127.0.0.1:55329/ POST
      Server307: Got POST: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55329]
      User-agent: [Java/9-ea]
      Content-type: [application/x-www-form-urlencoded]
      Content-length: [12]
      Server307: Redirecting to server
      Server307: Sent back 307 Location: http://127.0.0.1:55325/
      Digest Server: Got POST: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55325]
      User-agent: [Java/9-ea]
      Content-type: [application/x-www-form-urlencoded]
      Content-length: [12]
      Digest Server: Requesting Digest Authentication Digest realm="dublin",
          qop="auth",
          nonce="4becfda8b24f779bce82704de88a9b62"
      Digest Server: Sent back 401
      Digest Server: Got POST: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55325]
      User-agent: [Java/9-ea]
      Authorization: [Digest username="foox", realm="dublin", nonce="4becfda8b24f779bce82704de88a9b62", nc=00000002, uri="/", response="a335077d0382f49a5a1c106ee4db4401", algorithm=MD5, cnonce="BDMFCKBBADBKKGPCOPAJHCNIIPMGLFABEGHJEMPL", qop=auth]
      Content-type: [application/x-www-form-urlencoded]
      Content-length: [12]
      Digest Server: processing Digest username="foox", realm="dublin", nonce="4becfda8b24f779bce82704de88a9b62", nc=00000002, uri="/", response="a335077d0382f49a5a1c106ee4db4401", algorithm=MD5, cnonce="BDMFCKBBADBKKGPCOPAJHCNIIPMGLFABEGHJEMPL", qop=auth
      Digest Server: verified response a335077d0382f49a5a1c106ee4db4401
      Response code: 200
      Response body: Hello World!
      Test passed!

      **** Testing HTTPS SERVER307 mode ****

      Server bound to: /127.0.0.1:55344 after 1 attempt(s)
      Server bound to: /127.0.0.1:55347 after 1 attempt(s)
      Client: FIRST request: https://127.0.0.1:55347/ GET
      Client: configuring SSL connection
      Server307: Got GET: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55347]
      User-agent: [Java/9-ea]
      Server307: Redirecting to server
      Server307: Sent back 307 Location: https://127.0.0.1:55344/
      Digest Server: Got GET: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55344]
      User-agent: [Java/9-ea]
      Digest Server: Requesting Digest Authentication Digest realm="dublin",
          qop="auth",
          nonce="e2e4969fe16d16e98fbfd1d0d8ad7ed5"
      Digest Server: Sent back 401
      Authenticator called: 2
      Digest Server: Got GET: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55344]
      User-agent: [Java/9-ea]
      Authorization: [Digest username="foox", realm="dublin", nonce="e2e4969fe16d16e98fbfd1d0d8ad7ed5", nc=00000001, uri="/", response="0ed889356bf3a08d25cdc7d21debda13", algorithm=MD5, cnonce="KKKLPLNJICDMJIHLBBPPNADMAECPDODNCPMFCOFI", qop=auth]
      Digest Server: processing Digest username="foox", realm="dublin", nonce="e2e4969fe16d16e98fbfd1d0d8ad7ed5", nc=00000001, uri="/", response="0ed889356bf3a08d25cdc7d21debda13", algorithm=MD5, cnonce="KKKLPLNJICDMJIHLBBPPNADMAECPDODNCPMFCOFI", qop=auth
      Digest Server: verified response 0ed889356bf3a08d25cdc7d21debda13
      Response code: 200
      Response body:

      Client: NEXT request: https://127.0.0.1:55347/ POST
      Client: configuring SSL connection
      Server307: Got POST: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55347]
      User-agent: [Java/9-ea]
      Content-type: [application/x-www-form-urlencoded]
      Content-length: [12]
      Server307: Redirecting to server
      Server307: Sent back 307 Location: https://127.0.0.1:55344/
      Digest Server: Got POST: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55344]
      User-agent: [Java/9-ea]
      Content-type: [application/x-www-form-urlencoded]
      Content-length: [12]
      Digest Server: Requesting Digest Authentication Digest realm="dublin",
          qop="auth",
          nonce="e2e4969fe16d16e98fbfd1d0d8ad7ed5"
      Digest Server: Sent back 401
      Digest Server: Got POST: /
      Accept: [text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]
      Connection: [keep-alive]
      Host: [127.0.0.1:55344]
      User-agent: [Java/9-ea]
      Authorization: [Digest username="foox", realm="dublin", nonce="e2e4969fe16d16e98fbfd1d0d8ad7ed5", nc=00000002, uri="/", response="635445bc554757e46375969fb76dcba0", algorithm=MD5, cnonce="GFNNNNANJNHJGOGCEJIBJEKONHIIFKJOLGIBAFPD", qop=auth]
      Content-type: [application/x-www-form-urlencoded]
      Content-length: [12]
      Digest Server: processing Digest username="foox", realm="dublin", nonce="e2e4969fe16d16e98fbfd1d0d8ad7ed5", nc=00000002, uri="/", response="635445bc554757e46375969fb76dcba0", algorithm=MD5, cnonce="GFNNNNANJNHJGOGCEJIBJEKONHIIFKJOLGIBAFPD", qop=auth
      Digest Server: verified response 635445bc554757e46375969fb76dcba0
      Response code: 200
      Response body: Hello World!
      Test passed!
      Timeout signalled after 960 seconds

        Attachments

          Activity

            People

            Assignee:
            fyuan Frank Yuan (Inactive)
            Reporter:
            xiaofeya Xiaofeng Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: