I had some difficulty compiling the ES source code.
1.I got elasticsearch-5.2.1 source code from https://github.com/elastic/elasticsearch/tree/v5.2.1.
2.I extarct elasticsearch-5.2.1.zip.
3.I use the "gradle build" command to build in the root directory of elasticsearch-5.2.1.
4.My gradle version is "Gradle 3.3",java
version is "java 1.8.0_271".my OS is ubuntu 20.04.
when I run "gradle build" command to build in the root directory of elasticsearch-5.2.1.The result is:
'''
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':test:framework:test'.
There were test failures: 23 suites, 132 tests, 4 failures, 3 ignored (3 assumptions) [seed: 121BC3D9A1F658B1]
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
'''
Who can help me solve this problem? Thank you very much