Skip to content

Commit

Permalink
Upload container logs and surefire reports from failed integration te…
Browse files Browse the repository at this point in the history
…sts (apache#10119)
  • Loading branch information
lhotari authored Apr 4, 2021
1 parent fafba51 commit e72df2c
Show file tree
Hide file tree
Showing 12 changed files with 195 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci-integration-backwards-compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 15 additions & 0 deletions .github/workflows/ci-integration-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 16 additions & 0 deletions .github/workflows/ci-integration-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 17 additions & 1 deletion .github/workflows/ci-integration-messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
18 changes: 17 additions & 1 deletion .github/workflows/ci-integration-process.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
18 changes: 17 additions & 1 deletion .github/workflows/ci-integration-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
16 changes: 16 additions & 0 deletions .github/workflows/ci-integration-sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 16 additions & 0 deletions .github/workflows/ci-integration-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 17 additions & 1 deletion .github/workflows/ci-integration-thread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
16 changes: 16 additions & 0 deletions .github/workflows/ci-integration-tiered-filesystem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 16 additions & 0 deletions .github/workflows/ci-integration-tiered-jcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 16 additions & 0 deletions .github/workflows/ci-integration-transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e72df2c

Please sign in to comment.