Gluck Zhang's Blog - Fault Injection
type: channel
link: https://blog.gluckzhang.com/tag/Fault-Injection/
items: [Paper Review] Fault Injection in Production - Making the case for resilience testing
items: [Paper Review] Data Poisoning: Lightweight Soft Fault Injection for Python
items: [Paper Review] DICE Fault Injection Tool
items: [Experiment] Using byte-monkey to do short-circuit testing
items: [Paper Review] Exception Handling Analysis and Transformation Using Fault Injection - Study of Resilience Against Unanticipated Exceptions

[Paper Review] Fault Injection in Production - Making the case for resilience testing
type: item
date: 2018-02-01T07:31:00+00:00
description: Short Introduction to This PaperThis paper gives us an introduction about how Etsy uses "GameDay" to build more confidence about their system's behavior. Specifically, it includes the discussion about 1) why apply it in production environment, 2) how to do fault injection during a GameDay exercise, 3) business justification and 4) a case, limitations and fear.Highlights of This PaperIntroduction about the provisioning of a server or cloud instance from zero to productionExplanation about why many complex systems are largely intractablePattern about GameDay exercise, introducing the methodology of how they doing fault injection in a real company[...]

[Paper Review] Data Poisoning: Lightweight Soft Fault Injection for Python
type: item
date: 2018-01-16T15:37:00+00:00
description: Short Introduction to This PaperThis paper introduces and explores the idea of data poisoning, a light-weight peer-architecture technique to inject faults into Python programs. This method requires very small modification to the original program, which facilitates evaluation of sensitivity of systems that are prototyped or modeled in Python. Actually this paper doesn't show much detail about the implementation, but the types of data poisoning it declares are very interesting.Highlights of This PaperData poisoning's symbolic expressionDifferent types of data poisoningKey InfomationTypes of data poisoning: deterministic effect poisoning, intermittent effect poisoning (need define the lifetime of poisoned data), infectious/non-infectious poisoningRelevant Future WorksOnly doing data poisoning is not enough, we should analysis the system's behaviour under different types of perturbationURLData Poisoning: Lightweight Soft Fault Injection for Python

[Paper Review] DICE Fault Injection Tool
type: item
date: 2018-01-15T16:00:00+00:00
description: Short Introduction to This PaperThis paper describes the motivation, innovation, design, running example and future development of a Fault Inject Tool (FIT). This tool enables controlled causing of cloud platform issues such as resource stress and service or VM outages, the purpose being to observe the subsequent effect on deployed applications.Highlights of This PaperThe DICE FIT will address the need to generate various cloud agnostic faults at the VM Admin and Cloud Admin levels. So greater flexibility and the ability to generate multiple faults, relatively lightweightKey InfomationDesign: To access the VM level and issue commands the DICE FIT uses SSH to connect to the Virtual Machines and issue the commands. By using JSCH, the tool is able to connect to any VM that has SSH enabled and issue commands as a pre-defined user. This allows greater flexibility of commands as well as the installation of tools and dependences.Relevant Future WorksContainerised environments will also be considered as future FIT targets to help understand the effect on microservices when injecting faults to the underlying host as well as the integrity of the containerised deploymentThe CACTOS project will expand the tool functionality by initiating a specific application level fault to trigger optimisation algorithmsURLDICE Fault Injection Tool(Paper)DICE-Fault-Injection-Tool(Github Project)

[Experiment] Using byte-monkey to do short-circuit testing
type: item
date: 2018-01-14T19:10:00+00:00
description: What is byte-monkeyByte-Monkey is a small Java library for testing failure scenarios in JVM applications - it works by instrumenting application code on the fly to deliberately introduce faults like exceptions and latency. Original blogpost here.Original git repoForked one to do short-circuit testingHow to use[...]

[Paper Review] Exception Handling Analysis and Transformation Using Fault Injection - Study of Resilience Against Unanticipated Exceptions
type: item
date: 2018-01-12T11:17:00+00:00
description: Short Introduction to This PaperThis paper aims at analyzing and improving how software handles unanticipated exceptions. The first objective is to set up contracts about exception handling and a way to assess them automatically. The second one is to improve the resilience capabilities of software by transforming the source code. The authors devise an algorithm, called short-circuit testing, which injects exceptions during test suite execution so as to simulate unanticipated errors. It is a kind of fault-injection techniques dedicated to exceptionhandling. This algorithm collects data that is used for verifying two formal contracts that capture two resilience properties w.r.t. exceptions: the source-independence and pure-resilience contracts. Then the team propose a code modification technique, called “catch-stretching” which allows error-recovery code (of the form of catch blocks) to be more resilient.Highlights of This PaperThis work shows that it is possible to reason on software resilience by injecting exceptions during test suite executionDefinition of two contracts for exception handling: source independence contract, pure resilience contractAn algorithm and four predicates to verify whether a try-catch satisfies those contractsA source code transformation to improve the resilience against exceptionsAn empirical evaluation on 9 open sources applications with one test suite each showing that there exists resilient try-catch blocks in practiceKey InfomationSource-independent: A try-catch is source-independent if the catch block proceeds equivalently, whatever the source of the caught exception is in the try blockPure Resilience: A try-catch is purely resilient if the system state is equivalent at the end of the try-catch execution whether or not an exception occurs in the try blockShort-circuit testing consists of dynamically injecting exceptions during the test suite execution in order to analyze the resilience of try-catch blocksCatch Stretching: Replacing the…