From 1e30dd27eeb009adf8dfbd70ce863f5d99b5f483 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 18 Dec 2018 10:48:38 +0100 Subject: syz-ci: run syzkaller tests without sandbox pkg/vcs git tests fail with sandboxing as part of git invocations is sandboxed and part is not. --- syz-ci/syzupdater.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/syz-ci/syzupdater.go b/syz-ci/syzupdater.go index c86a678d3..66c8812a1 100644 --- a/syz-ci/syzupdater.go +++ b/syz-ci/syzupdater.go @@ -258,7 +258,10 @@ func (upd *SyzUpdater) build(commit *vcs.Commit) error { } cmd = osutil.Command("go", "test", "-short", "./...") cmd.Dir = upd.syzkallerDir - cmd.Env = append([]string{"GOPATH=" + upd.gopathDir}, os.Environ()...) + cmd.Env = append([]string{ + "GOPATH=" + upd.gopathDir, + "SYZ_DISABLE_SANDBOXING=yes", + }, os.Environ()...) if _, err := osutil.Run(time.Hour, cmd); err != nil { return osutil.PrependContext("testing failed: %v", err) } -- cgit mrf-deployment