Skip to content

Commit 0ca37fb

Browse files
committed
Boot_Systemd_Validate: use wait_analyze_ready for robust timings
- Replace the ad-hoc systemd-analyze polling loop with the shared helper. - Capture list-jobs when boot is unfinished and log this explicitly. - Honor extended boot times on slow platforms before parsing KPIs. - Preserve existing outputs while avoiding misleading 'boot not finished' results. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
1 parent 240f542 commit 0ca37fb

File tree

3 files changed

+1115
-0
lines changed

3 files changed

+1115
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
metadata:
2+
name: boot-systemd-validate
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "Systemd boot KPI capture + required unit gating + artifacts (critical-chain, blame, plot, unit states)."
5+
os:
6+
- linux
7+
scope:
8+
- performance
9+
- functional
10+
11+
params:
12+
OUT_DIR: "./logs_Boot_Systemd_Validate"
13+
14+
# Either provide REQUIRED_UNITS_FILE (existing file path) OR REQUIRED_UNITS (list).
15+
# REQUIRED_UNITS supports commas/spaces and will be written to OUT_DIR/required_units.txt automatically.
16+
REQUIRED_UNITS_FILE: ""
17+
REQUIRED_UNITS: ""
18+
19+
TIMEOUT_PER_UNIT: "30"
20+
SVG: "yes" # yes|no
21+
BOOT_TYPE: "unknown" # cold|warm|unknown etc
22+
DISABLE_GETTY: "0" # 1|0
23+
DISABLE_SSHD: "0" # 1|0
24+
EXCLUDE_NETWORKD_WAIT_ONLINE: "0" # 1|0
25+
EXCLUDE_SERVICES: "" # space-separated service names
26+
BOOT_KPI_ITERATIONS: "1"
27+
VERBOSE: "0"
28+
29+
# Optional improvement: configurable boot-complete wait (seconds)
30+
WAIT_FOR_BOOT_COMPLETE_TIMEOUT: "300"
31+
32+
run:
33+
steps:
34+
- REPO_PATH=$PWD
35+
- cd Runner/suites/Performance/Boot_Systemd_Validate/
36+
- ./run.sh || true
37+
- $REPO_PATH/Runner/utils/send-to-lava.sh Boot_Systemd_Validate.res || true

0 commit comments

Comments
 (0)