Skip to content

[release/6.0-preview7] Stop building RPMs and Debs during PGO builds #56167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 22, 2021

Backport of #56113 to release/6.0-preview7

/cc @hoyosjs @agocke

Customer Impact

PGO-instrumented (not optimized) bits were shipped inside the debs and RPMs for P5 and P6. These bits are both much slower than normal (2x minimum perf penalty) and cause .profdata files to be generated in the working directory of any dotnet app.

This is caused by a build race, where PGO training pipeline are publishing deb/RPM files with the same name as the standard pipeline. This causes a race where both builds publish bits, and the first one wins. The PGO builds have been winning. The fix is not build debs/RPMs at all for PGO training, which are not needed.

Testing

Manual validation on CI and official that the PGO runs are no longer producing deb/RPMs.

Risk

Very low, small change to YAML.

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

Approved. This has been approved for inclusion in preview 7

@agocke agocke added Servicing-approved Approved for servicing release and removed Servicing-approved Approved for servicing release labels Jul 22, 2021
@agocke
Copy link
Member

agocke commented Jul 22, 2021

The important leg here is "PGO Installer Build and Test coreclr Linux_x64 Release" -- the YAML shouldn't have any impact for other legs.

@agocke
Copy link
Member

agocke commented Jul 22, 2021

Ready to merge by someone with permissions

@jeffschwMSFT jeffschwMSFT merged commit 49e2f16 into release/6.0-preview7 Jul 22, 2021
@agocke agocke deleted the backport/pr-56113-to-release/6.0-preview7 branch July 22, 2021 21:23
@ghost ghost locked as resolved and limited conversation to collaborators Aug 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants