-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Add log downloading for sync integration tests #1095
Copy link
Copy link
Closed
Description
Is your feature request related to a problem? Please describe.
Seems like we've recently added sync tests to our integration tests: https://github.com/ethereum-optimism/optimism/blob/develop/.github/workflows/sync-tests.yml. However, the sync tests do not upload the logs as artifacts to GitHub like the integration tests do. This makes it very difficult to debug the tests.
Describe the solution you'd like
I'd like to see these lines added to the sync tests:
optimism/.github/workflows/integration.yml
Lines 97 to 113 in c87e4c7
| - name: Collect docker logs on failure | |
| if: failure() | |
| uses: jwalton/gh-docker-logs@v1 | |
| with: | |
| images: 'ethereumoptimism/builder,ethereumoptimism/hardhat,ethereumoptimism/deployer,ethereumoptimism/data-transport-layer,ethereumoptimism/l2geth,ethereumoptimism/message-relayer,ethereumoptimism/batch-submitter,ethereumoptimism/l2geth,ethereumoptimism/integration-tests' | |
| dest: './logs' | |
| - name: Tar logs | |
| if: failure() | |
| run: tar cvzf ./logs.tgz ./logs | |
| - name: Upload logs to GitHub | |
| if: failure() | |
| uses: actions/upload-artifact@master | |
| with: | |
| name: logs.tgz | |
| path: ./logs.tgz |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels