From f5d1f35adb600984f58382e6b3db26c3c4feba71 Mon Sep 17 00:00:00 2001 From: Hyukjin Kwon Date: Tue, 10 Sep 2024 14:00:44 +0900 Subject: [PATCH] [SPARK-49576][INFRA] Upload Python logs in CI ### 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 Signed-off-by: Hyukjin Kwon --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6fdb8432472f9..2b459e4c73bbb 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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"