From d3a32bfeb9127fc122a331e04bd5980858328a96 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 2 Oct 2024 12:10:03 +0200 Subject: syz-ci: include more details in job error logs We currently observe episodic "job: reproducer consistency is empty" error messages, but there's little one can do with them. Make them more actionable. --- syz-ci/jobs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'syz-ci') diff --git a/syz-ci/jobs.go b/syz-ci/jobs.go index 096e5df9f..566ed7a67 100644 --- a/syz-ci/jobs.go +++ b/syz-ci/jobs.go @@ -418,8 +418,8 @@ func (jp *JobProcessor) process(job *Job) *dashapi.JobDoneReq { } for _, req := range required { if !req.ok { - job.resp.Error = []byte(req.name + " is empty") - jp.Errorf("%s", job.resp.Error) + job.resp.Error = []byte(req.name + " is invalid") + jp.Errorf("%s (job id=%q, type=%v)", job.resp.Error, job.req.ID, job.req.Type) return job.resp } } -- cgit mrf-deployment