Skip to content

Commit f62b788

Browse files
ccealgorandskiy
authored andcommitted
tests: log TestSimulate to debug the shutdown deadlock (algorand#6438)
1 parent c582086 commit f62b788

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/ci-nightly.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ jobs:
119119
job-type: "Test"
120120
build-type: "Nightly Build"
121121
details: "• Partition: `${{ matrix.partition_id }}` of ${{ env.PARTITION_TOTAL }}\n• Failed Step: `${{ steps.run_tests.name }}`"
122+
- name: Upload test logs on failure
123+
if: failure()
124+
uses: actions/upload-artifact@v4
125+
with:
126+
name: test-logs-${{ matrix.platform }}-${{ github.run_id }}-${{ matrix.partition_id }}
127+
path: |
128+
**/*.log
129+
retention-days: 30
122130
- name: Upload test artifacts to GitHub
123131
uses: actions/upload-artifact@v4
124132
with:

.github/workflows/ci-pr.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ jobs:
6464
job-type: "Test"
6565
build-type: "PR Build"
6666
details: "• Partition: `${{ matrix.partition_id }}` of ${{ env.PARTITION_TOTAL }}\n• Failed Step: `${{ steps.run_tests.name }}`"
67+
- name: Upload test logs on failure
68+
if: failure()
69+
uses: actions/upload-artifact@v4
70+
with:
71+
name: test-logs-${{ matrix.platform }}-${{ github.run_id }}-${{ matrix.partition_id }}
72+
path: |
73+
**/*.log
74+
retention-days: 30
6775
- name: Upload test artifacts to GitHub
6876
if: ${{ !cancelled() }}
6977
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)