From a4023b846f56f111bf2c0043a6e69a230283ed94 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Tue, 3 Oct 2023 15:35:38 -0400 Subject: [PATCH] chore(e2e): Get logs from the postgres container (#3792) --- .github/workflows/enos-run.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/enos-run.yml b/.github/workflows/enos-run.yml index 2fa9e50924..fb8af7b7dc 100644 --- a/.github/workflows/enos-run.yml +++ b/.github/workflows/enos-run.yml @@ -254,6 +254,12 @@ jobs: name: test-e2e-output path: enos/test*.log retention-days: 5 + - name: Get logs from postgres container + # Retrieve logs from the postgres container on a failed + # run to help diagnose a deadlock issue + if: contains(matrix.filter, 'e2e_docker') && steps.run.outcome == 'failure' + run: | + docker logs database - name: Upload e2e UI tests debug info if: matrix.filter == 'e2e_ui builder:crt' && steps.run.outcome == 'failure' uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2