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

com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently

    Details

    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        TESTFAIL:com/sun/net/httpserver/bugs/6725892/Test.java

        Failure seen during JDK7 b146 PIT testing.

        TEST: com/sun/net/httpserver/bugs/6725892/Test.java
        JDK under test: (C:\temp\jprt\P1\T\030614~1.JCG\TESTPR~1\WINDOW~1.2-P)
        java version "1.7.0-internal"
        Java(TM) SE Runtime Environment (build 1.7.0-internal-201106070306.jcg-integrator.tl-pit-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 21.0-b15, mixed mode)


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

        ACTION: compile -- Passed. Compilation successful
        REASON: .class file out of date or does not exist
        TIME: 0.187 seconds
        messages:
        command: compile C:\temp\jprt\P1\T\030614.jcg-integrator\source\jdk\test\com\sun\net\httpserver\bugs\6725892\Test.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.187

        ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException
        REASON: User specified action: run main/othervm -Dsun.net.httpserver.maxReqTime=2 Test
        TIME: 16.5 seconds
        messages:
        command: main -Dsun.net.httpserver.maxReqTime=2 Test
        reason: User specified action: run main/othervm -Dsun.net.httpserver.maxReqTime=2 Test
        elapsed time (seconds): 16.5
        STDOUT:
        Server on port 3471
        test1: OK
        Request from: /127.0.0.1:3476
        test2: OK
        Worker: Error writing to server
        Worker: Error writing to server
        Request from: /127.0.0.1:3476
        Request from: /127.0.0.1:3480
        Request from: /127.0.0.1:3479
        Request from: /127.0.0.1:3478
        Request from: /127.0.0.1:3482
        Request from: /127.0.0.1:3484
        Request from: /127.0.0.1:3485
        Request from: /127.0.0.1:3491
        Request from: /127.0.0.1:3488
        Request from: /127.0.0.1:3489
        Request from: /127.0.0.1:3492
        Request from: /127.0.0.1:3497
        Request from: /127.0.0.1:3496
        Request from: /127.0.0.1:3500
        Request from: /127.0.0.1:3499
        Request from: /127.0.0.1:3501
        Request from: /127.0.0.1:3486
        Request from: /127.0.0.1:3502
        Request from: /127.0.0.1:3503
        Request from: /127.0.0.1:3505
        Request from: /127.0.0.1:3506
        Request from: /127.0.0.1:3509
        Request from: /127.0.0.1:3512
        Request from: /127.0.0.1:3514
        Request from: /127.0.0.1:3513
        Request from: /127.0.0.1:3517
        Request from: /127.0.0.1:3516
        Request from: /127.0.0.1:3518
        Request from: /127.0.0.1:3519
        Request from: /127.0.0.1:3520
        Request from: /127.0.0.1:3521
        Request from: /127.0.0.1:3522
        Request from: /127.0.0.1:3524
        Request from: /127.0.0.1:3525
        Request from: /127.0.0.1:3527
        Request from: /127.0.0.1:3530
        Request from: /127.0.0.1:3537
        Request from: /127.0.0.1:3529
        Request from: /127.0.0.1:3538
        Request from: /127.0.0.1:3539
        Request from: /127.0.0.1:3540
        Request from: /127.0.0.1:3542
        Request from: /127.0.0.1:3543
        Request from: /127.0.0.1:3544
        Request from: /127.0.0.1:3545
        Request from: /127.0.0.1:3541
        Request from: /127.0.0.1:3546
        Request from: /127.0.0.1:3548
        Request from: /127.0.0.1:3547
        Request from: /127.0.0.1:3549
        Request from: /127.0.0.1:3554
        Request from: /127.0.0.1:3551
        Request from: /127.0.0.1:3552
        Request from: /127.0.0.1:3553
        Request from: /127.0.0.1:3550
        Request from: /127.0.0.1:3476
        Request from: /127.0.0.1:3555
        Request from: /127.0.0.1:3556
        FAIL
        After Shutdown
        STDERR:
        java.lang.RuntimeException: test3: failed
        at Test.test3(Test.java:242)
        at Test.main(Test.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:722)
        java.lang.RuntimeException
        at Test.main(Test.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:722)

        JavaTest Message: Test threw exception: java.lang.RuntimeException
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException

        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mcui Michael Cui (Inactive)
                  Reporter:
                  chegar Chris Hegarty
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: