Repository navigation
Remove InitTools and ToolsDir - #35677
Conversation
|
I queued an official build just to make sure this doesn't regress anything: https://dnceng.visualstudio.com/internal/_build/results?buildId=111179 |
|
It's failing in the update dotnet/versions step as I expected: https://dev.azure.com/dnceng/internal/_build/results?buildId=111179. |
ViktorHofer
left a comment
There was a problem hiding this comment.
Publish to dotnet/versions in official builds fails
|
I'll take a look. I tested a local update but looks like official is a little different. Thanks for kicking off the official build. |
|
The restore of Tools.proj isn't consistently writing the path to buildtools in the generated props file. I noticed this when working on this change but never tracked it down. Suspect an SDK related difference around support for GeneratePathProperty or a bug. Will see if I can root-cause, workaround is to simply build the path myself. |
|
Bingo, found the bug. NuGet is missing a case-insensitive comparer https://github.com/NuGet/NuGet.Client/pull/2271/files#r261694951. Will workaround and file the NuGet bug: NuGet/Home#7843 |
033ce3c to
bbe99d3
Compare
|
Ok this is fixed now and I kicked off a new official build. https://dnceng.visualstudio.com/internal/_build/results?buildId=111503 @ViktorHofer I couldn't push to your internal branch that you created of my changes so I had to create a new one. Can you please delete the branch you created?https://dnceng.visualstudio.com/internal/_git/dotnet-corefx/branches?_a=all |
|
Almost to the point where the official build failed before.... stuck waiting on package publish (which actually is not a good thing to do given this is a branch 😞) |
|
If you it does time out I recommend commenting the publish to dotnet blob feed step (sometimes is super fast, sometimes it waits a long time waiting for the exclusive lock -- this is a known issue in the engineering area) whenever you trigger a new official build. Comment: https://github.com/dotnet/corefx/blob/master/eng/pipelines/publish.yml#L56-L82 |
For 1 hour and 42 minutes so far. ⌚️ sheesh. This is terrible. Are we seriously running this many official builds? Also, how long does it really take to copy some zips and regen a handful of json. Shameful. |
|
The feed is shared across all repos mostly in the core stack. We could create our own feed in azure, like coreclr did. However people depending on us would have to update their restore sources. |
That's an excuse: we shouldn't excuse bugs we should fix them. It's silly that this thing can't handle multiple insertions per-second, let alone that it takes 2 hours. |
I agree -- people who own the upload are supposed to be working on getting this better. cc: @jcagme |
|
I gutted the build definition then scheduled a build that just ran the failing portion It succeeded so I think we're good. https://dnceng.visualstudio.com/internal/_build/results?buildId=111834 |
Addressed the official build break.
@riarenas and @JohnTortugo have been working on a solution and the work should be completed soon. As a workaround you could create a dedicated corefx feed, update the places where you are currently referencing dotnet-core and make sure the repos that consume your packages update their NuGet.configs. See dotnet/razor#240 @mmitche might have extra pointers |
|
I'm hoping the fix actually fixes the throughput of the service rather than moving it off of the blocking path. That wasn't clear to me from the doc: https://github.com/dotnet/arcade/blob/8b32e86b10c653694c3f31e0b540ee13333b99fd/Documentation/CorePackages/AsyncPublishing.md#problems
Unless we fix the amount of work that happens under that lock to be less than we'll still be stuck with slow throughput for publishing even if it doesn't block the build. |
|
I'm worried that the workaround that folks use of creating a new feed is just kicking the can. Suppose the perf issues at the heart of the lock contention problem are scaling issues that disappear for some time when you move to an empty feed. Has anyone done a root cause analysis on what's taking so long under the lock? All the issues I've seen seem to be black-boxing that process and assuming its a given. |
* Remove buildtools init-tools and various BuildTools specific properties * Workaround NuGet restore GeneratePathProperty case-sensitivity See NuGet/Home#7843 Commit migrated from dotnet/corefx@e715967
This removes nearly the last bits of buildtools from our repo. The only thing remaining is VersionTools.targets which I've wrapped and loaded from the package location rather than a local tools folder.