Skip to content

[ci-scan] Build break: crossgen2_comparison.py fails with Python 3.14 asyncio #129211

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1455403
Build error leg or test failing: Test crossgen2-comparison osx arm64 Release to arm64 OSX

Error Details

The crossgen2_comparison.py script fails on macOS Helix agents running Python 3.14 because asyncio.get_event_loop() raises RuntimeError when called outside an async context — a breaking change in Python 3.14.

+ python3 -u /tmp/helix/working/.../crossgen2_comparison.py crossgen_framework ...
Traceback (most recent call last):
  File ".../crossgen2_comparison.py", line 1007, in <module>
    func = args.func(args)
  File ".../crossgen2_comparison.py", line 741, in crossgen_framework
    helper.run_to_completion(run_crossgen_helper)
  File ".../crossgen2_comparison.py", line 250, in run_to_completion
    loop = asyncio.get_event_loop()
  File ".../python3.14/asyncio/events.py", line 715, in get_event_loop
    raise RuntimeError('There is no current event loop in thread %r.'
                       % threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.

Affected legs:

  • runtime-coreclr crossgen2 outerloop (def 134): Test crossgen2-comparison osx arm64 Release

First build it occurred:

Error Message

{
  "ErrorMessage": ["crossgen2_comparison.py", "There is no current event loop in thread"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

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

🔒 Integrity filter blocked 10 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #124417 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #129159 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #48070 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #114222 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #74555 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #85747 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #124206 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #92420 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #111752 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #110173 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 86.7M · ◷

Report

Summary

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions