Update test failure logging  (#39655)
Update test failure logging  (#39655)

This attempts to address the missing log outputs noticed in the below test run.
x-ref: https://github.com/vercel/next.js/runs/7839842437?check_suite_focus=true
JeromeFitz/next.js,JeromeFitz/next.js,JeromeFitz/next.js,JeromeFitz/next.js