You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2024/09/27 00:32:43 UTC
(spark) branch master updated: [SPARK-49803][SQL][TESTS] Increase `spark.test.docker.connectionTimeout` to 10min
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 09b7aa67ce64 [SPARK-49803][SQL][TESTS] Increase `spark.test.docker.connectionTimeout` to 10min
09b7aa67ce64 is described below
commit 09b7aa67ce64d7d4ecc803215eaf85464df181c5
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Sep 26 17:32:29 2024 -0700
[SPARK-49803][SQL][TESTS] Increase `spark.test.docker.connectionTimeout` to 10min
### What changes were proposed in this pull request?
This PR aims to increase `spark.test.docker.connectionTimeout` to 10min.
### Why are the changes needed?
Recently, various DB images fails at `connection` stage on multiple branches.
**MASTER** branch
https://github.com/apache/spark/actions/runs/11045311764/job/30682732260
```
[info] OracleIntegrationSuite:
[info] org.apache.spark.sql.jdbc.OracleIntegrationSuite *** ABORTED *** (5 minutes, 17 seconds)
[info] The code passed to eventually never returned normally. Attempted 298 times over 5.0045005511500005 minutes. Last failure message: ORA-12541: Cannot connect. No listener at host 10.1.0.41 port 41079. (CONNECTION_ID=n9ZWIh+nQn+G9fkwKyoBQA==)
```
**branch-3.5** branch
https://github.com/apache/spark/actions/runs/10939696926/job/30370552237
```
[info] MsSqlServerNamespaceSuite:
[info] org.apache.spark.sql.jdbc.v2.MsSqlServerNamespaceSuite *** ABORTED *** (5 minutes, 42 seconds)
[info] The code passed to eventually never returned normally. Attempted 11 times over 5.487631282400001 minutes. Last failure message: The TCP/IP connection to the host 10.1.0.56, port 35345 has failed. Error: "Connection refused (Connection refused). Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".. (DockerJDBCInt [...]
```
**branch-3.4** branch
https://github.com/apache/spark/actions/runs/10937842509/job/30364658576
```
[info] MsSqlServerNamespaceSuite:
[info] org.apache.spark.sql.jdbc.v2.MsSqlServerNamespaceSuite *** ABORTED *** (5 minutes, 42 seconds)
[info] The code passed to eventually never returned normally. Attempted 11 times over 5.487555645633333 minutes. Last failure message: The TCP/IP connection to the host 10.1.0.153, port 46153 has failed. Error: "Connection refused (Connection refused). Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".. (DockerJDBCIn [...]
```
### Does this PR introduce _any_ user-facing change?
No, this is a test-only change.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #48272 from dongjoon-hyun/SPARK-49803.
Authored-by: Dongjoon Hyun <do...@apache.org>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
.../scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala b/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala
index 8d17e0b4e36e..1df01bd3bfb6 100644
--- a/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala
+++ b/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/DockerJDBCIntegrationSuite.scala
@@ -115,7 +115,7 @@ abstract class DockerJDBCIntegrationSuite
protected val startContainerTimeout: Long =
timeStringAsSeconds(sys.props.getOrElse("spark.test.docker.startContainerTimeout", "5min"))
protected val connectionTimeout: PatienceConfiguration.Timeout = {
- val timeoutStr = sys.props.getOrElse("spark.test.docker.connectionTimeout", "5min")
+ val timeoutStr = sys.props.getOrElse("spark.test.docker.connectionTimeout", "10min")
timeout(timeStringAsSeconds(timeoutStr).seconds)
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org