Skip to content
Permalink
Browse files

dashboard/app: add bisection link to emails

Add link to more information about bisection process
to emails that contain bisection results.
This seems to be a hot topic for questions.

Update #501
  • Loading branch information...
dvyukov committed Mar 21, 2019
1 parent dce6e62 commit 40fdabdc24442daa8f380fad4c880a056a074222
@@ -150,6 +150,8 @@ C reproducer: %[7]v
Reported-by: syzbot+%[1]v@testapp.appspotmail.com
Fixes: 36e65cb4a044 ("kernel: add a bug")
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
`, extBugID, bisectLogLink, bisectCrashReportLink, bisectCrashLogLink, kernelConfigLink, reproSyzLink, reproCLink))

syzRepro := []byte(fmt.Sprintf("%s#%s\n%s", syzReproPrefix, crash2.ReproOpts, crash2.ReproSyz))
@@ -214,7 +216,8 @@ See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with syzbot.
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches`,
extBugID2, crashLogLink, kernelConfigLink, reproSyzLink, reproCLink,
@@ -344,6 +347,7 @@ dashboard link: https://testapp.appspot.com/bug?extid=%[1]v
syz repro: %[4]v
C reproducer: %[5]v
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
`, extBugID, bisectLogLink, kernelConfigLink, reproSyzLink, reproCLink))
}

@@ -388,7 +392,8 @@ See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with syzbot.
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches`,
extBugID2, crashLogLink, kernelConfigLink, reproSyzLink, reproCLink, bisectLogLink))
@@ -448,6 +453,7 @@ dashboard link: https://testapp.appspot.com/bug?extid=%[1]v
syz repro: %[6]v
C reproducer: %[7]v
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
`, extBugID, bisectLogLink, bisectCrashReportLink, bisectCrashLogLink,
kernelConfigLink, reproSyzLink, reproCLink))
}
@@ -492,7 +498,8 @@ See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with syzbot.
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches`,
extBugID2, crashLogLink, kernelConfigLink, reproSyzLink, reproCLink,
@@ -67,7 +67,7 @@ See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with syzbot.`,
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.`,
extBugID0, crashLogLink, kernelConfigLink))
c.checkURLContents(crashLogLink, crash.Log)
c.checkURLContents(kernelConfigLink, build.KernelConfig)
@@ -211,7 +211,7 @@ See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with syzbot.
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches`,
extBugID1, reproSyzLink, crashLogLink, kernelConfigLink))
@@ -22,4 +22,6 @@ git tree: {{.KernelRepoAlias}}
{{end}}{{if .ReproCLink}}C reproducer: {{.ReproCLink}}
{{end}}{{if .BisectCause.Commit}}
Reported-by: {{.CreditEmail}}
Fixes: {{formatTagHash .BisectCause.Commit.Hash}} ("{{.BisectCause.Commit.Title}}"){{end}}
Fixes: {{formatTagHash .BisectCause.Commit.Hash}} ("{{.BisectCause.Commit.Title}}")
{{end}}
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
@@ -45,7 +45,8 @@ See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with syzbot.{{if or .ReproCLink .ReproSyzLink}}
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.{{if .BisectCause}}
For information about bisection process see: https://goo.gl/tpsmEJ#bisection{{end}}{{if or .ReproCLink .ReproSyzLink}}
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches
{{- end -}}

0 comments on commit 40fdabd

Please sign in to comment.
You can’t perform that action at this time.