6 Commits

Author SHA1 Message Date
Dmitry Vyukov
c7192a2f9a syz-ci: serialize syzkaller build/test
syzkaller testing may be slowed down by concurrent kernel builds too much
and cause timeout failures, so we serialize it with other builds:
https://groups.google.com/forum/#!msg/syzkaller-openbsd-bugs/o-G3vEsyQp4/f_nFpoNKBQAJ
2020-05-28 14:11:53 +02:00
Dmitry Vyukov
ec42220e77 Makefile: generate descriptions on-the-fly
Checking in the generated descriptions files makes few things simpler,
but causes pain for pull requests: (1) PRs that touch descriptions
_always_ conflict, (2) PRs are large and harder to review,
(3) people sometimes forget to add auto-generated files.

The proposed way does not require us to hardcode lots of dependencies
in the Makefile (which is nice) and seem to work.
Let's see how it works.

The main contributor-visible consequence is that the auto-generated
files do not need to be checked-in now.

Credit for figuring the Makefile magic goes to @melver.

Fixes #1291
2020-04-30 17:18:29 +02:00
Dmitry Vyukov
b6ed147834 prog: dump orig prog if Deserialize panics
We are seeing some one-off panics during Deserialization
and it's unclear if it's machine memory corrpution or
an actual bug in prog. I leam towards machine memory corruption
but it's impossible to prove without seeing the orig program.

Move git revision to prog and it's more base package
(sys can import prog, prog can't import sys).
2020-02-21 10:22:07 +01:00
Dmitry Vyukov
52a20ba400 dashboard/app: properly handle build failures
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
2019-03-25 17:00:25 +01:00
Dmitry Vyukov
c1fd2f3b4a syz-ci: fix formatting of error message
PrependContext prepends the string rather than format.
2019-03-17 18:06:44 +01:00
Dmitry Vyukov
8fb18735b7 syz-ci: move GOPATH/GOROOT setup to main
GOPATH/GOROOT are also needed for jobs.
Updater can be disabled with -autoupdate=0,
so move GOPATH/GOROOT setup to main.

Update #501
2019-03-17 18:06:44 +01:00