You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@flink.apache.org by Azure DevOps <az...@microsoft.com.INVALID> on 2022/01/21 10:09:39 UTC

[PR build failed] flink-ci.flink-master-mirror - [Flink-25728] Protential memory leeks in StreamMultipleInputProcessor - flink-ci/flink-mirror:FLIN...

[PR build failed] flink-ci.flink-master-mirror - [Flink-25728] Protential
memory leeks in StreamMultipleInputProcessor - flink-ci/flink-
mirror:FLINK-25728 - apache-flink - 55e2f215

|  |  |  |
![Microsoft](https://cdn.vsassets.io/content/notifications/v3/microsoft.png) |
Azure DevOps  
---|---  
|  |  |  | ![](https://cdn.vsassets.io/content/notifications/icon-
failure-20.png) | Build #20220121.7 failed  
---|---  
flink-ci.flink-master-mirror  
      
    
    Ran for 4 hours  
  
|  |  [ View results ](https://dev.azure.com/apache-
flink/web/build.aspx?pcguid=2d3c0ac8-fecf-45be-8407-6d87302181a9&builduri=vstfs%3a%2f%2f%2fBuild%2fBuild%2f29860&tracking_data=eyJTb3VyY2UiOiJFbWFpbCIsIlR5cGUiOiJOb3RpZmljYXRpb24iLCJTSUQiOiIzNzk4NDMiLCJTVHlwZSI6IkdSUCIsIlJlY2lwIjoxLCJfeGNpIjp7Ik5JRCI6ODM0MjE5MTEsIk1SZWNpcCI6Im0wPTEgIiwiQWN0IjoiNDIyYjllYzYtYTBmZS00NjE0LTg3NzUtZGU0NWZhNzRiZGZkIn0sIkVsZW1lbnQiOiJoZXJvL2N0YSJ9)  
---  
|  |  |  |  Pull request  
---  
| Title | [[Flink-25728] Protential memory leeks in
StreamMultipleInputProcessor](https://github.com/flink-ci/flink-
mirror/pull/13)  
---|---  
Source branch | FLINK-25728  
Target branch | master  
Description |

<!--  
_Thank you very much for contributing to Apache Flink - we are happy that you
want to help us improve Flink. To help the community review your contribution
in the best possible way, please go through the checklist below, which will
get the contribution into a shape in which it can be best reviewed._

  

_Please understand that we do not do this to make contributions to Flink a
hassle. In order to uphold a high standard of quality for code contributions,
while at the same time managing a large number of contributions, we need
contributors to prepare the contributions well, and give reviewers enough
contextual information for the review. Please also understand that
contributions that do not follow this guide will take longer to review and
thus typically be picked up with lower priority by the community._

## Contribution Checklist

  * Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue. 
  * Name the pull request in the form "[FLINK-XXXX] [component] Title of the pull request", where _FLINK-XXXX_ should be replaced by the actual issue number. Skip _component_ if you are unsure about which is the best component.  
Typo fixes that have no associated JIRA issue should be named following this
pattern: [hotfix] [docs] Fix typo in event time introduction or [hotfix]
[javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator.

  * Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review. 
  * Make sure that the change passes the automated tests, i.e., mvn clean verify passes. You can set up Azure Pipelines CI to do that following [this guide](https://cwiki.apache.org/confluence/display/FLINK/Azure+Pipelines#AzurePipelines-Tutorial:SettingupAzurePipelinesforaforkoftheFlinkrepository).
  * Each pull request should address only one issue, not mix up code from multiple issues. 
  * Each commit in the pull request has a meaningful commit message (including the JIRA id)
  * Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.

  

**(The sections below can be removed for hotfixes of typos)**  
\-->

## What is the purpose of the change

  

_(For example: This pull request makes task deployment go through the blob
server, rather than through RPC. That way we avoid re-transferring them on
each deployment (during recovery).)_

## Brief change log

  

_(for example:)_

  * _The TaskInfo is stored in the blob store on job creation time as a persistent artifact_
  * _Deployments RPC transmits only the blob storage reference_
  * _TaskManagers retrieve the TaskInfo from the blob cache_

## Verifying this change

  

Please make sure both new and modified tests in this PR follows the
conventions defined in our code quality guide:
<https://flink.apache.org/contributing/code-style-and-quality-
common.html#testing>

  

_(Please pick either of the following options)_

  

This change is a trivial rework / code cleanup without any test coverage.

  

_(or)_

  

This change is already covered by existing tests, such as _(please describe
tests)_.

  

_(or)_

  

This change added tests and can be verified as follows:

  

_(example:)_

  * _Added integration tests for end-to-end deployment with large payloads (100MB)_
  * _Extended integration test for recovery after master (JobManager) failure_
  * _Added test that validates that TaskInfo is transferred only once across recoveries_
  * _Manually verified the change by running a 4 node cluser with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly._

## Does this pull request potentially affect one of the following parts:

  * Dependencies (does it add or upgrade a dependency): (yes / no) 
  * The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no) 
  * The serializers: (yes / no / don't know) 
  * The runtime per-record code paths (performance sensitive): (yes / no / don't know) 
  * Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know) 
  * The S3 file system connector: (yes / no / don't know)

## Documentation

  * Does this pull request introduce a new feature? (yes / no) 
  * If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

  
|  |  Summary  
---  
| Build pipeline | flink-ci.flink-master-mirror  
---|---  
Finished | Fri, Jan 21 2022 10:09:24 GMT+00:00  
Requested for | GitHub  
Reason | Private  
|  |  Details  
---  
| e2e_1_cron_azure  
---  
| 0 error(s), 0 warning(s)  
---  
e2e_1_cron_hadoop313  
| 0 error(s), 0 warning(s)  
---  
e2e_1_cron_adaptive_scheduler  
| 0 error(s), 0 warning(s)  
---  
cron_snapshot_deployment_maven  
| 0 error(s), 0 warning(s)  
---  
e2e_2_cron_azure  
| 0 error(s), 0 warning(s)  
---  
compile_cron_azure  
| 0 error(s), 0 warning(s)  
---  
docs_404_check  
| 0 error(s), 0 warning(s)  
---  
build_wheels  
| 0 error(s), 0 warning(s)  
---  
e2e_2_cron_adaptive_scheduler  
| 0 error(s), 0 warning(s)  
---  
cron_snapshot_deployment_binary  
| 0 error(s), 0 warning(s)  
---  
test_cron_adaptive_scheduler  
| 0 error(s), 0 warning(s)  
---  
test_cron_jdk11  
| 0 error(s), 0 warning(s)  
---  
compile_cron_adaptive_scheduler  
| 0 error(s), 0 warning(s)  
---  
test_cron_azure  
| 0 error(s), 0 warning(s)  
---  
e2e_1_cron_jdk11  
| 0 error(s), 0 warning(s)  
---  
test_cron_hadoop313  
| 0 error(s), 0 warning(s)  
---  
e2e_2_cron_jdk11  
| 0 error(s), 0 warning(s)  
---  
compile_cron_jdk11  
| 0 error(s), 0 warning(s)  
---  
compile_cron_hadoop313  
| 0 error(s), 0 warning(s)  
---  
e2e_2_cron_hadoop313  
| 0 error(s), 0 warning(s)  
---  
compile_ci  
| 1 error(s), 0 warning(s)  
---  
![](https://cdn.vsassets.io/content/notifications/icon-failure.png) |  Bash
exited with code '1'.  
test_ci  
| 0 error(s), 0 warning(s)  
---  
docs_404_check  
| 0 error(s), 0 warning(s)  
---  
e2e_2_ci  
| 1 error(s), 0 warning(s)  
---  
![](https://cdn.vsassets.io/content/notifications/icon-failure.png) |  Bash
exited with code '1'.  
e2e_1_ci  
| 0 error(s), 0 warning(s)  
---  
|  |  Commits  
---  
|  [2370d549](https://github.com/flink-ci/flink-
mirror/commit/2370d5495d2e9240af132e64dd14cfbabb11bf14) |
[FLINK-25728][tests] Change MultipleInputStreamMemoryIssueTest blocking the
slow input path after running. which will causing downstream's input
CompletableFuture instance stacking  |  wpc009  
---|---|---  
[911a1a52](https://github.com/flink-ci/flink-
mirror/commit/911a1a52d93a1245ae961d15f94ba58c00e5f73d) |  [FLINK-25728] Avoid
unnessesary CompletableFuture.thenRun calls on idle inputProcessor's
avaiableFuture, preventing memory leaks.  |  wpc009  
[fd399678](https://github.com/flink-ci/flink-
mirror/commit/fd399678d327f5b070e4e49094a7597664d0637e) |  [FLINK-25728]
Adding Test which can reproduce the memory issue.  |  wpc009  
|  We sent you this notification on behalf of [apache-flink]\apache-flink
Team. [View](https://dev.azure.com/apache-
flink/_notifications?subscriptionId=379843&publisherId=ms.vss-build.build-
event-
publisher&tracking_data=eyJTb3VyY2UiOiJFbWFpbCIsIlR5cGUiOiJOb3RpZmljYXRpb24iLCJTSUQiOiIzNzk4NDMiLCJTVHlwZSI6IkdSUCIsIlJlY2lwIjoxLCJfeGNpIjp7Ik5JRCI6ODM0MjE5MTEsIk1SZWNpcCI6Im0wPTEgIiwiQWN0IjoiNDIyYjllYzYtYTBmZS00NjE0LTg3NzUtZGU0NWZhNzRiZGZkIn0sIkVsZW1lbnQiOiJmb290ZXIvdmlld0xpbmsifQ%3d%3d)  
---  
Microsoft respects your privacy. Review our Online Services [Privacy
Statement](https://privacy.microsoft.com/privacystatement).  
One Microsoft Way, Redmond, WA, USA 98052.  
Sent from Azure DevOps  
  
![](https://mucp.api.account.microsoft.com/m/v2/v?d=AIAADWCV3FKJ3BJ4JKEBGVC42PAW2YX3QH527H7ITM2ZQFIONTXKWMTV7WOWSX2HPT2TZB4FATVRV3HITVBDI6GTI4XY63K7VUFBWHUZ6Q6LCHEML2VC63DUJH34YRMRN54B5ZR56DEOLUSPTFK3EMUECLRZRFY&i=AIAADMGG5POZ2ZHWPAIKR7KDWUW3YT2WSMNHIXFEYQ3HVSDFWPFFRYRZCYEHDC2YBN2ZZJON7UYU5GTCX4JDFCIMTH64EE2FOXNUW667P3VIT7OXZWSWMYQTG42IXVQC4QRQQAKOV5U3NWSQSLDJZM4XMWJWMPBIBMSQWOVY72SNTVMCX45XYEM23NP7GF4IGEXQ2SNTMTSMLQJSFEKAZ4Y4WHQS6C7JJATJ33CFCWD5ZBK4RDLYOWQ6K2XUAX26DKOQRGOM7JRROEPKHHANICXKCA2UGPA)