[bugfix][CI]Skip e2e log summary when the log file is missing or empty (#7552)

### What this PR does / why we need it?
Avoid failing `ci_log_summary.py` when the e2e log file is missing or
empty.

Test in CI
:https://github.com/vllm-project/vllm-ascend/actions/runs/23428406256/job/68149271871
### Does this PR introduce _any_ user-facing change?

### How was this patch tested?

- vLLM version: v0.18.0
- vLLM main:
https://github.com/vllm-project/vllm/commit/8b6325758cce5f9c36d38f2462edbd368b97a07c

---------

Signed-off-by: Meihan-chen <jcccx.cmh@gmail.com>
This commit is contained in:
meihanc authored and GitHub committed 2026-03-23 20:25:59 +08:00
1 parent 886756aea0
commit e344a53127
1 file changed
+2
@@ -977,6 +977,8 @@ def main() -> None:
if args.run_id is not None:
result = process_run(args.run_id, repo=args.repo)
else:
if not args.log_file.exists() or args.log_file.stat().st_size == 0:
return
log_text = args.log_file.read_text(encoding="utf-8", errors="replace")
result = process_local_log(log_text, job_name=args.step_name)