diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-04-15 15:05:31 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-04-15 15:55:41 +0000 |
| commit | bb6cd4d997e87dfb38beef17406efd58174424b3 (patch) | |
| tree | 71dae3690d7a5eb277cf0321dc6f3d3913bdcf99 /syz-cluster/workflow | |
| parent | 0edaf3c96dca1a59f3a78a5ca3210052f877ca09 (diff) | |
syz-cluster: log fuzz-step termination
Some of the fuzz jobs seem to be unable to finish in time.
Add some logging to better understand what part if preventing
the termination.
Diffstat (limited to 'syz-cluster/workflow')
| -rw-r--r-- | syz-cluster/workflow/fuzz-step/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/syz-cluster/workflow/fuzz-step/main.go b/syz-cluster/workflow/fuzz-step/main.go index e5671e4fd..05b145554 100644 --- a/syz-cluster/workflow/fuzz-step/main.go +++ b/syz-cluster/workflow/fuzz-step/main.go @@ -105,6 +105,7 @@ func run(baseCtx context.Context, client *api.Client, timeout time.Duration, art eg, ctx := errgroup.WithContext(baseCtx) bugs := make(chan *manager.UniqueBug) eg.Go(func() error { + defer log.Logf(0, "bug reporting terminated") for { var bug *manager.UniqueBug select { @@ -123,6 +124,7 @@ func run(baseCtx context.Context, client *api.Client, timeout time.Duration, art return nil }) eg.Go(func() error { + defer log.Logf(0, "diff fuzzing terminated") return manager.RunDiffFuzzer(ctx, base, patched, manager.DiffFuzzerConfig{ Debug: false, PatchedOnly: bugs, @@ -136,6 +138,7 @@ func run(baseCtx context.Context, client *api.Client, timeout time.Duration, art ) lastArtifactUpdate := time.Now() eg.Go(func() error { + defer log.Logf(0, "status reporting terminated") for { select { case <-ctx.Done(): |
