Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jakobbotsch
Copy link
Member

@jakobbotsch jakobbotsch commented Apr 30, 2025

Add a 25 minute timeout for Fuzzlyn reduction in an attempt to fix #115171

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 30, 2025
@dotnet-policy-service
Copy link
Contributor

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

@jakobbotsch
Copy link
Member Author

/azp run Fuzzlyn

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch
Copy link
Member Author

@jakobbotsch jakobbotsch marked this pull request as ready for review April 30, 2025 14:22
Copilot AI review requested due to automatic review settings April 30, 2025 14:22
@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @BruceForstall

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds a timeout parameter to the Fuzzlyn reduction process in an effort to prevent excessively long runs.

  • Updated run_command in jitutil.py to support an optional timeout with a threading.Timer
  • Modified fuzzlyn_run.py to pass a 25-minute timeout when reducing examples

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/coreclr/scripts/jitutil.py Added _timeout parameter and timer logic to terminate long-running commands
src/coreclr/scripts/fuzzlyn_run.py Updated run_command calls to include the new timeout parameter and improved messaging when reduction fails

decode_and_print(command_stderr)
timer = None
if _timeout is not None:
def try_kill():
Copy link

Copilot AI Apr 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider catching specific exceptions instead of using a bare 'except:' in the try_kill function to avoid masking potential errors.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@BruceForstall BruceForstall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jakobbotsch
Copy link
Member Author

/ba-g Build analysis is stuck and this is a change in a pipeline script

@jakobbotsch jakobbotsch merged commit 2677261 into dotnet:main Apr 30, 2025
92 of 94 checks passed
@jakobbotsch jakobbotsch deleted the fuzzlyn-reduce-timeout branch May 1, 2025 08:55
@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fuzzlyn windows-x86 pipeline often times out some partitions

2 participants