class_docstr: Test that segmentation faults produce a message in the logs
class_docstr_tok: ["Test","that","segmentation","faults","produce","a","message","in","the","logs"]
code: def check_results(self, flow, checker):
      # CLI logs requires the exact task ID for failed tasks which
      # we don't have here. Let's rely on the Metadata checker only.
      run = checker.get_run()
      if run:
          # loglines prior to the segfault should be persisted
          checker.assert_log(
              "end", "stdout", "Crash and burn!", exact_match=False
          )
          # a message should be printed that mentions "segmentation fault"
          checker.assert_log(
              "end", "stderr", "segmentation fault", exact_match=False
          )
  
imports: from metaflow_test import MetaflowTest, ExpectationFailed, steps
label_desc: Use image node_id 3 for calling the DetectSegFaultTest obj's underlying member method code with example usage: obj.check_results(flow, checker) without return types