blob: ea1eec7c90bbc4cf4cdc1193ec1e43c98e3736d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
{{define "bug_table"}}
<table class="list_table">
<caption>{{.Namespace}} ({{len $.Bugs}}):</caption>
<tr>
<th>Title</th>
<th>Count</th>
<th>Repro</th>
<th>Last</th>
<th>Status</th>
<th>Patched</th>
</tr>
{{range $b := $.Bugs}}
<tr>
<td class="title"><a href="/bug?id={{$b.ID}}">{{$b.Title}}</a></td>
<td class="count">{{$b.NumCrashes}}</td>
<td class="repro">{{formatReproLevel $b.ReproLevel}}</td>
<td class="time">{{formatTime $b.LastTime}}</td>
<td class="status">{{if $b.Link}}<a href="{{$b.Link}}">{{$b.Status}}</a>{{else}}{{$b.Status}}{{end}}</td>
<td class="patched" title="{{$b.Commits}}">{{if $b.Commits}}{{len $b.PatchedOn}}/{{len $b.MissingOn}}{{end}}</td>
</tr>
{{end}}
</table>
{{end}}
<!doctype html>
<html>
<head>
<title>Syzkaller Dashboard</title>
<link rel="stylesheet" href="/static/style.css"/>
</head>
<body>
{{template "header" .Header}}
<b>Error log:</b><br>
<textarea id="log_textarea" readonly rows="20" wrap=off>{{printf "%s" .Log}}</textarea>
<script>
var textarea = document.getElementById("log_textarea");
textarea.scrollTop = textarea.scrollHeight;
</script>
<br><br>
<table class="list_table">
<caption>Recent jobs:</caption>
<tr>
<th>Created</th>
<th>Started</th>
<th>Finished</th>
<th>User</th>
<th>Bug</th>
<th>Patch</th>
<th>Reporting</th>
<th>Manager</th>
<th>Repo</th>
<th>Result</th>
</tr>
{{range $job := $.Jobs}}
<tr>
<td class="time">{{if $job.Link}}<a href="{{$job.Link}}">{{formatTime $job.Created}}</a>{{else}}{{formatTime $job.Created}}{{end}}</td>
<td class="time">{{formatTime $job.Started}}{{if gt $job.Attempts 1}} ({{$job.Attempts}}){{end}}</td>
<td class="time">{{formatTime $job.Finished}}</td>
<td>{{$job.User}}</td>
<td class="title"><a href="/bug?id={{$job.BugID}}">{{$job.BugTitle}}</a></td>
<td><a href="{{$job.PatchLink}}">patch</a></td>
<td>{{$job.Namespace}}/{{$job.Reporting}}</td>
<td>{{$job.Manager}}</td>
<td>{{$job.KernelRepo}}/{{$job.KernelBranch}}</td>
<td>
{{if $job.ErrorLink}}
<a href="{{$job.ErrorLink}}">error</a>
{{else if $job.CrashTitle}}
{{if $job.CrashReportLink}}
<a href="{{$job.CrashReportLink}}">{{$job.CrashTitle}}</a>
{{else}}
{{$job.CrashTitle}}
{{end}}
{{if $job.CrashLogLink}}
(<a href="{{$job.CrashLogLink}}">log</a>)
{{end}}
{{else if formatTime $job.Finished}}
OK
{{else if formatTime $job.Started}}
running
{{else}}
pending
{{end}}
</td>
</tr>
{{end}}
</table>
<br><br>
{{range $g := $.BugGroups}}
{{template "bug_table" $g}} <br>
{{end}}
</body>
</html>
|