Skip to content

Commit

Permalink
[SPARK-49576][INFRA] Upload Python logs in CI
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR proposes to upload Python logs as well after test execution.

### Why are the changes needed?

We should be able to debug Python test failures, e.g. https://github.com/apache/spark/actions/runs/10726544359/job/29763316706

```
/_w/spark/spark/python/target/28a23950-46c7-45c5-a9b7-42e7d9b21518/python3.12pyspark.sql.tests.connect.test_connect_session_ah_ug0xu.log)
```

### Does this PR introduce _any_ user-facing change?

No, dev-only.

### How was this patch tested?

Manually.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #48048 from HyukjinKwon/upload-python-log.

Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
  • Loading branch information
HyukjinKwon committed Sep 10, 2024
1 parent 3633cfb commit f5d1f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: unit-tests-log-${{ matrix.modules }}-${{ matrix.comment }}-${{ matrix.java }}-${{ matrix.hadoop }}-${{ matrix.hive }}
path: "**/target/unit-tests.log"
path: "**/target/*.log"

infra-image:
name: "Base image build"
Expand Down

0 comments on commit f5d1f35

Please sign in to comment.