apache / apache/hudi

Test Call run_clustering Procedure By Table is flakey in gh actions

Open
#15,792 0 comments 0 reactions 0 assignees View on GitHub
area:table-service area:tests component:clustering from-jira priority:blocker
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

gh actions test-spark the error 

 
{code:java}
- Test Call run_clustering Procedure By Table *** FAILED ***
18435 Expected Array([20230214113036200,3,REQUESTED,*], [20230214113038864,1,REQUESTED,*]), but got Array([20230214113036200,3,REQUESTED,*]) (HoodieSparkSqlTestBase.scala:106) {code}
sometimes occurs.

An example is in here https://github.com/apache/hudi/actions/runs/4172847816/jobs/7224458475

 

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-5793
- Type: Test
- Epic: https://issues.apache.org/jira/browse/HUDI-4302

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the failing “Test Call run_clustering Procedure By Table” case and the assertion in HoodieSparkSqlTestBase.scala:106. Reproduce it through the test-spark GitHub Actions workflow and compare runs where one expected row is missing. Done means the test no longer flakes and still verifies the expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, scala, spark
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.