A writer of the stopped app can still be finishing in the data directory when the smoke test removes its temp root, so rmdir failed with ENOTEMPTY after the test had passed. The temp root is disposable: a failed cleanup now logs a warning.