Commit f615443
authored
ops(ci): upload full demo cluster log on Jepsen failure (#795)
## Summary
Make the Jepsen workflows upload the full demo cluster log as an
artifact (14-day retention) on failure, instead of only the last 500
lines inline.
## Motivation
Scheduled run
[26198185540](https://github.com/bootjp/elastickv/actions/runs/26198185540)
surfaced a real `:duplicate-elements` anomaly on the Redis Jepsen
workload. Server-side investigation was blocked because the "Dump demo
cluster log on failure" step's `tail -n 500` captured only the startup
section of a 3-minute workload — the actual start_ts / commit_ts /
raft-term / write-conflict / lock-resolver events that would identify
the offending code path were truncated.
## Change
- **Scheduled workflow** (`jepsen-test-scheduled.yml`): inline dump now
prints `head -n 200 + tail -n 1000` so the GH UI still shows enough
at-a-glance; full log uploaded as `elastickv-demo-log` artifact.
- **Per-push workflow** (`jepsen-test.yml`): inline dump prints `head -n
200 + tail -n 500` per node (n1/n2/n3); full per-node logs uploaded as
`elastickv-demo-logs` artifact (three files).
- Retention: 14 days, matching the existing `jepsen-store-types`
artifact retention so logs and `history.txt` can be correlated for the
same run.
## Test plan
- [x] yaml syntactically valid (workflow change only)
- [ ] CI green
- [ ] Next failing scheduled run produces a downloadable
`elastickv-demo-log` artifact2 files changed
Lines changed: 49 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
233 | 254 | | |
234 | 255 | | |
235 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
197 | 224 | | |
198 | 225 | | |
199 | 226 | | |
| |||
0 commit comments