You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Intermittent failure to restore IBC optimization data #51585
Thanks! The root of my question is that since we are moving from the ibc format to mibc, I was curious if we were just reusing the name or if we still were flowing ibc data.
The mIBC packages are slightly different: optimization.windows_nt-x86.mibc.runtime. After talking to @ViktorHofer, this is a previously-seen NuGet issue where packages are not getting downloaded, but there's no error getting reported.
Flow is almost there, but as @hoyosjs says this is a nuget problem. If someone knows how to reduce the likelihood of this fault. I'd be happy to help, but without that, I don't think I can do anything here.
Copying this from another issue but it might help here to share some context. In the last years I worked on reducing NuGet invocations where possible down to three:
The msbuild sdk resolver (when an msbuild sdk is downloaded from nuget which happens before restore during evaluation)
Arcade's pre restore when using the build.cmd/build.sh scripts.
The repo's overall up-front restore (Build.proj or in other repos through a solution file)
is adding risk as every additional restore invocation increases the chance for a misbehavior either on the client or on the server's side. Also such extra invocations reduce perf as additional NuGet invocations are actually quite slow.
CoreClr has some of such extra invocations in their build runtime scripts when shelving out to dotnet.exe to restore:
Activity
jeffschwMSFT commentedon Apr 21, 2021
@agocke do we still have IBC in our pipeline or is the name of the stage just not been updated?
hoyosjs commentedon Apr 21, 2021
@jeffschwMSFT IBC comes from arcade support, it's looking for these IBC data packages:
These are available at https://dev.azure.com/dnceng/public/_packaging?_a=package&feed=dotnet6-transport&package=optimization.linux-x64.IBC.CoreCLR&protocolType=NuGet&version=99.99.99-master-20200806.6&view=overview. Not sure why they are not restored
jeffschwMSFT commentedon Apr 21, 2021
Thanks! The root of my question is that since we are moving from the ibc format to mibc, I was curious if we were just reusing the name or if we still were flowing ibc data.
hoyosjs commentedon Apr 21, 2021
These are old packages (newest is February), so there's no flow. As for if it's used, I am not sure if that part is still hooked.
agocke commentedon Apr 21, 2021
@davidwrighton would know for sure, but I see the same packages coming out of dotnet-optimization with what looks like fresh mibc files in them.
hoyosjs commentedon Apr 21, 2021
The mIBC packages are slightly different:
optimization.windows_nt-x86.mibc.runtime. After talking to @ViktorHofer, this is a previously-seen NuGet issue where packages are not getting downloaded, but there's no error getting reported.davidwrighton commentedon Apr 21, 2021
Flow is almost there, but as @hoyosjs says this is a nuget problem. If someone knows how to reduce the likelihood of this fault. I'd be happy to help, but without that, I don't think I can do anything here.
ViktorHofer commentedon Apr 21, 2021
Copying this from another issue but it might help here to share some context. In the last years I worked on reducing NuGet invocations where possible down to three:
Any extra invocation like
runtime/src/mono/mono.proj
Lines 611 to 612 in 432a459
CoreClr has some of such extra invocations in their build runtime scripts when shelving out to dotnet.exe to restore:
runtime/src/coreclr/build-runtime.cmd
Lines 327 to 328 in 432a459
runtime/src/coreclr/build-runtime.cmd
Lines 349 to 350 in 432a459
Removing these invocation will make the native build faster and will improve the overall reliability.
hoyosjs commentedon Jul 28, 2021
Closing as there's no hits; #54921 tracks the centralized restore.