{{/* Copyright 2017 syzkaller project authors. All rights reserved. Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. */}} {{/* Info icon with a link, invoked with an URL string */}} {{define "info_link"}} 🛈 {{end}} {{/* Common page head part, invoked with *uiHeader */}} {{define "head"}} {{if .AnalyticsTrackingID}} {{end}} {{end}} {{/* Common page header, invoked with *uiHeader */}} {{define "header"}}

syzbot

{{if not (eq .URLPath "/admin")}}
{{end}}

{{end}} {{/* List of bugs, invoked with *uiBugGroup */}} {{define "bug_list"}} {{if .}} {{if .Bugs}} {{if $.Caption}} {{if $.Fragment}} {{end}} {{if $.ShowNamespace}} {{end}} {{if $.ShowPatch}} {{end}} {{if $.ShowPatched}} {{end}} {{if $.ShowStatus}} {{end}} {{range $b := .Bugs}} {{if $.ShowNamespace}}{{end}} {{if $.ShowPatch}} {{end}} {{if $.ShowPatched}} {{end}} {{if $.ShowStatus}} {{end}} {{end}}
{{else}} {{end}} {{$.Caption}} ({{len $.Bugs}}): {{if $.Fragment}}{{end}}
KernelTitle Repro Bisected Count Last ReportedClosed PatchPatchedStatus
{{$b.Namespace}}{{$b.Title}} {{formatReproLevel $b.ReproLevel}} {{if and $b.BisectCauseDone $b.BisectFixDone}} cause+fix {{else if $b.BisectCauseDone}} cause {{else if $b.BisectFixDone}} fix {{end}} {{$b.NumCrashes}} {{formatLateness $.Now $b.LastTime}} {{if $b.ExternalLink}} {{formatLateness $.Now $b.ReportedTime}} {{else}} {{formatLateness $.Now $b.ReportedTime}} {{end}} {{formatLateness $.Now $b.ClosedTime}} {{template "fix_commits" $b.Commits}}{{len $b.PatchedOn}}/{{$b.NumManagers}} {{if $b.ExternalLink}} {{$b.Status}} {{else}} {{$b.Status}} {{end}}
{{end}} {{end}} {{end}} {{/* List of managers, invoked with []*uiManager */}} {{define "manager_list"}} {{if .}} {{range $mgr := .}} {{if $mgr.TotalExecsBad}} {{else}} {{end}} {{with $build := $mgr.CurrentBuild}} {{else}} {{end}} {{end}}
Instances:
Name Active Uptime Corpus Coverage {{template "info_link" "https://github.com/google/syzkaller/blob/master/docs/coverage.md"}} Crashes Execs Kernel build syzkaller build
Commit Freshness Status Commit Freshness Status
{{link $mgr.Link $mgr.Name}} {{formatLateness $mgr.Now $mgr.LastActive}} {{formatDuration $mgr.CurrentUpTime}} {{formatStat $mgr.MaxCorpus}} {{if $mgr.CoverLink}} {{end}} {{formatStat $mgr.MaxCover}} {{if $mgr.CoverLink}} {{end}} {{formatStat $mgr.TotalCrashes}}broken{{formatStat $mgr.TotalExecs}}{{link $build.KernelCommitLink (formatShortHash $build.KernelCommit)}} {{formatLateness $mgr.Now $build.KernelCommitDate}} {{if $mgr.FailedBuildBugLink}}failing{{end}} {{link $build.SyzkallerCommitLink (formatShortHash $build.SyzkallerCommit)}} {{formatLateness $mgr.Now $build.SyzkallerCommitDate}} {{if $mgr.FailedSyzBuildBugLink}}failing{{end}}
{{end}} {{end}} {{/* List of fixing commits, invoked with []*uiCommit */}} {{define "fix_commits"}} {{range $com := .}} {{if $com.Hash}} {{formatShortHash $com.Hash}} {{end}} {{link $com.Link $com.Title}} {{end}} {{end}} {{/* Bisection result, invoked with *uiJob */}} {{/* Show bisection results */}} {{define "bisect_results"}} {{if .}}
{{$causeJob := 1}} {{$fixJob := 2}} {{if .ErrorLink}} {{if eq .Type $causeJob}} Cause bisection: failed {{else if eq .Type $fixJob}} Fix bisection: failed {{end}} ({{link .LogLink "bisect log"}})
{{else if .Commit}} {{if eq .Type $causeJob}} Cause bisection: introduced by {{else if eq .Type $fixJob}} Fix bisection: fixed by {{end}} ({{link .LogLink "bisect log"}}):

commit {{.Commit.Hash}}
Author: {{.Commit.Author}}
Date: {{formatKernelTime .Commit.Date}}

  {{.Commit.Title}}

{{else if .Commits}} {{if eq .Type $causeJob}} Cause bisection: the cause commit could be any of {{else if eq .Type $fixJob}} Fix bisection: the fix commit could be any of {{end}} ({{link .LogLink "bisect log"}}):

{{range $com := .Commits}}   {{formatTagHash $com.Hash}} {{$com.Title}}
{{end}}
{{else}} {{if eq .Type $causeJob}} Cause bisection: the bug happens on the oldest tested release {{else if eq .Type $fixJob}} Fix bisection: the bug occurs on the latest tested release {{end}}
{{end}} {{if .CrashLogLink}} Crash: {{link .CrashReportLink .CrashTitle}} ({{link .CrashLogLink "log"}})
Repro: {{optlink .Crash.ReproCLink "C"}} {{optlink .Crash.ReproSyzLink "syz"}} {{optlink .Crash.KernelConfigLink ".config"}}
{{end}} {{if not .Reported}}[report pending]
{{end}} {{end}} {{end}} {{/* List of fixing commits, invoked with *uiCrashTable */}} {{/* Show crashes */}} {{define "crash_list"}} {{if .}} {{if .HasMaintainers}} {{end}} {{range $b := .Crashes}} {{if $.HasMaintainers}} {{end}} {{end}}
{{.Caption}}:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C reproMaintainers
{{$b.Manager}} {{formatTime $b.Time}} {{$b.KernelAlias}} {{link $b.KernelCommitLink (formatShortHash $b.KernelCommit)}} {{link $b.SyzkallerCommitLink (formatShortHash $b.SyzkallerCommit)}} {{if $b.KernelConfigLink}}.config{{end}} {{if $b.LogLink}}log{{end}} {{if $b.ReportLink}}report{{end}} {{if $b.ReproSyzLink}}syz{{end}} {{if $b.ReproCLink}}C{{end}}{{$b.Maintainers}}
{{end}} {{end}} {{/* List of jobs, invoked with *uiJobList */}} {{define "job_list"}} {{if $.Jobs}} {{if not $.PerBug}}{{end}} {{if not $.PerBug}}{{end}} {{range $job := $.Jobs}} {{if not $.PerBug}}{{end}} {{if not $.PerBug}}{{end}} {{end}}
{{if $.PerBug}}Patch testing requests:{{else}}Recent jobs:{{end}}
BugCreated Duration User Patch RepoManagerResult
{{$job.BugTitle}}{{link $job.ExternalLink (formatTime $job.Created)}} {{formatDuration $job.Duration}}{{if gt $job.Attempts 1}} ({{$job.Attempts}}){{end}} {{if eq $job.Type 0}} {{$job.User}} {{else if eq $job.Type 1}} bisect {{else if eq $job.Type 2}} bisect fix {{end}} {{optlink $job.PatchLink "patch"}} {{$job.KernelAlias}}{{$job.Manager}} {{if $job.ErrorLink}} {{link $job.ErrorLink "error"}} {{else if $job.LogLink}} {{link $job.LogLink "log"}} ({{if $job.Commit}}1{{else}}{{len $job.Commits}}{{end}}) {{else if $job.CrashTitle}} {{optlink $job.CrashReportLink "report"}} {{optlink $job.CrashLogLink "log"}} {{else if formatTime $job.Finished}} OK {{else if formatTime $job.Started}} running {{else}} pending {{end}}
{{end}} {{end}}