aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/workflow/fuzz-step
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-04-15 15:05:31 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-04-15 15:55:41 +0000
commitbb6cd4d997e87dfb38beef17406efd58174424b3 (patch)
tree71dae3690d7a5eb277cf0321dc6f3d3913bdcf99 /syz-cluster/workflow/fuzz-step
parent0edaf3c96dca1a59f3a78a5ca3210052f877ca09 (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/fuzz-step')
-rw-r--r--syz-cluster/workflow/fuzz-step/main.go3
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():