Skip to content

[ci-scan] Test failure: Runtime_76273.Program.TestEntryPoint on Apple mobile CoreCLR #135398

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1624450
Build error leg or test failing: tvos-arm64 Release AllSubsets_CoreCLR_RuntimeTests-Regression_o_3 / Runtime_76273.Program.TestEntryPoint
Also affected: iossimulator-arm64 Release AllSubsets_CoreCLR_RuntimeTests.
Pipeline: runtime-extra-platforms, definition 154, branch main.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1617342 (finished 2026-09-30).
Also observed in follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1625894.

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorPattern is an ordered array of per-line .NET regexes, matched with Singleline | IgnoreCase | NonBacktracking. All elements must match in order.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

On the Apple-mobile CoreCLR runtime-test legs, creating Runtime_76273.Runtime throws InvalidProgramException. The failure was observed in six distinct builds among the ten sampled source-and-prior builds: 1617342, 1619076, 1620717, 1622039, 1622443, and 1624450. It also reproduces in follow-up build 1625894. The preceding sampled build 1614142, finished 2026-09-28, does not show this signature; this is the first observed occurrence in the sampled window, not proof of the product bug's introduction.

The failure output below omits xharness timestamps and application-process prefixes:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.InvalidProgramException: Common Language Runtime detected an invalid program.
   at Runtime_76273.Runtime..ctor()
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
   --- End of inner exception stack trace ---
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
   at Runtime_76273.Program.TestEntryPoint()
   at Program.<>c__DisplayClass0_0.<<Main>$>g__TestExecutor60|61(TestFilter filter, StreamWriter tempLogSw, StreamWriter statsCsvSw)
Failed test: global::Runtime_76273.Program.TestEntryPoint()

Tracking: #90372. That unlabeled report concerns Mono/Fuzzlyn coverage, not a matching Build Analysis KBE for this Apple-mobile CoreCLR constructor exception. No matching open KBE or handling PR was found in the completed test-name, constructor-frame, exception, and tracker searches.

The mobile test-host change in PR #134767 merged on 2026-09-28; this signature reproduces in later builds. No root cause or mitigation is established here.

This issue also tracks the same constructor failure in Runtime_90219.Runtime_90219.TestEntryPoint, JIT/opt/Regressions/Regression3_Regressions/Regression3_Regressions.dll, and JIT/opt/Regressions/Regression4/Regression4.dll; #135399, #135400, and #135401 were closed as duplicates. The matcher below requires the specific exception, a matching Runtime constructor frame, and a failed-test identifier in the Runtime_<number> or JIT/opt/Regressions/Regression<number> families, without fixing the test numbers in order. Each failure can match independently.

Error Message

{
  "ErrorMessage": "",
  "ErrorPattern": [
    "^[^\\r\\n]*System\\.InvalidProgramException: Common Language Runtime detected an invalid program\\.\\r?$",
    "^[^\\r\\n]*at (?:Runtime_[0-9]+\\.)?Runtime\\.\\.ctor\\(\\)\\r?$",
    "^[^\\r\\n]*Failed test: (?:global::Runtime_[0-9]+\\.(?:Program|Runtime_[0-9]+)\\.TestEntryPoint\\(\\)|JIT/opt/Regressions/Regression[0-9]+(?:_Regressions)?/Regression[0-9]+(?:_Regressions)?\\.dll)\\r?$"
  ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log

All three regex elements match in order in each of the four isolated failure blocks, independently, in both tvOS-arm64 and iOS-simulator-arm64 source consoles (eight positive cases). Unrelated test blocks and negative cases with a different exception, constructor, or failing test, passing/skipped output, a missing exception, or reversed line order do not match. Eight additional synthetic cases with different Runtime_ and Regression numbers also match; the pattern does not hard-code the original test numbers.


Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.

Note

Generated by GitHub Copilot.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • dotnet.github.io

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "dotnet.github.io"

See Network Configuration for more information.

Generated by CI Outer-Loop Failure Scanner · ⊞ 31.2K · ◷

Report

Build Repository Test Pull Request
1629206 dotnet/runtime global::Runtime_76273.Program.TestEntryPoint()
1627529 dotnet/runtime global::Runtime_76273.Program.TestEntryPoint()
1626845 dotnet/runtime global::Runtime_76273.Program.TestEntryPoint() #135361
1624450 dotnet/runtime JIT/opt/Regressions/Regression3_Regressions/Regression3_Regressions.dll

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 4 4

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1624450
Error message validated: [^[^\r\n]*System\.InvalidProgramException: Common Language Runtime detected an invalid program\.\r?$ ^[^\r\n]*at (?:Runtime_[0-9]+\.)?Runtime\.\.ctor\(\)\r?$ ^[^\r\n]*Failed test: (?:global::Runtime_[0-9]+\.(?:Program|Runtime_[0-9]+)\.TestEntryPoint\(\)|JIT/opt/Regressions/Regression[0-9]+(?:_Regressions)?/Regression[0-9]+(?:_Regressions)?\.dll)\r?$]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/9/2026 1:37:38 PM UTC

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Oct 8, 2026
  2. added
    untriaged
    on Oct 8, 2026
  3. dotnet-policy-service commented on Oct 8, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
    See info in area-owners.md if you want to be subscribed.

  4. dotnet-policy-service commented on Oct 8, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke
    See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build Erroragentic-workflowsarea-VM-coreclrblocking-clean-cios-tvosuntriaged

Type

No type

Projects

  • Status
    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions