pkg/report: supporess another OOM for gvisor

This commit is contained in:
Dmitry Vyukov 2018-06-27 09:35:10 +02:00
parent 21caae5df6
commit 43e60f7e09
2 changed files with 17 additions and 0 deletions

View File

@ -19,6 +19,7 @@ func ctorGvisor(kernelSrc, kernelObj string, ignores []*regexp.Regexp) (Reporter
suppressions := []string{
"fatal error: runtime: out of memory",
"fatal error: runtime: cannot allocate memory",
"panic: ptrace sysemu failed: no such process", // OOM kill
"panic: failed to start executor binary",
"panic: executor failed: pthread_create failed",
"ERROR: ThreadSanitizer", // Go race failing due to OOM.

16
pkg/report/testdata/gvisor/report/14 vendored Normal file
View File

@ -0,0 +1,16 @@
TITLE: panic: ptrace sysemu failed: no such process
SUPPRESSED: Y
panic: ptrace sysemu failed: no such process
goroutine 49125 [running]:
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*subprocess).switchToApp(0xc4204b3d40, 0xc420138f00, 0xc7af20, 0xc420610900, 0x404800)
pkg/sentry/platform/ptrace/subprocess.go:457 +0x85d
gvisor.googlesource.com/gvisor/pkg/sentry/platform/ptrace.(*context).Switch(0xc420138f00, 0xc75440, 0xc4204b3d40, 0xc7af20, 0xc420610900, 0xffffffff, 0xc4202a09c0, 0x410e9c, 0xc420737500, 0xc420c8bf78)
pkg/sentry/platform/ptrace/ptrace.go:102 +0x71
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc420ff8900, 0xc69020, 0x0)
pkg/sentry/kernel/task_run.go:207 +0x17d
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run(0xc420ff8900, 0x8b6)
pkg/sentry/kernel/task_run.go:95 +0x174
created by gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).Start
pkg/sentry/kernel/task_start.go:251 +0x100