CI test failures on main: arm-certificateregistration, arm-costmanagement
test-reliability
## Summary
Two CI pipelines are failing on commit [`34cd2014d`](https://github.com/Azure/azure-sdk-for-js/commit/34cd2014d1b58a07110b9aa6ca904ac941d6c0b6) (pushed 2026-06-29) on the `main` branch. Both failures are due to the test-proxy binary failing to install or start on their respective CI runners, resulting in a missing `test-proxy.log`. Both packages (`@azure/arm-certificateregistration` and `@azure/arm-costmanagement`) were newly introduced in this mass-regeneration commit. Their test recordings exist in `Azure/azure-sdk-assets` and the test-proxy scripts were unchanged in this commit.
---
## Failures
### `@azure/arm-certificateregistration`
**Failing CI build:** [js - certificateregistration - mgmt (Build UnitTest macoslatest_26x_node)]((dev.azure.com/redacted) ([check run](https://github.com/Azure/azure-sdk-for-js/runs/84042495979))
**Failing tests:**
- Unable to determine — no test results available because the test-proxy infrastructure step failed before tests ran
**Error:**
```
Path does not exist: /Users/runner/work/1/a/test-proxy.log
PowerShell exited with code '1'.
```
**Root cause:**
The test-proxy binary failed to install or start on the macOS runner (`macoslatest_26x_node`). The "Dump Test Proxy logs" post-test step (condition: `succeededOrFailed()`) failed because `test-proxy.log` was never created — meaning the proxy process never started. Without a running proxy, playback-mode tests cannot connect and the entire job fails.
**Suggested fix:**
Re-run the failing CI job. If the failure persists, check:
- Whether the NuGet download of `Azure.Sdk.Tools.TestProxy` version `1.0.0-dev.20260521.2` succeeded on that runner.
- Whether `DOTNET_ROOT` was correctly set to `$HOME/.dotnet` on the macOS Darwin runner.
- Whether the `PROXY_EXE` pipeline variable was populated after installation.
**Reproduced locally:** No — failure is specific to the macOS CI runner.
---
### `@azure/arm-costmanagement`
**Failing CI build:** [js - cost-management - mgmt (Build UnitTest windows_22x_browser)]((dev.azure.com/redacted) ([check run](https://github.com/Azure/azure-sdk-for-js/runs/84017050652))
**Failing tests:**
- Unable to determine — no test results available because the test-proxy infrastructure step failed before tests ran
**Error:**
```
Path does not exist: D:\a\_work\1\a\test-proxy.log
PowerShell exited with code '1'.
```
**Root cause:**
Same pattern as above — the test-proxy binary failed to install or start on the Windows runner (`windows_22x_browser`). The "Dump Test Proxy logs" step failed because `test-proxy.log` was never created by the proxy process.
**Suggested fix:**
Re-run the failing CI job. If the failure persists, check:
- Whether the NuGet download of `Azure.Sdk.Tools.TestProxy` version `1.0.0-dev.20260521.2` succeeded on the Windows runner.
- Whether the `PROXY_EXE` variable was set after `install-test-proxy.ps1` completed.
- Whether `Start-Process $(PROXY_EXE) ...` returned a valid process (non-null `$Process`).
**Reproduced locally:** No — failure is specific to the Windows CI runner.
---
## Additional Notes
- Both packages are **new** in commit `34cd2014d` (first appearance on `main`). Asset tags are valid: `js/certificateregistration/arm-certificateregistration_e371a10e91` and `js/cost-management/arm-costmanagement_0f2e4e658d`.
- The test-proxy engineering scripts (`eng/common/testproxy/`) were **not changed** in this commit; the failures are not caused by a script regression.
- Other packages CI'd successfully on the same commit on macOS (e.g. `js - support - mgmt (Build UnitTest macoslatest_26x_node)` → success), confirming this is a per-run flaky infrastructure issue rather than a systematic outage.
- Recommend retrying both pipelines. If the failures recur consistently for these packages, escalate to the engineering systems team to investigate the test-proxy installation on macOS and Windows runners.
> Generated by [Analyze CI Test Failures](https://github.com/Azure/azure-sdk-for-js/actions/runs/28369457244) · 183.1 AIC · ⌖ 11.6 AIC · ⊞ 7.8K · [◷](https://github.com/search?q=repo%3AAzure%2Fazure-sdk-for-js+is%3Aissue+%22gh-aw-workflow-call-id%3A+Azure%2Fazure-sdk-for-js%2Ffix-test-failures%22&type=issues)
<!-- gh-aw-agentic-workflow: Analyze CI Test Failures, engine: copilot, version: 1.0.63, model: claude-sonnet-4.6, id: 28369457244, workflow_id: fix-test-failures, run: https://github.com/Azure/azure-sdk-for-js/actions/runs/28369457244 -->
<!-- gh-aw-workflow-id: fix-test-failures -->
<!-- gh-aw-workflow-call-id: Azure/azure-sdk-for-js/fix-test-failures -->
0 条评论