aqa-test-tools icon indicating copy to clipboard operation
aqa-test-tools copied to clipboard

Capture test output in create new git issue

Open llxia opened this issue 4 years ago • 1 comments
trafficstars

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.

llxia avatar Jun 21 '21 14:06 llxia

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

OscarQQ avatar Jun 22 '21 05:06 OscarQQ