From 1bdeb308d3e36cd340cee8554ba2f660425c3195 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 15 Jan 2016 20:15:36 +0100 Subject: vm: add another crash message for older kernels --- vm/vm.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vm/vm.go b/vm/vm.go index 34aa43a14..0692b6b2f 100644 --- a/vm/vm.go +++ b/vm/vm.go @@ -61,6 +61,8 @@ func Create(typ string, cfg *Config) (Instance, error) { } var ( - CrashRe = regexp.MustCompile("Kernel panic[^\r\n]*|BUG:[^\r\n]*|kernel BUG[^\r\n]*|WARNING:[^\r\n]*|INFO:[^\r\n]*|unable to handle|general protection fault|UBSAN:[^\r\n]*|unreferenced object[^\r\n]*") + CrashRe = regexp.MustCompile("Kernel panic[^\r\n]*|BUG:[^\r\n]*|kernel BUG[^\r\n]*|WARNING:[^\r\n]*|" + + "INFO:[^\r\n]*|unable to handle|Unable to handle kernel[^\r\n]*|general protection fault|UBSAN:[^\r\n]*|" + + "unreferenced object[^\r\n]*") TimeoutErr = errors.New("timeout") ) -- cgit mrf-deployment