ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolai Kulagin (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (IGNITE-9165) FindBugs: Methods may fail to close stream in core module
Date Thu, 06 Dec 2018 16:54:00 GMT

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

Nikolai Kulagin updated IGNITE-9165:
------------------------------------
    Comment: was deleted

(was: {panel:title=--&gt; Run :: All: Possible Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Platform .NET (Long Running){color} [[tests 4|https://ci.ignite.apache.org/viewLog.html?buildId=2317263]]
* exe: CacheQueriesTest.TestSqlFieldsQueryTimeout - 0,0% fails in last 16 master runs.
* exe: CacheQueriesTest.TestSqlQueryTimeout - 0,0% fails in last 16 master runs.
* exe: CacheQueriesTest.TestSqlFieldsQueryTimeout - 0,0% fails in last 16 master runs.
* exe: CacheQueriesTest.TestSqlQueryTimeout - 0,0% fails in last 16 master runs.

{color:#d04437}Hadoop{color} [[tests 5|https://ci.ignite.apache.org/viewLog.html?buildId=2255238]]
* IgniteHadoopTestSuite: HadoopSplitWrapperSelfTest.testSerialization - 0,0% fails in last
15 master runs.
* IgniteHadoopTestSuite: HadoopTasksV1Test.testReduceTask - 0,0% fails in last 15 master runs.
* IgniteHadoopTestSuite: HadoopTaskExecutionSelfTest.testJobKill - 0,0% fails in last 15 master
runs.
* IgniteHadoopTestSuite: HadoopV2JobSelfTest.testCustomSerializationApplying - 0,0% fails
in last 15 master runs.
* IgniteHadoopTestSuite: HadoopSerializationWrapperSelfTest.testIntJavaSerialization - 0,0%
fails in last 15 master runs.

{color:#d04437}Platform .NET (Core Linux){color} [[tests 5|https://ci.ignite.apache.org/viewLog.html?buildId=2262951]]
* dll: IgniteConfigurationTest.TestMulticastIpFinder - 0,0% fails in last 15 master runs.
* dll: CacheQueriesTestSimpleName.TestSqlQueryTimeout - 0,0% fails in last 15 master runs.
* dll: CacheQueriesTest.TestSqlFieldsQueryTimeout - 0,0% fails in last 15 master runs.
* dll: CacheQueriesTestSimpleName.TestSqlFieldsQueryTimeout - 0,0% fails in last 15 master
runs.
* dll: CacheQueriesTest.TestSqlQueryTimeout - 0,0% fails in last 15 master runs.

{color:#d04437}SPI{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=2317266]]
* IgniteSpiTestSuite: TcpDiscoverySelfTest.testNodeShutdownOnRingMessageWorkerStartNotFinished
- 0,0% fails in last 16 master runs.
* IgniteSpiTestSuite: TcpDiscoverySslTrustedSelfTest.testNodeShutdownOnRingMessageWorkerStartNotFinished
- 0,0% fails in last 16 master runs.

{color:#d04437}PDS 1{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=2253771]]
* IgnitePdsTestSuite: BPlusTreeReuseListPageMemoryImplTest.testMassiveRemove2_false - 0,0%
fails in last 17 master runs.

{color:#d04437}PDS 2{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=2253772]]
* IgnitePdsTestSuite2: WalCompactionTest.testCompressorToleratesEmptyWalSegmentsLogOnly -
0,0% fails in last 14 master runs.

{color:#d04437}Platform C++ (Windows x64){color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=2317272]]
* IgniteOdbcTest: QueriesTestSuite: TestManyCursorsTwoSelects2 - 0,0% fails in last 20 master
runs.
* IgniteOdbcTest: QueriesTestSuite: TestManyCursorsSelectMerge2 - 0,0% fails in last 20 master
runs.

{color:#d04437}Platform C++ (Linux){color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=2317276]]
* IgniteOdbcTest: QueriesTestSuite: TestManyCursorsTwoSelects2 - 0,0% fails in last 20 master
runs.
* IgniteOdbcTest: QueriesTestSuite: TestManyCursorsSelectMerge2 - 0,0% fails in last 20 master
runs.

{color:#d04437}Cache 2{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=2253751]]
* IgniteCacheTestSuite2: IgniteCacheClientNodeChangingTopologyTest.testLockAllMultinode -
0,0% fails in last 17 master runs.

{color:#d04437}Platform C++ (Linux Clang){color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=2317274]]
* IgniteOdbcTest: QueriesTestSuite: TestManyCursorsTwoSelects2 - 0,0% fails in last 20 master
runs.
* IgniteOdbcTest: QueriesTestSuite: TestManyCursorsSelectMerge2 - 0,0% fails in last 20 master
runs.

{color:#d04437}Inspections: Core{color} [[tests 0 BuildFailureOnMetric |https://ci.ignite.apache.org/viewLog.html?buildId=2317264]]

{color:#d04437}Thin client: Python{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=2317278]]

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=2253787&amp;buildTypeId=IgniteTests24Java8_RunAll])

> FindBugs: Methods may fail to close stream in core module
> ---------------------------------------------------------
>
>                 Key: IGNITE-9165
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9165
>             Project: Ignite
>          Issue Type: Bug
>          Components: binary
>    Affects Versions: 2.6
>            Reporter: Nikolai Kulagin
>            Assignee: Nikolai Kulagin
>            Priority: Minor
>              Labels: newbie
>             Fix For: 2.8
>
>         Attachments: findbugs-result-apache-ignite[ignite-core]_2018_08_02_12_38_02.html
>
>
> The method creates an IO stream object, does not assign it to any fields, pass it to
other methods that might close it, or return it, and does not appear to close the stream on
all paths out of the method.  This may result in a file descriptor leak.
> Example:
>  
> {code:java}
> // GridCacheAbstractLoadTest#GridCacheAbstractLoadTest()
> try {
>  props.load(new FileReader(GridTestUtils.resolveIgnitePath(
>  "modules/tests/config/cache-load.properties")));
> }
> catch (IOException e) {
>  throw new RuntimeException(e);
> }{code}
>  
>  One of possible solutions:
> {code:java}
> try (Reader reader = new FileReader(GridTestUtils.resolveIgnitePath(
>     "modules/tests/config/cache-load.properties"))) {
>     props.load(reader);
> }
> catch (IOException e) {
>     throw new RuntimeException(e);
> }{code}
> List of classes in "core" module:
>   
>  +org.apache.ignite.internal:+   
>  * *BinaryContext*#classesInPackage(String)
>  * *GridClientJdkMarshaller*#marshal(Object, int)
>  * *IgniteExplicitImplicitDeploymentSelfTest*$GridDeploymentResourceTestJob#execute()
>  * *OptimizedObjectStreamSelfTest*#testReadLine()
>  * *PageIdDistributionTest*#_testRealHistory()
>  * *HttpIgniteUpdatesChecker*#getUpdates(boolean)
>  * *IpcSharedMemoryNativeLoaderSelfTest*#readStreams(Process)
> +org.apache.ignite:+
>  * *GridCacheAbstractLoadTest*#GridCacheAbstractLoadTest()
>  * *GridTestUtils*.sslContext()



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message