2017-12-04 08:00:28 +00:00
|
|
|
{{/*
|
|
|
|
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.
|
|
|
|
*/}}
|
|
|
|
|
2018-03-21 12:46:45 +00:00
|
|
|
{{/* Common page head part, invoked with *uiHeader */}}
|
|
|
|
{{define "head"}}
|
|
|
|
<link rel="stylesheet" href="/static/style.css"/>
|
2019-04-05 15:59:52 +00:00
|
|
|
{{if .Redirects}}
|
|
|
|
<script>
|
|
|
|
{{range $redir := .Redirects}}
|
|
|
|
if (window.location.hash == "{{$redir.From}}") {
|
|
|
|
window.location.href = "{{$redir.To}}";
|
|
|
|
}
|
|
|
|
{{end}}
|
|
|
|
</script>
|
|
|
|
{{end}}
|
2018-03-21 12:46:45 +00:00
|
|
|
<script src="/static/common.js"></script>
|
|
|
|
{{if .AnalyticsTrackingID}}
|
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{.AnalyticsTrackingID}}"></script>
|
|
|
|
<script>
|
|
|
|
window.dataLayer = window.dataLayer || [];
|
|
|
|
function gtag() { dataLayer.push(arguments); }
|
|
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', '{{.AnalyticsTrackingID}}');
|
|
|
|
</script>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
|
2018-02-01 15:20:13 +00:00
|
|
|
{{/* Common page header, invoked with *uiHeader */}}
|
|
|
|
{{define "header"}}
|
|
|
|
<header id="topbar">
|
|
|
|
<table class="position_table">
|
|
|
|
<tr>
|
|
|
|
<td>
|
2019-04-05 15:59:52 +00:00
|
|
|
<h1><a href="/{{$.Namespace}}">syzbot</a></h1>
|
|
|
|
<select class="namespace" onchange="window.location.href = '/' + this.value + '{{.Subpage}}';">
|
|
|
|
{{range $ns := .Namespaces}}
|
|
|
|
<option value="{{$ns.Name}}" {{if eq $.Namespace $ns.Name}}selected="1"{{end}}>
|
|
|
|
{{$ns.Caption}}
|
|
|
|
</option>
|
|
|
|
{{end}}
|
|
|
|
</select>
|
2018-02-01 15:20:13 +00:00
|
|
|
</td>
|
|
|
|
<td class="search">
|
2019-04-05 14:00:20 +00:00
|
|
|
{{if .Admin}}
|
|
|
|
<a href="/admin">admin</a> |
|
|
|
|
{{end}}
|
2018-02-13 19:13:00 +00:00
|
|
|
{{if .LoginLink}}
|
|
|
|
<a href="{{.LoginLink}}">sign-in</a> |
|
|
|
|
{{end}}
|
2018-02-01 15:20:13 +00:00
|
|
|
<a href="https://groups.google.com/forum/#!forum/syzkaller" target="_blank">mailing list</a> |
|
2018-02-13 19:13:00 +00:00
|
|
|
<a href="https://github.com/google/syzkaller" target="_blank">source</a> |
|
|
|
|
<a href="https://github.com/google/syzkaller/blob/master/docs/syzbot.md" target="_blank">docs</a>
|
2018-02-01 15:20:13 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</header>
|
|
|
|
<br>
|
|
|
|
{{end}}
|
|
|
|
|
2017-12-04 08:00:28 +00:00
|
|
|
{{/* List of bugs, invoked with *uiBugGroup */}}
|
|
|
|
{{define "bug_list"}}
|
|
|
|
{{if .}}
|
|
|
|
{{if .Bugs}}
|
2018-02-13 19:13:00 +00:00
|
|
|
<table class="list_table">
|
dashboard/app, syz-ci: bisection support
This adds bulk of support for bisection to dashboard/app and syz-ci:
- APIs to send bisection jobs and accept results
- syz-ci logic to execute bisection jobs
- formatting of emails with results
- showing of results on dashboard
Some difficulties we have to overcome:
- since linux is frequently build/boot broken, lots of bisections are inconclusive,
need to present such results too
- git bisect is poorly suitable for automation, have to resort to output parsing (is output stable?)
- git bisect turns out to fail (exit with non-0 status) when bisection is inconclusive
(multiple potential cause commits)
- older syzkaller revisions can't be built with newer (broken) kernel header, e.g.:
ebtables.h:197:19: error: invalid conversion from ‘void*’ to ‘ebt_entry_target*’
- newer compilers produce more warnings and break old syzkaller builds, e.g.:
kvm.S.h:6:12: error: ‘kvm_asm64_vm86’ defined but not used [-Werror=unused-const-variable=]
- figuring relevant emails to CC from a commit is non-trivial:
besides commit author, there can be some emails in commit tags, or not,
which tags to use is an interesting question (some may include irrelevant emails)
we can also run get_maintainers.pl on the commit, but this can produce too wide
list if commit touches lots of files, it can also produce too small list,
and then we need to resort to blame
- for inconclusive bisection we probably don't need to include emails referenced
in the commits (there can be too many of these commits)
- need to be careful to exclude own syzbot email from commit CC list,
now syzbot emails are referenced in some commits (Reported-by/Tested-by/etc)
(can cause some kind of infinite recursion)
- lots of commits reference stable mailing list,
we should not include it in CC because it's referenced for backports rather then bug reports
- since we add new Bug entity fields which we use in queries,
whole datastore need to be upgrades to add the new field to index
- we must not discard the crash that was used for bisection
(treat it as a reported crash)
- bisection results need 2 forms of reports:
one when we add bisection results to already reported bug
another when we report a bug first time with bisection results
- when reporting a bug with bisection results we need to use the crash
that was used for bisection
- some fraction of bisections will probably fail with various errors
and we will need some mechanism to retry bisection after the root cause is resolved
this is not implemented yet
- linux-next is problematic for 2 reasons:
fix bisection can't possibly run on linux-next as commits are not reachable from HEAD
lots of commits are missing in linux-next (even in linux-next-history)
e.g. we have some c63e9e91a254a52 which is now missing in linux-next/linux-next-history
- older kernels can't be build with fresh gcc/binutils/perl/make/glibc
for now we have to stop at v3.9 (this only requires switching gcc several times along the way)
- kernels past v4.11 do not build with gcc 7 and 8 (undefined reference to `____ilog2_NaN')
- v4.1 and back have only compiler-gcc5.h
- v3.17 and back have only compiler-gcc4.h
- v3.6 and back do not have make olddefconfig
- compat socket calls can't be bisected past "x86/entry/syscalls: Wire up 32-bit
direct socket calls" (v4.10) because of
https://syzkaller.appspot.com/bug?id=b5b150e322d5f48c869bcf1528cdbee08d1421cb
- v2.6.28 and below does not work with modern make:
*** mixed implicit and normal rules: deprecated syntax
- v3.8 build fails:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
kernel/Makefile:134: recipe for target 'kernel/timeconst.h' failed
- make 3.81 works for v2.6.28.
3.81 almost works with current HEAD, you need to run make twice because first run spuriously fails with:
- v2.6.28 with gcc-4.9.4 broken with:
include/linux/kvm.h:240:9: error: duplicate member ‘padding’
- but even defconfig fails:
VDSO arch/x86/vdso/vdso.so.dbg
gcc: error: elf_x86_64: No such file or directory
gcc: error: unrecognized command line option ‘-m’
It seems that we also need old binutils.
- for v3.8 and below we need perl-5.14.4.
Unfortunately this or any manually built perl doesn't work for later kernels:
Can't locate strict.pm in @INC
- kernels starting from 4.14 and older are boot broken:
https://lkml.org/lkml/2018/9/7/648
- kernels older than 4.12 are broken during netdev setup
(fixed by commit 675c8da049fd6556eb2d6cdd745fe812752f07a8)
Update #501
2019-03-02 08:45:27 +00:00
|
|
|
{{if $.Fragment}}
|
2019-04-05 15:59:52 +00:00
|
|
|
<caption id="{{$.Fragment}}"><a class="plain" href="#{{$.Fragment}}">
|
dashboard/app, syz-ci: bisection support
This adds bulk of support for bisection to dashboard/app and syz-ci:
- APIs to send bisection jobs and accept results
- syz-ci logic to execute bisection jobs
- formatting of emails with results
- showing of results on dashboard
Some difficulties we have to overcome:
- since linux is frequently build/boot broken, lots of bisections are inconclusive,
need to present such results too
- git bisect is poorly suitable for automation, have to resort to output parsing (is output stable?)
- git bisect turns out to fail (exit with non-0 status) when bisection is inconclusive
(multiple potential cause commits)
- older syzkaller revisions can't be built with newer (broken) kernel header, e.g.:
ebtables.h:197:19: error: invalid conversion from ‘void*’ to ‘ebt_entry_target*’
- newer compilers produce more warnings and break old syzkaller builds, e.g.:
kvm.S.h:6:12: error: ‘kvm_asm64_vm86’ defined but not used [-Werror=unused-const-variable=]
- figuring relevant emails to CC from a commit is non-trivial:
besides commit author, there can be some emails in commit tags, or not,
which tags to use is an interesting question (some may include irrelevant emails)
we can also run get_maintainers.pl on the commit, but this can produce too wide
list if commit touches lots of files, it can also produce too small list,
and then we need to resort to blame
- for inconclusive bisection we probably don't need to include emails referenced
in the commits (there can be too many of these commits)
- need to be careful to exclude own syzbot email from commit CC list,
now syzbot emails are referenced in some commits (Reported-by/Tested-by/etc)
(can cause some kind of infinite recursion)
- lots of commits reference stable mailing list,
we should not include it in CC because it's referenced for backports rather then bug reports
- since we add new Bug entity fields which we use in queries,
whole datastore need to be upgrades to add the new field to index
- we must not discard the crash that was used for bisection
(treat it as a reported crash)
- bisection results need 2 forms of reports:
one when we add bisection results to already reported bug
another when we report a bug first time with bisection results
- when reporting a bug with bisection results we need to use the crash
that was used for bisection
- some fraction of bisections will probably fail with various errors
and we will need some mechanism to retry bisection after the root cause is resolved
this is not implemented yet
- linux-next is problematic for 2 reasons:
fix bisection can't possibly run on linux-next as commits are not reachable from HEAD
lots of commits are missing in linux-next (even in linux-next-history)
e.g. we have some c63e9e91a254a52 which is now missing in linux-next/linux-next-history
- older kernels can't be build with fresh gcc/binutils/perl/make/glibc
for now we have to stop at v3.9 (this only requires switching gcc several times along the way)
- kernels past v4.11 do not build with gcc 7 and 8 (undefined reference to `____ilog2_NaN')
- v4.1 and back have only compiler-gcc5.h
- v3.17 and back have only compiler-gcc4.h
- v3.6 and back do not have make olddefconfig
- compat socket calls can't be bisected past "x86/entry/syscalls: Wire up 32-bit
direct socket calls" (v4.10) because of
https://syzkaller.appspot.com/bug?id=b5b150e322d5f48c869bcf1528cdbee08d1421cb
- v2.6.28 and below does not work with modern make:
*** mixed implicit and normal rules: deprecated syntax
- v3.8 build fails:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
kernel/Makefile:134: recipe for target 'kernel/timeconst.h' failed
- make 3.81 works for v2.6.28.
3.81 almost works with current HEAD, you need to run make twice because first run spuriously fails with:
- v2.6.28 with gcc-4.9.4 broken with:
include/linux/kvm.h:240:9: error: duplicate member ‘padding’
- but even defconfig fails:
VDSO arch/x86/vdso/vdso.so.dbg
gcc: error: elf_x86_64: No such file or directory
gcc: error: unrecognized command line option ‘-m’
It seems that we also need old binutils.
- for v3.8 and below we need perl-5.14.4.
Unfortunately this or any manually built perl doesn't work for later kernels:
Can't locate strict.pm in @INC
- kernels starting from 4.14 and older are boot broken:
https://lkml.org/lkml/2018/9/7/648
- kernels older than 4.12 are broken during netdev setup
(fixed by commit 675c8da049fd6556eb2d6cdd745fe812752f07a8)
Update #501
2019-03-02 08:45:27 +00:00
|
|
|
{{else}}
|
2019-04-05 15:59:52 +00:00
|
|
|
<caption>
|
dashboard/app, syz-ci: bisection support
This adds bulk of support for bisection to dashboard/app and syz-ci:
- APIs to send bisection jobs and accept results
- syz-ci logic to execute bisection jobs
- formatting of emails with results
- showing of results on dashboard
Some difficulties we have to overcome:
- since linux is frequently build/boot broken, lots of bisections are inconclusive,
need to present such results too
- git bisect is poorly suitable for automation, have to resort to output parsing (is output stable?)
- git bisect turns out to fail (exit with non-0 status) when bisection is inconclusive
(multiple potential cause commits)
- older syzkaller revisions can't be built with newer (broken) kernel header, e.g.:
ebtables.h:197:19: error: invalid conversion from ‘void*’ to ‘ebt_entry_target*’
- newer compilers produce more warnings and break old syzkaller builds, e.g.:
kvm.S.h:6:12: error: ‘kvm_asm64_vm86’ defined but not used [-Werror=unused-const-variable=]
- figuring relevant emails to CC from a commit is non-trivial:
besides commit author, there can be some emails in commit tags, or not,
which tags to use is an interesting question (some may include irrelevant emails)
we can also run get_maintainers.pl on the commit, but this can produce too wide
list if commit touches lots of files, it can also produce too small list,
and then we need to resort to blame
- for inconclusive bisection we probably don't need to include emails referenced
in the commits (there can be too many of these commits)
- need to be careful to exclude own syzbot email from commit CC list,
now syzbot emails are referenced in some commits (Reported-by/Tested-by/etc)
(can cause some kind of infinite recursion)
- lots of commits reference stable mailing list,
we should not include it in CC because it's referenced for backports rather then bug reports
- since we add new Bug entity fields which we use in queries,
whole datastore need to be upgrades to add the new field to index
- we must not discard the crash that was used for bisection
(treat it as a reported crash)
- bisection results need 2 forms of reports:
one when we add bisection results to already reported bug
another when we report a bug first time with bisection results
- when reporting a bug with bisection results we need to use the crash
that was used for bisection
- some fraction of bisections will probably fail with various errors
and we will need some mechanism to retry bisection after the root cause is resolved
this is not implemented yet
- linux-next is problematic for 2 reasons:
fix bisection can't possibly run on linux-next as commits are not reachable from HEAD
lots of commits are missing in linux-next (even in linux-next-history)
e.g. we have some c63e9e91a254a52 which is now missing in linux-next/linux-next-history
- older kernels can't be build with fresh gcc/binutils/perl/make/glibc
for now we have to stop at v3.9 (this only requires switching gcc several times along the way)
- kernels past v4.11 do not build with gcc 7 and 8 (undefined reference to `____ilog2_NaN')
- v4.1 and back have only compiler-gcc5.h
- v3.17 and back have only compiler-gcc4.h
- v3.6 and back do not have make olddefconfig
- compat socket calls can't be bisected past "x86/entry/syscalls: Wire up 32-bit
direct socket calls" (v4.10) because of
https://syzkaller.appspot.com/bug?id=b5b150e322d5f48c869bcf1528cdbee08d1421cb
- v2.6.28 and below does not work with modern make:
*** mixed implicit and normal rules: deprecated syntax
- v3.8 build fails:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
kernel/Makefile:134: recipe for target 'kernel/timeconst.h' failed
- make 3.81 works for v2.6.28.
3.81 almost works with current HEAD, you need to run make twice because first run spuriously fails with:
- v2.6.28 with gcc-4.9.4 broken with:
include/linux/kvm.h:240:9: error: duplicate member ‘padding’
- but even defconfig fails:
VDSO arch/x86/vdso/vdso.so.dbg
gcc: error: elf_x86_64: No such file or directory
gcc: error: unrecognized command line option ‘-m’
It seems that we also need old binutils.
- for v3.8 and below we need perl-5.14.4.
Unfortunately this or any manually built perl doesn't work for later kernels:
Can't locate strict.pm in @INC
- kernels starting from 4.14 and older are boot broken:
https://lkml.org/lkml/2018/9/7/648
- kernels older than 4.12 are broken during netdev setup
(fixed by commit 675c8da049fd6556eb2d6cdd745fe812752f07a8)
Update #501
2019-03-02 08:45:27 +00:00
|
|
|
{{end}}
|
2019-04-05 15:59:52 +00:00
|
|
|
{{$.Caption}} ({{len $.Bugs}}):
|
|
|
|
{{if $.Fragment}}</a>{{end}}
|
|
|
|
</caption>
|
|
|
|
<thead>
|
2017-12-04 08:00:28 +00:00
|
|
|
<tr>
|
2018-02-15 12:30:16 +00:00
|
|
|
{{if $.ShowNamespace}}
|
2018-06-19 11:06:02 +00:00
|
|
|
<th><a onclick="return sortTable(this, 'Kernel', textSort)" href="#">Kernel</a></th>
|
2018-02-15 12:30:16 +00:00
|
|
|
{{end}}
|
2018-06-19 11:06:02 +00:00
|
|
|
<th><a onclick="return sortTable(this, 'Title', textSort)" href="#">Title</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Repro', reproSort)" href="#">Repro</a></th>
|
2019-08-01 22:19:59 +00:00
|
|
|
<th><a onclick="return sortTable(this, 'Bisected', textSort)" href="#">Bisected</a></th>
|
2018-06-19 11:06:02 +00:00
|
|
|
<th><a onclick="return sortTable(this, 'Count', numSort)" href="#">Count</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Last', timeSort)" href="#">Last</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Reported', timeSort)" href="#">Reported</a></th>
|
2018-02-13 19:13:00 +00:00
|
|
|
{{if $.ShowPatch}}
|
2018-06-19 11:06:02 +00:00
|
|
|
<th><a onclick="return sortTable(this, 'Closed', timeSort)" href="#">Closed</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Patch', textSort)" href="#">Patch</a></th>
|
2018-02-15 12:30:16 +00:00
|
|
|
{{end}}
|
|
|
|
{{if $.ShowPatched}}
|
2018-06-19 11:06:02 +00:00
|
|
|
<th><a onclick="return sortTable(this, 'Patched', patchedSort)" href="#">Patched</a></th>
|
2018-02-15 12:30:16 +00:00
|
|
|
{{end}}
|
|
|
|
{{if $.ShowStatus}}
|
2018-06-19 11:06:02 +00:00
|
|
|
<th><a onclick="return sortTable(this, 'Status', textSort)" href="#">Status</a></th>
|
2018-02-13 19:13:00 +00:00
|
|
|
{{end}}
|
2017-12-04 08:00:28 +00:00
|
|
|
</tr>
|
2019-04-05 15:59:52 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2017-12-04 08:00:28 +00:00
|
|
|
{{range $b := .Bugs}}
|
|
|
|
<tr>
|
|
|
|
{{if $.ShowNamespace}}<td>{{$b.Namespace}}</td>{{end}}
|
|
|
|
<td class="title"><a href="{{$b.Link}}">{{$b.Title}}</a></td>
|
|
|
|
<td class="stat">{{formatReproLevel $b.ReproLevel}}</td>
|
2019-08-01 22:19:59 +00:00
|
|
|
<td class="stat">
|
|
|
|
{{if and $b.BisectCauseDone $b.BisectFixDone}}
|
|
|
|
cause+fix
|
|
|
|
{{else if $b.BisectCauseDone}}
|
|
|
|
cause
|
|
|
|
{{else if $b.BisectFixDone}}
|
|
|
|
fix
|
|
|
|
{{end}}
|
|
|
|
</td>
|
2018-02-13 19:13:00 +00:00
|
|
|
<td class="stat {{if $b.NumCrashesBad}}bad{{end}}">{{$b.NumCrashes}}</td>
|
2017-12-04 08:00:28 +00:00
|
|
|
<td class="stat">{{formatLateness $.Now $b.LastTime}}</td>
|
2018-02-13 19:13:00 +00:00
|
|
|
<td class="stat">
|
|
|
|
{{if $b.ExternalLink}}
|
|
|
|
<a href="{{$b.ExternalLink}}">{{formatLateness $.Now $b.ReportedTime}}</a>
|
|
|
|
{{else}}
|
|
|
|
{{formatLateness $.Now $b.ReportedTime}}
|
|
|
|
{{end}}
|
|
|
|
</td>
|
|
|
|
{{if $.ShowPatch}}
|
|
|
|
<td class="stat">{{formatLateness $.Now $b.ClosedTime}}</td>
|
2019-02-14 09:35:03 +00:00
|
|
|
<td class="commit_list">{{template "fix_commits" $b.Commits}}</td>
|
2018-02-13 19:13:00 +00:00
|
|
|
{{end}}
|
|
|
|
{{if $.ShowPatched}}
|
2019-02-14 09:35:03 +00:00
|
|
|
<td class="patched" {{if $b.Commits}}title="{{with $com := index $b.Commits 0}}{{$com.Title}}{{end}}"{{end}}>{{len $b.PatchedOn}}/{{$b.NumManagers}}</td>
|
2018-02-13 19:13:00 +00:00
|
|
|
{{end}}
|
|
|
|
{{if $.ShowStatus}}
|
|
|
|
<td class="status">
|
|
|
|
{{if $b.ExternalLink}}
|
|
|
|
<a href="{{$b.ExternalLink}}">{{$b.Status}}</a>
|
|
|
|
{{else}}
|
|
|
|
{{$b.Status}}
|
|
|
|
{{end}}
|
|
|
|
</td>
|
|
|
|
{{end}}
|
2017-12-04 08:00:28 +00:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
2019-04-05 15:59:52 +00:00
|
|
|
</tbody>
|
2017-12-04 08:00:28 +00:00
|
|
|
</table>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2018-11-22 14:07:17 +00:00
|
|
|
|
|
|
|
{{/* List of managers, invoked with []*uiManager */}}
|
|
|
|
{{define "manager_list"}}
|
|
|
|
{{if .}}
|
|
|
|
<table class="list_table">
|
2019-04-05 15:59:52 +00:00
|
|
|
<caption id="managers"><a class="plain" href="managers">Instances:</a></caption>
|
|
|
|
<thead>
|
2018-11-22 14:07:17 +00:00
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Active</th>
|
|
|
|
<th>Uptime</th>
|
|
|
|
<th>Corpus</th>
|
|
|
|
<th>Coverage</th>
|
|
|
|
<th>Crashes</th>
|
|
|
|
<th>Execs</th>
|
2019-03-22 17:38:28 +00:00
|
|
|
<th colspan="3">Kernel build</th>
|
|
|
|
<th colspan="3">syzkaller build</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th>Commit</th>
|
|
|
|
<th>Freshness</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Commit</th>
|
|
|
|
<th>Freshness</th>
|
|
|
|
<th>Status</th>
|
2018-11-22 14:07:17 +00:00
|
|
|
</tr>
|
2019-04-05 15:59:52 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2018-11-22 14:07:17 +00:00
|
|
|
{{range $mgr := .}}
|
|
|
|
<tr>
|
2019-03-22 17:38:28 +00:00
|
|
|
<td>{{link $mgr.Link $mgr.Name}}</td>
|
2018-11-22 14:07:17 +00:00
|
|
|
<td class="stat {{if $mgr.LastActiveBad}}bad{{end}}">{{formatLateness $mgr.Now $mgr.LastActive}}</td>
|
|
|
|
<td class="stat">{{formatDuration $mgr.CurrentUpTime}}</td>
|
|
|
|
<td class="stat">{{formatStat $mgr.MaxCorpus}}</td>
|
|
|
|
<td class="stat">
|
|
|
|
{{if $mgr.CoverLink}}
|
|
|
|
<a href="{{$mgr.CoverLink}}" target="_blank">
|
|
|
|
{{end}}
|
|
|
|
{{formatStat $mgr.MaxCover}}
|
|
|
|
{{if $mgr.CoverLink}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</td>
|
|
|
|
<td class="stat">{{formatStat $mgr.TotalCrashes}}</td>
|
2019-03-22 17:38:28 +00:00
|
|
|
{{if $mgr.TotalExecs}}
|
|
|
|
<td class="stat">{{formatStat $mgr.TotalExecs}}</td>
|
|
|
|
{{else}}
|
|
|
|
<td class="stat bad">broken</td>
|
|
|
|
{{end}}
|
|
|
|
{{with $build := $mgr.CurrentBuild}}
|
|
|
|
<td class="stat" title="[{{$build.KernelAlias}}] {{$build.KernelCommitTitle}}">{{link $build.KernelCommitLink (formatShortHash $build.KernelCommit)}}</td>
|
|
|
|
<td class="stat" title="{{formatTime $build.KernelCommitDate}}" {{if $mgr.FailedBuildBugLink}}class="bad"{{end}}>{{formatLateness $mgr.Now $build.KernelCommitDate}}</td>
|
|
|
|
<td class="stat">{{if $mgr.FailedBuildBugLink}}<a href="{{$mgr.FailedBuildBugLink}}" class="bad">failing</a>{{end}}</td>
|
|
|
|
<td class="stat">{{link $build.SyzkallerCommitLink (formatShortHash $build.SyzkallerCommit)}}</td>
|
|
|
|
<td class="stat" title="{{formatTime $build.SyzkallerCommitDate}}" {{if $mgr.FailedSyzBuildBugLink}}class="bad"{{end}}>{{formatLateness $mgr.Now $build.SyzkallerCommitDate}}</td>
|
|
|
|
<td class="stat">{{if $mgr.FailedSyzBuildBugLink}}<a href="{{$mgr.FailedSyzBuildBugLink}}" class="bad">failing</a>{{end}}</td>
|
|
|
|
{{else}}
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
{{end}}
|
2018-11-22 14:07:17 +00:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
2019-04-05 15:59:52 +00:00
|
|
|
</tbody>
|
2018-11-22 14:07:17 +00:00
|
|
|
</table>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2019-02-14 09:35:03 +00:00
|
|
|
|
|
|
|
{{/* List of fixing commits, invoked with []*uiCommit */}}
|
|
|
|
{{define "fix_commits"}}
|
|
|
|
{{range $com := .}}
|
|
|
|
<span class="mono">
|
|
|
|
{{if $com.Hash}}
|
|
|
|
{{formatShortHash $com.Hash}}
|
|
|
|
{{end}}
|
|
|
|
{{link $com.Link $com.Title}}
|
|
|
|
</span>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2019-08-01 20:53:11 +00:00
|
|
|
|
2019-10-04 15:51:16 +00:00
|
|
|
{{/* Bisection result, invoked with *uiJob */}}
|
2019-08-01 20:53:11 +00:00
|
|
|
{{/* Show bisection results */}}
|
|
|
|
{{define "bisect_results"}}
|
|
|
|
{{if .}}
|
2019-11-07 11:37:52 +00:00
|
|
|
<br>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{$causeJob := 1}}
|
|
|
|
{{$fixJob := 2}}
|
|
|
|
{{if .ErrorLink}}
|
2019-11-07 10:02:32 +00:00
|
|
|
{{if eq .Type $causeJob}}
|
|
|
|
<b>Cause bisection: failed</b>
|
|
|
|
{{else if eq .Type $fixJob}}
|
|
|
|
<b>Fix bisection: failed</b>
|
|
|
|
{{end}}
|
2019-08-01 20:53:11 +00:00
|
|
|
({{link .LogLink "bisect log"}})</b><br>
|
|
|
|
{{else if .Commit}}
|
|
|
|
{{if eq .Type $causeJob}}
|
2019-11-07 10:02:32 +00:00
|
|
|
<b>Cause bisection: introduced by</b>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{else if eq .Type $fixJob}}
|
2019-11-07 10:02:32 +00:00
|
|
|
<b>Fix bisection: fixed by</b>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{end}}
|
2019-08-08 16:14:01 +00:00
|
|
|
<b>({{link .LogLink "bisect log"}}):</b><br>
|
2019-08-01 20:53:11 +00:00
|
|
|
<br><span class="mono">
|
|
|
|
commit {{.Commit.Hash}}<br>
|
|
|
|
Author: {{.Commit.Author}}<br>
|
|
|
|
Date: {{formatKernelTime .Commit.Date}}<br>
|
|
|
|
<br>
|
|
|
|
{{.Commit.Title}}<br>
|
|
|
|
</span><br>
|
|
|
|
{{else if .Commits}}
|
|
|
|
{{if eq .Type $causeJob}}
|
2019-11-07 10:02:32 +00:00
|
|
|
<b>Cause bisection: the cause commit could be any of</b>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{else if eq .Type $fixJob}}
|
2019-11-07 10:02:32 +00:00
|
|
|
<b>Fix bisection: the fix commit could be any of</b>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{end}}
|
2019-08-08 16:14:01 +00:00
|
|
|
<b>({{link .LogLink "bisect log"}}):</b><br>
|
2019-08-01 20:53:11 +00:00
|
|
|
<br><span class="mono">
|
|
|
|
{{range $com := .Commits}}
|
|
|
|
{{formatTagHash $com.Hash}} {{$com.Title}}<br>
|
|
|
|
{{end}}
|
2019-08-08 16:14:01 +00:00
|
|
|
</span>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{else}}
|
|
|
|
{{if eq .Type $causeJob}}
|
2019-11-07 10:02:32 +00:00
|
|
|
<b>Cause bisection: the bug happens on the oldest tested release</b>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{else if eq .Type $fixJob}}
|
2019-11-07 10:02:32 +00:00
|
|
|
<b>Fix bisection: the bug occurs on the latest tested release</b>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{end}}
|
2019-08-08 16:14:01 +00:00
|
|
|
<br>
|
2019-08-01 20:53:11 +00:00
|
|
|
{{end}}
|
|
|
|
{{if .CrashLogLink}}
|
|
|
|
Crash: {{link .CrashReportLink .CrashTitle}} ({{link .CrashLogLink "log"}})<br>
|
|
|
|
Repro: {{optlink .Crash.ReproCLink "C"}}
|
|
|
|
{{optlink .Crash.ReproSyzLink "syz"}}
|
|
|
|
{{optlink .Crash.KernelConfigLink ".config"}}<br>
|
|
|
|
{{end}}
|
2019-11-07 13:27:46 +00:00
|
|
|
{{if not .Reported}}[report pending]<br>{{end}}
|
2019-08-01 20:53:11 +00:00
|
|
|
{{end}}
|
2019-08-08 16:14:01 +00:00
|
|
|
{{end}}
|
2019-10-04 15:51:16 +00:00
|
|
|
|
|
|
|
{{/* List of fixing commits, invoked with *uiCrashTable */}}
|
|
|
|
{{/* Show crashes */}}
|
|
|
|
{{define "crash_list"}}
|
|
|
|
{{if .}}
|
|
|
|
<table class="list_table">
|
2019-10-04 16:02:27 +00:00
|
|
|
<caption>{{.Caption}}:</caption>
|
2019-10-04 15:51:16 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><a onclick="return sortTable(this, 'Manager', textSort)" href="#">Manager</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Time', textSort, true)" href="#">Time</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Kernel', textSort)" href="#">Kernel</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Commit', textSort)" href="#">Commit</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Syzkaller', textSort)" href="#">Syzkaller</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Config', textSort)" href="#">Config</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Log', textSort)" href="#">Log</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Report', reproSort)" href="#">Report</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'Syz repro', reproSort)" href="#">Syz repro</a></th>
|
|
|
|
<th><a onclick="return sortTable(this, 'C repro', textSort)" href="#">C repro</a></th>
|
|
|
|
{{if .HasMaintainers}}
|
|
|
|
<th><a onclick="return sortTable(this, 'Maintainers', textSort)" href="#">Maintainers</a></th>
|
|
|
|
{{end}}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{range $b := .Crashes}}
|
|
|
|
<tr>
|
|
|
|
<td class="manager">{{$b.Manager}}</td>
|
|
|
|
<td class="time">{{formatTime $b.Time}}</td>
|
|
|
|
<td class="kernel" title="{{$b.KernelAlias}}">{{$b.KernelAlias}}</td>
|
|
|
|
<td class="tag" title="{{$b.KernelCommit}}
|
|
|
|
{{formatTime $b.KernelCommitDate}}">{{link $b.KernelCommitLink (formatShortHash $b.KernelCommit)}}</td>
|
|
|
|
<td class="tag">{{link $b.SyzkallerCommitLink (formatShortHash $b.SyzkallerCommit)}}</td>
|
|
|
|
<td class="config">{{if $b.KernelConfigLink}}<a href="{{$b.KernelConfigLink}}">.config</a>{{end}}</td>
|
|
|
|
<td class="repro">{{if $b.LogLink}}<a href="{{$b.LogLink}}">log</a>{{end}}</td>
|
|
|
|
<td class="repro">{{if $b.ReportLink}}<a href="{{$b.ReportLink}}">report</a>{{end}}</td>
|
|
|
|
<td class="repro">{{if $b.ReproSyzLink}}<a href="{{$b.ReproSyzLink}}">syz</a>{{end}}</td>
|
|
|
|
<td class="repro">{{if $b.ReproCLink}}<a href="{{$b.ReproCLink}}">C</a>{{end}}</td>
|
|
|
|
{{if $.HasMaintainers}}
|
|
|
|
<td class="maintainers" title="{{$b.Maintainers}}">{{$b.Maintainers}}</td>
|
|
|
|
{{end}}
|
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|