[AI discovered CI] dotnet.Tests.dll.2 repeatedly times out in Linux Helix work item
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
## Build Information
- Current build: [dotnet-sdk-public-ci 1566200](https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1566200)
- Branch: `refs/heads/main`
- Failing work item: `dotnet.Tests.dll.2` in `Linux x64 - ubuntu.2204.amd64.open`
- Phase: `test-execution`
- Failure type: `timeout`
- Evidence sources: `helix-console`, `process-exit-code`, `helix-trx`
- Matching prior build: [dotnet-sdk-public-ci 1555313](https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1555313)
- **Failure fingerprint:** `test-execution|timeout|dotnet.Tests.dll.|helix_work_item_timeout----dotnet_sdk_test_execution_directory-datadisks-disk1-work-a5170921-t-dotnetsdktests.qofb1sfs-dotnet-exec-dotnet.tests.dll---results-directory-.--`
## Failure History
The same normalized timeout mechanism appears in the current build 1566200 and independent main-branch build 1555313, so this is a recurring pattern across separate commits. The surrounding sequence is: build 1555313 failed, then builds 1555849 through 1565199 succeeded, and build 1566200 failed. This establishes recurrence, but not whether the cause is a product regression, a test hang, or an environment-dependent condition.
## Error Details
Exact excerpt: `+ HELIX_WORK_ITEM_TIMEOUT=01:00:00 ... dotnet exec dotnet.Tests.dll ... --hangdump-timeout 48m --ignore-exit-code 8` followed by `at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(...)`. The work item reported exit code `2` after `00:01:20.6490000`; 33 tests executed, 32 passed, and 1 failed. Console: [console.68041dd4.log](https://helix.dot.net/api/jobs/a62837da-458e-4411-860f-a168af9c2e59/workitems/dotnet.Tests.dll.2/files/console.68041dd4.log?api-version=2019-06-17). TRX: [dotnet.Tests_net11.0_x64.trx](https://helix.dot.net/api/jobs/a62837da-458e-4411-860f-a168af9c2e59/workitems/dotnet.Tests.dll.2/files/dotnet.Tests_net11.0_x64.trx?api-version=2019-06-17). No dump link was supplied in the evidence.
## Root Cause Analysis
**Observed:** The Linux `dotnet.Tests.dll.2` work item failed during test execution with a Helix timeout/hang condition, while the Windows full-framework work item succeeded. The same timeout pattern is present in build 1555313.
**Assessment:** The proximate cause is that the Linux test process did not complete cleanly within the Helix execution contract. The dossier does not establish which test or operation held the process, nor whether the trigger is SDK code, test infrastructure, or machine/environment state. The generic `Monitor Helix Jobs` failure is a downstream report, not the cause; the separate `Options_WrongPathCannotPinCorsPolicy` assertion is not used as the cause.
**Confidence:** Medium for a recurring Linux test-work-item timeout; Low for the underlying root cause.
**Alternatives / Unknowns:** A test-host deadlock, a process/resource issue, or an environment-specific Helix condition remain possible. The supplied evidence does not include dump analysis, per-test hang location, target-branch comparison, or changed-file correlation.
## Suggested Investigation
First inspect the current and prior console/TRX artifacts and any available hang/crash dump to identify the last active test or blocked process. Then compare the Linux work-item behavior against target-branch/baseline runs and correlate the failing builds with changed files. If no product correlation is found, review Helix machine/resource diagnostics and rerun the focused `dotnet.Tests.CommandTests.Test` filters to distinguish a deterministic test hang from an environment-dependent timeout.
> Generated by [🕵️ CI Quality Investigator](https://github.com/dotnet/sdk/actions/runs/32813531479) · gpt56 · 1.11 AIC · ⌖ 0.74 AIC · ⊞ 31.5K · [◷](https://github.com/search?q=repo%3Adotnet%2Fsdk+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Fsdk%2Fci-quality-monitor%22&type=issues)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.