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

TEST_BUG: sun/net/www/protocol/jar/B4957695.java failing on Windows

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b36
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        This test is missing the @run tag and so is not run as expected. When the @run tag is added then the test passes on all platforms except Windows. The following is a sample output:

        --------------------------------------------------
        TEST: sun/net/www/protocol/jar/B4957695.java
        JDK under test: (C:\jprt\temp\P1\120353~1.ALB\TESTPR~1\WINDOW~1.2-P)
        java version "1.8.0-internal"
        Java(TM) SE Runtime Environment (build 1.8.0-internal-201203101203.albatem.tl-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b02, mixed mode)
        Timeout signalled after 480 seconds


        ACTION: build -- Passed. Build successful
        REASON: User specified action: run build HttpCallback HttpServer ClosedChannelList HttpTransaction AbstractCallback
        TIME: 0.109 seconds
        messages:
        command: build HttpCallback HttpServer ClosedChannelList HttpTransaction AbstractCallback
        reason: User specified action: run build HttpCallback HttpServer ClosedChannelList HttpTransaction AbstractCallback
        elapsed time (seconds): 0.109

        ACTION: compile -- Passed. Compilation successful
        REASON: .class file out of date or does not exist
        TIME: 0.109 seconds
        messages:
        command: compile C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpCallback.java C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpServer.java C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\ClosedChannelList.java C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\AbstractCallback.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.109
        direct:
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpCallback.java:26: warning: MessageHeader is internal proprietary API and may be removed in a future release
         * requests and generate responses. This could be a general purpose HTTP server
                                  ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:28: warning: MessageHeader is internal proprietary API and may be removed in a future release
        import sun.net.www.MessageHeader;
                          ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:41: warning: MessageHeader is internal proprietary API and may be removed in a future release
            MessageHeader reqheaders, reqtrailers;
            ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:41: warning: MessageHeader is internal proprietary API and may be removed in a future release
            MessageHeader reqheaders, reqtrailers;
            ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:44: warning: MessageHeader is internal proprietary API and may be removed in a future release
            MessageHeader rspheaders, rsptrailers;
            ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:44: warning: MessageHeader is internal proprietary API and may be removed in a future release
            MessageHeader rspheaders, rsptrailers;
            ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:50: warning: MessageHeader is internal proprietary API and may be removed in a future release
                                URI requesturi, MessageHeader headers,
                                                ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:51: warning: MessageHeader is internal proprietary API and may be removed in a future release
                                String body, MessageHeader trailers, SelectionKey key) {
                                             ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:129: warning: MessageHeader is internal proprietary API and may be removed in a future release
                    rspheaders = new MessageHeader ();
                                     ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:141: warning: MessageHeader is internal proprietary API and may be removed in a future release
                    rspheaders = new MessageHeader ();
                                     ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpTransaction.java:153: warning: MessageHeader is internal proprietary API and may be removed in a future release
                    rsptrailers = new MessageHeader ();
                                      ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpServer.java:255: warning: MessageHeader is internal proprietary API and may be removed in a future release
                        MessageHeader mhead = new MessageHeader (is);
                        ^
        C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\..\..\httptest\HttpServer.java:255: warning: MessageHeader is internal proprietary API and may be removed in a future release
                        MessageHeader mhead = new MessageHeader (is);
                                                  ^
        Note: Some input files use unchecked or unsafe operations.
        Note: Recompile with -Xlint:unchecked for details.
        13 warnings

        ACTION: build -- Passed. Build successful
        REASON: Named class compiled on demand
        TIME: 0.032 seconds
        messages:
        command: build B4957695
        reason: Named class compiled on demand
        elapsed time (seconds): 0.032

        ACTION: compile -- Passed. Compilation successful
        REASON: .class file out of date or does not exist
        TIME: 0.032 seconds
        messages:
        command: compile C:\jprt\temp\P1\120353.albatem\source\jdk\test\sun\net\www\protocol\jar\B4957695.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.032

        ACTION: main -- Error. Program `C:\jprt\temp\P1\120353~1.ALB\TESTPR~1\WINDOW~1.2-P\bin\java' interrupted! (timed out?)
        REASON: User specified action: run main/othervm B4957695
        TIME: 480.0 seconds
        messages:
        command: main B4957695
        reason: User specified action: run main/othervm B4957695
        elapsed time (seconds): 480.0
        STDOUT:
        Server: listening on port: 2859
        SERVER: new connection. chan[java.nio.channels.SocketChannel[connected local=/127.0.0.1:2859 remote=/127.0.0.1:2862]]
        SERVER: connection readable. chan[java.nio.channels.SocketChannel[connected local=/127.0.0.1:2859 remote=/127.0.0.1:2862]]
        Request received
        content length 513784
        SERVER: abortiveCloseChannel chan[java.nio.channels.SocketChannel[connected local=/127.0.0.1:2859 remote=/127.0.0.1:2862]]
        STDERR:

        TEST RESULT: Error. Program `C:\jprt\temp\P1\120353~1.ALB\TESTPR~1\WINDOW~1.2-P\bin\java' interrupted! (timed out?)
        --------------------------------------------------

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                khazra Kurchi Subhra Hazra
                Reporter:
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: