aqa-test-tools
aqa-test-tools copied to clipboard
Capture test output in create new git issue
In Create New Git Issue, we capture lots of information, such as java version, rerun link, Jenkins job link, TRSS link, etc. It will be useful if we can capture test output in the issue directly. The users can analyze the issue in one place (without clicking other links) and Jenkins and TRSS links may be purged after a period of time.
http://trss1.fyre.ibm.com/output/test?id=6045b37138630b5e5cd4423c
Test output can be very large, so maybe we could capture 50-100 lines after the keywords Error, Failed, Exception , ASSERTION FAILED, etc.
https://github.com/adoptium/aqa-test-tools/blob/37e7922ddba3cd2ab9cf68cebd5c706bdf917d1d/TestResultSummaryService/routes/getErrorInOutput.js#L4
right now Unhandled exception is captured, and 10 lines of output after the keywords