aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance.go
Commit message (Collapse)AuthorAgeFilesLines
...
* pkg/instance: fix Accept error checkDmitry Vyukov2018-06-291-1/+1
|
* pkg/build: support fuchsia buildsDmitry Vyukov2018-06-281-1/+35
|
* pkg/vcs: pave way for multi-vcs supportDmitry Vyukov2018-06-271-1/+1
| | | | | Wrap current git interface in abstract interface. Provide constructor that create repo interface for the given os/vm.
* pkg/vcs: move from pkg/gitDmitry Vyukov2018-06-271-2/+2
| | | | Rename pkg/git to pkg/vcs because we need to support not only git.
* syz-fuzzer: partially revert "syz-fuzzer: fix gvisor testing"Dmitry Vyukov2018-06-261-14/+2
| | | | This breaks patch testing on syz-ci as it can use older version of syz-fuzzer.
* syz-fuzzer: fix gvisor testingDmitry Vyukov2018-06-261-3/+15
| | | | | | Testing code wasn't ready to dial stdin. Make it use the same logic rpc package uses to connecto to host.
* pkg/instance: say that gvisor can create instances out of thin airDmitry Vyukov2018-06-231-1/+1
|
* pkg/build: pave way for multi-OS supportDmitry Vyukov2018-06-221-9/+8
| | | | | | Unify kernel and image build, that distinction is really uninteresting. Define interface that each OS needs to implement. Add gvisor stub.
* pkg/build: move from pkg/kernelDmitry Vyukov2018-06-221-3/+3
| | | | Rename pkg/kernel to pkg/build and prepare for multi-OS support.
* pkg/report: allow to specify suppressions per OSDmitry Vyukov2018-06-221-5/+3
| | | | | | | | | | | | | Currently all (linux-specific) suppressions are hardcoded in mgrconfig. This is very wrong. Move them to pkg/report and allow to specify per OS. Add gvisor-specific suppressions. This required a bit of refactoring. Introduce mgrconfig.KernelObj finally. Make report.NewReporter and vm.Create accept mgrconfig directly instead of passing it as multiple scattered args. Remove tools/syz-parse and it always did the same as tools/syz-symbolize. Simplify global vars in syz-manager/cover.go. Create reporter eagerly in manager. Use sort.Slice more. Overall -90 lines removed.
* pkg/report: pass vm type to NewReporterDmitry Vyukov2018-06-221-2/+2
| | | | | For the case when VM type affects output. Will be needed for gvisor. It is kinda linux, but kinda not.
* vm: pass instance to MonitorExecutionDmitry Vyukov2018-06-221-2/+2
| | | | | It may need it later to try to obtain additional diagnostic from hanged instances.
* pkg/instance: more robust instance testingDmitry Vyukov2018-06-111-5/+6
| | | | | | | Strictly saying, we may not get the connection when the fuzzer process exits. The accepting goroutine may have not been scheduled yet. For the connection for up to 10 seconds.
* pkg/csource: allow to build source fom memoryDmitry Vyukov2018-06-061-5/+1
| | | | | | In most cases we have source in memory, so provide a function to build right from memory without creating temp files.
* pkg/kernel: allow to split full make outputDmitry Vyukov2018-05-171-2/+2
| | | | | | | | | | | Currently kernel build failures are insanely verbose (contain full kernel build output) and there is no way to separate short descriptions from full output. Make it possible. Also try to extract failure root cause froom build log. Use this in pkg/bisect to not pollute log on build failures. Update #501
* tools/create-gce-image.sh: support both nbd and loopDmitry Vyukov2018-05-171-6/+7
| | | | | Pass target OS/arch and VM type to kernel.CreateImage. Use nbd for gce and loop for qemu VM type.
* pkg/instance: relax syzkaller path checkDmitry Vyukov2018-05-141-14/+13
| | | | | | Only check that syzkaller path is in GOPATH if we are going to build it. syz-ci image testing does not have syzkaller path in GOPATH, but it also does not build syzkaller.
* pkg/instance: add package for testing of images/patches/bisectionDmitry Vyukov2018-05-141-0/+337
Move helper image/patch testing code from syz-ci/testing.go to a separate package so that it can be reused during bisection. Update #501