llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Ensure test infrastructure picks up segfaults and other exceptional exits from python test process

Open llvmbot opened this issue 12 years ago • 4 comments

Bugzilla Link 20258
Resolution FIXED
Resolved on Aug 07, 2019 18:18
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor
CC @emaste,@JDevlieghere

Extended Description

When the python process running the python unittest seg faults or exits due to other exceptional process condition, the test framework doesn't always generate a log and leaves no other trace of what happened.

Do something to make it explicitly obvious that the process terminated abnormally. Maybe a Crashed-*.log file, even if it had no content due to the crashed test runner.

llvmbot avatar Jul 09 '14 16:07 llvmbot

mentioned in issue llvm/llvm-bugzilla-archive#21897

amccarth-google avatar Nov 26 '21 19:11 amccarth-google

lit detects crashes and marks tests as unresolved.

JDevlieghere avatar Aug 08 '19 01:08 JDevlieghere

*** Bug llvm/llvm-bugzilla-archive#21897 has been marked as a duplicate of this bug. ***

amccarth-google avatar Mar 09 '16 01:03 amccarth-google

Note if the system does have core file generation enabled (e.g. ulimit -c unlimited on Linux), you do get cores for the python process. However, nothing tells you they are there unless you look. If you don't have those set, then the only way you really know is if you run the test case by itself, and get the normal shell output that tells you the process terminated abnormally.

llvmbot avatar Jul 09 '14 17:07 llvmbot