aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-09-22 11:07:47 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-10-02 08:49:35 +0000
commit49379ee008e5f2af6e551c2e23fcd6b1ebb4d5c2 (patch)
tree3ec78965c03f925a8e05c8c77fc3b929eb18a936 /syz-cluster
parent1d325ab115a6eb87c1a341e6232f4b065b05d6e5 (diff)
syz-cluster: log boot step findings
If a boot test step failed and we don't report the finding to the dashboard, print the report/output to the console to facilitate debugging.
Diffstat (limited to 'syz-cluster')
-rw-r--r--syz-cluster/workflow/boot-step/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/syz-cluster/workflow/boot-step/main.go b/syz-cluster/workflow/boot-step/main.go
index 648d7d5bb..1711ee961 100644
--- a/syz-cluster/workflow/boot-step/main.go
+++ b/syz-cluster/workflow/boot-step/main.go
@@ -113,6 +113,9 @@ func runTest(ctx context.Context, client *api.Client) (bool, error) {
if findingErr != nil {
return false, fmt.Errorf("failed to report the finding: %w", findingErr)
}
+ } else {
+ log.Printf("report:\n%s", rep.Report)
+ log.Printf("output:\n%s", rep.Output)
}
return false, nil
}