HADOOP-19857. Enable unit tests on GHA#8452
Conversation
ee48d49 to
2f14ca3
Compare
| options: --user ${{ needs.build-image.outputs.uid }} | ||
| strategy: | ||
| fail-fast: false | ||
| max-parallel: 6 |
There was a problem hiding this comment.
note, this runs in the contributor's forked repo, it's free but has concurrency limitations, also remember that each split requires a build, larger parallel splits consume more overall time.
| include: | ||
| - comment: hdfs | ||
| modules: | ||
| -pl :hadoop-hdfs |
There was a problem hiding this comment.
IIRC, this single module takes more than 4 hours to complete (even though more than 20 tests are excluded for now), we need to improve the slow tests and use tags to split it into more groups
There was a problem hiding this comment.
okay, it actually takes 5 hours to complete (with ~30 tests excluded).
I split it into 2 groups:
- slow, ~70 classes, which single test class takes more than 60s, all of them take ~150min
- other, the rest of them
hope it can be completed in 2.5 hours next round
There was a problem hiding this comment.
@ajfabbri, given the situation, I expect we may
- exclude fewer than 200 test classes
- keep others running stable on GHA, within 3 hours
There was a problem hiding this comment.
not ready but almost here, with ~160 test suites (classes) excluded, all remaining tests run successfully in 2.5h
https://github.com/pan3793/hadoop/actions/runs/24870046901
I still need to re-run several rounds to ensure the initial test list runs stably.
@ajfabbri @steveloughran @slfan1989 would be great if you could take a look first.
There was a problem hiding this comment.
@pan3793 Will look at it when I get back. I am on vacation until tomorrow night.
There was a problem hiding this comment.
This seems fine. We have some work to do on improving tests: We need to make them faster, and completely eliminate flaky tests (ideally). This gives us an iterative way to tackle it. 👍
8a5ffe4 to
1dcdec9
Compare
1a874a0 to
5ee44de
Compare
|
💔 -1 overall
This message was automatically generated. |
…-hbase-tests" This reverts commit d9f030c.
|
💔 -1 overall
This message was automatically generated. |
|
@ajfabbri @slfan1989 @steveloughran, this is ready for review. for stability, please check https://github.com/pan3793/hadoop/actions/workflows/build_and_test.yml?query=branch%3Agha-enable-tests |
|
💔 -1 overall
This message was automatically generated. |
Description of PR
This PR enables running unit tests in parallel on GitHub Actions, with ~150 test suites(classes) excluded due to flaky or consistently failing on GHA that need to be fixed later, all of the remaining test suites take ~2.5 hours to complete. As a comparison, Jenkins takes ~30 hours.
How was this patch tested?
GHA report.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?AI Tooling
No AI usage.