You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`/etc/resource-tuner/tests/Configs/ResourceSysFsNodes` must exist and be non‑empty for **`/usr/bin/resource_tuner_tests`**. If missing/empty → **SKIP only that suite**.
59
+
### 3) Test test nodes
60
+
`/etc/urm/tests/nodes` must exist and be non‑empty for **`/usr/bin/UrmIntegrationTests`** and **`/usr/bin/UrmComponentTests`**. If missing/empty → **SKIP only that suite**.
78
61
79
62
### 4) Base tools
80
63
Requires: `awk`, `grep`, `date`, `printf`. If missing → **overall SKIP**.
-**Symlink to latest:**`./logs/resource-tuner-latest`
93
+
-**Symlink to latest:**`./logs/userspace-resource-manager-latest`
111
94
112
95
**Parsing heuristics:** a suite is considered PASS if the binary exits 0 **or** its log contains
113
96
`Run Successful`, `executed successfully`, or `Ran Successfully`. Strings like `Assertion failed`, `Terminating Suite`, `Segmentation fault`, `Backtrace`, or `fail/failed` mark **FAIL**.
-`SERVICE_NAME`: systemd unit to check (default: `resource-tuner.service`)
120
-
-`RT_CONFIG_DIR`: root of config tree (default: `/etc/resource-tuner`)
121
-
-`RT_REQUIRE_COMMON_FILES`, `RT_REQUIRE_CUSTOM_FILES`: *space‑separated* filenames that must exist in `common/` / `custom/` respectively to treat that tree as present.
102
+
-`SERVICE_NAME`: systemd unit to check (default: `urm.service`)
103
+
-`URM_CONFIG_DIR`: root of config tree (default: `/etc/urm`)
104
+
-`URM_REQUIRE_COMMON_FILES`, `URM_REQUIRE_TEST_FILES`: *space‑separated* filenames that must exist in `common/` / `tests/` respectively to treat that tree as present.
122
105
123
106
---
124
107
@@ -131,7 +114,7 @@ Run all (normal CI mode):
131
114
132
115
Run a single suite by basename:
133
116
```bash
134
-
./run.sh --bin ResourceParsingTests
117
+
./run.sh --bin UrmComponentTests
135
118
```
136
119
137
120
List suites and presence coverage:
@@ -141,21 +124,21 @@ List suites and presence coverage:
141
124
142
125
Use a different config root:
143
126
```bash
144
-
RT_CONFIG_DIR=/opt/rt/etc ./run.sh
127
+
URM_CONFIG_DIR=/opt/rt/etc ./run.sh
145
128
```
146
129
147
130
---
148
131
149
132
## Exit status
150
133
151
-
The script writes the overall result to `resource-tuner.res`. The **process exit code is 0** in all cases in the current version (soft gating). If you want hard CI gating via non‑zero exit on FAIL, that can be added easily on request.
134
+
The script writes the overall result to `userspace-resource-manager.res`. The **process exit code is 0** in case of SUCCESS, while the **exit code is 1** in case of overall FAILURE.
152
135
153
136
---
154
137
155
138
## Troubleshooting
156
139
157
-
-**Overall SKIP immediately** → service inactive. Check `systemctl status resource-tuner.service`.
158
-
-**Suite SKIP (config)** → confirm required files exist under `common/` or `custom/` (see lists above).
140
+
-**Overall SKIP immediately** → service inactive. Check `systemctl status urm.service`.
141
+
-**Suite SKIP (config)** → confirm required files exist under `common/`, `tests/configs` and `tests/nodes` (see lists above).
159
142
-**Suite SKIP (missing bin)** → verify the binary is installed and executable under `/usr/bin`.
160
143
-**Suite FAIL** → inspect `logs/.../SUITE.log` for the first failure pattern or assertion.
161
144
-**Very long runs** → a `run_with_timeout` helper (if available in your repo toolchain) will be used automatically.
0 commit comments