Repository navigation
Description
Failure signature
Windows processes in Azure-hosted 1ES jobs terminate with STATUS_DLL_INIT_FAILED:
0xC0000142
unsigned: 3221225794
signed: -1073741502
The process failure is followed by an unresponsive or lost Azure agent. The failures happen in injected policy or Configure work before repository source execution can produce a product diagnostic.
Classification: CI infrastructure failure.
Confirmed occurrences
| PR / head | Run and job | Evidence | Retry outcome |
|---|---|---|---|
#26424 / f4789d0252494d550cb8de485aebcd4dae4fc322 |
15129243, SDLSources | PowerShell exited 3221225794; auto-injected Component Detection then occupied the job until its 120-minute limit, and the agent did not answer cancellation for five minutes |
Failed-jobs attempt 2 succeeded on AzurePipelines-EO 6 |
#26477 / 29bb3aeaf5f38dbb8e6220efbd2826a524a9472e |
15118908, Configure | Agent Pool Validation's node.exe and checkout cleanup's Agent.PluginHost.exe exited -1073741502; Azure then stopped hearing from Azure Pipelines 75 |
An external API-diff stage attempt was skipped and did not rerun Configure. A failed-jobs retry has now created Configure job attempt 2 and is active |
This is 2 confirmed occurrences across 2 distinct monitored PRs.
Reproduction pattern and impact
- The exact NTSTATUS reproduces across unrelated PRs and different processes.
- Both occurrences are in Windows 1ES/Azure-hosted setup or policy work.
- The associated agent becomes unresponsive or is reported lost.
- Repository checkout or product compilation does not identify a source failure.
The failure blocks otherwise independent main or API-diff pipelines. In the #26477 run, no API comparison baseline was evaluated because Configure failed and both API-diff stage attempts were skipped.
Investigation performed
- Inspected complete Azure build metadata, current and previous timelines, task issues, worker names, and retry attempts.
- Correlated the signed and unsigned exit-code representations with
0xC0000142. - Searched all open and closed
dotnet/maciosissues separately for the hexadecimal code, both decimal forms,Agent.PluginHost, agent-loss text, and DLL-initialization terms. - Inspected CI: all builds on the AzurePipelines-EO pool fail at 'Initialize job' with 0 errors (Azure DevOps not persisting timeline records) #26349 and excluded it: that issue describes server-side timeline records not being persisted with zero task errors, not process exit
0xC0000142.
Observation window
- First observed:
2026-08-27T14:56:31Z - Latest observed:
2026-08-28T07:06:27Z
Workaround
A failed-jobs retry cleared the #26424 occurrence. For #26477, Configure attempt 2 is active. Retry accounting is 3 PR-lifetime / 3 current-head requests, including an unrelated simulator retry and the ineffective external API-stage attempt.
Azure diagnostic artifacts are retention-limited; only minimal stable evidence is quoted here.
Activity
dalexsoto commentedon Aug 28, 2026
Retry outcome for PR #26477 @
29bb3aeaf5f38dbb8e6220efbd2826a524a9472e:Azure Pipelines 21from2026-08-28T09:26:48Zto09:29:50Zand succeeded.09:30:04Z; the0xC0000142agent-loss failure did not recur.The canonical count remains 2 confirmed occurrences across 2 distinct monitored PRs. PR retry accounting remains 3 lifetime / 3 current-head requests; the unrelated simulator PAC retry is still active.
Issue-specific checklist: none; the issue body has no Additional info to collect section.
dalexsoto commentedon Sep 17, 2026
Confirmed the same Windows host-startup/agent-loss failure in #26656, head
33bdc16d600729e86a1bec946b1ef52ba3e6e077.xamarin-macios-sim-pr-tests(definition 21922).Download secrets: xamarin-releng, task log 18, failed at 2026-09-17T13:15:30Z: the Node 24 task host exited -1073741502 / 0xC0000142. Both checkout-cleanupAgent.PluginHost.exeprocesses reported the same code, and Azure subsequently reported loss of communication with the Configure agent.Retry outcome: after checking the unchanged, conflict-free head, all retained/deleted completed and active merge/source/head-ref runs, all pipeline attempt histories, and the durable ledger, one Azure CLI failed-jobs request was accepted for
configure_buildwithforceRetryAllJobs=false. Configure attempt 2 succeeded, running from 14:44:52Z to 14:48:05Z. The same process-initialization failure did not recur in that job. Dependent stages were reset to attempt 2: Build is in progress and the downstream test stages are pending; the previously successful Linux verification stage remained at attempt 1. Pending stages are not reported as tested or passed, and the overall retry is not yet complete.PR retry usage is now 1 lifetime / 1 for this head, against the 25 / 10 limits. Internal task retry-helper messages are not separate accepted Azure retry requests; the automatic package-triggered API scan is not an equivalent simulator retry.
Occurrence accounting: 3 confirmed failure occurrences across 3 distinct monitored PRs, comprising the two retained issue-body records and this new job-root occurrence. The failed Node task and cleanup tasks are one host-failure occurrence, not three roots. Historical attempt numbers not explicit in the retained body remain unavailable and were not invented or used to change retry counters.
Checklist/availability: the refreshed body has no Additional info to collect section. Current run/head/stage/job/task/attempt, signed/hex code, startup failure and agent-loss evidence are collected. Separate cleanup logs were not published after the host failure; timeline errors remain available. There are no NUnit/Helix/binlog test results for this pre-test failure. The underlying host condition is not isolated; worker/IP identifiers are not disclosed. Artifacts/logs are retention-limited.
No source, binding, API-diff suppression or baseline changes were made. Monitoring continues on the accepted retry and the independent API scan.
dalexsoto commentedon Oct 2, 2026
New exact Windows native-host initialization recurrence
#26797 /
fba8511124689fed5f21583e132655c0a7f4ee2b: run 15531925 / exact failed task, definition 16533, stage/job/task attempt 1; jobbc38e8b8-e027-53cb-48e7-2adbd1070eca, task588b4ca4-2b7a-588a-b0a7-9e1f56b49aaf, log not published. Recorded task finish: 2026-10-01T07:49:55.3933333Z.Injected Guardian AntiMalware and post-checkout Agent.PluginHost processes reported -1073741502 / 0xC0000142 STATUS_DLL_INIT_FAILED, then the SDL job reached its 120-minute cap and the agent did not answer cancellation for five minutes. This is the pinned shared Windows CI host failure, not a product/code diagnostic. Scanner and cleanup failures are one host-root occurrence, not several independent failures. Child task logs were not published after the host failure; the full captured timeline carries the exact native codes and agent-loss sequence. The available phase log contains preparation only, and does not invent a missing scanner log.
Signature:
Windows-host-process-initialization|STATUS_DLL_INIT_FAILED-0xC0000142|agent-unresponsive-before-product-tests. 4 confirmed occurrences across 4 distinct monitored PRs, including the two already retained issue-body history keys (#26424/#26477), the accepted #26656 occurrence, and this one new #26797 root. The existing two historical keys were reconciled against the current full body and made countable; no duplicate key was added. Their original attempt/pipeline details remain unavailable, are not inferred from later retries, and are not used for retry-request counters.Issue-specific checklist: the freshly read body has no Additional info to collect section. Exact PR/head/run/definition/stage/job/task/attempt, published timing, signature and available timeline/task/artifact evidence are attributed above.
Unavailable/not established for #26797/run 15531925/job bc38e8b8-e027-53cb-48e7-2adbd1070eca — child_task_logs: Not published after host initialization failure; timeline issues retain exact exit codes.
Unavailable/not established for #26797/run 15531925/job bc38e8b8-e027-53cb-48e7-2adbd1070eca — host_condition: Underlying Windows host condition remains unisolated.
No monitor retry or branch edit. Eligibility does not bypass complete all-actor 25-lifetime / 10-head counters, current conflict-free head and verified Azure CLI scope. Those request-accounting/safe-operation gates are not certified for this action. Keep this canonical issue open; no issue creation or reopening is needed. Direct Azure jobs have no Helix item; remote diagnostics are retention-limited. Worker identifiers, addresses, credentials and raw environment blocks are not published.
dalexsoto commentedon Oct 3, 2026
Exact same-head SDL retry outcome
#26797 /
fba8511124689fed5f21583e132655c0a7f4ee2bRun 15531925 / SDL job attempt 2, definition 16533, stage/job 2/2, succeeded at 2026-10-03T12:36:45.9366667Z. Parent succeeded 2026-10-03T12:36:51.906074+00:00; unchanged-head PR merged externally 2026-10-03T12:37:05Z. Azure
previousAttemptslinks original failed jobbc38e8b8-e027-53cb-48e7-2adbd1070eca, task588b4ca4-2b7a-588a-b0a7-9e1f56b49aaf.Actual retry timeline confirms AntiMalware task
4f7d8dbb-eadb-5e73-d754-a56eb218f89a/ task-record attempt 1, log 187, and both post-checkout cleanup tasks succeeded. This clears this occurrence's original 0xC0000142 / STATUS_DLL_INIT_FAILED episode, not a global host fix. Unavailable: original child logs were not published after host failure; underlying host condition remains unisolated.Signature:
Windows-host-process-initialization|STATUS_DLL_INIT_FAILED-0xC0000142|agent-unresponsive-before-product-tests. Classification: CI infrastructure failure for this occurrence. 4 confirmed occurrences / 4 distinct PRs, unchanged, including retained historical confirmations. This is material evidence for an existing occurrence, not a new failure.Issue-specific checklist: freshly read body has no Additional info to collect section. Exact authorized PR/head/run/stage/job/task or artifact/test proof and unavailable diagnostics/timing are attributed above. Unavailable: triggering actor, accepted-request grouping and complete all-actor lifetime/head counters remain uncertified; attempt numbers do not certify either 25-lifetime/10-head budget. No monitor retry, source edit, issue creation or reopening. Keep this canonical issue open. Direct Azure jobs have no Helix item; artifacts are retention-limited. Worker identities, addresses, credentials and raw environment blocks are withheld.
dalexsoto commentedon Oct 22, 2026
One further Windows process-initialization / unresponsive-agent host occurrence is confirmed in #26983, logical PR head
d15ab33a426f12a7f88849589268e6b9ffc740c8.Run 15776856 / Publish Test Results generation 2 / publisher job, definition 21922:
STATUS_DLL_INIT_FAILED). The own published task logs are 3267 and 3277.00:05:00. Infrastructure identifiers are withheld.The four task identities are
bf2399d9-d064-58ec-f379-169c190c2d3f,1ef3e043-ff07-5e3d-dd9d-d6ad78ad25ed,2eb5d356-9fb0-41b5-a822-e72691b8d65c, and437136fd-d5fb-4dc2-8e43-12a0f2fc0c72. They are four child diagnostics of one host occurrence, not four host failures or four retry requests. The typed initialization status plus the newly available cancellation-response failure supplies the stronger host-root attribution; the status code alone was not treated as sufficient.Classification and accounting: CI infrastructure failure. This makes 5 documented host occurrences across 5 distinct PRs, retaining the four previously documented issue-only occurrences without reinserting or rekeying them. The separate simulator testcase failures in this run are not part of this host signature.
The logical PR/head above identifies the accepted pipeline request. The Windows publisher's actual checkout/runtime/SDK and underlying DLL or host condition remain unverified; another job's source or SDK is not substituted. No bad-secret/authentication, environment-size, or specific DLL cause is inferred, and no secret value, secure-file archive, worker probe, or repair was requested.
Retry/disposition: no monitor retry or source change. The already-charged external request remains charged after its actual failed parent end; dependent publisher/debug generation 2 is not another accepted request. This is not a permanent host fix or a reason to rerun the mixed failed pipeline speculatively.
Issue-specific checklist: the freshly read body has no Additional info to collect section. Exact run, stage/job/task identities, signed/hex status, own published versus unavailable logs, cancellation-response evidence, and actual parent result/finish are attributed above. Artifacts and logs are retention-limited.
dalexsoto commentedon Oct 23, 2026
Bounded publisher-job outcome for #26983: the corresponding generation-3 job actually completed. The historical total remains 5 host occurrences across 5 PRs; this is a retry outcome, not another host failure or proof of a permanent DLL/worker repair.
Run 15776856 / publisher job 498dfa49-4dd1-5b5c-2bed-b24492d82b9a, definition 21922, Publish Test Results generation 3, finished succeeded at 2026-10-22T23:46:38.2066667Z.
The exact historical stage timeline was retrieved by its own timeline ID
8d10f963-ed01-567e-4bb0-bbb5820964a4, rather than borrowing the reactivated generation-4 view. Its own Agent Pool Validation, Install PowerShell Core, and both post-checkout cleanup tasks are genuinely completed/succeeded with actual start/end clocks, not conditionally skipped. These are the equivalent process-host and cleanup surfaces that failed in generation 2. Own merge-undo task/log 3512 verifies actual checkoutd15ab33a426f12a7f88849589268e6b9ffc740c8; no sibling job's source is substituted.The overall generation-3 parent still failed, at 2026-10-22T23:46:44.8180271Z. Its exact own GetBuilds record was captured while terminal, before an external Mac-only generation-4 restart. The same run's actual historical stage records establish 37 terminal jobs: 36 succeeded / 1 failed; the remaining failure was the separately recorded Mac Debug initial-execution testcase, not this host signature.
The old generation-3 accepted request remains charged and completed/failed. The later externally observed Mac4 request is separately charged once; carried-forward iOS3 records and pending Publisher4 materialization are not additional requests. No monitor retry, worker/auth/cache/SDK repair, source edit, approval change, budget reset or remote deletion was performed.
The body has no Additional info to collect section. The initiating DLL/host condition, machine equivalence and permanent remediation remain unproved. Product SDK/Apple runtime, NUnit, Helix and app binlogs do not describe these publisher-host steps. No secret, environment dump, worker/address identifier or secure-file content was collected or disclosed. Authorized timeline and task evidence is retention-limited.
Note
Generated by GitHub Copilot.
dalexsoto commentedon Oct 23, 2026
Two additional Windows process-initialization / unresponsive-or-lost-agent host occurrences are now qualified: 7 documented host occurrences across 7 distinct PRs, preserving the five already reported here. The ten child-task diagnostics below are two hosts, not ten host failures or retry requests.
#26811, queued head
0a2c2ac637aee9cec4a1ea583519c74fe11be014: run 15788411 / publisher job, definition 21922, stage Publish Test Results (publish_test_results), stage/phase/job/task generation 1.Six own task records report -1073741502 / 0xC0000142 (
STATUS_DLL_INIT_FAILED):f6be1b04-3b8e-5929-94ee-10ef226cb3c0d842cd7c-a68b-5400-60fa-535b620941f8b3a0934a-4495-560c-72dc-29a620309b44cfd96850-2de7-55f8-b418-407f240886e07f856cfc-6362-477f-b3c7-0c3f7c39ae87255b9b5e-6a1e-4508-a3d2-42cdbc880c17The own final job warning explicitly reports no response to cancellation within
00:05:00, after its 30-minute cap. This supplies the stronger host-root evidence; the status code alone is not sufficient. Parent metadata reports completed/failed at 2026-10-23T10:56:34.260098Z. The gist/comment row is a failed/continued-error CI task, not a monitor-posted PR comment.#26971, queued head
3588d8217c7fe8cb84562c1fe01ed962b8fddb94: run 15768426 / change-detection publisher job, definition 22268, stage API diff (generate_api_diff), stage/phase/job/task generation 1.This is a historical occurrence newly linked here, not a new run: four retained Node/PowerShell/Agent.PluginHost task records carry the same exact status. Their identities are
aea20f52-ef3a-54ed-ba4c-ebfa5564bc92,1bd6f22f-1e07-5caf-ffbe-9b7507463cd5,2a95c234-4c78-4a6f-b14a-f018778b73fd, and5c6ca120-2a12-4087-be97-ca7e0b35a73e. Re-reading its own final timeline additionally establishes "We stopped hearing from agent"; task status alone was not used to promote it. Parent metadata actually finished failed at 2026-10-21T23:23:58.702223Z. Its four original ledger keys are preserved without reinsertion or rekeying. Publisher failure does not establish an API-comparison or beta breaking-change policy violation.Classification / availability: CI infrastructure failure. Both publishers skipped their own initial checkouts and merge-undo, so actual publisher source/SDK/runtime and the initiating DLL/host condition remain unverified. Another job's checkout or test results are not substituted. These publisher steps have no attributable NUnit, Helix or app-binlog result. No bad-secret/authentication, environment-size, or specific DLL cause is inferred; secret payloads, worker/address identifiers and environment dumps were not collected or disclosed. Task/timeline evidence is retention-limited. The refreshed issue body has no Additional info to collect section.
Retry/disposition: no monitor retry, source edit, host repair or approval change. First-generation publisher materialization and internal cleanup retries are not additional accepted Azure requests. Complete all-actor 25-lifetime / 10-head capacity remains uncertified for #26811, which also has separately diagnosed mixed failures. The previously reported #26983 publisher-3 success remains a bounded job recovery, not a permanent host fix.
Note
Generated by GitHub Copilot.
dalexsoto commentedon Oct 23, 2026
Bounded publisher recovery, not a pipeline pass: #26811, logical head
0a2c2ac637aee9cec4a1ea583519c74fe11be014, run 15788411, publisher stage 2 / job 2b2f23583-7571-5539-20e5-c81c2127326b.The own job actually succeeded at 2026-10-23 15:35:31.7366667 UTC; its stage succeeded at 15:35:43.3033333 UTC. All six corresponding Node/process-host, artifact-removal, summary, expected-size reporting and two cleanup tasks have actual successful execution records, not skips. This adds one scoped execution outcome, not six recovered hosts or six accepted requests. The documented negative baseline remains 7 host occurrences across 7 distinct PRs.
The shared parent still finished failed at 15:35:45.154858 UTC: 30 successful and 7 failed jobs. Other test failures are not cleared. Own Undo log 3048 reports source prefix
0a2c2ac637, consistent with this logical head; it does not independently print a full post-checkout hash or establish an SDK, Apple runtime, or test-case pass. Its oversizedSTAGE_DEPENDENCIESwarning also persists; no causal relationship or repair is inferred.An externally observed new publisher generation after the prior actual parent failure adds one accepted-request lower bound. Actor, submitted payload/grouping and service-submission time remain unknown; execution clocks are not request timestamps. No monitor retry was sent, no charge was refunded, and incomplete all-actor history still prevents certifying 25/10 capacity.
No permanent DLL/host/source repair or same-machine equivalence is established. The current issue body has no diagnostic checklist; NUnit/Helix/app-binlog/runtime-selection evidence is not supplied by these publisher steps. No secret payload or shared-worker probe was requested.
Note
Generated by GitHub Copilot.
dalexsoto commentedon Nov 26, 2026
One new Windows process-initialization / lost-agent host occurrence is confirmed for #27452, queued PR head
9e58584845996b96225d9e9c6cddd25f7c554877.API-diff run 16147121 / Configure job attempt 1, definition 22268:
6682e827-495d-547e-7ca3-4d73a1c2f8cd(log 11), and template-checkout cleanup's Agent.PluginHost, taskeeb85c4a-0bec-47cb-ace4-02a4c52af9b8(log 29), both report -1073741502 / 0xC0000142 (STATUS_DLL_INIT_FAILED) in their own timeline issues.Signature:
Windows-host-process-initialization|STATUS_DLL_INIT_FAILED-0xC0000142|agent-unresponsive-before-product-tests. Classification: CI infrastructure failure; the initiating DLL/host condition remains unisolated.Accounting: 8 documented host occurrences across 8 distinct historically monitored PRs: the seven already documented here (#26424, #26477, #26656, #26797, #26983, #26811, #26971), plus this new #27452 host. Earlier retry/recovery comments are not new failures. Historical issue-only evidence is retained separately from the new complete occurrence key; missing original attempt/definition details remain unavailable, not invented. Unrelated taskless heartbeat observations without this native initialization status are excluded.
Checklist/availability: the refreshed body has no Additional info to collect section. Own build/timeline, attempt, task identities, exact status, agent-loss evidence and final result are collected. Underlying host condition, executed product checkout/SDK, and complete accepted-request lifetime/head retry counters are not established. This pre-test failure has no attributable NUnit/Helix/app-binlog result; diagnostic retention is limited. Worker identifiers and addresses are withheld.
Disposition: no monitor retry, source change, baseline update, issue creation or reopening. Safe 25-lifetime/10-head retry capacity is not certified. The separate tvOS simulator assertions are not part of this host signature.
Note
Generated by GitHub Copilot.