Skip to content

Commit

Permalink
compatible(integration_test_charm.yaml): Add jhack tail to logs (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical authored Jul 23, 2024
1 parent efdcd75 commit e3d5fcb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/integration_test_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ jobs:
juju set-model-constraints arch='${{ inputs.architecture }}'
pipx install tox
pipx install poetry
pipx install git+https://github.com/canonical/jhack
- name: lxc image list
timeout-minutes: 1
if: ${{ inputs.cloud == 'lxd' }}
Expand Down Expand Up @@ -461,6 +462,13 @@ 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 --color 256 --replay --length=50000 --no-watch' --log-file-name jhack-tail.txt
env:
# Increase table width
COLUMNS: 120
- name: Upload logs
timeout-minutes: 5
if: ${{ success() || (failure() && steps.tests.outcome == 'failure') }}
Expand Down

0 comments on commit e3d5fcb

Please sign in to comment.