aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-08-14 12:23:30 -0700
committerDmitry Vyukov <dvyukov@google.com>2019-08-22 07:21:09 -0700
commitb231f4c2718029f641c0279d233e9cfedcf9a89f (patch)
tree0d4da48d39503f39608359f98a7de19e43149b92 /pkg
parentc6c81a0bd3579327bf311021ea7afca85aae6065 (diff)
pkg/gvisor: suppress one more gvisor PID exhaustion
Diffstat (limited to 'pkg')
-rw-r--r--pkg/report/gvisor.go11
-rw-r--r--pkg/report/testdata/gvisor/report/2413
2 files changed, 19 insertions, 5 deletions
diff --git a/pkg/report/gvisor.go b/pkg/report/gvisor.go
index 480ad24e8..dbee07bc3 100644
--- a/pkg/report/gvisor.go
+++ b/pkg/report/gvisor.go
@@ -20,12 +20,13 @@ func ctorGvisor(cfg *config) (Reporter, []string, error) {
"fatal error: runtime: out of memory",
"fatal error: runtime: cannot allocate memory",
"fatal error: newosproc",
- "panic: ptrace sysemu failed: no such process", // OOM kill
- `panic: ptrace (s|g)et fpregs.* failed: no such process`, // OOM kill
- `panic: ptrace (s|g)et regs.* failed: no such process`, // OOM kill
- "panic: error initializing first thread: resource temporarily unavailable",
+ "panic: ptrace sysemu failed: no such process", // OOM kill
+ `panic: ptrace (s|g)et fpregs.* failed: no such process`, // OOM kill
+ `panic: ptrace (s|g)et regs.* failed: no such process`, // OOM kill
+ "panic: error initializing first thread: resource temporarily unavailable", // PID exhaustion
+ "panic: unable to activate mm: creating stub process: resource temporarily unavailable", // PID exhaustion
+ "panic: executor failed: pthread_create failed", // PID exhaustion
"panic: failed to start executor binary",
- "panic: executor failed: pthread_create failed",
"panic: error mapping run data: error mapping runData: cannot allocate memory",
"ERROR: ThreadSanitizer", // Go race failing due to OOM.
"FATAL: ThreadSanitizer",
diff --git a/pkg/report/testdata/gvisor/report/24 b/pkg/report/testdata/gvisor/report/24
new file mode 100644
index 000000000..2f83894a9
--- /dev/null
+++ b/pkg/report/testdata/gvisor/report/24
@@ -0,0 +1,13 @@
+TITLE: panic: unable to activate mm: creating stub process: resource temporarily unavailable
+SUPPRESSED: Y
+
+panic: unable to activate mm: creating stub process: resource temporarily unavailable
+
+goroutine 442298 [running]:
+gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Activate(0xc001b48000)
+ pkg/sentry/kernel/task_usermem.go:34 +0xc7
+gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc001b48000, 0x1671)
+ pkg/sentry/kernel/task_run.go:67 +0x15c
+created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start
+ pkg/sentry/kernel/task_start.go:299 +0xfe
+