Skip to main content

Double Fault Automation Using Python

Page 1

International Research Journal of Engineering and Technology (IRJET)

e-ISSN: 2395-0056

Volume: 12 Issue: 06 | Jun 2025

p-ISSN: 2395-0072

www.irjet.net

Double Fault Automation Using Python Akhil khare1, Mrs. Deepika P2 1Electronics and Communication, R.V.College of Engineering, Bengaluru, India 2Electronics and Communication, R.V.College of Engineering, Bengaluru, India

---------------------------------------------------------------------------***------------------------------------------------------------------------Abstract—Ensuring network resilience in modern communication systems requires rigorous and repeatable testing under fault conditions. Traditional fault injection methods are often manual, error-prone, and tightly coupled to test scripts, making them inefficient for rapidly evolving network environments. This paper presents a lightweight, YAML-driven automation framework designed to simulate single, double, and triple fault scenarios on network routers with minimal code dependency. The proposed framework integrates with the Robot Frame- work to execute configuration-defined test cases and supports both standalone operation and CI/CDbased automation via an API interface. By decoupling test logic from execution code, the system enables fast adaptation to new test scenarios, reduces maintenance overhead, and enhances collaboration across QA, development, and operations teams. Experimental deployment on Juniper router simulators validates the tool’s ability to inject complex fault sequences, collect pre- and post-test data, and evaluate system resilience effectively. This paper outlines the system architecture, YAML schema design, execution methodology, and real-world use cases, demonstrating the effectiveness of configuration-driven automation in enhancing fault injection flexibility and scalability. Index Terms—Network Automation, Fault Injection, YAML Configuration, Robot Framework, Double Fault Testing, Resiliency Testing, CI/CD Integration, Network Reliability, Test Orchestration, Router Testing.

I. INTRODUCTION In today’s digitally connected world, communication net- works form the backbone of critical infrastructure, demanding high levels of availability, robustness, and fault tolerance. As network devices such as routers grow in complexity, ensuring their reliable operation under various fault conditions becomes paramount. Fault injection and resilience testing play a vital role in validating how these systems behave under failure

© 2025, IRJET

|

Impact Factor value: 8.315

|

scenarios, including hardware glitches, software crashes, and link failures. Traditional approaches to fault simulation typically involve manual test script modification or rigid test harnesses, which are not only time-consuming but also error-prone and difficult to maintain. These methods lack the flexibility and scalability required to keep up with dynamic network con- figurations and evolving fault scenarios. In particular, double fault conditions—where two faults occur either concurrently or sequentially—pose significant challenges in testing due to their potential to trigger cascading failures that are hard to reproduce and validate. This paper presents a novel automation framework designed to address these challenges through a lightweight, YAML- driven approach. The proposed system enables users to define complex fault scenarios using human-readable configuration files, decoupling test logic from implementation code. Built with Python and integrated with the Robot Framework, the solution supports both standalone execution and automation through REST APIs, making it suitable for ad hoc testing as well as integration with CI/CD pipelines. By enabling efficient simulation of single, double, and triple fault events, along with automated pre- and post-test data collection, the framework enhances testing coverage, reduces manual effort, and accelerates the fault validation process. The system is particularly tailored for use with Juniper routers, sup- porting CLI, VTY, and shell-based command execution, and is extensible to accommodate new fault types and validation routines. The remainder of this paper details the framework’s architecture, design methodology, implementation, and experimental evaluation, demonstrating its effectiveness in improving the scalability and robustness of network resiliency testing.

II. LITERATURE SURVEY The use of human-readable configuration formats such as YAML has become a critical enabler in developing scalable, maintainable, and low-code testing frameworks. YAML’s hierarchical structure and minimal syntax overhead allow

ISO 9001:2008 Certified Journal

|

Page 445


Turn static files into dynamic content formats.

Create a flipbook
Double Fault Automation Using Python by IRJET Journal - Issuu