Description of problem: Currently the job queue can terminate and not log an event for why or when it terminated. Need to be able to guarantee an event is logged whenever the job runner terminates.
Couple of ways to test this. 1: run a stress test, it's bound to cause serialization errors which should go in to the BZ log, not in to the error log. 2: add some jobs to the job queue with he queue disabled, then edit the db to set ts_job.run_after to empty string or a negative number or something weird, this might trigger an error that again should go in the standard log.
Tested on QA environment(bzperfweb01.app.qa) with version(4.4.9039-1, DB: psql ) Result: Pass
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.