Starting local Bazel server and connecting to it... INFO: Writing tracer profile to '/syzkaller/home/.cache/bazel/_bazel_root/e1c9d86bae2b34f90e83d224bc900958/command.profile.gz' Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded DEBUG: /syzkaller/home/.cache/bazel/_bazel_root/e1c9d86bae2b34f90e83d224bc900958/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:125:9: rbe_default not using checked in configs; Bazel version 1.0.1 was picked/selected but no checked in config was found in map {"0.20.0": ["8.0.0"], "0.21.0": ["8.0.0"], "0.22.0": ["8.0.0", "9.0.0"], "0.23.0": ["8.0.0", "9.0.0"], "0.23.1": ["8.0.0", "9.0.0"], "0.23.2": ["9.0.0"], "0.24.0": ["9.0.0"], "0.24.1": ["9.0.0"], "0.25.0": ["9.0.0"], "0.25.1": ["9.0.0"], "0.25.2": ["9.0.0"], "0.26.0": ["9.0.0"], "0.26.1": ["9.0.0"], "0.27.0": ["9.0.0"], "0.27.1": ["9.0.0"], "0.28.0": ["9.0.0"], "0.28.1": ["9.0.0"], "0.29.0": ["9.0.0"], "0.29.1": ["9.0.0"]} Loading: 0 packages loaded currently loading: runsc Analyzing: target //runsc:runsc (1 packages loaded) Analyzing: target //runsc:runsc (1 packages loaded, 0 targets configured) Analyzing: target //runsc:runsc (7 packages loaded, 7 targets configured) Analyzing: target //runsc:runsc (11 packages loaded, 7 targets configured) Analyzing: target //runsc:runsc (24 packages loaded, 105 targets configured) Analyzing: target //runsc:runsc (122 packages loaded, 673 targets configured) Analyzing: target //runsc:runsc (215 packages loaded, 8370 targets configured) INFO: Analyzed target //runsc:runsc (215 packages loaded, 9097 targets configured). INFO: Found 1 target... INFO: Deleting stale sandbox base /syzkaller/home/.cache/bazel/_bazel_root/e1c9d86bae2b34f90e83d224bc900958/sandbox [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [424 / 615] [Prepa] Building Go template instance //pkg/tcpip/transport/tcp:tcp_endpoint_list [612 / 762] [Prepa] GoCompilePkg pkg/sentry/arch/linux_amd64_pure_stripped/registers_go_proto%/gvisor.dev/gvisor/pkg/sentry/arch/registers_go_proto.a [712 / 762] GoCompilePkg pkg/tcpip/transport/tcp/linux_amd64_pure_stripped/tcp%/gvisor.dev/gvisor/pkg/tcpip/transport/tcp.a; 1s linux-sandbox ... (4 actions running) ERROR: /syzkaller/managers/ptrace-direct-overlay-host/kernel/pkg/sentry/mm/BUILD:76:1: GoCompilePkg pkg/sentry/mm/linux_amd64_pure_stripped/mm%/gvisor.dev/gvisor/pkg/sentry/mm.a failed (Exit 2) builder failed: error executing command (cd /syzkaller/home/.cache/bazel/_bazel_root/e1c9d86bae2b34f90e83d224bc900958/sandbox/linux-sandbox/40/execroot/__main__ && \ exec env - \ CGO_ENABLED=0 \ GOARCH=amd64 \ GOOS=linux \ GOROOT=bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/linux_amd64_pure_stripped/stdlib% \ GOROOT_FINAL=GOROOT \ PATH=/usr/bin:/bin \ bazel-out/host/bin/external/go_sdk/builder compilepkg -sdk external/go_sdk -installsuffix linux_amd64 -src pkg/sentry/mm/address_space.go -src pkg/sentry/mm/aio_context.go -src pkg/sentry/mm/aio_context_state.go -src pkg/sentry/mm/debug.go -src bazel-out/k8-fastbuild/bin/pkg/sentry/mm/file_refcount_set.go -src pkg/sentry/mm/io.go -src bazel-out/k8-fastbuild/bin/pkg/sentry/mm/io_list.go -src pkg/sentry/mm/lifecycle.go -src pkg/sentry/mm/metadata.go -src pkg/sentry/mm/mm.go -src pkg/sentry/mm/pma.go -src bazel-out/k8-fastbuild/bin/pkg/sentry/mm/pma_set.go -src pkg/sentry/mm/procfs.go -src pkg/sentry/mm/save_restore.go -src pkg/sentry/mm/shm.go -src pkg/sentry/mm/special_mappable.go -src pkg/sentry/mm/syscalls.go -src pkg/sentry/mm/vma.go -src bazel-out/k8-fastbuild/bin/pkg/sentry/mm/vma_set.go -src bazel-out/k8-fastbuild/bin/pkg/sentry/mm/mm_state_autogen.go -arc 'gvisor.dev/gvisor/pkg/abi/linux=gvisor.dev/gvisor/pkg/abi/linux=bazel-out/k8-fastbuild/bin/pkg/abi/linux/linux_amd64_pure_stripped/linux%/gvisor.dev/gvisor/pkg/abi/linux.a=bazel-out/k8-fastbuild/bin/pkg/abi/linux/linux_amd64_pure_stripped/linux%/gvisor.dev/gvisor/pkg/abi/linux.x' -arc 'gvisor.dev/gvisor/pkg/atomicbitops=gvisor.dev/gvisor/pkg/atomicbitops=bazel-out/k8-fastbuild/bin/pkg/atomicbitops/linux_amd64_pure_stripped/atomicbitops%/gvisor.dev/gvisor/pkg/atomicbitops.a=bazel-out/k8-fastbuild/bin/pkg/atomicbitops/linux_amd64_pure_stripped/atomicbitops%/gvisor.dev/gvisor/pkg/atomicbitops.x' -arc 'gvisor.dev/gvisor/pkg/log=gvisor.dev/gvisor/pkg/log=bazel-out/k8-fastbuild/bin/pkg/log/linux_amd64_pure_stripped/log%/gvisor.dev/gvisor/pkg/log.a=bazel-out/k8-fastbuild/bin/pkg/log/linux_amd64_pure_stripped/log%/gvisor.dev/gvisor/pkg/log.x' -arc 'gvisor.dev/gvisor/pkg/refs=gvisor.dev/gvisor/pkg/refs=bazel-out/k8-fastbuild/bin/pkg/refs/linux_amd64_pure_stripped/refs%/gvisor.dev/gvisor/pkg/refs.a=bazel-out/k8-fastbuild/bin/pkg/refs/linux_amd64_pure_stripped/refs%/gvisor.dev/gvisor/pkg/refs.x' -arc 'gvisor.dev/gvisor/pkg/sentry/arch=gvisor.dev/gvisor/pkg/sentry/arch=bazel-out/k8-fastbuild/bin/pkg/sentry/arch/linux_amd64_pure_stripped/arch%/gvisor.dev/gvisor/pkg/sentry/arch.a=bazel-out/k8-fastbuild/bin/pkg/sentry/arch/linux_amd64_pure_stripped/arch%/gvisor.dev/gvisor/pkg/sentry/arch.x' -arc 'gvisor.dev/gvisor/pkg/sentry/context=gvisor.dev/gvisor/pkg/sentry/context=bazel-out/k8-fastbuild/bin/pkg/sentry/context/linux_amd64_pure_stripped/context%/gvisor.dev/gvisor/pkg/sentry/context.a=bazel-out/k8-fastbuild/bin/pkg/sentry/context/linux_amd64_pure_stripped/context%/gvisor.dev/gvisor/pkg/sentry/context.x' -arc 'gvisor.dev/gvisor/pkg/sentry/fs=gvisor.dev/gvisor/pkg/sentry/fs=bazel-out/k8-fastbuild/bin/pkg/sentry/fs/linux_amd64_pure_stripped/fs%/gvisor.dev/gvisor/pkg/sentry/fs.a=bazel-out/k8-fastbuild/bin/pkg/sentry/fs/linux_amd64_pure_stripped/fs%/gvisor.dev/gvisor/pkg/sentry/fs.x' -arc 'gvisor.dev/gvisor/pkg/sentry/fs/proc/seqfile=gvisor.dev/gvisor/pkg/sentry/fs/proc/seqfile=bazel-out/k8-fastbuild/bin/pkg/sentry/fs/proc/seqfile/linux_amd64_pure_stripped/seqfile%/gvisor.dev/gvisor/pkg/sentry/fs/proc/seqfile.a=bazel-out/k8-fastbuild/bin/pkg/sentry/fs/proc/seqfile/linux_amd64_pure_stripped/seqfile%/gvisor.dev/gvisor/pkg/sentry/fs/proc/seqfile.x' -arc 'gvisor.dev/gvisor/pkg/sentry/kernel/auth=gvisor.dev/gvisor/pkg/sentry/kernel/auth=bazel-out/k8-fastbuild/bin/pkg/sentry/kernel/auth/linux_amd64_pure_stripped/auth%/gvisor.dev/gvisor/pkg/sentry/kernel/auth.a=bazel-out/k8-fastbuild/bin/pkg/sentry/kernel/auth/linux_amd64_pure_stripped/auth%/gvisor.dev/gvisor/pkg/sentry/kernel/auth.x' -arc 'gvisor.dev/gvisor/pkg/sentry/kernel/futex=gvisor.dev/gvisor/pkg/sentry/kernel/futex=bazel-out/k8-fastbuild/bin/pkg/sentry/kernel/futex/linux_amd64_pure_stripped/futex%/gvisor.dev/gvisor/pkg/sentry/kernel/futex.a=bazel-out/k8-fastbuild/bin/pkg/sentry/kernel/futex/linux_amd64_pure_stripped/futex%/gvisor.dev/gvisor/pkg/sentry/kernel/futex.x' -arc 'gvisor.dev/gvisor/pkg/sentry/kernel/shm=gvisor.dev/gvisor/pkg/sentry/kernel/shm=bazel-out/k8-fastbuild/bin/pkg/sentry/kernel/shm/linux_amd64_pure_stripped/shm%/gvisor.dev/gvisor/pkg/sentry/kernel/shm.a=bazel-out/k8-fastbuild/bin/pkg/sentry/kernel/shm/linux_amd64_pure_stripped/shm%/gvisor.dev/gvisor/pkg/sentry/kernel/shm.x' -arc 'gvisor.dev/gvisor/pkg/sentry/limits=gvisor.dev/gvisor/pkg/sentry/limits=bazel-out/k8-fastbuild/bin/pkg/sentry/limits/linux_amd64_pure_stripped/limits%/gvisor.dev/gvisor/pkg/sentry/limits.a=bazel-out/k8-fastbuild/bin/pkg/sentry/limits/linux_amd64_pure_stripped/limits%/gvisor.dev/gvisor/pkg/sentry/limits.x' -arc 'gvisor.dev/gvisor/pkg/sentry/memmap=gvisor.dev/gvisor/pkg/sentry/memmap=bazel-out/k8-fastbuild/bin/pkg/sentry/memmap/linux_amd64_pure_stripped/memmap%/gvisor.dev/gvisor/pkg/sentry/memmap.a=bazel-out/k8-fastbuild/bin/pkg/sentry/memmap/linux_amd64_pure_stripped/memmap%/gvisor.dev/gvisor/pkg/sentry/memmap.x' -arc 'gvisor.dev/gvisor/pkg/sentry/pgalloc=gvisor.dev/gvisor/pkg/sentry/pgalloc=bazel-out/k8-fastbuild/bin/pkg/sentry/pgalloc/linux_amd64_pure_stripped/pgalloc%/gvisor.dev/gvisor/pkg/sentry/pgalloc.a=bazel-out/k8-fastbuild/bin/pkg/sentry/pgalloc/linux_amd64_pure_stripped/pgalloc%/gvisor.dev/gvisor/pkg/sentry/pgalloc.x' -arc 'gvisor.dev/gvisor/pkg/sentry/platform=gvisor.dev/gvisor/pkg/sentry/platform=bazel-out/k8-fastbuild/bin/pkg/sentry/platform/linux_amd64_pure_stripped/platform%/gvisor.dev/gvisor/pkg/sentry/platform.a=bazel-out/k8-fastbuild/bin/pkg/sentry/platform/linux_amd64_pure_stripped/platform%/gvisor.dev/gvisor/pkg/sentry/platform.x' -arc 'gvisor.dev/gvisor/pkg/sentry/platform/safecopy=gvisor.dev/gvisor/pkg/sentry/platform/safecopy=bazel-out/k8-fastbuild/bin/pkg/sentry/platform/safecopy/linux_amd64_pure_stripped/safecopy%/gvisor.dev/gvisor/pkg/sentry/platform/safecopy.a=bazel-out/k8-fastbuild/bin/pkg/sentry/platform/safecopy/linux_amd64_pure_stripped/safecopy%/gvisor.dev/gvisor/pkg/sentry/platform/safecopy.x' -arc 'gvisor.dev/gvisor/pkg/sentry/safemem=gvisor.dev/gvisor/pkg/sentry/safemem=bazel-out/k8-fastbuild/bin/pkg/sentry/safemem/linux_amd64_pure_stripped/safemem%/gvisor.dev/gvisor/pkg/sentry/safemem.a=bazel-out/k8-fastbuild/bin/pkg/sentry/safemem/linux_amd64_pure_stripped/safemem%/gvisor.dev/gvisor/pkg/sentry/safemem.x' -arc 'gvisor.dev/gvisor/pkg/sentry/usage=gvisor.dev/gvisor/pkg/sentry/usage=bazel-out/k8-fastbuild/bin/pkg/sentry/usage/linux_amd64_pure_stripped/usage%/gvisor.dev/gvisor/pkg/sentry/usage.a=bazel-out/k8-fastbuild/bin/pkg/sentry/usage/linux_amd64_pure_stripped/usage%/gvisor.dev/gvisor/pkg/sentry/usage.x' -arc 'gvisor.dev/gvisor/pkg/sentry/usermem=gvisor.dev/gvisor/pkg/sentry/usermem=bazel-out/k8-fastbuild/bin/pkg/sentry/usermem/linux_amd64_pure_stripped/usermem%/gvisor.dev/gvisor/pkg/sentry/usermem.a=bazel-out/k8-fastbuild/bin/pkg/sentry/usermem/linux_amd64_pure_stripped/usermem%/gvisor.dev/gvisor/pkg/sentry/usermem.x' -arc 'gvisor.dev/gvisor/pkg/sync=gvisor.dev/gvisor/pkg/sync=bazel-out/k8-fastbuild/bin/pkg/sync/linux_amd64_pure_stripped/sync%/gvisor.dev/gvisor/pkg/sync.a=bazel-out/k8-fastbuild/bin/pkg/sync/linux_amd64_pure_stripped/sync%/gvisor.dev/gvisor/pkg/sync.x' -arc 'gvisor.dev/gvisor/pkg/syserror=gvisor.dev/gvisor/pkg/syserror=bazel-out/k8-fastbuild/bin/pkg/syserror/linux_amd64_pure_stripped/syserror%/gvisor.dev/gvisor/pkg/syserror.a=bazel-out/k8-fastbuild/bin/pkg/syserror/linux_amd64_pure_stripped/syserror%/gvisor.dev/gvisor/pkg/syserror.x' -arc 'gvisor.dev/gvisor/pkg/tcpip/buffer=gvisor.dev/gvisor/pkg/tcpip/buffer=bazel-out/k8-fastbuild/bin/pkg/tcpip/buffer/linux_amd64_pure_stripped/buffer%/gvisor.dev/gvisor/pkg/tcpip/buffer.a=bazel-out/k8-fastbuild/bin/pkg/tcpip/buffer/linux_amd64_pure_stripped/buffer%/gvisor.dev/gvisor/pkg/tcpip/buffer.x' -arc 'gvisor.dev/gvisor/pkg/state=gvisor.dev/gvisor/pkg/state=bazel-out/k8-fastbuild/bin/pkg/state/linux_amd64_pure_stripped/state%/gvisor.dev/gvisor/pkg/state.a=bazel-out/k8-fastbuild/bin/pkg/state/linux_amd64_pure_stripped/state%/gvisor.dev/gvisor/pkg/state.x' -importpath gvisor.dev/gvisor/pkg/sentry/mm -p gvisor.dev/gvisor/pkg/sentry/mm -package_list bazel-out/host/bin/external/go_sdk/packages.txt -o bazel-out/k8-fastbuild/bin/pkg/sentry/mm/linux_amd64_pure_stripped/mm%/gvisor.dev/gvisor/pkg/sentry/mm.a -nogo bazel-out/host/bin/linux_amd64_stripped/nogo -x bazel-out/k8-fastbuild/bin/pkg/sentry/mm/linux_amd64_pure_stripped/mm%/gvisor.dev/gvisor/pkg/sentry/mm.x -gcflags '' -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(0x6534da, 0x9) external/go_sdk/src/runtime/panic.go:774 +0x72 runtime.newosproc(0xc00027e000) external/go_sdk/src/runtime/os_linux.go:153 +0x1ba runtime.newm1(0xc00027e000) external/go_sdk/src/runtime/proc.go:1853 +0xdc runtime.newm(0x660b68, 0xc000024f00) external/go_sdk/src/runtime/proc.go:1832 +0x8f runtime.startm(0x0, 0xc000020501) external/go_sdk/src/runtime/proc.go:1969 +0x12a runtime.wakep(...) external/go_sdk/src/runtime/proc.go:2050 runtime.resetspinning() external/go_sdk/src/runtime/proc.go:2430 +0x93 runtime.schedule() external/go_sdk/src/runtime/proc.go:2531 +0x2a0 runtime.park_m(0xc000001080) external/go_sdk/src/runtime/proc.go:2610 +0x9d runtime.mcall(0x0) external/go_sdk/src/runtime/asm_amd64.s:318 +0x5b goroutine 1 [syscall]: syscall.Syscall6(0xf7, 0x1, 0x6, 0xc000212618, 0x1000004, 0x0, 0x0, 0x4ca0f3, 0xc00020a180, 0x0) external/go_sdk/src/syscall/asm_linux_amd64.s:44 +0x5 os.(*Process).blockUntilWaitable(0xc00021ade0, 0x1e0, 0x600620, 0x3) external/go_sdk/src/os/wait_waitid.go:31 +0x98 os.(*Process).wait(0xc00021ade0, 0x660878, 0x660880, 0x660870) external/go_sdk/src/os/exec_unix.go:22 +0x39 os.(*Process).Wait(...) external/go_sdk/src/os/exec.go:125 os/exec.(*Cmd).Wait(0xc00010e420, 0x0, 0x0) external/go_sdk/src/os/exec/exec.go:501 +0x60 os/exec.(*Cmd).Run(0xc00010e420, 0xc00000a1f0, 0x1d) external/go_sdk/src/os/exec/exec.go:341 +0x5c main.runAndLogCommand(0xc00010e420, 0x0, 0xc00000a1f0, 0x1d) external/io_bazel_rules_go/go/tools/builders/env.go:162 +0x3c main.(*env).runCommand(0xc0000ec240, 0xc00000a1e0, 0x1e, 0x1e, 0x4, 0x4) external/io_bazel_rules_go/go/tools/builders/env.go:135 +0xc8 main.compileGo(0xc0000ec240, 0xc00001c400, 0x14, 0x20, 0x7ffd72931d97, 0x1f, 0xc00012bc20, 0xeb, 0x0, 0x0, ...) external/io_bazel_rules_go/go/tools/builders/compilepkg.go:427 +0x4a3 main.compileArchive(0xc0000ec240, 0x7ffd72931d74, 0x1f, 0x7ffd72931d97, 0x1f, 0xc0001da000, 0x14, 0x20, 0x0, 0x0, ...) external/io_bazel_rules_go/go/tools/builders/compilepkg.go:351 +0x11e9 main.compilePkg(0xc000011c20, 0x6a, 0x6e, 0x652037, 0x2) external/io_bazel_rules_go/go/tools/builders/compilepkg.go:120 +0x160c main.main() external/io_bazel_rules_go/go/tools/builders/builder.go:67 +0x2c3 goroutine 6 [syscall]: syscall.Syscall6(0xf7, 0x1, 0x7, 0xc0000f4b20, 0x1000004, 0x0, 0x0, 0x4ca001, 0xc0002441e0, 0xc0000f4b60) external/go_sdk/src/syscall/asm_linux_amd64.s:44 +0x5 os.(*Process).blockUntilWaitable(0xc00026c030, 0x203000, 0x148, 0x1) external/go_sdk/src/os/wait_waitid.go:31 +0x98 os.(*Process).wait(0xc00026c030, 0x660878, 0x660880, 0x660870) external/go_sdk/src/os/exec_unix.go:22 +0x39 os.(*Process).Wait(...) external/go_sdk/src/os/exec.go:125 os/exec.(*Cmd).Wait(0xc000260000, 0x0, 0x0) external/go_sdk/src/os/exec/exec.go:501 +0x60 os/exec.(*Cmd).Run(0xc000260000, 0xc000242030, 0xc00025c010) external/go_sdk/src/os/exec/exec.go:341 +0x5c main.runNogo(0x6a41c0, 0xc0001d8340, 0x7ffd72931e67, 0x2c, 0xc00001c400, 0x14, 0x20, 0xc0000fd000, 0x17, 0x27, ...) external/io_bazel_rules_go/go/tools/builders/compilepkg.go:445 +0x3ec main.compileArchive.func1(0xc00000e2b0, 0x6a41c0, 0xc0001d8340, 0x7ffd72931e67, 0x2c, 0xc00001c400, 0x14, 0x20, 0xc0000fd000, 0x17, ...) external/io_bazel_rules_go/go/tools/builders/compilepkg.go:327 +0x103 created by main.compileArchive external/io_bazel_rules_go/go/tools/builders/compilepkg.go:326 +0x22ab goroutine 17 [runnable]: os/exec.(*Cmd).Start.func1(0xc000260000, 0xc000264040) external/go_sdk/src/os/exec/exec.go:434 created by os/exec.(*Cmd).Start external/go_sdk/src/os/exec/exec.go:434 +0x608 goroutine 18 [runnable]: os/exec.(*Cmd).Start.func2(0xc000260000) external/go_sdk/src/os/exec/exec.go:442 created by os/exec.(*Cmd).Start external/go_sdk/src/os/exec/exec.go:442 +0x6a6 Target //runsc:runsc failed to build [729 / 762] checking cached actions INFO: Elapsed time: 49.515s, Critical Path: 16.47s INFO: 38 processes: 38 linux-sandbox. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully