aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/app_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-04-27 15:56:56 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-04-28 14:53:23 +0200
commit41f95395462c3a77e6631264b29cbed08d59c2d3 (patch)
tree1e15bc4033af3f5388b2d6c7f99b8495f99fe1d4 /dashboard/app/app_test.go
parent6f737ad74e9f2c8a824a0198c378e7ca5f763495 (diff)
dashboard: determine bug origin trees and missing backports
Run reproducers on other trees in order to determine 1) Trees where a bug originates (i.e. the reproducer can trigger a bug in none of the further trees, from which commits flow). 2) Trees, to which the bug has already spread (i.e. the reproducer works on none of the trees that receive commits from the current one). 3) The abscence of a backport (= the reproducer used to work on some upstream tree and then stopped). For (1) the bot assigns the LabelIntroduced from KernelRepo. For (2) -- the value of LabelReached. For better understanding see sample configs in tree_test.go.
Diffstat (limited to 'dashboard/app/app_test.go')
-rw-r--r--dashboard/app/app_test.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go
index 114d8aa0b..3ffe322ea 100644
--- a/dashboard/app/app_test.go
+++ b/dashboard/app/app_test.go
@@ -253,9 +253,10 @@ var testConfig = &GlobalConfig{
},
Repos: []KernelRepo{
{
- URL: "git://syzkaller.org/access-public.git",
- Branch: "access-public",
- Alias: "access-public",
+ URL: "git://syzkaller.org/access-public.git",
+ Branch: "access-public",
+ Alias: "access-public",
+ DetectMissingBackports: true,
},
},
Reporting: []Reporting{
@@ -271,6 +272,7 @@ var testConfig = &GlobalConfig{
Config: &TestConfig{Index: 2},
},
},
+ FindBugOriginTrees: true,
},
"access-public-email": {
AccessLevel: AccessPublic,