This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 7fa3412e04 [Improve][CI] Upload test reports and list failed tests
when a test job fails (#12470)
7fa3412e04 is described below
commit 7fa3412e0479e80eb5c69db988c9083a84de791f
Author: Goutam Adwant <[email protected]>
AuthorDate: Mon Sep 28 15:22:14 2026 +0000
[Improve][CI] Upload test reports and list failed tests when a test job
fails (#12470)
---
.github/actions/upload-test-reports/action.yml | 96 +++++++++++
.github/workflows/backend.yml | 230 +++++++++++++++++++++++++
2 files changed, 326 insertions(+)
diff --git a/.github/actions/upload-test-reports/action.yml
b/.github/actions/upload-test-reports/action.yml
new file mode 100644
index 0000000000..b337ad4548
--- /dev/null
+++ b/.github/actions/upload-test-reports/action.yml
@@ -0,0 +1,96 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the 'License'); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an 'AS IS' BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Upload test reports
+description: >
+ Lists failed tests from the Surefire and Failsafe XML reports in the job
summary
+ and uploads the report directories as a workflow artifact.
+
+inputs:
+ id:
+ description: Suffix that makes the artifact name unique within the job,
for example the matrix values.
+ required: true
+ retention-days:
+ description: Number of days to keep the artifact.
+ required: false
+ default: '7'
+
+runs:
+ using: composite
+ steps:
+ # The caller runs this action with `if: failure()`, so the steps below
always run once it is invoked.
+ - name: List failed tests in the job summary
+ if: always()
+ shell: python
+ env:
+ REPORT_ARTIFACT: test-reports-${{ github.job }}-${{ inputs.id
}}-attempt-${{ github.run_attempt }}
+ run: |
+ import glob, html, os
+ import xml.etree.ElementTree as ET
+
+ max_rows = 100
+ failed = []
+ report_files = 0
+ for pattern in ("**/target/surefire-reports/TEST-*.xml",
"**/target/failsafe-reports/TEST-*.xml"):
+ for path in glob.glob(pattern, recursive=True):
+ report_files += 1
+ try:
+ root = ET.parse(path).getroot()
+ except ET.ParseError as e:
+ failed.append((path, "unreadable report", str(e)))
+ continue
+ for case in root.iter("testcase"):
+ for kind in ("failure", "error"):
+ node = case.find(kind)
+ if node is None:
+ continue
+ name = "%s#%s" % (case.get("classname", "?"),
case.get("name", "?"))
+ message = (node.get("message") or node.get("type") or
"").strip()
+ failed.append((name, kind, message.splitlines()[0] if
message else ""))
+ break
+
+ lines = ["### Failed tests: %s" % os.environ.get("GITHUB_JOB", ""), ""]
+ if failed:
+ lines += ["| Test | Result | Message |", "| --- | --- | --- |"]
+ for name, kind, message in failed[:max_rows]:
+ message = html.escape(message[:300]).replace("|", "\\|")
+ name = name.replace("`", "'").replace("|", "\\|")
+ lines.append("| `%s` | %s | %s |" % (name, kind, message))
+ if len(failed) > max_rows:
+ lines.append("")
+ lines.append("%d more not shown." % (len(failed) - max_rows))
+ else:
+ lines.append(
+ "No failed test cases found in %d Surefire/Failsafe XML
reports. "
+ "The failure happened outside a test, or before its report was
written." % report_files)
+ if report_files:
+ lines += ["", "Reports are uploaded as the `%s` artifact." %
os.environ["REPORT_ARTIFACT"]]
+ lines.append("")
+ with open(os.environ["GITHUB_STEP_SUMMARY"], "a", encoding="utf-8") as
summary:
+ summary.write("\n".join(lines))
+ print("\n".join(lines))
+
+ - name: Upload Surefire and Failsafe reports
+ if: always()
+ uses: actions/upload-artifact@v4
+ with:
+ name: test-reports-${{ github.job }}-${{ inputs.id }}-attempt-${{
github.run_attempt }}
+ path: |
+ **/target/surefire-reports/
+ **/target/failsafe-reports/
+ retention-days: ${{ inputs.retention-days }}
+ if-no-files-found: ignore
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 43e7ea115f..fd8970fb4d 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -588,6 +588,11 @@ jobs:
MAVEN_OPTS: -Xmx1536m -Dfile.encoding=UTF-8
SUREFIRE_JVM_ARGS: -Xmx3072m -XX:MaxMetaspaceSize=512m
-Dfile.encoding=UTF-8
if: runner.os == 'Windows'
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
benchmark-test:
needs: [ changes, sanity-check ]
@@ -624,6 +629,11 @@ jobs:
'.*' \
-f 1 -wi 0 -i 1 -r 1s -foe true
find "${result_dir}" -name '*.json' -print -quit | grep -q .
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
benchmark-tools-test:
needs: [ changes, sanity-check ]
@@ -667,6 +677,11 @@ jobs:
env:
IT_MODULES: ${{ needs.changes.outputs.it-modules }}
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
updated-modules-integration-test-part-2:
needs: [ changes, sanity-check ]
@@ -700,6 +715,11 @@ jobs:
env:
IT_MODULES: ${{ needs.changes.outputs.it-modules }}
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
updated-modules-integration-test-part-3:
needs: [ changes, sanity-check ]
@@ -733,6 +753,11 @@ jobs:
env:
IT_MODULES: ${{ needs.changes.outputs.it-modules }}
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
updated-modules-integration-test-part-4:
needs: [ changes, sanity-check ]
@@ -766,6 +791,11 @@ jobs:
env:
IT_MODULES: ${{ needs.changes.outputs.it-modules }}
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
updated-modules-integration-test-part-5:
needs: [ changes, sanity-check ]
if: needs.changes.outputs.api == 'false' && needs.changes.outputs.engine
== 'false' && needs.changes.outputs.it-modules != '[]'
@@ -798,6 +828,11 @@ jobs:
env:
IT_MODULES: ${{ needs.changes.outputs.it-modules }}
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
updated-modules-integration-test-part-6:
needs: [ changes, sanity-check ]
if: needs.changes.outputs.api == 'false' && needs.changes.outputs.engine
== 'false' && needs.changes.outputs.it-modules != '[]'
@@ -830,6 +865,11 @@ jobs:
env:
IT_MODULES: ${{ needs.changes.outputs.it-modules }}
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
updated-modules-integration-test-part-7:
needs: [ changes, sanity-check ]
if: needs.changes.outputs.api == 'false' && needs.changes.outputs.engine
== 'false' && needs.changes.outputs.it-modules != '[]'
@@ -862,6 +902,11 @@ jobs:
env:
IT_MODULES: ${{ needs.changes.outputs.it-modules }}
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
updated-modules-integration-test-part-8:
needs: [ changes, sanity-check ]
@@ -895,6 +940,11 @@ jobs:
env:
IT_MODULES: ${{ needs.changes.outputs.it-modules }}
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
engine-v2-it:
needs: [ changes, sanity-check ]
@@ -921,6 +971,11 @@ jobs:
./mvnw -T 1 -B verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true --no-snapshot-updates -pl
:connector-seatunnel-e2e-base,:connector-console-seatunnel-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
edge-agent-it:
needs: [ changes, sanity-check ]
@@ -947,6 +1002,11 @@ jobs:
./mvnw -T 1 -B verify -DskipUT=false -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:seatunnel-edge-agent-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
engine-k8s-it:
needs: [ changes, sanity-check ]
@@ -982,6 +1042,11 @@ jobs:
env:
MAVEN_OPTS: -Xmx4096m
KUBECONFIG: /etc/rancher/k3s/k3s.yaml
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
transform-v2-it-part-1:
needs: [ changes, sanity-check ]
@@ -1012,6 +1077,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:seatunnel-transforms-v2-e2e-part-1,:seatunnel-transforms-v2-e2e-udf -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
transform-v2-it-part-2:
needs: [ changes, sanity-check ]
@@ -1046,6 +1116,11 @@ jobs:
# Dedicated connector ownership and shard rebalancing guidance are
maintained in
# tools/update_modules_check/update_modules_check.py.
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
all-connectors-it-1:
needs: [ changes, sanity-check ]
if: needs.changes.outputs.api == 'true' || needs.changes.outputs.engine ==
'true'
@@ -1077,6 +1152,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
$run_it_modules -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
all-connectors-it-2:
needs: [ changes, sanity-check ]
@@ -1109,6 +1189,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
$run_it_modules -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
all-connectors-it-3:
needs: [ changes, sanity-check ]
@@ -1141,6 +1226,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
$run_it_modules -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
all-connectors-it-4:
needs: [ changes, sanity-check ]
@@ -1173,6 +1263,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
$run_it_modules -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
all-connectors-it-5:
needs: [ changes, sanity-check ]
@@ -1205,6 +1300,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
$run_it_modules -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
all-connectors-it-6:
needs: [ changes, sanity-check ]
@@ -1237,6 +1337,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
$run_it_modules -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
all-connectors-it-7:
needs: [ changes, sanity-check ]
@@ -1269,6 +1374,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
$run_it_modules -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
iceberg-connector-it:
needs: [ changes, sanity-check ]
@@ -1298,6 +1408,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-iceberg-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
hbase-connector-it:
needs: [ changes, sanity-check ]
@@ -1327,6 +1442,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-hbase-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
jdbc-connectors-it-part-1:
needs: [ changes, sanity-check ]
@@ -1359,6 +1479,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-jdbc-e2e-part-1 -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
jdbc-connectors-it-part-2:
needs: [ changes, sanity-check ]
@@ -1388,6 +1513,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-jdbc-e2e-part-2 -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
jdbc-connectors-it-part-3:
needs: [ changes, sanity-check ]
@@ -1417,6 +1547,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-jdbc-e2e-part-3 -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
jdbc-connectors-it-part-4:
needs: [ changes, sanity-check ]
@@ -1446,6 +1581,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-jdbc-e2e-part-4 -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
jdbc-connectors-it-part-5:
needs: [ changes, sanity-check ]
@@ -1475,6 +1615,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-jdbc-e2e-part-5 -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
jdbc-connectors-it-part-6:
needs: [ changes, sanity-check ]
@@ -1504,6 +1649,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-jdbc-e2e-part-6 -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
jdbc-connectors-it-part-7:
needs: [ changes, sanity-check ]
@@ -1533,6 +1683,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-jdbc-e2e-part-7 -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
jdbc-connectors-it-ddl:
needs: [ changes, sanity-check ]
@@ -1562,6 +1717,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-jdbc-e2e-ddl -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
kudu-connector-it:
needs: [ changes, sanity-check ]
@@ -1589,6 +1749,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-kudu-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
amazonSqs-connector-it:
needs: [ changes, sanity-check ]
@@ -1615,6 +1780,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-amazonsqs-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
google-pubsub-connector-it:
needs: [ changes, sanity-check ]
@@ -1640,6 +1810,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-google-pubsub-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
kafka-connector-it:
needs: [ changes, sanity-check ]
@@ -1666,6 +1841,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-kafka-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
rocketmq-connector-it:
needs: [ changes, sanity-check ]
@@ -1692,6 +1872,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-rocketmq-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
elasticsearch-connector-it:
needs: [ changes, sanity-check ]
@@ -1718,6 +1903,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-elasticsearch-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
mysql-cdc-connector-it:
needs: [ changes, sanity-check ]
@@ -1744,6 +1934,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-cdc-mysql-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
doris-connector-it:
needs: [ changes, sanity-check ]
@@ -1770,6 +1965,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-doris-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
paimon-connector-it:
needs: [ changes, sanity-check ]
@@ -1796,6 +1996,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-paimon-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
oracle-cdc-connector-it:
needs: [ changes, sanity-check ]
@@ -1827,6 +2032,11 @@ jobs:
command: |
echo 'running oracle cdc connector integration test...' && \
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-cdc-oracle-e2e -am -Pci
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
connector-file-local-it:
needs: [ changes, sanity-check ]
@@ -1853,6 +2063,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-file-local-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
connector-file-sftp-it:
needs: [ changes, sanity-check ]
@@ -1879,6 +2094,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-file-sftp-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
connector-redis-it:
needs: [ changes, sanity-check ]
@@ -1905,6 +2125,11 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-redis-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}
connector-sensorsdata-it:
needs: [ changes, sanity-check ]
@@ -1931,3 +2156,8 @@ jobs:
./mvnw -B -T 1 verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl
:connector-sensorsdata-e2e -am -Pci
env:
MAVEN_OPTS: -Xmx4096m
+ - name: Upload test reports
+ if: failure()
+ uses: ./.github/actions/upload-test-reports
+ with:
+ id: ${{ matrix.java }}-${{ matrix.os }}