Development Tools and Testing Framework for ArcDeploy
This repository contains the comprehensive development, testing, and debugging infrastructure for the ArcDeploy project. While the main ArcDeploy repository focuses on clean, production-ready deployment, this repository provides powerful tools for developers, contributors, and advanced users.
ArcDeploy-Dev is the complete development powerhouse featuring:
- ✅ Enterprise-grade testing framework with 100+ test scenarios
- ✅ Advanced failure injection with 31 failure scenarios
- ✅ Comprehensive debugging tools and diagnostic utilities
- ✅ Mock infrastructure for development and testing
- ✅ Performance benchmarking and monitoring tools
- ✅ Emergency recovery systems with automated cleanup
| Category | Document | Description |
|---|---|---|
| 📊 Project Info | Project Information | Project status, phases, releases, and development workflow |
| 🧪 Testing | Testing Guide | Comprehensive testing procedures and framework usage |
| 🔧 Troubleshooting | Troubleshooting Guide | Complete debugging and troubleshooting procedures |
| 📝 Changes | Changelog | Detailed change history and version updates |
| 🔗 Mapping | Production-Dev Mapping | Mapping between production and development tools |
| Tool | Purpose |
|---|---|
| SSL Certificate Validation | Comprehensive SSL/TLS testing and security validation |
| Production Compliance Checker | Validates deployments against production requirements |
| Debug Commands | 30+ system diagnostic checks and validations |
| Comprehensive Test Suite | Complete testing framework with 100+ scenarios |
# 1. Clone the repository
git clone https://github.com/Pocklabs/ArcDeploy-Dev.git
cd ArcDeploy-Dev
# 2. Make scripts executable
chmod +x scripts/*.sh tests/*.sh
# 3. Run quick validation
./tests/comprehensive-test-suite.sh --quick
# 4. Check system status
./scripts/debug_commands.sh- OS: Ubuntu 22.04 LTS (recommended)
- Hardware: 4+ vCPUs, 8+ GB RAM, 80+ GB storage
- Network: Internet connectivity for cloud provider tests
- Access: Root/sudo privileges for system-level operations
| Category | Scenarios | Purpose |
|---|---|---|
| SSH Key Validation | 21 scenarios | SSH key generation, permissions, and authentication |
| Cloud Provider Testing | 15+ scenarios | Multi-cloud connectivity and configuration validation |
| Configuration Validation | 25+ scenarios | Template generation and configuration consistency |
| Debug Tool Testing | 30+ validations | Debug command availability and output validation |
| Failure Injection | 31 scenarios | Network, service, and system failure testing |
| Performance Testing | 15+ benchmarks | System performance and resource monitoring |
# Essential tests (5-10 minutes)
./tests/comprehensive-test-suite.sh --quick
# Full test suite (30-45 minutes)
./tests/comprehensive-test-suite.sh
# Specific categories
./tests/comprehensive-test-suite.sh ssh-keys debug-tools
# Failure injection testing
./tests/failure-injection/scenarios/network-failures.sh dns_complete 60
# Performance benchmarking
./tests/performance-benchmark.sh| Type | Scenarios | Examples |
|---|---|---|
| Network | 11 scenarios | DNS failures, port blocking, bandwidth limits |
| Service | 11 scenarios | Service crashes, config corruption, resource exhaustion |
| System | 9 scenarios | Memory bombs, CPU stress, I/O storms |
- Resource Monitoring: 95% thresholds for memory, CPU, disk
- Emergency Recovery: Automated cleanup and restoration
- Protected Resources: System-critical services and directories
- Health Verification: Continuous system health monitoring
# Quick cleanup
./tests/failure-injection/recovery/emergency-recovery.sh quick
# Full system recovery
./tests/failure-injection/recovery/emergency-recovery.sh full
# Health assessment
./tests/failure-injection/recovery/emergency-recovery.sh --assess# Comprehensive system check
./scripts/debug_commands.sh
# Specific validations
./scripts/validate-setup.sh
# Manual recovery procedures
./scripts/manual_recovery.sh| Tool | Purpose | Usage |
|---|---|---|
debug_commands.sh |
30+ system diagnostics | ./scripts/debug_commands.sh |
validate-setup.sh |
Installation validation | ./scripts/validate-setup.sh |
manual_recovery.sh |
Recovery procedures | ./scripts/manual_recovery.sh |
ArcDeploy-Dev/
├── 📚 docs/ # Documentation hub
│ ├── guides/ # User and developer guides
│ ├── reports/ # Analysis and status reports
│ └── *.md # Core documentation files
├── 🧪 tests/ # Testing framework
│ ├── failure-injection/ # Failure injection scenarios
│ ├── comprehensive-test-suite.sh
│ ├── master-test-orchestrator.sh
│ └── performance-benchmark.sh
├── 🔧 scripts/ # Utility scripts
│ ├── lib/ # Shared libraries
│ ├── debug_commands.sh
│ ├── validate-setup.sh
│ └── manual_recovery.sh
├── 🏗️ mock-infrastructure/ # Testing environments
├── 📊 test-data/ # Test scenarios and data
├── 🔧 debug-tools/ # Advanced diagnostics
├── ⚙️ config/ # Configuration management
├── 📝 templates/ # Template system
├── 🚀 dev-deployment/ # Development tools
└── 📈 test-results/ # Test outputs and reports
- 100+ Test Scenarios across all components
- 31 Failure Scenarios for resilience testing
- Automated Recovery with emergency procedures
- Performance Monitoring with benchmarking tools
- Advanced Debugging with 30+ diagnostic commands
- Mock Infrastructure for local development
- Configuration Management with centralized system
- Multi-Cloud Support with template generation
- 95% Test Coverage across all components
- A+ Code Quality with zero critical issues
- Enterprise Security with production-ready implementation
- Performance Optimized with 80% faster operations
Project Phase: 4 of 7 Complete (57% Overall Progress)
Current Status: ✅ Phase 4 Complete - Comprehensive Testing Framework
Next Phase: 🔄 Phase 5 - Documentation & Project Structure (In Progress)
- ✅ Advanced Failure Injection Framework - 31 scenarios implemented
- ✅ Emergency Recovery System - Automated cleanup procedures
- ✅ Performance Benchmarking Suite - Comprehensive monitoring
- ✅ Debug Tool Validation - 30+ command validations
- ✅ Master Test Orchestrator - Coordinated test execution
- Check the Testing Guide for testing procedures
- Review Troubleshooting Guide for common issues
- See Debugging Guide for diagnostic procedures
# System health check
./scripts/debug_commands.sh
# Validate installation
./scripts/validate-setup.sh
# Quick test
./tests/comprehensive-test-suite.sh --quick- GitHub Issues: Report issues
- Documentation: Check relevant guides in docs/
- Logs: Review test results in
test-results/logs/
- ArcDeploy Main - Production deployment repository
- ArcDeploy Documentation - Project wiki
This project is licensed under the MIT License - see the LICENSE file for details.
Repository Status: ✅ Active Development
Last Updated: June 15, 2025
Test Framework: ✅ Enterprise Grade (100+ scenarios)
Documentation: ✅ Comprehensive (Organized and Current)
ArcDeploy-Dev: Your complete development and testing infrastructure for enterprise-grade infrastructure automation.