Skip to content

fix: Re-enable Spark 4 tests on Linux #1806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2025
Merged

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented May 27, 2025

Which issue does this PR close?

Closes #1786

Part of #1800

Rationale for this change

Rather than run all of the tests sequentially in a single process, split them into groups and run them in parallel. This somehow avoids the issue with the process eventually becoming unresponsive. If the problem starts again, it will be easier to isolate with this approach.

This approach may also reduce overall CI time if we apply it to other Spark versions as well.

Before

Based on run in https://github.com/apache/datafusion-comet/actions/runs/15219754440/job/42813062845

2025-05-23T23:10:46.0261413Z Run completed in 1 hour, 14 minutes, 48 seconds.
2025-05-23T23:10:46.0262071Z Total number of tests run: 1046
2025-05-23T23:10:46.0262542Z Suites: completed 37, aborted 0
2025-05-23T23:10:46.0275127Z Tests: succeeded 1046, failed 0, canceled 8, ignored 58, pending 0
2025-05-23T23:10:46.0275707Z All tests passed.

After

exec

2025-05-28T04:22:11.9007820Z Run completed in 18 minutes, 31 seconds.
2025-05-28T04:22:11.9008405Z Total number of tests run: 509
2025-05-28T04:22:11.9008848Z Suites: completed 40, aborted 0
2025-05-28T04:22:11.9009397Z Tests: succeeded 509, failed 0, canceled 4, ignored 56, pending 0

fuzz

2025-05-28T04:25:16.0879429Z Run completed in 21 minutes, 49 seconds.
2025-05-28T04:25:16.0881663Z Total number of tests run: 97
2025-05-28T04:25:16.0882073Z Suites: completed 4, aborted 0
2025-05-28T04:25:16.0882545Z Tests: succeeded 97, failed 0, canceled 0, ignored 0, pending 0

parquet

2025-05-28T04:14:48.2681174Z Run completed in 11 minutes, 7 seconds.
2025-05-28T04:14:48.2681631Z Total number of tests run: 238
2025-05-28T04:14:48.2682045Z Suites: completed 12, aborted 0
2025-05-28T04:14:48.2682595Z Tests: succeeded 238, failed 0, canceled 4, ignored 2, pending 0

shuffle

2025-05-28T04:23:20.0214122Z Run completed in 19 minutes, 45 seconds.
2025-05-28T04:23:20.0216688Z Total number of tests run: 212
2025-05-28T04:23:20.0217552Z Suites: completed 16, aborted 0
2025-05-28T04:23:20.0218316Z Tests: succeeded 212, failed 0, canceled 0, ignored 0, pending 0

What changes are included in this PR?

How are these changes tested?

@codecov-commenter
Copy link

codecov-commenter commented May 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.47%. Comparing base (f09f8af) to head (8c95fb3).
Report is 219 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1806      +/-   ##
============================================
+ Coverage     56.12%   59.47%   +3.34%     
- Complexity      976     1140     +164     
============================================
  Files           119      128       +9     
  Lines         11743    12531     +788     
  Branches       2251     2356     +105     
============================================
+ Hits           6591     7453     +862     
+ Misses         4012     3887     -125     
- Partials       1140     1191      +51     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andygrove andygrove marked this pull request as ready for review May 28, 2025 13:14
@@ -50,10 +49,53 @@ jobs:
java_version: [17]
test-target: [java]
spark-version: ['4.0']
is_push_event:
- ${{ github.event_name == 'push' }}
suites:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is neat

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm thanks @andygrove

@andygrove andygrove merged commit 7e64857 into apache:main May 28, 2025
79 checks passed
@andygrove andygrove deleted the linux-spark-4 branch May 28, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent CI failures
3 participants