panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 133 [running]: panic({0x329000, 0xc000c28de0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc000c39170 sp=0xc000c390b0 pc=0x11dfa3b runtime.getitab(0x330520, 0x4c50e0, 0x0) GOROOT/src/runtime/iface.go:92 +0x1e5 fp=0xc000c391b8 sp=0xc000c39170 pc=0x11b33c5 runtime.assertE2I(0x121c21b?, 0x2af940?) GOROOT/src/runtime/iface.go:453 +0x25 fp=0xc000c391e0 sp=0xc000c391b8 pc=0x11b43c5 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x753138, 0xc000928a80}) pkg/sentry/unimpl/events.go:44 +0x96 fp=0xc000c39228 sp=0xc000c391e0 pc=0x1a7b836 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x753138, 0xc000928a80}, 0x5423) pkg/sentry/fsimpl/devpts/master.go:247 +0x134 fp=0xc000c39248 sp=0xc000c39228 pc=0x20f33d4 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*replicaFileDescription).Ioctl(0xc000654400, {0x753138, 0xc000928a80}, {0x74d610, 0xc0002b0000}, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/replica.go:202 +0xaf3 fp=0xc000c39340 sp=0xc000c39248 pc=0x20f73f3 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Ioctl(0xc000654400, {0x753138, 0xc000928a80}, {0x74d610, 0xc0002b0000}, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, ...}) pkg/sentry/vfs/file_description.go:712 +0x105 fp=0xc000c393f0 sp=0xc000c39340 pc=0x174f9c5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Ioctl(0xc000928a80, 0xc000c395d0?, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x675 fp=0xc000c39550 sp=0xc000c393f0 pc=0x1d0e195 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000928a80, 0x10, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xabf fp=0xc000c39968 sp=0xc000c39550 pc=0x1b0035f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000928a80, 0x1?, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e fp=0xc000c39a08 sp=0xc000c39968 pc=0x1b0246e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0004fe0f0?, 0xc000c39b37?, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 fp=0xc000c39a80 sp=0xc000c39a08 pc=0x1b01d65 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000928a80) pkg/sentry/kernel/task_syscall.go:257 +0x53b fp=0xc000c39ba8 sp=0xc000c39a80 pc=0x1b0187b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000928a80?, 0xc000928a80) pkg/sentry/kernel/task_run.go:269 +0x22b4 fp=0xc000c39e68 sp=0xc000c39ba8 pc=0x1aea474 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000928a80, 0x8) pkg/sentry/kernel/task_run.go:98 +0x35b fp=0xc000c39fb0 sp=0xc000c39e68 pc=0x1ae775b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x48 fp=0xc000c39fe0 sp=0xc000c39fb0 pc=0x1afda48 runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000c39fe8 sp=0xc000c39fe0 pc=0x1218981 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1da