From 0fbf9f05d4340c545551180419c1b8a5a0b13a0b Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 7 Jul 2023 17:01:25 +0200 Subject: pkg/instance: don't fail on symbolization error The test() code is used for reproducer generation and kernel bisections, we don't need symoblized reports there. Instead of retuning an error, just print a log message. --- pkg/instance/execprog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/instance/execprog.go') diff --git a/pkg/instance/execprog.go b/pkg/instance/execprog.go index f325dc040..8f052f629 100644 --- a/pkg/instance/execprog.go +++ b/pkg/instance/execprog.go @@ -122,7 +122,7 @@ func (inst *ExecProgInstance) runCommand(command string, duration time.Duration) inst.Logf(2, "program did not crash") } else { if err := inst.reporter.Symbolize(result.Report); err != nil { - return nil, fmt.Errorf("failed to symbolize report: %v", err) + inst.Logf(0, "failed to symbolize report: %v", err) } inst.Logf(2, "program crashed: %v", result.Report.Title) } -- cgit mrf-deployment