This is an automated email from the ASF dual-hosted git repository.
hello-stephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 8e3f5c6ceb5 [fix](regression) Retry OBS queries in Paimon filesystem
test (#65103)
8e3f5c6ceb5 is described below
commit 8e3f5c6ceb55ac24f5d9ceb4bc921cd819186d3e
Author: Dongyang Li <[email protected]>
AuthorDate: Fri Oct 9 11:47:28 2026 +0800
[fix](regression) Retry OBS queries in Paimon filesystem test (#65103)
Related PR: #68805
Problem Summary: Paimon filesystem catalog queries against the Huawei
Cloud OBS endpoint can fail with transient `Connect timed out` or
`RequestTimeOut (408)` errors. Add `retry(5, 3000)` around OBS database
selection/data queries and the `qt_obs` comparisons with both JNI
scanner settings. The existing `Suite.retry()` helper makes up to five
attempts and propagates the exception if all attempts fail. OSS, COS and
COSN operations are unchanged.
This PR changes only `paimon_base_filesystem.groovy`. The independent
cloud nonConcurrent pipeline changes are in #68805.
---
.../paimon/paimon_base_filesystem.groovy | 29 ++++++++++++----------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git
a/regression-test/suites/external_table_p0/paimon/paimon_base_filesystem.groovy
b/regression-test/suites/external_table_p0/paimon/paimon_base_filesystem.groovy
index 9c10c71c7ad..350f18840cc 100644
---
a/regression-test/suites/external_table_p0/paimon/paimon_base_filesystem.groovy
+++
b/regression-test/suites/external_table_p0/paimon/paimon_base_filesystem.groovy
@@ -106,17 +106,20 @@ suite("paimon_base_filesystem", "p0,external") {
sql """SELECT * FROM all_table\$snapshots;"""
sql """ switch ${catalog_obs} """
- sql """ show databases """
- sql """ use ${catalog_obs}.db1 """
- // sql """ show tables """
- // batch incremental
- sql """SELECT * FROM all_table @incr('startTimestamp'='876488912')"""
- // time travel
- sql """SELECT * FROM all_table FOR VERSION AS OF 1;"""
- // branch/tag
- // TODO(zgx): add branch/tag
- // system table
- sql """SELECT * FROM all_table\$snapshots;"""
+ // OBS cross-region (HK -> Beijing cn-north-4) network may be
unstable, retry data access
+ retry(5, 3000) {
+ sql """ show databases """
+ sql """ use ${catalog_obs}.db1 """
+ // sql """ show tables """
+ // batch incremental
+ sql """SELECT * FROM all_table
@incr('startTimestamp'='876488912')"""
+ // time travel
+ sql """SELECT * FROM all_table FOR VERSION AS OF 1;"""
+ // branch/tag
+ // TODO(zgx): add branch/tag
+ // system table
+ sql """SELECT * FROM all_table\$snapshots;"""
+ }
sql """ switch ${catalog_cos} """
sql """ show databases """
@@ -147,13 +150,13 @@ suite("paimon_base_filesystem", "p0,external") {
sql """set force_jni_scanner=false"""
qt_oss oss
- qt_obs obs
+ retry(5, 3000) { qt_obs obs }
qt_cos cos
qt_cosn cosn
sql """set force_jni_scanner=true"""
qt_oss oss
- qt_obs obs
+ retry(5, 3000) { qt_obs obs }
qt_cos cos
qt_cosn cosn
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]