mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[scalability testing] save kibana logs as run artefacts (#140820)
* [scalability] server log in files * fix script * put upload in the right place
This commit is contained in:
parent
378829348c
commit
849457b395
1 changed files with 5 additions and 1 deletions
|
@ -57,7 +57,10 @@ checkout_and_compile_load_runner() {
|
|||
|
||||
upload_test_results() {
|
||||
cd "${KIBANA_DIR}"
|
||||
echo "--- Archive Gatling reports and upload as build artifacts"
|
||||
echo "Upload server logs as build artifacts"
|
||||
tar -czf server-logs.tar.gz data/ftr_servers_logs/**/*
|
||||
buildkite-agent artifact upload server-logs.tar.gz
|
||||
echo "--- Upload Gatling reports as build artifacts"
|
||||
tar -czf "scalability_test_report.tar.gz" --exclude=simulation.log -C kibana-load-testing/target gatling
|
||||
buildkite-agent artifact upload "scalability_test_report.tar.gz"
|
||||
cd "${LATEST_RUN_ARTIFACTS_DIR}"
|
||||
|
@ -115,6 +118,7 @@ for journey in scalability_traces/server/*; do
|
|||
node scripts/functional_tests \
|
||||
--config x-pack/test/performance/scalability/config.ts \
|
||||
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \
|
||||
--logToFile \
|
||||
--debug
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue