-
Notifications
You must be signed in to change notification settings - Fork 126
[CI] Refactor script to check and test packages in CI #2766
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
Conversation
if [ "${package_to_test}" == "pipeline_benchmark" ]; then | ||
rm -rf "${PWD}/build/benchmark-results" | ||
elastic-package benchmark pipeline -C "$d" -v --report-format xUnit --report-output file --fail-on-missing | ||
# FIXME: There are other packages in test/packages/benchmarks folder that are not tested like rally_benchmark |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rally_benchmark
package is located in test/packages/benchmarks
folder but it is not tested at all.
I don't know if this could be tested as it is here. IIUC according to the docs it is required also esrally
tool.
test serverless |
Triggered serverless pipeline: https://buildkite.com/elastic/elastic-package-test-serverless/builds/488 |
pipeline_benchmark|use_pipeline_tests) | ||
run_pipeline_benchmark "${package_to_test}" "$d" | ||
;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Until now just pipeline_benchmark
package was tested, other packages under test/packages/benchmarks/
folder were not tested. One of them is use_pipeline_tests
package.
The difference that I see between pipeline_benchmark
and use_pipeline_tests
is that:
pipeline_benchmark
has the benchmark configuration for the data stream atdata_stream/test/_dev/benchmark/pipeline/*
.use_pipeline_tests
no benchmark configuration.
Tested locally with use_pipeline_tests
package and it does not fail running the pipeline benchmarks and it creates a benchmark report successfully.
I think it can be added here, WDYT ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, yes.
/test |
Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
test serverless |
💔 Build Failed
Failed CI StepsHistory
cc @mrodm |
Triggered serverless pipeline: https://buildkite.com/elastic/elastic-package-test-serverless/builds/493 |
This PR applies a refactor in
scripts/test-check-packages.sh
script to allow understand better the for loop that test all packages.Author's checklist
use_pipeline_tests
is also part of thebenchmarks
step.