You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "och5351 (via GitHub)" <gi...@apache.org> on 2026/06/15 12:28:32 UTC

[PR] [FLINK-39921][runtime/tests] Fix the flaky test case ExecutionVertexCancelTest.testSendCancelAndReceiveFail [flink]

och5351 opened a new pull request, #28449:
URL: https://github.com/apache/flink/pull/28449

   ## What is the purpose of the change
   
   ExecutionVertexCancelTest.testSendCancelAndReceiveFail was flaky with the following error:
   
   ExecutionVertexCancelTest.testSendCancelAndReceiveFail:254 ยป IllegalState
   BUG: trying to schedule a region which is not in CREATED state
   
   This has the same root cause as #28398 and #28434. Please refer to those PRs for a detailed explanation.
   
   ## Brief change log
   
   - Replace `ComponentMainThreadExecutorServiceAdapter.forMainThread()` with `NoMainThreadCheckComponentMainThreadExecutor` to allow IO threads to call `execute()` without thread assertion failure.
   - Add `ExecutionUtils.waitForTaskDeploymentDescriptorsCreation()` after `startScheduling()` to ensure async TDD creation completes before `switchAllVerticesToRunning()` is called.
   
   
   ## Verifying this change
   
   <img width="1260" height="1345" alt="image" src="https://github.com/user-attachments/assets/112fc762-b489-4dba-acf5-d845798b24d9" />
   
   
   ## 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)
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   <!--
   If generative AI tooling has been used in the process of authoring this PR, please
   change the checkbox below to `[X]` followed by the name of the tool, and uncomment the
   "Generated-by" line. See the ASF Generative Tooling Guidance for details:
   https://www.apache.org/legal/generative-tooling.html
   
   You are responsible for the quality and correctness of every change in this PR
   regardless of the tooling used. Low-effort AI-generated PRs will be closed. See
   AGENTS.md for the full guidance.
   -->
   
   - [ ] Yes (please specify the tool below)
   
   <!--
   Generated-by: [Tool Name and Version]
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-39929][runtime/tests] Fix the flaky test case ExecutionVertexCancelTest.testSendCancelAndReceiveFail [flink]

Posted by "och5351 (via GitHub)" <gi...@apache.org>.
och5351 commented on PR #28449:
URL: https://github.com/apache/flink/pull/28449#issuecomment-4708543885

   Hi, @RocMarshal !
   PTAL ~


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-39929][runtime/tests] Fix the flaky test case ExecutionVertexCancelTest.testSendCancelAndReceiveFail [flink]

Posted by "flinkbot (via GitHub)" <gi...@apache.org>.
flinkbot commented on PR #28449:
URL: https://github.com/apache/flink/pull/28449#issuecomment-4707983904

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "fed3853b035d453dbe2b8ca190e8c2140e63e44f",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "fed3853b035d453dbe2b8ca190e8c2140e63e44f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * fed3853b035d453dbe2b8ca190e8c2140e63e44f UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-39929][runtime/tests] Fix the flaky test case ExecutionVertexCancelTest.testSendCancelAndReceiveFail [flink]

Posted by "RocMarshal (via GitHub)" <gi...@apache.org>.
RocMarshal merged PR #28449:
URL: https://github.com/apache/flink/pull/28449


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org