This is an automated email from the ASF dual-hosted git repository.
SpriCoder pushed a commit to branch fs/inner-view
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/fs/inner-view by this push:
new aad886058de [CI] run inner-view branch checks and preserve Pipe
failures
aad886058de is described below
commit aad886058de0174537cf5c2f32425d2410d1b178
Author: spricoder <[email protected]>
AuthorDate: Thu Sep 17 17:14:06 2026 +0800
[CI] run inner-view branch checks and preserve Pipe failures
---
.github/workflows/cluster-it-1c1d.yml | 1 +
.github/workflows/cluster-it-1c1d1a.yml | 1 +
.github/workflows/cluster-it-1c3d.yml | 1 +
.github/workflows/dependency-check.yml | 1 +
.github/workflows/edge-it.yml | 1 +
.github/workflows/pipe-it.yml | 113 ++++++++++++----------------
.github/workflows/sonar-codecov.yml | 1 +
.github/workflows/table-cluster-it-1c1d.yml | 1 +
.github/workflows/table-cluster-it-1c3d.yml | 1 +
.github/workflows/unit-test.yml | 1 +
.github/workflows/zh-locale-compile.yml | 1 +
11 files changed, 60 insertions(+), 63 deletions(-)
diff --git a/.github/workflows/cluster-it-1c1d.yml
b/.github/workflows/cluster-it-1c1d.yml
index 30645593190..04a4fa6e108 100644
--- a/.github/workflows/cluster-it-1c1d.yml
+++ b/.github/workflows/cluster-it-1c1d.yml
@@ -6,6 +6,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
diff --git a/.github/workflows/cluster-it-1c1d1a.yml
b/.github/workflows/cluster-it-1c1d1a.yml
index 74ebcbebaac..a831c3e5554 100644
--- a/.github/workflows/cluster-it-1c1d1a.yml
+++ b/.github/workflows/cluster-it-1c1d1a.yml
@@ -6,6 +6,7 @@ on:
- master
- 'rel/*'
- 'rc/*'
+ - 'fs/inner-view'
paths-ignore:
- 'docs/**'
- 'site/**'
diff --git a/.github/workflows/cluster-it-1c3d.yml
b/.github/workflows/cluster-it-1c3d.yml
index 14d808462f5..ff8599c8e06 100644
--- a/.github/workflows/cluster-it-1c3d.yml
+++ b/.github/workflows/cluster-it-1c3d.yml
@@ -6,6 +6,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
diff --git a/.github/workflows/dependency-check.yml
b/.github/workflows/dependency-check.yml
index c0dcb39df88..3db4a43dbaf 100644
--- a/.github/workflows/dependency-check.yml
+++ b/.github/workflows/dependency-check.yml
@@ -8,6 +8,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
diff --git a/.github/workflows/edge-it.yml b/.github/workflows/edge-it.yml
index e4adfdd9f0c..64d75fc9fcc 100644
--- a/.github/workflows/edge-it.yml
+++ b/.github/workflows/edge-it.yml
@@ -6,6 +6,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
diff --git a/.github/workflows/pipe-it.yml b/.github/workflows/pipe-it.yml
index 7b5d6df0b9e..42ee9d648be 100644
--- a/.github/workflows/pipe-it.yml
+++ b/.github/workflows/pipe-it.yml
@@ -6,6 +6,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
@@ -79,6 +80,7 @@ jobs:
local -i max_attempts=3
local -i attempt=1
local -i retry_sleep=5
+ local -i test_status
local test_output
while [ $attempt -le $max_attempts ]; do
@@ -90,7 +92,8 @@ jobs:
-DClusterConfigurations=${{ matrix.cluster1 }},${{
matrix.cluster2 }} \
-pl integration-test \
-am -PMultiClusterIT1 \
- -ntp >> ~/run-tests-$attempt.log && return 0
+ -ntp > ~/run-tests-$attempt.log 2>&1 && return 0
+ test_status=$?
test_output=$(cat ~/run-tests-$attempt.log)
echo "==================== BEGIN: ~/run-tests-$attempt.log
===================="
@@ -101,22 +104,18 @@ jobs:
echo "Failed to move log file ~/run-tests-$attempt.log to
integration-test/target/cluster-logs/. Skipping..."
fi
- if echo "$test_output" | grep -q "Could not transfer artifact";
then
+ if grep -q "Could not transfer artifact" <<< "$test_output"; then
if [ $attempt -lt $max_attempts ]; then
echo "Test failed with artifact transfer issue, attempt
$attempt. Retrying in $retry_sleep seconds..."
sleep $retry_sleep
attempt=$((attempt + 1))
else
echo "Test failed after $max_attempts attempts due to
artifact transfer issue."
- echo "Treating this as a success because the issue is likely
transient."
- return 0
+ return "$test_status"
fi
- elif [ $? -ne 0 ]; then
- echo "Test failed with a different error."
- return 1
else
- echo "Tests passed"
- return 0
+ echo "Test failed with a different error."
+ return "$test_status"
fi
done
}
@@ -183,6 +182,7 @@ jobs:
local -i max_attempts=3
local -i attempt=1
local -i retry_sleep=5
+ local -i test_status
local test_output
while [ $attempt -le $max_attempts ]; do
@@ -197,7 +197,8 @@ jobs:
-Dfailsafe.failIfNoSpecifiedTests=false \
-pl integration-test \
-am -PMultiClusterIT2DualTreeAutoBasic \
- -ntp >> ~/run-tests-$attempt.log && return 0
+ -ntp > ~/run-tests-$attempt.log 2>&1 && return 0
+ test_status=$?
test_output=$(cat ~/run-tests-$attempt.log)
echo "==================== BEGIN: ~/run-tests-$attempt.log
===================="
@@ -208,22 +209,18 @@ jobs:
echo "Failed to move log file ~/run-tests-$attempt.log to
integration-test/target/cluster-logs/. Skipping..."
fi
- if echo "$test_output" | grep -q "Could not transfer artifact";
then
+ if grep -q "Could not transfer artifact" <<< "$test_output"; then
if [ $attempt -lt $max_attempts ]; then
echo "Test failed with artifact transfer issue, attempt
$attempt. Retrying in $retry_sleep seconds..."
sleep $retry_sleep
attempt=$((attempt + 1))
else
echo "Test failed after $max_attempts attempts due to
artifact transfer issue."
- echo "Treating this as a success because the issue is likely
transient."
- return 0
+ return "$test_status"
fi
- elif [ $? -ne 0 ]; then
- echo "Test failed with a different error."
- return 1
else
- echo "Tests passed"
- return 0
+ echo "Test failed with a different error."
+ return "$test_status"
fi
done
}
@@ -291,6 +288,7 @@ jobs:
local -i max_attempts=3
local -i attempt=1
local -i retry_sleep=5
+ local -i test_status
local test_output
while [ $attempt -le $max_attempts ]; do
@@ -305,7 +303,8 @@ jobs:
-Dfailsafe.failIfNoSpecifiedTests=false \
-pl integration-test \
-am -PMultiClusterIT2DualTreeAutoEnhanced \
- -ntp >> ~/run-tests-$attempt.log && return 0
+ -ntp > ~/run-tests-$attempt.log 2>&1 && return 0
+ test_status=$?
test_output=$(cat ~/run-tests-$attempt.log)
echo "==================== BEGIN: ~/run-tests-$attempt.log
===================="
@@ -316,22 +315,18 @@ jobs:
echo "Failed to move log file ~/run-tests-$attempt.log to
integration-test/target/cluster-logs/. Skipping..."
fi
- if echo "$test_output" | grep -q "Could not transfer artifact";
then
+ if grep -q "Could not transfer artifact" <<< "$test_output"; then
if [ $attempt -lt $max_attempts ]; then
echo "Test failed with artifact transfer issue, attempt
$attempt. Retrying in $retry_sleep seconds..."
sleep $retry_sleep
attempt=$((attempt + 1))
else
echo "Test failed after $max_attempts attempts due to
artifact transfer issue."
- echo "Treating this as a success because the issue is likely
transient."
- return 0
+ return "$test_status"
fi
- elif [ $? -ne 0 ]; then
- echo "Test failed with a different error."
- return 1
else
- echo "Tests passed"
- return 0
+ echo "Test failed with a different error."
+ return "$test_status"
fi
done
}
@@ -399,6 +394,7 @@ jobs:
local -i max_attempts=3
local -i attempt=1
local -i retry_sleep=5
+ local -i test_status
local test_output
while [ $attempt -le $max_attempts ]; do
@@ -413,7 +409,8 @@ jobs:
-Dfailsafe.failIfNoSpecifiedTests=false \
-pl integration-test \
-am -PMultiClusterIT2DualTreeManual \
- -ntp >> ~/run-tests-$attempt.log && return 0
+ -ntp > ~/run-tests-$attempt.log 2>&1 && return 0
+ test_status=$?
test_output=$(cat ~/run-tests-$attempt.log)
echo "==================== BEGIN: ~/run-tests-$attempt.log
===================="
@@ -424,22 +421,18 @@ jobs:
echo "Failed to move log file ~/run-tests-$attempt.log to
integration-test/target/cluster-logs/. Skipping..."
fi
- if echo "$test_output" | grep -q "Could not transfer artifact";
then
+ if grep -q "Could not transfer artifact" <<< "$test_output"; then
if [ $attempt -lt $max_attempts ]; then
echo "Test failed with artifact transfer issue, attempt
$attempt. Retrying in $retry_sleep seconds..."
sleep $retry_sleep
attempt=$((attempt + 1))
else
echo "Test failed after $max_attempts attempts due to
artifact transfer issue."
- echo "Treating this as a success because the issue is likely
transient."
- return 0
+ return "$test_status"
fi
- elif [ $? -ne 0 ]; then
- echo "Test failed with a different error."
- return 1
else
- echo "Tests passed"
- return 0
+ echo "Test failed with a different error."
+ return "$test_status"
fi
done
}
@@ -504,6 +497,7 @@ jobs:
local -i max_attempts=3
local -i attempt=1
local -i retry_sleep=5
+ local -i test_status
local test_output
while [ $attempt -le $max_attempts ]; do
@@ -518,7 +512,8 @@ jobs:
-Dfailsafe.failIfNoSpecifiedTests=false \
-pl integration-test \
-am -PMultiClusterIT2DualTableManualBasic \
- -ntp >> ~/run-tests-$attempt.log && return 0
+ -ntp > ~/run-tests-$attempt.log 2>&1 && return 0
+ test_status=$?
test_output=$(cat ~/run-tests-$attempt.log)
echo "==================== BEGIN: ~/run-tests-$attempt.log
===================="
@@ -529,22 +524,18 @@ jobs:
echo "Failed to move log file ~/run-tests-$attempt.log to
integration-test/target/cluster-logs/. Skipping..."
fi
- if echo "$test_output" | grep -q "Could not transfer artifact";
then
+ if grep -q "Could not transfer artifact" <<< "$test_output"; then
if [ $attempt -lt $max_attempts ]; then
echo "Test failed with artifact transfer issue, attempt
$attempt. Retrying in $retry_sleep seconds..."
sleep $retry_sleep
attempt=$((attempt + 1))
else
echo "Test failed after $max_attempts attempts due to
artifact transfer issue."
- echo "Treating this as a success because the issue is likely
transient."
- return 0
+ return "$test_status"
fi
- elif [ $? -ne 0 ]; then
- echo "Test failed with a different error."
- return 1
else
- echo "Tests passed"
- return 0
+ echo "Test failed with a different error."
+ return "$test_status"
fi
done
}
@@ -611,6 +602,7 @@ jobs:
local -i max_attempts=3
local -i attempt=1
local -i retry_sleep=5
+ local -i test_status
local test_output
while [ $attempt -le $max_attempts ]; do
@@ -625,7 +617,8 @@ jobs:
-Dfailsafe.failIfNoSpecifiedTests=false \
-pl integration-test \
-am -PMultiClusterIT2DualTableManualEnhanced \
- -ntp >> ~/run-tests-$attempt.log && return 0
+ -ntp > ~/run-tests-$attempt.log 2>&1 && return 0
+ test_status=$?
test_output=$(cat ~/run-tests-$attempt.log)
echo "==================== BEGIN: ~/run-tests-$attempt.log
===================="
@@ -636,22 +629,18 @@ jobs:
echo "Failed to move log file ~/run-tests-$attempt.log to
integration-test/target/cluster-logs/. Skipping..."
fi
- if echo "$test_output" | grep -q "Could not transfer artifact";
then
+ if grep -q "Could not transfer artifact" <<< "$test_output"; then
if [ $attempt -lt $max_attempts ]; then
echo "Test failed with artifact transfer issue, attempt
$attempt. Retrying in $retry_sleep seconds..."
sleep $retry_sleep
attempt=$((attempt + 1))
else
echo "Test failed after $max_attempts attempts due to
artifact transfer issue."
- echo "Treating this as a success because the issue is likely
transient."
- return 0
+ return "$test_status"
fi
- elif [ $? -ne 0 ]; then
- echo "Test failed with a different error."
- return 1
else
- echo "Tests passed"
- return 0
+ echo "Test failed with a different error."
+ return "$test_status"
fi
done
}
@@ -701,6 +690,7 @@ jobs:
local -i max_attempts=3
local -i attempt=1
local -i retry_sleep=5
+ local -i test_status
local test_output
while [ $attempt -le $max_attempts ]; do
@@ -712,7 +702,8 @@ jobs:
-DClusterConfigurations=${{ matrix.cluster1 }},${{
matrix.cluster2 }},${{ matrix.cluster3 }} \
-pl integration-test \
-am -PMultiClusterIT3 \
- -ntp >> ~/run-tests-$attempt.log && return 0
+ -ntp > ~/run-tests-$attempt.log 2>&1 && return 0
+ test_status=$?
test_output=$(cat ~/run-tests-$attempt.log)
echo "==================== BEGIN: ~/run-tests-$attempt.log
===================="
@@ -723,22 +714,18 @@ jobs:
echo "Failed to move log file ~/run-tests-$attempt.log to
integration-test/target/cluster-logs/. Skipping..."
fi
- if echo "$test_output" | grep -q "Could not transfer artifact";
then
+ if grep -q "Could not transfer artifact" <<< "$test_output"; then
if [ $attempt -lt $max_attempts ]; then
echo "Test failed with artifact transfer issue, attempt
$attempt. Retrying in $retry_sleep seconds..."
sleep $retry_sleep
attempt=$((attempt + 1))
else
echo "Test failed after $max_attempts attempts due to
artifact transfer issue."
- echo "Treating this as a success because the issue is likely
transient."
- return 0
+ return "$test_status"
fi
- elif [ $? -ne 0 ]; then
- echo "Test failed with a different error."
- return 1
else
- echo "Tests passed"
- return 0
+ echo "Test failed with a different error."
+ return "$test_status"
fi
done
}
diff --git a/.github/workflows/sonar-codecov.yml
b/.github/workflows/sonar-codecov.yml
index 88f69e5938d..f3e8cfa4a76 100644
--- a/.github/workflows/sonar-codecov.yml
+++ b/.github/workflows/sonar-codecov.yml
@@ -9,6 +9,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
diff --git a/.github/workflows/table-cluster-it-1c1d.yml
b/.github/workflows/table-cluster-it-1c1d.yml
index 8c5a838af33..244c87a4932 100644
--- a/.github/workflows/table-cluster-it-1c1d.yml
+++ b/.github/workflows/table-cluster-it-1c1d.yml
@@ -6,6 +6,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
diff --git a/.github/workflows/table-cluster-it-1c3d.yml
b/.github/workflows/table-cluster-it-1c3d.yml
index abca8062369..b9489624b3d 100644
--- a/.github/workflows/table-cluster-it-1c3d.yml
+++ b/.github/workflows/table-cluster-it-1c3d.yml
@@ -6,6 +6,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index 64a20a1f9a2..65bbf1fb106 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -9,6 +9,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"
diff --git a/.github/workflows/zh-locale-compile.yml
b/.github/workflows/zh-locale-compile.yml
index 93e264cee26..6898f639623 100644
--- a/.github/workflows/zh-locale-compile.yml
+++ b/.github/workflows/zh-locale-compile.yml
@@ -18,6 +18,7 @@ on:
- master
- "rel/*"
- "rc/*"
+ - "fs/inner-view"
paths-ignore:
- "docs/**"
- "site/**"