Skip to content
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

Help teams move servicing builds to -Svc NetCore1ES pool providers #10578

Closed
28 of 31 tasks
MattGal opened this issue Aug 24, 2022 · 13 comments
Closed
28 of 31 tasks

Help teams move servicing builds to -Svc NetCore1ES pool providers #10578

MattGal opened this issue Aug 24, 2022 · 13 comments
Assignees
Labels
Ops - Compliance First-responder-style issues handled by the Operations V-Team due to prioritization or urgency level

Comments

@MattGal
Copy link
Member

MattGal commented Aug 24, 2022

As a push to relieve some pain from release builds (and, indirectly, main builds) I've opened the following PRs to release branches which are not using "-Svc-" pool providers.

let builds=
BuildTimelineRecord
| where OrganizationName == "dnceng"
| where Type == "Job"
| where ProjectId == "9ee6d478-d288-47f7-aacc-f6e6d082ae6d"
| where WorkerName startswith "NetCore1ESPool-Public"
| distinct BuildId;
Build 
| where OrganizationName == "dnceng"
| where FinishTime > ago(7d)
| where BuildId  in (builds)
| where SourceBranch contains "release"
| summarize arg_max(BuildId,*) by RepositoryId

PRs

Interactive:

Arcade:

AspNetCore:

EFCore:

dotnet/fsharp :

Installer:

dotnet/llvm-project

dotnet/roslyn :

dotnet/runtime:

dotnet/sdk

dotnet/templating

dotnet/windowsdesktop

dotnet/winforms

dotnet/wpf:

Release Note Description

Internal alerting changes - Does not need release notes

@MattGal MattGal self-assigned this Aug 24, 2022
@garath garath added the Operations Used by FR to track issues related to operations work label Aug 25, 2022
@dagood
Copy link
Member

dagood commented Aug 25, 2022

As a push to relieve some pain from release builds

I currently happen to be working on a change that will make microsoft/go builds consistently (automatically) use the Svc pool in release branches, but I'm curious what this means. Is it internal pain, or will something be different on the repo side?

(Maybe https://github.com/dotnet/arcade/blob/main/Documentation/AzureDevOps/AzureDevOpsOnboarding.md#agent-queues could be updated to include the "why"?)

@MattGal
Copy link
Member Author

MattGal commented Aug 25, 2022

@dagood All I meant by pain there is that the builds trying to go through the "normal" public pool are bottlenecking while the -Svc pool, while having fewer maximum machines, is significantly less busy. Lots of folks trying to get out 7.0 RC1 builds were hitting this.

@dagood
Copy link
Member

dagood commented Aug 25, 2022

I see, thanks. 😄 Wasn't aware Svc vs. nonSvc pools actually had different sets of machines--makes sense.

@akoeplinger
Copy link
Member

akoeplinger commented Aug 26, 2022

I agree we should use the Svc pool automatically for all release/* branches, maybe we can add some common variable .yml to eng/common so repos can just use that rather than copying the logic around. Same for the public/internal logic.

@MattGal
Copy link
Member Author

MattGal commented Aug 29, 2022

Checked in today, dotnet/fsharp#13807 was the only new change to make. All the others I saw were either branches that were being deleted being run scheduled, or repos' Source Build tasks (need arcade updates to change).

@MattGal
Copy link
Member Author

MattGal commented Sep 9, 2022

Found some more. New PRs for moving to SVC made today:

dotnet/emsdk#210
dotnet/llvm-project#274
dotnet/msquic#112
https://dnceng.visualstudio.com/internal/_git/dotnet-wpf-int/pullrequest/25664

I've also made sure that the changes are in arcade release/7.0 and all active subscriptions have been triggered.

@MattGal
Copy link
Member Author

MattGal commented Sep 12, 2022

Getting slowly better all the time. What remains today:

image

@MattGal
Copy link
Member Author

MattGal commented Oct 5, 2022

@MattGal
Copy link
Member Author

MattGal commented Oct 18, 2022

Update:

dnceng-public public dotnet/fsharp release/dev17.4
dnceng-public public dotnet/fsharp release/dev17.5
dnceng-public public dotnet/roslyn release/dev17.4

These branches use arcade main - for free -Svc pool provider usage, recommended to move to release/7.0 - I will start work on making arcade switch automatically on SourceBranch, and reach out to these teams letting them know it'd be nice to move to a release branch of arcade.

dnceng-public public dotnet/templating release/7.0.2xx
dotnet/templating#5476

dnceng-public public dotnet/sdk release/6.0.1xx
dotnet/sdk#28638

dnceng-public public dotnet/sdk release/6.0.3xx
dotnet/sdk#28641

@MattGal
Copy link
Member Author

MattGal commented Oct 24, 2022

Today's updates:

dotnet-sdk

Branch: release/6.0.1xx
PR: dotnet/sdk#28744

Branch: release/6.0.3xx
PR: dotnet/sdk#28745

dotnet-dotnet-docker

Branch: internal/release/nightly
PR: https://dnceng.visualstudio.com/internal/_git/dotnet-dotnet-docker/pullrequest/27027

dotnet-roslyn

Branch: release/dev17.2
PR: dotnet/roslyn#64950 (rest will be hit by arcade update)

dotnet-fsharp

Branch: release/dev17.5
PR: dotnet/fsharp#14168 (sent to main)

@MattGal
Copy link
Member Author

MattGal commented Nov 1, 2022

Some more today:

@MattGal MattGal added Ops - Compliance First-responder-style issues handled by the Operations V-Team due to prioritization or urgency level and removed Operations Used by FR to track issues related to operations work labels Nov 1, 2022
@MattGal
Copy link
Member Author

MattGal commented Nov 4, 2022

Yet more:

@MattGal
Copy link
Member Author

MattGal commented Nov 16, 2022

I am reducing the number of repos we monitor via https://dev.azure.com/dnceng/internal/_git/dotnet-helix-service/pullrequest/27501?_a=files which should still catch the vast majority of (non-Roslyn) builds that get sent to the wrong place. After reducing the query, we should be green now and covered by the alerts.

@MattGal MattGal closed this as completed Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ops - Compliance First-responder-style issues handled by the Operations V-Team due to prioritization or urgency level
Projects
None yet
Development

No branches or pull requests

4 participants