From jmmv@google.com on March 30, 2011 11:55:59
In revision 648ed6360b2b7cda81a6079b00dc436d09c745b8 of ATF, there have been several bug fixes regarding the clean up of work directories. These bug fixes are related to dealing with race conditions that may arise, and Kyua needs to deal with them as well.
Basically, during cleanup, any errors raised should not stop the cleanup. Some of these errors can be ignored (like failing to scan the contents of a directory iff the directory itself can be removed) and some other errors can be retried a few times after a grace period. No matter what, unrecoverable errors during cleanup (i.e. errors that prevent us from cleaning the work directory altogether) should report the test case as broken, not crash the runtime engine. (Kyua most likely does not crash in these conditions, but an "expected" exception propagates too high up the call chain and that's not desired.)
Lastly, we also need to implement unmounting of directories within the work directory.
Original issue: http://code.google.com/p/kyua/issues/detail?id=17
From jmmv@google.com on March 30, 2011 11:55:59
In revision 648ed6360b2b7cda81a6079b00dc436d09c745b8 of ATF, there have been several bug fixes regarding the clean up of work directories. These bug fixes are related to dealing with race conditions that may arise, and Kyua needs to deal with them as well.
Basically, during cleanup, any errors raised should not stop the cleanup. Some of these errors can be ignored (like failing to scan the contents of a directory iff the directory itself can be removed) and some other errors can be retried a few times after a grace period. No matter what, unrecoverable errors during cleanup (i.e. errors that prevent us from cleaning the work directory altogether) should report the test case as broken, not crash the runtime engine. (Kyua most likely does not crash in these conditions, but an "expected" exception propagates too high up the call chain and that's not desired.)
Lastly, we also need to implement unmounting of directories within the work directory.
Original issue: http://code.google.com/p/kyua/issues/detail?id=17