This error doesn't break the build or tests. We fixed this issue some time
back and found that fix caused to consume high CPU usage, thus reverted the
fix in recent releases. Will looking to this.

@Bathiya - Which test framework version are you using ?

Thanks,
Krishantha.


On Tue, Jan 28, 2014 at 5:34 PM, Nandika Jayawardana <[email protected]>wrote:

> I have seen this error with BPS integration tests as well. Is there a way
> to prevent this.
>
> Regards
> Nandika
>
>
> On Tue, Jan 28, 2014 at 5:21 PM, Nuwan Wimalasekara <[email protected]>wrote:
>
>> Hi Bhathiya,
>> We have not encountered such an issue in other product integration tests(ESB
>> and Greg). So can you please check the test-framework-version used in SS
>> integration tests.
>>
>> Thanks,
>> Nuwanw
>>
>>
>> On Tue, Jan 28, 2014 at 5:04 PM, Bhathiya Jayasekara 
>> <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> When I run integration tests in SS, after all the tests are run
>>> successfully, I can see following error log in console. Any idea why it
>>> happens?
>>>
>>> [2014-01-28 16:55:21,294]  INFO
>>> {org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Server
>>> stopped successfully...
>>> [2014-01-28 16:55:21,294]  INFO
>>> {org.wso2.carbon.automation.core.utils.coreutils.CodeCoverageUtils} -
>>>  Generating code coverage report ...
>>> [2014-01-28 16:55:21,299] ERROR
>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>>  Problem reading the [inputStream] due to: Stream closed
>>> java.io.IOException: Stream closed
>>> at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
>>> at java.io.BufferedInputStream.read1(BufferedInputStream.java:255)
>>>  at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
>>> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>>>  at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>>> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>>>  at java.io.InputStreamReader.read(InputStreamReader.java:167)
>>> at java.io.BufferedReader.fill(BufferedReader.java:136)
>>>  at java.io.BufferedReader.readLine(BufferedReader.java:299)
>>> at java.io.BufferedReader.readLine(BufferedReader.java:362)
>>>  at
>>> org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler.run(InputStreamHandler.java:62)
>>> at java.lang.Thread.run(Thread.java:662)
>>> [2014-01-28 16:55:36,483]  INFO
>>> {org.wso2.carbon.automation.core.utils.coreutils.CodeCoverageUtils} -
>>>  Including Coverage EC file
>>> -/home/bhathiya/carbon/platform/branches/turing/products/ss/1.2.0/modules/integration/tests/target/carbontmp1390908268314/wso2ss-1.2.0/
>>> coverage.ec
>>> [2014-01-28 16:55:36,483]  INFO
>>> {org.wso2.carbon.automation.core.utils.coreutils.CodeCoverageUtils} -
>>>  Including coverage EM file
>>> -/home/bhathiya/carbon/platform/branches/turing/products/ss/1.2.0/modules/integration/tests/target/coverage.em
>>>
>>>
>>> Thanks,
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Software Engineer,*
>>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> <http://www.linkedin.com/in/bhathiyaj>*
>>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>>> *Blog: http://movingaheadblog.blogspot.com
>>> <http://movingaheadblog.blogspot.com/>*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nandika Jayawardana
> Senior Technical Lead
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to