1.4 KiB
1.4 KiB
description
| description |
|---|
| Troubleshoot CI/CD pipeline failures |
Troubleshoot CI/CD pipeline failures in the dd-trace-dotnet repository.
Available CI systems:
- Azure DevOps - Primary CI/CD system (
.azure-pipelines/) - GitHub Actions - Secondary workflows (
.github/workflows/)
Common failure types:
- Build failures: Check build logs for compilation errors
- Test failures: Analyze test output for specific failures
- Integration test failures: Check Docker containers, network issues
- Timeout issues: Look for hung tests or long-running operations
- Flaky tests: Identify intermittent failures and patterns
Steps to troubleshoot:
- Identify the failed stage: Build, test, or deployment
- Review logs: Look for error messages, stack traces, or warnings
- Check for known issues: Search recent PRs or issues
- Reproduce locally: Try to run the same build/test locally
- Use pipeline tools:
- Azure DevOps:
az pipelines runs show --id <run-id> - GitHub Actions:
gh run view <run-id>
- Azure DevOps:
Documentation:
- See
docs/development/CI/TroubleshootingCIFailures.mdfor detailed guidance - See
docs/development/CI/RunSmokeTestsLocally.mdfor local testing
Common solutions:
- Restart the pipeline if infrastructure issue
- Update test package versions if dependency issue
- Increase timeout for slow tests
- Fix test data or mocks for integration tests