[FLINK-39132] [e2e] Stabilize Kubernetes materialized table test#28531
Open
qiuyanjun888 wants to merge 1 commit into
Open
[FLINK-39132] [e2e] Stabilize Kubernetes materialized table test#28531qiuyanjun888 wants to merge 1 commit into
qiuyanjun888 wants to merge 1 commit into
Conversation
Collaborator
Author
|
This PR is focused on end-to-end Kubernetes materialized table test. @RocMarshal @MartijnVisser could you please take a look when you have time and advise whether this approach is acceptable for this area and can move forward? |
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.
What is the purpose of the change
This pull request stabilizes the Kubernetes Materialized Table end-to-end test for FLINK-39132.
The test suspends a continuous materialized table by stopping the Kubernetes application job with a savepoint. The Jira evidence shows that this stop-with-savepoint operation can exceed the default 60s SQL Gateway client timeout. A later linked Azure failure also shows the same test failing during post-test log validation because Hadoop S3A emits a harmless statistics field named
stream_write_exceptions=0, which the generic e2e exception grep treats as an exception.Brief change log
client.timeout = 5minso the stop-with-savepoint operation has enough time in CI..outfiles, but allows the zero-valued S3Astream_write_exceptions=0statistics field.Verifying this change
This change added targeted validation for the e2e shell-script behavior and can be verified as follows:
bash -n flink-end-to-end-tests/test-scripts/test_kubernetes_materialized_table.shbash -n flink-end-to-end-tests/run-nightly-tests.shtest_kubernetes_materialized_table.sh check_exceptionspasses for the S3Astream_write_exceptions=0statistics line.test_kubernetes_materialized_table.sh check_exceptionsstill fails for a realjava.lang.RuntimeExceptionlog line.client.timeout = 5min.git diff --checkI did not run the full Kubernetes e2e test locally because it requires the full Flink distribution plus minikube/kubectl/sudo setup used by CI.
Does this pull request potentially affect one of the following parts:
@Public(Evolving): noDocumentation
Was generative AI tooling used to co-author this PR?
Generated-by: Hermes Agent