[SPARK-46592][DOCKER][TEST] OracleIntegrationSuite is flaky because of ORA-04021#44594
Closed
yaooqinn wants to merge 4 commits intoapache:masterfrom
Closed
[SPARK-46592][DOCKER][TEST] OracleIntegrationSuite is flaky because of ORA-04021#44594yaooqinn wants to merge 4 commits intoapache:masterfrom
yaooqinn wants to merge 4 commits intoapache:masterfrom
Conversation
dongjoon-hyun
approved these changes
Jan 4, 2024
Member
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM (Pending CIs).
Nice! Thank you so much for the deep investigation and fixing this, @yaooqinn .
MaxGekk
approved these changes
Jan 4, 2024
LuciferYang
approved these changes
Jan 4, 2024
Contributor
LuciferYang
left a comment
There was a problem hiding this comment.
+1, LGTM
Thanks for your work. @yaooqinn
Member
|
+1, LGTM. Merging to master. |
Member
Author
|
Thank you @MaxGekk @dongjoon-hyun @LuciferYang |
yaooqinn
added a commit
that referenced
this pull request
May 16, 2024
…dundant SYSTEM password reset ### What changes were proposed in this pull request? This pull request improves the Oracle JDBC tests by skipping the redundant SYSTEM password reset. ### Why are the changes needed? These changes are necessary to clean up the Oracle JDBC tests. This pull request effectively reverts the modifications introduced in [SPARK-46592](https://issues.apache.org/jira/browse/SPARK-46592) and [PR #44594](#44594), which attempted to work around the sporadic occurrence of ORA-65048 and ORA-04021 errors by setting the Oracle parameter DDL_LOCK_TIMEOUT. As discussed in [issue #35](gvenzl/oci-oracle-free#35), setting DDL_LOCK_TIMEOUT did not resolve the issue. The root cause appears to be an Oracle bug or unwanted behavior related to the use of Pluggable Database (PDB) rather than the expected functionality of Oracle itself. Additionally, with [SPARK-48141](https://issues.apache.org/jira/browse/SPARK-48141), we have upgraded the Oracle version used in the tests to Oracle Free 23ai, version 23.4. This upgrade should help address some of the issues observed with the previous Oracle version. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? This patch was tested using the existing test suite, with a particular focus on Oracle JDBC tests. The following steps were executed: ``` export ENABLE_DOCKER_INTEGRATION_TESTS=1 ./build/sbt -Pdocker-integration-tests "docker-integration-tests/testOnly org.apache.spark.sql.jdbc.OracleIntegrationSuite" ``` ### Was this patch authored or co-authored using generative AI tooling? No Closes #46598 from LucaCanali/fixOracleIntegrationTests. Lead-authored-by: Kent Yao <yao@apache.org> Co-authored-by: Luca Canali <luca.canali@cern.ch> Signed-off-by: Kent Yao <yao@apache.org>
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 changes were proposed in this pull request?
This PR mounts
docker-entrypoint-initdb.dto OracleDocker to set DDL_LOCK_TIMEOUT and retryalter user systemto ensure the password of SYSTEM user is correctly set.Why are the changes needed?
https://github.com/apache/spark/actions/runs/7405337059/job/20148144542
https://github.com/apache/spark/actions/runs/7403889993/job/20144539155
https://github.com/apache/spark/actions/runs/7401841987/job/20138483574
Fix test flakiness caused by ORA-04021
Does this PR introduce any user-facing change?
no
How was this patch tested?
OracleIntegrationSuite
Was this patch authored or co-authored using generative AI tooling?
no