aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/workflow
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-07-16 12:03:55 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-07-17 08:32:04 +0000
commit89164500ce728563dd5d65356180c49e63e885a9 (patch)
tree5e84f73d2c9f2c61d390e3919f43e2d7071697a5 /syz-cluster/workflow
parent1aa190bb0c108bacd9f30931abfd0ea1a7bca4b9 (diff)
syz-cluster: remember and share kernel tree URLs
Share not just the tree name (mainline, net, etc), but also the full URL to check out the repository. For that, add one more field to the Build entity and adjust email reporting templates.
Diffstat (limited to 'syz-cluster/workflow')
-rw-r--r--syz-cluster/workflow/build-step/main.go8
-rw-r--r--syz-cluster/workflow/rebuild-kernels-cron.yaml1
-rw-r--r--syz-cluster/workflow/triage-step/main.go6
3 files changed, 8 insertions, 7 deletions
diff --git a/syz-cluster/workflow/build-step/main.go b/syz-cluster/workflow/build-step/main.go
index 3c859dc8c..1abf5bc4a 100644
--- a/syz-cluster/workflow/build-step/main.go
+++ b/syz-cluster/workflow/build-step/main.go
@@ -10,10 +10,6 @@ import (
"errors"
"flag"
"fmt"
- "log"
- "os"
- "path/filepath"
-
"github.com/google/syzkaller/pkg/build"
"github.com/google/syzkaller/pkg/debugtracer"
"github.com/google/syzkaller/pkg/osutil"
@@ -22,6 +18,9 @@ import (
"github.com/google/syzkaller/syz-cluster/pkg/api"
"github.com/google/syzkaller/syz-cluster/pkg/app"
"github.com/google/syzkaller/syz-cluster/pkg/triage"
+ "log"
+ "os"
+ "path/filepath"
)
var (
@@ -63,6 +62,7 @@ func main() {
Arch: req.Arch,
ConfigName: req.ConfigName,
TreeName: req.TreeName,
+ TreeURL: req.TreeURL,
SeriesID: req.SeriesID,
},
}
diff --git a/syz-cluster/workflow/rebuild-kernels-cron.yaml b/syz-cluster/workflow/rebuild-kernels-cron.yaml
index c8e4a15ad..50a1b3b50 100644
--- a/syz-cluster/workflow/rebuild-kernels-cron.yaml
+++ b/syz-cluster/workflow/rebuild-kernels-cron.yaml
@@ -86,6 +86,7 @@ spec:
output = {
"arch": "amd64", # TODO: consider others as well.
"tree_name": input["name"],
+ "tree_url": input["URL"],
"commit_hash": input["branch"],
"config_name": input["kernel_config"]
}
diff --git a/syz-cluster/workflow/triage-step/main.go b/syz-cluster/workflow/triage-step/main.go
index d61fc4947..b412947a2 100644
--- a/syz-cluster/workflow/triage-step/main.go
+++ b/syz-cluster/workflow/triage-step/main.go
@@ -8,14 +8,13 @@ import (
"context"
"flag"
"fmt"
- "io"
- "os"
-
"github.com/google/syzkaller/pkg/debugtracer"
"github.com/google/syzkaller/pkg/osutil"
"github.com/google/syzkaller/syz-cluster/pkg/api"
"github.com/google/syzkaller/syz-cluster/pkg/app"
"github.com/google/syzkaller/syz-cluster/pkg/triage"
+ "io"
+ "os"
)
var (
@@ -102,6 +101,7 @@ func getVerdict(ctx context.Context, client *api.Client, ops triage.TreeOps) (*a
}
base := api.BuildRequest{
TreeName: tree.Name,
+ TreeURL: tree.URL,
ConfigName: tree.KernelConfig,
CommitHash: result.Commit,
Arch: arch,