Commit 9b14657
[9.1] [CI] Use process.uptime() for FTR duration (elastic#242354) (elastic#242533)
# Backport
This will backport the following commits from `main` to `9.1`:
- [[CI] Use process.uptime() for FTR duration
(elastic#242354)](elastic#242354)
<!--- 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-11-11T12:19:51Z","message":"[CI]
Use process.uptime() for FTR duration (elastic#242354)\n\nCurrently for test
duration, we track the time between when the tests\nare starting until
the tests finish, but this ignores Elasticsearch and\nKibana start
times. This is a 2-3m overhead which leads to inefficient\nbalancing of
tests. This PR uses process.uptime() instead, which is a\nmore accurate
representation of how long it takes to run a
config.","sha":"8a953af813bd6674431154f4eaa94a4b4489eec6","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v9.3.0"],"title":"[CI]
Use process.uptime() for FTR
duration","number":242354,"url":"https://github.com/elastic/kibana/pull/242354","mergeCommit":{"message":"[CI]
Use process.uptime() for FTR duration (elastic#242354)\n\nCurrently for test
duration, we track the time between when the tests\nare starting until
the tests finish, but this ignores Elasticsearch and\nKibana start
times. This is a 2-3m overhead which leads to inefficient\nbalancing of
tests. This PR uses process.uptime() instead, which is a\nmore accurate
representation of how long it takes to run a
config.","sha":"8a953af813bd6674431154f4eaa94a4b4489eec6"}},"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/242354","number":242354,"mergeCommit":{"message":"[CI]
Use process.uptime() for FTR duration (elastic#242354)\n\nCurrently for test
duration, we track the time between when the tests\nare starting until
the tests finish, but this ignores Elasticsearch and\nKibana start
times. This is a 2-3m overhead which leads to inefficient\nbalancing of
tests. This PR uses process.uptime() instead, which is a\nmore accurate
representation of how long it takes to run a
config.","sha":"8a953af813bd6674431154f4eaa94a4b4489eec6"}}]}]
BACKPORT-->
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>1 parent 6e0af58 commit 9b14657
File tree
2 files changed
+3
-3
lines changed- .buildkite/pipeline-utils/ci-stats
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments