From 76116d33d26c09860b4ba217a7966da90de08ab5 Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Fri, 9 Aug 2024 16:42:08 +0200 Subject: [PATCH] compatible(integration_test_charm.yaml): Add `jhack tail` to logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reverts #224 Uses huge speed improvement from https://github.com/canonical/jhack/pull/175—thank you @PietroPasotti! --- .github/workflows/integration_test_charm.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/integration_test_charm.yaml b/.github/workflows/integration_test_charm.yaml index accb3ab2..5168ef26 100644 --- a/.github/workflows/integration_test_charm.yaml +++ b/.github/workflows/integration_test_charm.yaml @@ -477,6 +477,10 @@ jobs: timeout-minutes: 3 if: ${{ success() || (failure() && steps.tests.outcome == 'failure') }} run: tee-log-for-all-models --log-command 'juju debug-log --color --replay --no-tail' --log-file-name juju-debug-log.txt + - name: jhack tail + timeout-minutes: 3 + if: ${{ success() || (failure() && steps.tests.outcome == 'failure') }} + run: tee-log-for-all-models --log-command 'jhack tail --printer raw' --log-file-name jhack-tail.txt - name: Upload logs timeout-minutes: 5 if: ${{ success() || (failure() && steps.tests.outcome == 'failure') }}