aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-07-05 07:02:48 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-07-05 07:02:48 +0200
commitf525fd7250aae36586c4a4e5bbe0c11f2314f875 (patch)
tree815fe3a8b6b97113480e22ac6a0c25fe2873a8e7 /pkg
parente1b966c6da6fce0e8322603fc9ec7f0e62ab478b (diff)
pkg/report: suppress more gvisor OOMs
Diffstat (limited to 'pkg')
-rw-r--r--pkg/report/gvisor.go4
-rw-r--r--pkg/report/testdata/gvisor/report/21
2 files changed, 4 insertions, 1 deletions
diff --git a/pkg/report/gvisor.go b/pkg/report/gvisor.go
index 5921206e6..61666431e 100644
--- a/pkg/report/gvisor.go
+++ b/pkg/report/gvisor.go
@@ -19,7 +19,9 @@ 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: ptrace sysemu failed: no such process", // OOM kill
+ "panic: ptrace set fpregs failed: no such process", // OOM kill
+ "panic: ptrace set regs 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.
diff --git a/pkg/report/testdata/gvisor/report/2 b/pkg/report/testdata/gvisor/report/2
index e61a023fe..a52401bfe 100644
--- a/pkg/report/testdata/gvisor/report/2
+++ b/pkg/report/testdata/gvisor/report/2
@@ -1,4 +1,5 @@
TITLE: panic: ptrace set regs failed: no such process
+SUPPRESSED: Y
I0616 12:16:04.416012 11084 x:0] [ 3656] Error opening /bin/sh: no such file or directory
I0616 12:16:04.416026 11084 x:0] [ 3656] Failed to load /bin/sh: no such file or directory