taps.apps.failures.types¶
FailureType
¶
ParentDependencyError
¶
Bases: Exception
Exception raised in parent tasks when simulating dependency errors.
exception_failure
¶
import_failure
¶
manager_killed_failure
¶
Kill the parent process (i.e., the manager).
Source code in taps/apps/failures/types.py
memory_failure
¶
node_killed_failure
¶
Kill other processes in the node to simulate a node failure.
Warning
This is a very dangerous function. It will kill random processes on the node. Do not run this function in a process with sudo privileges.
Source code in taps/apps/failures/types.py
worker_killed_failure
¶
Kill the current process.
Source code in taps/apps/failures/types.py
timeout_failure
¶
ulimit_failure
¶
Open 1M files to simulate ulimit exceeded error.