feat(tests): dump all component and app unit logs on failure

It may result in an error, but shouldn't stop the script from running as we've `set -x`. I can get the logs also for buildsample.