You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crossgen2_comparison.py crashes on macOS arm64 because Python 3.14 removed the implicit event loop in asyncio.get_event_loop() when no current event loop is set. The script calls asyncio.get_event_loop() from the main thread without first creating a loop, which worked in Python <= 3.13 but raises RuntimeError in Python 3.14+.
Traceback (most recent call last):
File "crossgen2_comparison.py", line 1007, in <module>
File "crossgen2_comparison.py", line 741, in crossgen_framework
File "crossgen2_comparison.py", line 250, in run_to_completion
loop = asyncio.get_event_loop()
RuntimeError: There is no current event loop in thread 'MainThread'.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1447200
Build error leg or test failing: osx-arm64 checked crossgen2 outerloop - Run native crossgen and compare output to baseline
Error Details
crossgen2_comparison.pycrashes on macOS arm64 because Python 3.14 removed the implicit event loop inasyncio.get_event_loop()when no current event loop is set. The script callsasyncio.get_event_loop()from the main thread without first creating a loop, which worked in Python <= 3.13 but raisesRuntimeErrorin Python 3.14+.Affected legs:
Error Message
trueonly for clear infra flakes. ExcludeConsoleLog skips helix log scanning. -->{ "ErrorMessage": "There is no current event loop in thread", "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }First build it occurred
Filed by
ci-failure-scan, which scans dnceng-public outer-loop pipelines onmainand converts stable failures into KBEs.Note
🔒 Integrity filter blocked 13 items
The following items were blocked because they don't meet the GitHub integrity level.
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter:Report
Summary