Log stack traces from dry run failures
Log stack traces from dry run failures

Summary:
Pass test failure information from dry runs when running with JUnitRunner.

Sometimes JUnitRunner fails to instantiate the test class, which will cause the dry run to return `<test_class>$initializationError` as a result.

The diff should be safe, because the status of dry run was already returned as failed, just not stack trace was attached.

Test Plan: Creating a test which throws InitializationError, verify that stacktrace of the error is attached on dry run with given test.

Reviewed By: bobyangyf, styurin

fbshipit-source-id: dd0aa5a

shs96c/buck,romanoid/buck,romanoid/buck,brettwooldridge/buck,JoelMarcey/buck,clonetwin26/buck,SeleniumHQ/buck,nguyentruongtho/buck,shs96c/buck,Addepar/buck,Addepar/buck,shs96c/buck,LegNeato/buck,JoelMarcey/buck,shs96c/buck,LegNeato/buck,clonetwin26/buck,nguyentruongtho/buck,facebook/buck,brettwooldridge/buck,romanoid/buck,clonetwin26/buck,LegNeato/buck,Addepar/buck,clonetwin26/buck,facebook/buck,JoelMarcey/buck,kageiit/buck,zpao/buck,LegNeato/buck,Addepar/buck,clonetwin26/buck,LegNeato/buck,brettwooldridge/buck,zpao/buck,SeleniumHQ/buck,JoelMarcey/buck,shs96c/buck,brettwooldridge/buck,rmaz/buck,SeleniumHQ/buck,clonetwin26/buck,brettwooldridge/buck,Addepar/buck,shs96c/buck,clonetwin26/buck,LegNeato/buck,brettwooldridge/buck,nguyentruongtho/buck,Addepar/buck,zpao/buck,brettwooldridge/buck,rmaz/buck,shs96c/buck,nguyentruongtho/buck,SeleniumHQ/buck,LegNeato/buck,zpao/buck,rmaz/buck,SeleniumHQ/buck,shs96c/buck,Addepar/buck,zpao/buck,rmaz/buck,clonetwin26/buck,SeleniumHQ/buck,LegNeato/buck,LegNeato/buck,nguyentruongtho/buck,JoelMarcey/buck,SeleniumHQ/buck,zpao/buck,rmaz/buck,brettwooldridge/buck,brettwooldridge/buck,Addepar/buck,rmaz/buck,rmaz/buck,romanoid/buck,SeleniumHQ/buck,SeleniumHQ/buck,rmaz/buck,LegNeato/buck,facebook/buck,SeleniumHQ/buck,Addepar/buck,brettwooldridge/buck,LegNeato/buck,romanoid/buck,JoelMarcey/buck,shs96c/buck,Addepar/buck,clonetwin26/buck,shs96c/buck,JoelMarcey/buck,facebook/buck,facebook/buck,SeleniumHQ/buck,rmaz/buck,romanoid/buck,romanoid/buck,Addepar/buck,JoelMarcey/buck,facebook/buck,JoelMarcey/buck,kageiit/buck,JoelMarcey/buck,LegNeato/buck,shs96c/buck,Addepar/buck,kageiit/buck,brettwooldridge/buck,shs96c/buck,SeleniumHQ/buck,zpao/buck,nguyentruongtho/buck,LegNeato/buck,rmaz/buck,facebook/buck,clonetwin26/buck,SeleniumHQ/buck,romanoid/buck,kageiit/buck,kageiit/buck,brettwooldridge/buck,romanoid/buck,rmaz/buck,JoelMarcey/buck,kageiit/buck,romanoid/buck,romanoid/buck,brettwooldridge/buck,rmaz/buck,nguyentruongtho/buck,rmaz/buck,romanoid/buck,clonetwin26/buck,JoelMarcey/buck,clonetwin26/buck,kageiit/buck,clonetwin26/buck,romanoid/buck,shs96c/buck,Addepar/buck,JoelMarcey/buck