aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/static
Commit message (Collapse)AuthorAgeFilesLines
* dashboard/app: fix url generationTaras Madan2025-02-131-3/+3
| | | | | It currently generates &subsystem=null&manager=null&unique-only=null. I'd like to see &subsystem=&manager=&unique-only=
* dashboard/app: auto-disable unique coverage checkbox for "*" managersTaras Madan2025-01-291-0/+10
|
* dashboard/app: show manager unique coverageTaras Madan2025-01-271-1/+6
| | | | | | | | | | | | 1. Make heatmap testable, move out the spanner client instantiation. 2. Generate spannerdb.ReadOnlyTransaction mocks. 3. Generate spannerdb.RowIterator mocks. 4. Generate spannerdb.Row mocks. 5. Prepare spannerdb fixture. 6. Fixed html control name + value. 7. Added multiple tests. 8. Show line coverage from selected manager. 9. Propagate coverage url params to file coverage url.
* dashboard/app: coverage page allows to specify analysis duration (columns)Taras Madan2025-01-101-1/+4
|
* dashboard/app: add targeting controls to the coverage pageTaras Madan2025-01-091-1/+10
| | | | | | | | | It allows to control known parameters: 1. Period (months or days). 2. Target subsystem. 3. Target manager. And adds the disabled "Only unique" checkbox.
* dashboard/app: move coverage page js code to static fileTaras Madan2024-11-081-0/+28
| | | | | Chrome devtools allow to edit js code directly in browser. This change will speed up further development.
* pkg/html/pages: switch to go:embedDmitry Vyukov2022-05-232-401/+2
| | | | | | | | | | We use clumsy generate scripts that embed some static files. Switch to the new go:embed thing (added in Go 1.16): https://pkg.go.dev/embed It's much nicer, does not require separate generate step and does not lead to additional diffs in code reviews. go:embed can only embed "files read from the package directory or subdirectories", so we need to move these assets to the package dir.
* dashboard/app: linkify source files in sample reportsDmitry Vyukov2022-05-201-0/+4
| | | | Fixes #652
* dashboard/app: add #crash_div to style.cssAlexander Potapenko2022-05-201-0/+10
| | | | | | | | Currently we're using a TEXTAREA on the /bug page to display logs, which won't let us do fancy things like links. Replacing it with a `<div id="crash_div"><p><pre>` will allow HTML formatting.
* dasboard: add crash stats pageAleksandr Nogikh2022-02-252-0/+59
| | | | | Show top crashers for X last days. Show graph with daily shares of crashes that satisfy user-entered regexps.
* dashboard: make graphs fit on the pageAleksandr Nogikh2022-02-251-1/+0
| | | | | If we pass width: 100%, they overflow the page and force the user to scroll it. Otherwise, the graph nicely fits the screen.
* dashboard/app: add page with manager stats graphsDmitry Vyukov2021-12-061-0/+57
|
* all: adjust Kernel Build Commit column widthAleksandr Nogikh2021-07-131-1/+0
| | | | | | | | After 12 digit kernel commit hashes were introduced, it turned out that there remains one table that cannot accommodate such values. Fix this by removing the max-width property from .list_table .stat. This class is not used for data that needs to be truncated anyway.
* dashboard/app/static/style.css: make tag cell widerAleksandr Nogikh2021-07-131-2/+1
| | | | | | | 40pt is not enough for 12 byte hashes. At the same time, 60pt is more than needed for 8 byte hashes. Remove fixed width for the tag column, let only the upper limit remain.
* tools/syz-reporter: add summary and reproducer informationJouni Hogander2020-10-241-0/+1
|
* dashboard/app: show more detailed info about bisectionsDmitry Vyukov2020-10-222-1/+8
| | | | | | | | 1. Split cause/fix bisections in the bug table. 2. Show if bisection is inconclusive/unreliable in the bug table. 3. Show if bisection is unreliable on the bug page. Update #2098
* dashboard/app: add navigation buttonsDmitry Vyukov2020-07-091-0/+24
| | | | | | Currently we have only "fixed" link at the top of the page. "invalid" is missing and this is not scalable. Add natigation buttons (tabs) for main pages.
* dashboard/app: add help link for coverage reportsDmitry Vyukov2020-04-291-0/+5
|
* dashboard/app: allow main UI to show bisect resultsZubin Mithra2019-08-082-3/+2
| | | | | | | | | | | * Modify uiBug type. Rename BisectCause to BisectCauseDone. Introduce BisectFixDone. * Modify createUIBug() and MergeUIBug() to set the above fields appropriately. * Modify bug_list to display the bisection status; remove yesSort() as it is not used anymore. Adjust ".list_table .stat" to appropriate width. * Add TestBugBisectionStatus() to check bisection status on main page. * Add file from running "make generate": pkg/html/generated.go
* dashboard/app: add new faviconDmitry Vyukov2019-04-091-0/+0
| | | | | Add syzbot favicon and log. Authored by Tetsuo Handa.
* dashboard/app: split dashboard per-namespaceDmitry Vyukov2019-04-082-3/+9
| | | | | | | We now have too many namespaces and bugs. Main page takes infinity to load. Also almost nobody is interested in more than 1 namespace. So split main page per-namespaces.
* dashboard/app: properly handle build failuresDmitry Vyukov2019-03-251-0/+7
| | | | | | | | | Separate kernel and syzkaller build failures. Fix logic to understand when a build is fixed: look if kernel/syzkaller commit changes to understand if it's a new good build or re-upload of an old build. Fixes #1014
* dashboard/app, syz-ci: bisection supportDmitry Vyukov2019-03-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* dashboard/app: poll commits infoDmitry Vyukov2019-02-171-2/+11
| | | | | | | | | | | | | | | This implements 2 features: - syz-ci polls a set of additional repos to discover fixing commits sooner (e.g. it can now discover a fixing commit in netfilter tree before it reaches any of the tested trees). - syz-ci uploads info about commits to dashboard. For example, a user marks a bug as fixed by commit "foo: bar". syz-ci will find this commit in the main namespace repo and upload commmit hash/date/author to dashboard. This in turn allows to show links to fixing commits. Fixes #691 Fixes #610
* dashboard/app: enlarge stats value column for managerDmitry Vyukov2018-11-231-2/+2
| | | | When numbers become large, they may not fit into 100px.
* syz-manager: modernize web UIDmitry Vyukov2018-11-222-18/+29
| | | | | | | | | | | | 1. Use dashboard style. 2. Allow sorting of tables. 3. Show old crashes in grey. 4. Use tables instead of text output for more pages. 5. Show corpus inputs on a separate page to allow copy-pasting. 6. Use standard JS sorting instead of custom bubble sort (much faster). 7. Fix off-by one in table sorting. Fixes #694
* dashboard/app: tidy up UIDmitry Vyukov2018-09-201-2/+2
| | | | | | | Don't show maintainers for crashes if we don't have them (only linux has). Show short git hashes for kernel/syzkaller, 40 chars looks excessive (full hash is in hint). Show current build kernel/syzkaller git hash in managers table. Remove fuzzing time from managers table (does not seem too useful).
* dashboard/app: show recent crashes first after time sortingDmitry Vyukov2018-08-241-2/+5
|
* dashboard/app: Add anchor links for BugNamespacesKees Cook2018-08-241-0/+4
| | | | | | To make it possible to provide URLs that jump to a specific BugNamespace, this adds clickable anchors for each of the BugNamespaces without changing the current appearance of the h2 tag.
* dashboard/app: use CCYY/MM/DD hh:mm formatDmitry Vyukov2018-07-021-23/+0
| | | | | | | | | | Since dateSort does not take years into account, Time field of long-standing bugs is not sorted correctly. Also, it will become more useful to include year of closed date after we operate the dashboard for some years. Thus, this patch changes the format of formatTime method, and use textSort for sorting. Based on patch by Tetsuo Handa.
* dashboard/app: fix table sorting on firefoxDmitry Vyukov2018-06-191-2/+2
| | | | | | | | | | | Under Firefox 60 browser, sort operation does not work and ReferenceError: event is not defined error message is printed in the Web Console window. Let's explicitly pass an object reference to the sortTable function. Credit goes to Tetsuo Handa.
* dashboard/app: use monospace font for crash textDmitry Vyukov2018-03-221-0/+1
| | | | Fixes #545
* dashboard/app: add robots.txt stubDmitry Vyukov2018-03-211-0/+2
| | | | Now that links are public, robots started querying it.
* dashboard/app: allow sorting crash tableDmitry Vyukov2018-03-081-0/+23
| | | | Sorting at least by date may be useful.
* dashboard/app: allow sorting bug tablesDmitry Vyukov2018-02-171-0/+64
| | | | Fixes #523
* dashboard/app: finer-grained access controlDmitry Vyukov2018-02-141-4/+8
| | | | | | | | This is the bulk of work for opening dashboard. Implement finer-grained access control (admin/user/public). Show only info designated to the current user access level. Rework UIs for more clarity re bug statuses. Show fixed bug.
* dashboard/app: tidy up UIsDmitry Vyukov2018-02-011-4/+9
| | | | | Show short kernel repo/branch aliases, also slightly reshuffle and tidy up tables.
* dashboard/app: cosmetic changes to manager statsDmitry Vyukov2017-12-011-11/+8
|
* dashboard/app: show when bugs are fixed and whereDmitry Vyukov2017-11-061-0/+4
|
* dashboard/app: output more info about crashesDmitry Vyukov2017-08-081-1/+1
|
* dashboard/app: new dashboard appDmitry Vyukov2017-08-022-0/+122
The new app is based on our experience with syz-dash and is meant to supersede it. This app aims at full automation of bug lifecycle: reporting, tracking updates, closing fixed bugs. The main differences are: - this app has support for reporting bugs either by email or using an arbitrary external reporting system - this app tracks status of bugs - this app captures more info about kernel builds