Skip to content

Conversation

@sivakami-projects
Copy link
Contributor

@sivakami-projects sivakami-projects commented Jan 26, 2026

Reason for Change:

Add observability to the swiftv2 long running cluster test pipeline by integrating metrics collection.

Issue Fixed:

This PR integrates the persistent-cluster-metrics tool to report test outcomes (success/failure) for each test stage to our telemetry system.
test run on long running cluster pipeline

Changes:
Build the metrics binary from Networking-Aquarius repo during pipeline execution
After each test (pod creation, connectivity, private endpoint, scale, cleanup), report the result as a metric
Switch default region to westus2 (temporary - eastus2 TIP sessions unavailable)

Metrics emitted:
https://amg-persistent-metrics-ccawb9g7hecucsh2.wus2.grafana.azure.com/goto/a0zNbRHDR?orgId=1
PersistentClusterTestsSucceeded - when a test passes
PersistentClusterTestsFailed - when a test fails
Each metric includes: ADO run ID, resource group, work load type, and test scenario name.

…scheduled runs from eastus2 to westus2 for TIP session availability.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Integrates persistent cluster metrics emission into the swiftv2 long-running cluster test pipeline to improve observability of per-stage test outcomes.

Changes:

  • Adds a BuildMetricsBinary job that builds and publishes the persistent-cluster-metrics binary as a pipeline artifact.
  • Wraps each datapath test stage (create, connectivity, private endpoint, scale, delete) to emit success/failure metrics after go test.
  • Switches the pipeline default deployment region from eastus2 to westus2.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.pipelines/swiftv2-long-running/template/datapath-tests-stage.yaml Builds/downloads metrics binary and emits success/failure metrics per test job; updates storage RBAC script paths for multi-repo layout.
.pipelines/swiftv2-long-running/pipeline.yaml Changes default location parameter to westus2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sivakami-projects
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

paulyufan2
paulyufan2 previously approved these changes Jan 27, 2026
@sivakami-projects
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sivakami-projects sivakami-projects added this pull request to the merge queue Feb 2, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 2, 2026
* Enable metric collection on long running cluster test pipeline. Move scheduled runs from eastus2 to westus2 for TIP session availability.

* Refactor: extract metrics setup steps into reusable template

* remove redundant dependencies.

---------

Co-authored-by: sivakami <[email protected]>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 2, 2026
@sivakami-projects sivakami-projects added this pull request to the merge queue Feb 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants