-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[performance] use journey own ftr config to run scalability test #152596
[performance] use journey own ftr config to run scalability test #152596
Conversation
@elasticmachine merge upstream |
Testing PR in scalability pipeline |
i did a retry to make sure that jest failure was not related to this. It didn't look related, but it doesn't hurt. Will start the actual review now and will leave merging to you on Monday. |
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.
LGTM
💚 Build Succeeded
Metrics [docs]Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
…stic#152596) While debugging scalability testing failure for `cloud_security_dashboard` journey, I found that we hardcoded base FTR config to `x-pack/performance/journeys/login.ts` and main issue is that Kibana is not started properly. This PR makes few changes: - update `kbn-performance-testing-dataset-extractor` to save journey path as `configPath` so it can be later used to start ES/Kibana in the scalability run with the same configuration it was run for the single user journey run. - update scalability entry configuration to read base FTR config from generated scalability json file (`configPath` property) How to test: - make sure to clone the latest [kibana-load-testing](https://github.com/elastic/kibana-load-testing) repo and build it `mvn clean test-compile` - from kibana root directory run any api capacity test ``` node scripts/run_scalability.js --journey-path x-pack/test/scalability/apis/api.core.capabilities.json ``` Expected result: logs should display ``` debg Loading config file from x-pack/performance/journeys/login.ts ``` - download the latest artifacts from [buildkite](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/171#0186a342-9dea-4a9b-bbe4-c96449563269), find `cloud_security_dashboard-<uuid>.json` - from kibana root directory run scalability test for `cloud_security_dashboard` journey ``` node scripts/run_scalability.js --journey-path <path to cloud_security_dashboard-<uuid>.json> ``` Expected result: logs should display ``` debg Loading config file from x-pack/performance/journeys/cloud_security_dashboard.ts ``` Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit bc44f52)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
#152596) (#152806) # Backport This will backport the following commits from `main` to `8.7`: - [[performance] use journey own ftr config to run scalability test (#152596)](#152596) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-03-07T12:20:21Z","message":"[performance] use journey own ftr config to run scalability test (#152596)\n\nWhile debugging scalability testing failure for\r\n`cloud_security_dashboard` journey, I found that we hardcoded base FTR\r\nconfig to `x-pack/performance/journeys/login.ts` and main issue is that\r\nKibana is not started properly.\r\n\r\nThis PR makes few changes:\r\n- update `kbn-performance-testing-dataset-extractor` to save journey\r\npath as `configPath` so it can be later used to start ES/Kibana in the\r\nscalability run with the same configuration it was run for the single\r\nuser journey run.\r\n- update scalability entry configuration to read base FTR config from\r\ngenerated scalability json file (`configPath` property)\r\n\r\nHow to test:\r\n- make sure to clone the latest\r\n[kibana-load-testing](https://github.com/elastic/kibana-load-testing)\r\nrepo and build it `mvn clean test-compile`\r\n- from kibana root directory run any api capacity test\r\n```\r\nnode scripts/run_scalability.js --journey-path x-pack/test/scalability/apis/api.core.capabilities.json\r\n```\r\nExpected result: logs should display\r\n```\r\ndebg Loading config file from x-pack/performance/journeys/login.ts\r\n```\r\n- download the latest artifacts from\r\n[buildkite](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/171#0186a342-9dea-4a9b-bbe4-c96449563269),\r\nfind `cloud_security_dashboard-<uuid>.json`\r\n- from kibana root directory run scalability test for\r\n`cloud_security_dashboard` journey\r\n```\r\nnode scripts/run_scalability.js --journey-path <path to cloud_security_dashboard-<uuid>.json>\r\n```\r\nExpected result: logs should display \r\n```\r\ndebg Loading config file from x-pack/performance/journeys/cloud_security_dashboard.ts\r\n```\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"bc44f524ac547f0211486c125b999fdd94bb03bf","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","wg:performance","v8.8.0","v8.6.3","v8.7.1"],"number":152596,"url":"https://github.com/elastic/kibana/pull/152596","mergeCommit":{"message":"[performance] use journey own ftr config to run scalability test (#152596)\n\nWhile debugging scalability testing failure for\r\n`cloud_security_dashboard` journey, I found that we hardcoded base FTR\r\nconfig to `x-pack/performance/journeys/login.ts` and main issue is that\r\nKibana is not started properly.\r\n\r\nThis PR makes few changes:\r\n- update `kbn-performance-testing-dataset-extractor` to save journey\r\npath as `configPath` so it can be later used to start ES/Kibana in the\r\nscalability run with the same configuration it was run for the single\r\nuser journey run.\r\n- update scalability entry configuration to read base FTR config from\r\ngenerated scalability json file (`configPath` property)\r\n\r\nHow to test:\r\n- make sure to clone the latest\r\n[kibana-load-testing](https://github.com/elastic/kibana-load-testing)\r\nrepo and build it `mvn clean test-compile`\r\n- from kibana root directory run any api capacity test\r\n```\r\nnode scripts/run_scalability.js --journey-path x-pack/test/scalability/apis/api.core.capabilities.json\r\n```\r\nExpected result: logs should display\r\n```\r\ndebg Loading config file from x-pack/performance/journeys/login.ts\r\n```\r\n- download the latest artifacts from\r\n[buildkite](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/171#0186a342-9dea-4a9b-bbe4-c96449563269),\r\nfind `cloud_security_dashboard-<uuid>.json`\r\n- from kibana root directory run scalability test for\r\n`cloud_security_dashboard` journey\r\n```\r\nnode scripts/run_scalability.js --journey-path <path to cloud_security_dashboard-<uuid>.json>\r\n```\r\nExpected result: logs should display \r\n```\r\ndebg Loading config file from x-pack/performance/journeys/cloud_security_dashboard.ts\r\n```\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"bc44f524ac547f0211486c125b999fdd94bb03bf"}},"sourceBranch":"main","suggestedTargetBranches":["8.6","8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152596","number":152596,"mergeCommit":{"message":"[performance] use journey own ftr config to run scalability test (#152596)\n\nWhile debugging scalability testing failure for\r\n`cloud_security_dashboard` journey, I found that we hardcoded base FTR\r\nconfig to `x-pack/performance/journeys/login.ts` and main issue is that\r\nKibana is not started properly.\r\n\r\nThis PR makes few changes:\r\n- update `kbn-performance-testing-dataset-extractor` to save journey\r\npath as `configPath` so it can be later used to start ES/Kibana in the\r\nscalability run with the same configuration it was run for the single\r\nuser journey run.\r\n- update scalability entry configuration to read base FTR config from\r\ngenerated scalability json file (`configPath` property)\r\n\r\nHow to test:\r\n- make sure to clone the latest\r\n[kibana-load-testing](https://github.com/elastic/kibana-load-testing)\r\nrepo and build it `mvn clean test-compile`\r\n- from kibana root directory run any api capacity test\r\n```\r\nnode scripts/run_scalability.js --journey-path x-pack/test/scalability/apis/api.core.capabilities.json\r\n```\r\nExpected result: logs should display\r\n```\r\ndebg Loading config file from x-pack/performance/journeys/login.ts\r\n```\r\n- download the latest artifacts from\r\n[buildkite](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/171#0186a342-9dea-4a9b-bbe4-c96449563269),\r\nfind `cloud_security_dashboard-<uuid>.json`\r\n- from kibana root directory run scalability test for\r\n`cloud_security_dashboard` journey\r\n```\r\nnode scripts/run_scalability.js --journey-path <path to cloud_security_dashboard-<uuid>.json>\r\n```\r\nExpected result: logs should display \r\n```\r\ndebg Loading config file from x-pack/performance/journeys/cloud_security_dashboard.ts\r\n```\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"bc44f524ac547f0211486c125b999fdd94bb03bf"}},{"branch":"8.6","label":"v8.6.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <[email protected]>
…stic#152596) While debugging scalability testing failure for `cloud_security_dashboard` journey, I found that we hardcoded base FTR config to `x-pack/performance/journeys/login.ts` and main issue is that Kibana is not started properly. This PR makes few changes: - update `kbn-performance-testing-dataset-extractor` to save journey path as `configPath` so it can be later used to start ES/Kibana in the scalability run with the same configuration it was run for the single user journey run. - update scalability entry configuration to read base FTR config from generated scalability json file (`configPath` property) How to test: - make sure to clone the latest [kibana-load-testing](https://github.com/elastic/kibana-load-testing) repo and build it `mvn clean test-compile` - from kibana root directory run any api capacity test ``` node scripts/run_scalability.js --journey-path x-pack/test/scalability/apis/api.core.capabilities.json ``` Expected result: logs should display ``` debg Loading config file from x-pack/performance/journeys/login.ts ``` - download the latest artifacts from [buildkite](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/171#0186a342-9dea-4a9b-bbe4-c96449563269), find `cloud_security_dashboard-<uuid>.json` - from kibana root directory run scalability test for `cloud_security_dashboard` journey ``` node scripts/run_scalability.js --journey-path <path to cloud_security_dashboard-<uuid>.json> ``` Expected result: logs should display ``` debg Loading config file from x-pack/performance/journeys/cloud_security_dashboard.ts ``` Co-authored-by: Kibana Machine <[email protected]>
While debugging scalability testing failure for
cloud_security_dashboard
journey, I found that we hardcoded base FTR config tox-pack/performance/journeys/login.ts
and main issue is that Kibana is not started properly.This PR makes few changes:
kbn-performance-testing-dataset-extractor
to save journey path asconfigPath
so it can be later used to start ES/Kibana in the scalability run with the same configuration it was run for the single user journey run.configPath
property)How to test:
mvn clean test-compile
Expected result: logs should display
cloud_security_dashboard-<uuid>.json
cloud_security_dashboard
journeyExpected result: logs should display