adoptium / aqa-test-tools

Home of Test Results Summary Service (TRSS) and PerfNext. These tools are designed to improve our ability to monitor and triage tests at the Adoptium project. The code is generic enough that it is extensible for use by any project that needs to monitor multiple CI servers and aggregate their results.
Apache License 2.0
28 stars 79 forks source link

TypeError: Cannot convert undefined or null to object #879

Open llxia opened 4 months ago

llxia commented 4 months ago

When the job failed before test execution, we got TypeError: Cannot convert undefined or null to object error in TRSS.

image

https://github.com/adoptium/aqa-test-tools/blob/master/TestResultSummaryService/parsers/Test.js should be investigated. The content should be stored as Pre Test.

testParserViaFile.js can be used for testing. replace jobOutput.txt with jobOutput.txt

Hajer-Dahmani commented 2 months ago

I can work on this.