[flink] Fix stability of Flink 2.0 test workflow#5877
Merged
JingsongLi merged 4 commits intoapache:masterfrom Jul 11, 2025
Merged
[flink] Fix stability of Flink 2.0 test workflow#5877JingsongLi merged 4 commits intoapache:masterfrom
JingsongLi merged 4 commits intoapache:masterfrom
Conversation
Sxnan
reviewed
Jul 11, 2025
Contributor
Sxnan
left a comment
There was a problem hiding this comment.
Thanks for the PR! Just left one minor comment
paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/CatalogTableITCase.java
Show resolved
Hide resolved
05ddb9e to
e126f5a
Compare
Sxnan
approved these changes
Jul 11, 2025
Contributor
Sxnan
left a comment
There was a problem hiding this comment.
Thanks for the update. LGTM
Contributor
|
+1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #5876
This PR fixes the problems that affect the stability of Flink 2.0 test workflow and add back the workflow script again, which was once removed in a6d2e83.
I counted the most recent 100 Action executions before the script is removed, and the problems that caused the failures are as follows.
So we need to fix the problems mentioned in 2 and 3 before enabling the Action again. The fixing is as follows.
2. Build paimon-flink-cdc under Flink 2.0
Example failure Action log: https://github.com/apache/paimon/actions/runs/15804130573/job/44546474506
The failure was because that
paimon-e2e-testsandpaimon-docsrelies onpaimon-flink-cdcmodule, but this module is not compiled when profileflink2is enabled. In the attempt to download the snapshot of this module, network connection timeout might occur.This PR fixes the failure by enabling the compilation of
paimon-flink-cdcand its pre-module (paimon-flink1-common) under-Pflink2. This change is supposed not to affect the production code and the releasing process.3. Fix race condition in CatalogTableITCase#testConsumersTable
Example failure Action log: https://github.com/apache/paimon/actions/runs/15822438299/job/44594579766
This failure was because that the Flink job with the consumer source might not have completed its initialization before the second batch of data is written to the Paimon table. In order to fix it, a blocking operation is added to force the test case to wait for the source's initialization before the next write.
Tests
API and Format
Documentation