Dmitry Vyukov 2b98fdbcbc dashboard/app: fix send of replies for patch testing
We used to send replies even if bug has fixing commits.
Was broken in f8368f999a1964df6d39a225cd3f5ab3942dd755
and we did not have a test. Add a test and restore old
behavior.
2020-05-08 12:29:00 +02:00
..
2020-01-29 16:01:06 +01:00
2020-01-29 16:01:06 +01:00
2020-03-27 10:43:05 +01:00
2020-01-29 16:01:06 +01:00
2018-09-20 18:29:38 +02:00
2020-01-29 16:01:06 +01:00
2020-04-29 16:32:33 +02:00

Dashboard

dashboard is an App Engine app that powers syzbot. The main deployment is at syzkaller.appspot.com.

It is so-called Standard environment Go app.
To deploy and manage the app you need to install Google Cloud SDK.
For more details about App Engine refer to the docs.

Note: The app is not stable and is not officially supported. It's here only to power the main deployment.

Here is "big" picture of a possible setup: Overall picture of syzbot setup

Note: the vector source is here; to update: make a copy of the source, edit, download a png, update the png and include a link to your vector copy into the PR.

To deploy the app you need to add a .go file with production config. The config specifies kernel namespaces, bug reporting details, API keys, etc. Tests contain a config example, but it's not ready for production use.

The app also needs one or more syz-ci instances running elsewhere. The syz-ci instances do the actual fuzzing, bisection, patch testing, etc.

The app can be deployed with gcloud app deploy/update, refer to the docs for more details.

The app tests can be run with:

go test github.com/google/syzkaller/dashboard/app

During development it's handy to use -short flag to not run the longest tests.

If any of the tests fail, use -v flag to see log of what happens and -run flag to run a single test, e.g.:

go test -short -v -run=TestEmailReport github.com/google/syzkaller/dashboard/app