This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new e72df2c  Upload container logs and surefire reports from failed 
integration tests (#10119)
e72df2c is described below

commit e72df2cf73d2594a641e065cbf10bf2d9e12ab3f
Author: Lari Hotari <[email protected]>
AuthorDate: Sun Apr 4 13:24:34 2021 +0300

    Upload container logs and surefire reports from failed integration tests 
(#10119)
---
 .../ci-integration-backwards-compatibility.yaml        | 16 ++++++++++++++++
 .github/workflows/ci-integration-cli.yaml              | 15 +++++++++++++++
 .github/workflows/ci-integration-function.yaml         | 16 ++++++++++++++++
 .github/workflows/ci-integration-messaging.yaml        | 18 +++++++++++++++++-
 .github/workflows/ci-integration-process.yaml          | 18 +++++++++++++++++-
 .github/workflows/ci-integration-schema.yaml           | 18 +++++++++++++++++-
 .github/workflows/ci-integration-sql.yaml              | 16 ++++++++++++++++
 .github/workflows/ci-integration-standalone.yaml       | 16 ++++++++++++++++
 .github/workflows/ci-integration-thread.yaml           | 18 +++++++++++++++++-
 .../workflows/ci-integration-tiered-filesystem.yaml    | 16 ++++++++++++++++
 .github/workflows/ci-integration-tiered-jcloud.yaml    | 16 ++++++++++++++++
 .github/workflows/ci-integration-transaction.yaml      | 16 ++++++++++++++++
 12 files changed, 195 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci-integration-backwards-compatibility.yaml 
b/.github/workflows/ci-integration-backwards-compatibility.yaml
index 6a5136a..10b3d6e 100644
--- a/.github/workflows/ci-integration-backwards-compatibility.yaml
+++ b/.github/workflows/ci-integration-backwards-compatibility.yaml
@@ -105,3 +105,19 @@ jobs:
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
         run: ./build/run_integration_group.sh BACKWARDS_COMPAT
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-cli.yaml 
b/.github/workflows/ci-integration-cli.yaml
index eb22089..2ffd6ef 100644
--- a/.github/workflows/ci-integration-cli.yaml
+++ b/.github/workflows/ci-integration-cli.yaml
@@ -106,3 +106,18 @@ jobs:
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
         run: ./build/run_integration_group.sh CLI
 
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
diff --git a/.github/workflows/ci-integration-function.yaml 
b/.github/workflows/ci-integration-function.yaml
index 7030e79..c1c55c7 100644
--- a/.github/workflows/ci-integration-function.yaml
+++ b/.github/workflows/ci-integration-function.yaml
@@ -105,3 +105,19 @@ jobs:
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
         run: ./build/run_integration_group.sh FUNCTION
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-messaging.yaml 
b/.github/workflows/ci-integration-messaging.yaml
index 5057f65..72ac6f8 100644
--- a/.github/workflows/ci-integration-messaging.yaml
+++ b/.github/workflows/ci-integration-messaging.yaml
@@ -104,4 +104,20 @@ jobs:
 
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
-        run: ./build/run_integration_group.sh MESSAGING
\ No newline at end of file
+        run: ./build/run_integration_group.sh MESSAGING
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-process.yaml 
b/.github/workflows/ci-integration-process.yaml
index 4112f12..24022b3 100644
--- a/.github/workflows/ci-integration-process.yaml
+++ b/.github/workflows/ci-integration-process.yaml
@@ -103,4 +103,20 @@ jobs:
 
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
-        run: ./build/run_integration_group.sh PULSAR_CONNECTORS_PROCESS
\ No newline at end of file
+        run: ./build/run_integration_group.sh PULSAR_CONNECTORS_PROCESS
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-schema.yaml 
b/.github/workflows/ci-integration-schema.yaml
index c3058a7..a33a696 100644
--- a/.github/workflows/ci-integration-schema.yaml
+++ b/.github/workflows/ci-integration-schema.yaml
@@ -100,4 +100,20 @@ jobs:
 
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
-        run: ./build/run_integration_group.sh SCHEMA
\ No newline at end of file
+        run: ./build/run_integration_group.sh SCHEMA
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-sql.yaml 
b/.github/workflows/ci-integration-sql.yaml
index 0ccb2e3..8d2388c 100644
--- a/.github/workflows/ci-integration-sql.yaml
+++ b/.github/workflows/ci-integration-sql.yaml
@@ -104,3 +104,19 @@ jobs:
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
         run: ./build/run_integration_group.sh SQL
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-standalone.yaml 
b/.github/workflows/ci-integration-standalone.yaml
index 349b803..6f5e8b0 100644
--- a/.github/workflows/ci-integration-standalone.yaml
+++ b/.github/workflows/ci-integration-standalone.yaml
@@ -104,3 +104,19 @@ jobs:
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
         run: ./build/run_integration_group.sh STANDALONE
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-thread.yaml 
b/.github/workflows/ci-integration-thread.yaml
index d5e2dba..8a9d4ec 100644
--- a/.github/workflows/ci-integration-thread.yaml
+++ b/.github/workflows/ci-integration-thread.yaml
@@ -103,4 +103,20 @@ jobs:
 
       - name: run integration function
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
-        run: ./build/run_integration_group.sh PULSAR_CONNECTORS_THREAD
\ No newline at end of file
+        run: ./build/run_integration_group.sh PULSAR_CONNECTORS_THREAD
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-tiered-filesystem.yaml 
b/.github/workflows/ci-integration-tiered-filesystem.yaml
index e93998b..d7980ab 100644
--- a/.github/workflows/ci-integration-tiered-filesystem.yaml
+++ b/.github/workflows/ci-integration-tiered-filesystem.yaml
@@ -104,3 +104,19 @@ jobs:
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
         run: ./build/run_integration_group.sh TIERED_FILESYSTEM
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-tiered-jcloud.yaml 
b/.github/workflows/ci-integration-tiered-jcloud.yaml
index fec0595..5fc03d5 100644
--- a/.github/workflows/ci-integration-tiered-jcloud.yaml
+++ b/.github/workflows/ci-integration-tiered-jcloud.yaml
@@ -104,3 +104,19 @@ jobs:
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
         run: ./build/run_integration_group.sh TIERED_JCLOUD
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file
diff --git a/.github/workflows/ci-integration-transaction.yaml 
b/.github/workflows/ci-integration-transaction.yaml
index 74b8fa4..2141011 100644
--- a/.github/workflows/ci-integration-transaction.yaml
+++ b/.github/workflows/ci-integration-transaction.yaml
@@ -101,3 +101,19 @@ jobs:
       - name: run integration tests
         if: ${{ steps.changes.outputs.all_count > 
steps.changes.outputs.docs_count }}
         run: ./build/run_integration_group.sh TRANSACTION
+
+      - name: Upload container logs
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: container-logs
+          path: tests/integration/target/container-logs
+
+      - name: Upload surefire-reports
+        uses: actions/upload-artifact@v2
+        if: ${{ cancelled() || failure() }}
+        continue-on-error: true
+        with:
+          name: surefire-reports
+          path: tests/integration/target/surefire-reports
\ No newline at end of file

Reply via email to