hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Wallgren (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (HTTPCORE-83) Test failures in SVN head
Date Thu, 21 Jun 2007 22:40:26 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anders Wallgren reopened HTTPCORE-83:
-------------------------------------


Updated to latest svn:

C:\java\jakarta-httpcomponents\httpcore>svn info
Path: .
URL: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/trunk
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 549636
Node Kind: directory
Schedule: normal
Last Changed Author: olegk
Last Changed Rev: 549633
Last Changed Date: 2007-06-21 15:23:04 -0700 (Thu, 21 Jun 2007)

and I do "mvn clean test" but I still see failures:

Running org.apache.http.nio.TestAll
Exception in thread "worker-thread-39" java.lang.IllegalStateException: Buffer already closed
for writing
        at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
        at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
        at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:482)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:91)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:198)
        at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
Exception in thread "worker-thread-41" java.lang.IllegalStateException: Buffer already closed
for writing
        at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
        at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
        at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:482)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:91)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:198)
        at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
Exception in thread "worker-thread-50" java.lang.IllegalStateException: Buffer already closed
for writing
        at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
        at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
        at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:482)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:91)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:198)
        at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
Exception in thread "worker-thread-54" java.lang.IllegalStateException: Buffer already closed
for writing
        at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
        at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
        at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:482)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:91)
        at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:198)
        at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
Exception in thread "worker-thread-81" java.nio.channels.CancelledKeyException
        at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
        at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:59)
        at org.apache.http.impl.nio.reactor.IOSessionImpl.setEvent(IOSessionImpl.java:114)
        at org.apache.http.impl.nio.NHttpConnectionBase.requestOutput(NHttpConnectionBase.java:151)
        at org.apache.http.nio.util.SharedOutputBuffer.writeCompleted(SharedOutputBuffer.java:174)
        at org.apache.http.nio.entity.ContentOutputStream.close(ContentOutputStream.java:52)
        at org.apache.http.nio.protocol.ThrottlingHttpClientHandler$1.run(ThrottlingHttpClientHandler.java:411)
        at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
Tests run: 100, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 19.375 sec <<<
FAILURE!

Results :

Failed tests:
  testSimpleHttpPostsHTTP10(org.apache.http.nio.protocol.TestNIOHttp)
  testSimpleHttpHeads(org.apache.http.nio.protocol.TestNIOHttp)
  testSimpleHttpGets(org.apache.http.nio.protocol.TestNIOHttp)


> Test failures in SVN head
> -------------------------
>
>                 Key: HTTPCORE-83
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-83
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: Dual core windows vista
>            Reporter: Anders Wallgren
>            Priority: Blocker
>             Fix For: 4.0-alpha5
>
>         Attachments: test.zip, throttling-service-bug.patch
>
>
> In the current svn head (revision 547953), I'm getting these test failures:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.http.nio.TestAll
> Exception in thread "worker-thread-28" java.lang.IllegalStateException: Buffer already
closed for writing
>         at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
>         at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
>         at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
>         at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Exception in thread "worker-thread-34" java.lang.IllegalStateException: Buffer already
closed for writing
>         at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
>         at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
>         at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
>         at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Exception in thread "worker-thread-39" java.lang.IllegalStateException: Buffer already
closed for writing
>         at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
>         at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
>         at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
>         at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Tests run: 100, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 11.224 sec <<<
FAILURE!
> Results :
> Failed tests:
>   testSimpleHttpGets(org.apache.http.nio.protocol.TestNIOHttp)
>   testSimpleHttpPostsWithContentLength(org.apache.http.nio.protocol.TestNIOHttp)
>   testSimpleHttpPostsHTTP10(org.apache.http.nio.protocol.TestNIOHttp)
>   testSimpleHttpHeads(org.apache.http.nio.protocol.TestNIOHttp)
> Tests run: 100, Failures: 4, Errors: 0, Skipped: 0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message