[
https://issues.apache.org/jira/browse/SPARK-58028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun updated SPARK-58028:
----------------------------------
Fix Version/s: 4.2.0
(was: 4.2.1)
> Retry Docker image pull in DockerJDBCIntegrationSuite to avoid transient
> registry errors aborting the suite
> -----------------------------------------------------------------------------------------------------------
>
> Key: SPARK-58028
> URL: https://issues.apache.org/jira/browse/SPARK-58028
> Project: Spark
> Issue Type: Bug
> Components: Tests
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0, 4.3.0, 4.1.3, 4.0.4
>
>
> Docker-backed JDBC integration suites (e.g. PostgresKrbIntegrationSuite) pull
> their Docker image in beforeAll with a single attempt. A transient
> registry/proxy error (observed on GitHub Actions: HTTP 502 Bad Gateway) or a
> one-off pull timeout aborts the entire suite even though the rest of the run
> has zero test failures. This has been seen aborting the scheduled
> build_java17 workflow on branch-4.1.
> Wrap the image pull in a bounded retry loop
> (spark.test.docker.imagePullAttempts, default 3) with linear backoff, so a
> transient failure no longer aborts the suite. The final failure is rethrown
> when all attempts are exhausted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]