Starting local Bazel server and connecting to it... Loading: (1 packages loaded) Loading: 1 packages loaded Analyzing: target //runsc:runsc-race (2 packages loaded) Analyzing: target //runsc:runsc-race (2 packages loaded, 0 targets configured) Analyzing: target //runsc:runsc-race (12 packages loaded, 6 targets configured) Analyzing: target //runsc:runsc-race (46 packages loaded, 6920 targets configured) Analyzing: target //runsc:runsc-race (264 packages loaded, 8536 targets configured) Analyzing: target //runsc:runsc-race (336 packages loaded, 11189 targets configured) INFO: Analyzed target //runsc:runsc-race (336 packages loaded, 11189 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [95 / 1,303] checking cached actions [1,235 / 1,303] GoCompilePkg pkg/tcpip/stack/stack.a; 1s linux-sandbox [1,254 / 1,303] GoCompilePkg pkg/sentry/kernel/kernel.a; 1s linux-sandbox ... (2 actions running) ERROR: /syzkaller/managers/ptrace-3-race/kernel/pkg/sentry/fsimpl/fuse/BUILD:29:11: GoCompilePkg pkg/sentry/fsimpl/fuse/fuse.a failed (Exit 2): builder failed: error executing command (cd /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/sandbox/linux-sandbox/27/execroot/__main__ && \ exec env - \ CGO_ENABLED=1 \ GOARCH=amd64 \ GOOS=linux \ GOPATH='' \ GOROOT=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/external/io_bazel_rules_go/stdlib_ \ GOROOT_FINAL=GOROOT \ PATH=/usr/bin:/bin \ bazel-out/host/bin/external/go_sdk/builder compilepkg -sdk external/go_sdk -installsuffix linux_amd64_race -tags race -src pkg/sentry/fsimpl/fuse/connection.go -src pkg/sentry/fsimpl/fuse/connection_control.go -src pkg/sentry/fsimpl/fuse/dev.go -src pkg/sentry/fsimpl/fuse/directory.go -src pkg/sentry/fsimpl/fuse/file.go -src pkg/sentry/fsimpl/fuse/fusefs.go -src bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/inode_refs.go -src pkg/sentry/fsimpl/fuse/read_write.go -src pkg/sentry/fsimpl/fuse/register.go -src pkg/sentry/fsimpl/fuse/regular_file.go -src bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/request_list.go -src pkg/sentry/fsimpl/fuse/request_response.go -src bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/fuse_state_autogen.go -arc 'gvisor.dev/gvisor/pkg/abi/linux=gvisor.dev/gvisor/pkg/abi/linux=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/abi/linux/linux.x' -arc 'gvisor.dev/gvisor/pkg/context=gvisor.dev/gvisor/pkg/context=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/context/context.x' -arc 'gvisor.dev/gvisor/pkg/log=gvisor.dev/gvisor/pkg/log=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/log/log.x' -arc 'gvisor.dev/gvisor/pkg/marshal=gvisor.dev/gvisor/pkg/marshal=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/marshal/marshal.x' -arc 'gvisor.dev/gvisor/pkg/refs=gvisor.dev/gvisor/pkg/refs=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/refs/refs.x' -arc 'gvisor.dev/gvisor/pkg/refsvfs2=gvisor.dev/gvisor/pkg/refsvfs2=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/refsvfs2/refsvfs2.x' -arc 'gvisor.dev/gvisor/pkg/safemem=gvisor.dev/gvisor/pkg/safemem=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/safemem/safemem.x' -arc 'gvisor.dev/gvisor/pkg/sentry/fsimpl/devtmpfs=gvisor.dev/gvisor/pkg/sentry/fsimpl/devtmpfs=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/devtmpfs/devtmpfs.x' -arc 'gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs=gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/kernfs/kernfs.x' -arc 'gvisor.dev/gvisor/pkg/sentry/kernel=gvisor.dev/gvisor/pkg/sentry/kernel=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/kernel/kernel.x' -arc 'gvisor.dev/gvisor/pkg/sentry/kernel/auth=gvisor.dev/gvisor/pkg/sentry/kernel/auth=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/kernel/auth/auth.x' -arc 'gvisor.dev/gvisor/pkg/sentry/vfs=gvisor.dev/gvisor/pkg/sentry/vfs=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/vfs/vfs.x' -arc 'gvisor.dev/gvisor/pkg/sync=gvisor.dev/gvisor/pkg/sync=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sync/sync.x' -arc 'gvisor.dev/gvisor/pkg/syserror=gvisor.dev/gvisor/pkg/syserror=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/syserror/syserror.x' -arc 'gvisor.dev/gvisor/pkg/usermem=gvisor.dev/gvisor/pkg/usermem=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/usermem/usermem.x' -arc 'gvisor.dev/gvisor/pkg/waiter=gvisor.dev/gvisor/pkg/waiter=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/waiter/waiter.x' -arc 'golang.org/x/sys/unix=golang.org/x/sys/unix=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/external/org_golang_x_sys/unix/unix.x' -arc 'gvisor.dev/gvisor/pkg/state=gvisor.dev/gvisor/pkg/state=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/state/state.x' -importpath gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse -p gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse -package_list bazel-out/host/bin/external/go_sdk/packages.txt -o bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/fuse.a -x bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/fuse.x -gcflags -race -asmflags '') Execution platform: @local_config_platform//:host Use --sandbox_debug to see verbose messages from the sandbox builder failed: error executing command (cd /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/sandbox/linux-sandbox/27/execroot/__main__ && \ exec env - \ CGO_ENABLED=1 \ GOARCH=amd64 \ GOOS=linux \ GOPATH='' \ GOROOT=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/external/io_bazel_rules_go/stdlib_ \ GOROOT_FINAL=GOROOT \ PATH=/usr/bin:/bin \ bazel-out/host/bin/external/go_sdk/builder compilepkg -sdk external/go_sdk -installsuffix linux_amd64_race -tags race -src pkg/sentry/fsimpl/fuse/connection.go -src pkg/sentry/fsimpl/fuse/connection_control.go -src pkg/sentry/fsimpl/fuse/dev.go -src pkg/sentry/fsimpl/fuse/directory.go -src pkg/sentry/fsimpl/fuse/file.go -src pkg/sentry/fsimpl/fuse/fusefs.go -src bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/inode_refs.go -src pkg/sentry/fsimpl/fuse/read_write.go -src pkg/sentry/fsimpl/fuse/register.go -src pkg/sentry/fsimpl/fuse/regular_file.go -src bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/request_list.go -src pkg/sentry/fsimpl/fuse/request_response.go -src bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/fuse_state_autogen.go -arc 'gvisor.dev/gvisor/pkg/abi/linux=gvisor.dev/gvisor/pkg/abi/linux=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/abi/linux/linux.x' -arc 'gvisor.dev/gvisor/pkg/context=gvisor.dev/gvisor/pkg/context=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/context/context.x' -arc 'gvisor.dev/gvisor/pkg/log=gvisor.dev/gvisor/pkg/log=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/log/log.x' -arc 'gvisor.dev/gvisor/pkg/marshal=gvisor.dev/gvisor/pkg/marshal=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/marshal/marshal.x' -arc 'gvisor.dev/gvisor/pkg/refs=gvisor.dev/gvisor/pkg/refs=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/refs/refs.x' -arc 'gvisor.dev/gvisor/pkg/refsvfs2=gvisor.dev/gvisor/pkg/refsvfs2=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/refsvfs2/refsvfs2.x' -arc 'gvisor.dev/gvisor/pkg/safemem=gvisor.dev/gvisor/pkg/safemem=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/safemem/safemem.x' -arc 'gvisor.dev/gvisor/pkg/sentry/fsimpl/devtmpfs=gvisor.dev/gvisor/pkg/sentry/fsimpl/devtmpfs=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/devtmpfs/devtmpfs.x' -arc 'gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs=gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/kernfs/kernfs.x' -arc 'gvisor.dev/gvisor/pkg/sentry/kernel=gvisor.dev/gvisor/pkg/sentry/kernel=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/kernel/kernel.x' -arc 'gvisor.dev/gvisor/pkg/sentry/kernel/auth=gvisor.dev/gvisor/pkg/sentry/kernel/auth=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/kernel/auth/auth.x' -arc 'gvisor.dev/gvisor/pkg/sentry/vfs=gvisor.dev/gvisor/pkg/sentry/vfs=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/vfs/vfs.x' -arc 'gvisor.dev/gvisor/pkg/sync=gvisor.dev/gvisor/pkg/sync=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sync/sync.x' -arc 'gvisor.dev/gvisor/pkg/syserror=gvisor.dev/gvisor/pkg/syserror=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/syserror/syserror.x' -arc 'gvisor.dev/gvisor/pkg/usermem=gvisor.dev/gvisor/pkg/usermem=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/usermem/usermem.x' -arc 'gvisor.dev/gvisor/pkg/waiter=gvisor.dev/gvisor/pkg/waiter=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/waiter/waiter.x' -arc 'golang.org/x/sys/unix=golang.org/x/sys/unix=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/external/org_golang_x_sys/unix/unix.x' -arc 'gvisor.dev/gvisor/pkg/state=gvisor.dev/gvisor/pkg/state=bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/state/state.x' -importpath gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse -p gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse -package_list bazel-out/host/bin/external/go_sdk/packages.txt -o bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/fuse.a -x bazel-out/k8-fastbuild-ST-0995fa9490c1/bin/pkg/sentry/fsimpl/fuse/fuse.x -gcflags -race -asmflags '') Execution platform: @local_config_platform//:host Use --sandbox_debug to see verbose messages from the sandbox runtime: failed to create new OS thread (have 5 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc runtime stack: runtime.throw(0x6534ec, 0x9) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/panic.go:1116 +0x72 runtime.newosproc(0xc000280000) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/os_linux.go:161 +0x1c5 runtime.newm1(0xc000280000) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/proc.go:1843 +0xdd runtime.newm(0x661608, 0xc000023000, 0x4) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/proc.go:1822 +0x9b runtime.startm(0x0, 0xc00012bf01) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/proc.go:1979 +0xc9 runtime.wakep() /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/proc.go:2067 +0x66 runtime.resetspinning() /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/proc.go:2539 +0x59 runtime.schedule() /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/proc.go:2690 +0x2b9 runtime.mstart1() /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/proc.go:1179 +0x93 runtime.mstart() /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/runtime/proc.go:1137 +0x6e goroutine 1 [runnable]: syscall.readlen(0x9, 0xc0001fe478, 0x8, 0x19, 0xc000142140, 0x9) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/syscall/zsyscall_linux_amd64.go:934 +0xef syscall.forkExec(0xc0002240c0, 0x2c, 0xc0001d8900, 0x18, 0x18, 0xc0001fe598, 0x8, 0x5854fe2900000000, 0xc0001fe568) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/syscall/exec_unix.go:221 +0x405 syscall.StartProcess(...) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/syscall/exec_unix.go:263 os.startProcess(0xc0002240c0, 0x2c, 0xc0001d8900, 0x18, 0x18, 0xc0001fe730, 0x6, 0x7, 0x0) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/os/exec_posix.go:53 +0x29b os.StartProcess(0xc0002240c0, 0x2c, 0xc0001d8900, 0x18, 0x18, 0xc0001fe730, 0x8, 0x0, 0xc0001fe6c8) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/os/exec.go:102 +0x7c os/exec.(*Cmd).Start(0xc00017a2c0, 0x28, 0x62f020) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/os/exec/exec.go:422 +0x528 os/exec.(*Cmd).Run(0xc00017a2c0, 0x6612a8, 0x28) /syzkaller/.cache/bazel/_bazel_root/fccbecaaf46b029afa8a4963617d7351/external/go_sdk/src/os/exec/exec.go:338 +0x2b main.runAndLogCommand(0xc00017a2c0, 0xc000145b00, 0x0, 0x0) external/io_bazel_rules_go/go/tools/builders/env.go:170 +0x92 main.(*env).runCommand(0xc000160200, 0xc0001d8780, 0x18, 0x18, 0x4, 0x4) external/io_bazel_rules_go/go/tools/builders/env.go:139 +0xe9 main.compileGo(0xc000160200, 0xc000170b00, 0xd, 0x10, 0x7ffff5301dfe, 0x28, 0xc00018a9c0, 0xc4, 0x0, 0x0, ...) external/io_bazel_rules_go/go/tools/builders/compilepkg.go:436 +0x4d8 main.compileArchive(0xc000160200, 0x7ffff5301dd2, 0x28, 0x7ffff5301dfe, 0x28, 0xc0001da000, 0xd, 0x10, 0x0, 0x0, ...) external/io_bazel_rules_go/go/tools/builders/compilepkg.go:352 +0x12af main.compilePkg(0xc0000105a0, 0x52, 0x56, 0x651f7f, 0x2) external/io_bazel_rules_go/go/tools/builders/compilepkg.go:119 +0x160c main.main() external/io_bazel_rules_go/go/tools/builders/builder.go:67 +0x2c5 Target //runsc:runsc-race failed to build INFO: Elapsed time: 19.630s, Critical Path: 5.56s INFO: 23 processes: 23 linux-sandbox. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully