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

[TEST_BUG] sun/net/www/http/HttpClient/StreamingRetry.java failed intermittently

XMLWordPrintable

    • b42
    • generic
    • windows

        The following error was seen on jdk9 dev nightly 2014-11-14. It is intermittent. I retried 10 times repeatedly with the same build on the same machine, can't reproduce.

        This testcase started failing after the change for JDK-8050983.

        Please see the following test output:
        ----------System.out:(3/71)----------
        Test with default method
        Test with POST method
        Test with PUT method
        ----------System.err:(20/1002)----------
        The server shouldn't accept a second connection
        java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1329)
        at StreamingRetry.fail(StreamingRetry.java:96)
        at StreamingRetry.fail(StreamingRetry.java:97)
        at StreamingRetry.run(StreamingRetry.java:89)
        at java.lang.Thread.run(Thread.java:745)
        java.lang.RuntimeException: Some tests failed
        at StreamingRetry.instanceMain(StreamingRetry.java:54)
        at StreamingRetry.main(StreamingRetry.java:43)
        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.MainAction$SameVMRunnable.run(MainAction.java:776)
        at java.lang.Thread.run(Thread.java:745)

              chegar Chris Hegarty
              xiaofeya Xiaofeng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: