-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[FTR] Track process duration + test stats in run-end #238397
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
[FTR] Track process duration + test stats in run-end #238397
Conversation
💔 Build Failed
Failed CI StepsMetrics [docs]Public APIs missing comments
Historycc @dgieselaar |
dolaru
left a comment
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 👍🏽
|
Starting backport for target branches: 8.18, 8.19, 9.1, 9.2 https://github.com/elastic/kibana/actions/runs/18500172047 |
Currently we only measure the root suite duration, which does not include the time to start Elasticsearch, Kibana (which are started before Mocha runs) and the docker containers (which are in the `beforeTests` lifecycle). With this change, we start tracking A) total process duration which will capture these phases, B) test stats, so we can see the distribution of test counts across configs and the relation between test counts and process/test run duration (cherry picked from commit 086c290)
Currently we only measure the root suite duration, which does not include the time to start Elasticsearch, Kibana (which are started before Mocha runs) and the docker containers (which are in the `beforeTests` lifecycle). With this change, we start tracking A) total process duration which will capture these phases, B) test stats, so we can see the distribution of test counts across configs and the relation between test counts and process/test run duration (cherry picked from commit 086c290)
💔 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 |
…238923) # Backport This will backport the following commits from `main` to `9.1`: - [[FTR] Track process duration + test stats in run-end (#238397)](#238397) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-10-14T14:36:17Z","message":"[FTR] Track process duration + test stats in run-end (#238397)\n\nCurrently we only measure the root suite duration, which does not\ninclude the time to start Elasticsearch, Kibana (which are started\nbefore Mocha runs) and the docker containers (which are in the\n`beforeTests` lifecycle).\n\nWith this change, we start tracking A) total process duration which will\ncapture these phases, B) test stats, so we can see the distribution of\ntest counts across configs and the relation between test counts and\nprocess/test run duration","sha":"086c2900f274de0239dccb82595b93a883fa946b","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v9.3.0"],"title":"[FTR] Track process duration + test stats in run-end","number":238397,"url":"https://github.com/elastic/kibana/pull/238397","mergeCommit":{"message":"[FTR] Track process duration + test stats in run-end (#238397)\n\nCurrently we only measure the root suite duration, which does not\ninclude the time to start Elasticsearch, Kibana (which are started\nbefore Mocha runs) and the docker containers (which are in the\n`beforeTests` lifecycle).\n\nWith this change, we start tracking A) total process duration which will\ncapture these phases, B) test stats, so we can see the distribution of\ntest counts across configs and the relation between test counts and\nprocess/test run duration","sha":"086c2900f274de0239dccb82595b93a883fa946b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/238397","number":238397,"mergeCommit":{"message":"[FTR] Track process duration + test stats in run-end (#238397)\n\nCurrently we only measure the root suite duration, which does not\ninclude the time to start Elasticsearch, Kibana (which are started\nbefore Mocha runs) and the docker containers (which are in the\n`beforeTests` lifecycle).\n\nWith this change, we start tracking A) total process duration which will\ncapture these phases, B) test stats, so we can see the distribution of\ntest counts across configs and the relation between test counts and\nprocess/test run duration","sha":"086c2900f274de0239dccb82595b93a883fa946b"}}]}] BACKPORT--> Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
…238924) # Backport This will backport the following commits from `main` to `9.2`: - [[FTR] Track process duration + test stats in run-end (#238397)](#238397) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dario Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2025-10-14T14:36:17Z","message":"[FTR] Track process duration + test stats in run-end (#238397)\n\nCurrently we only measure the root suite duration, which does not\ninclude the time to start Elasticsearch, Kibana (which are started\nbefore Mocha runs) and the docker containers (which are in the\n`beforeTests` lifecycle).\n\nWith this change, we start tracking A) total process duration which will\ncapture these phases, B) test stats, so we can see the distribution of\ntest counts across configs and the relation between test counts and\nprocess/test run duration","sha":"086c2900f274de0239dccb82595b93a883fa946b","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v9.3.0"],"title":"[FTR] Track process duration + test stats in run-end","number":238397,"url":"https://github.com/elastic/kibana/pull/238397","mergeCommit":{"message":"[FTR] Track process duration + test stats in run-end (#238397)\n\nCurrently we only measure the root suite duration, which does not\ninclude the time to start Elasticsearch, Kibana (which are started\nbefore Mocha runs) and the docker containers (which are in the\n`beforeTests` lifecycle).\n\nWith this change, we start tracking A) total process duration which will\ncapture these phases, B) test stats, so we can see the distribution of\ntest counts across configs and the relation between test counts and\nprocess/test run duration","sha":"086c2900f274de0239dccb82595b93a883fa946b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/238397","number":238397,"mergeCommit":{"message":"[FTR] Track process duration + test stats in run-end (#238397)\n\nCurrently we only measure the root suite duration, which does not\ninclude the time to start Elasticsearch, Kibana (which are started\nbefore Mocha runs) and the docker containers (which are in the\n`beforeTests` lifecycle).\n\nWith this change, we start tracking A) total process duration which will\ncapture these phases, B) test stats, so we can see the distribution of\ntest counts across configs and the relation between test counts and\nprocess/test run duration","sha":"086c2900f274de0239dccb82595b93a883fa946b"}}]}] BACKPORT--> Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Currently we only measure the root suite duration, which does not include the time to start Elasticsearch, Kibana (which are started before Mocha runs) and the docker containers (which are in the `beforeTests` lifecycle). With this change, we start tracking A) total process duration which will capture these phases, B) test stats, so we can see the distribution of test counts across configs and the relation between test counts and process/test run duration
Currently we only measure the root suite duration, which does not include the time to start Elasticsearch, Kibana (which are started before Mocha runs) and the docker containers (which are in the `beforeTests` lifecycle). With this change, we start tracking A) total process duration which will capture these phases, B) test stats, so we can see the distribution of test counts across configs and the relation between test counts and process/test run duration
Currently we only measure the root suite duration, which does not include the time to start Elasticsearch, Kibana (which are started before Mocha runs) and the docker containers (which are in the `beforeTests` lifecycle). With this change, we start tracking A) total process duration which will capture these phases, B) test stats, so we can see the distribution of test counts across configs and the relation between test counts and process/test run duration
Currently we only measure the root suite duration, which does not include the time to start Elasticsearch, Kibana (which are started before Mocha runs) and the docker containers (which are in the `beforeTests` lifecycle). With this change, we start tracking A) total process duration which will capture these phases, B) test stats, so we can see the distribution of test counts across configs and the relation between test counts and process/test run duration
Currently we only measure the root suite duration, which does not include the time to start Elasticsearch, Kibana (which are started before Mocha runs) and the docker containers (which are in the `beforeTests` lifecycle). With this change, we start tracking A) total process duration which will capture these phases, B) test stats, so we can see the distribution of test counts across configs and the relation between test counts and process/test run duration
Currently we only measure the root suite duration, which does not include the time to start Elasticsearch, Kibana (which are started before Mocha runs) and the docker containers (which are in the
beforeTestslifecycle).With this change, we start tracking A) total process duration which will capture these phases, B) test stats, so we can see the distribution of test counts across configs and the relation between test counts and process/test run duration