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

java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations

    XMLWordPrintable

Details

    • b13
    • x86_64
    • windows
    • Verified

    Backports

      Description

        AssertionError: Found some outstanding operations or unreleased resources in 320 clients after 50 iterations and 3770 ms, waited 500 ms
        Http1TestServer: stop
        Http1TestServer: stop
        Http2TestServerImpl: stop
        Http2TestServerImpl: stop
        config ResponsePublisher.teardown(): failure
        java.lang.AssertionError: WARNING: tracker for HttpClientImpl(45) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(49) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(56) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(61) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(87) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(111) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(112) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(118) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(143) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(148) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(149) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(159) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(175) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(180) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(182) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(189) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(245) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(246) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(255) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(280) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(312) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        WARNING: tracker for HttpClientImpl(320) has outstanding operations:
        Pending HTTP Requests: 0
        Pending HTTP/1.1 operations: 0
        Pending HTTP/2 streams: 0
        Pending WebSocket operations: 0
        Pending TCP connections: 1
        Pending Subscribers: 0
        Total pending operations: 0
        Facade referenced: false
        Selector alive: true
        Found 0 client still active, with 0 operations still pending out of 320 tracked clients.
        at ReferenceTracker.check(ReferenceTracker.java:308)
        at ReferenceTracker.check(ReferenceTracker.java:121)
        at ResponsePublisher.teardown(ResponsePublisher.java:441)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
        at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
        at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
        at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
        at org.testng.TestRunner.invokeTestConfigurations(TestRunner.java:617)
        at org.testng.TestRunner.afterRun(TestRunner.java:847)
        at org.testng.TestRunner.run(TestRunner.java:588)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
        at org.testng.SuiteRunner.run(SuiteRunner.java:286)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
        at org.testng.TestNG.runSuites(TestNG.java:1069)
        at org.testng.TestNG.run(TestNG.java:1037)
        at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102)
        at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:58)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1583)

        Attachments

          Issue Links

            Activity

              People

                dclarke Darragh Clarke
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: