In some test cases, when running in driver mode, we forget to close an files. This could lead to jtreg treating the test as failed by reporting "failed to clean up files after test". See JDK-8233855 for an example (log file in example.jtr in bug attachment)
It will help diagnosing such failures if jtreg can report all the file(s) that it has trouble deleting.
It will help diagnosing such failures if jtreg can report all the file(s) that it has trouble deleting.