Fixes Bug 1124241 - added jit category external program #2834
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've written this in the form of a classifier rule. This is all it takes to put the stdio results of an external program into a single key in a processed crash. This is a fine example of a classifier that anyone could write to include in Socorro.
Placing the output of this external program into the "classifications.jit" namespace within the processed crash, makes it readily available for access by future rules, such as signature manipulation. At the same time this imposes a hierarchical structure on what will likely evolve into many different types of crash classification systems. Signature itself is just another classifications system that happens to have gotten into Socorro first and so remains entrenched. I encourage others to write classifiers. A new one could, perhaps, end up being far more useful than the current signature system tracing back to 2007.
Once this predicate and form of the invocation are accepted, we can enable it at any time by uncommenting the block in
socorro/processor/mozilla_processor_2015.py
in this PR.This PR makes no attempt to ensure the building, loading, provisioning, or verification of the name of the
jit-crash-categorize
external program. Collaboration on that is welcome.