You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Renovate bot just updated our test adapter use to 5.1.0, and some of our projects started to fail on CI with for no apparant reason.
Turns out that we had a masked NullReferenceException in a tear down method, caused by running tests in parallel and accidentally clearing a non-thread-safe shared resource there. With #1247 this now pops up on stderr, but I couldn't find any way to view the stderr output in a TRX file from a VsTest run on Azure DevOps server. (At least short of downloading the TRX and opening it with a text editor.)
The VsTest task echoes everything from stdout (which is also part of the TRX, as a <StdOut> element), but anything stderr just...vanishes in a seemingly ignored <RunInfo> element.
Would it be possible to (also) write those setup/teardown errors to stdout (in addition to stderr)?
It would make analyzing such failures a lot less painful, since they're currently not visible in AzDO. If anything fails there, our devs will look at the job and review the step that failed, only to see that all tests are green but the run failed anyways.