Skip to content

Fix Ilasm Round Trip script by adding retry logic#46765

Merged
briansull merged 3 commits into
dotnet:masterfrom
briansull:ilasm-roundtrip
Jan 12, 2021
Merged

Fix Ilasm Round Trip script by adding retry logic#46765
briansull merged 3 commits into
dotnet:masterfrom
briansull:ilasm-roundtrip

Conversation

@briansull

Copy link
Copy Markdown
Contributor

Fixes Issue #44139

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jan 8, 2021
@briansull

Copy link
Copy Markdown
Contributor Author

/azp run runtime-coreclr jitstress

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Fix bash syntax
Update bash syntax to use while true
@briansull

Copy link
Copy Markdown
Contributor Author

/azp run runtime-coreclr jitstress

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@briansull

Copy link
Copy Markdown
Contributor Author

@BruceForstall PTAL

@BruceForstall BruceForstall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks great with just the one issue

break
fi
echo Trying again
sleep 10

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like ilasm_count is never incremented.


echo EXECUTION $ilasm_count OF ILASM - FAILED with $ERRORLEVEL

if [ $ilasm_count -eq 3 ]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe this should be a >= instead of ==? (is that -ge?)

@briansull

Copy link
Copy Markdown
Contributor Author

Updated with requested fix

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.

3 participants