Skip to content

Intermittent failure to restore IBC optimization data #51585

Closed

Description

@runfoapp

Runfo Tracking Issue: Intermittent failure to restore IBC optimization data

Definition Build Kind Job Name
runtime 1097184 Rolling Build Linux arm Release AllSubsets_Mono
runtime 1096348 PR 51200 Installer Build and Test coreclr Linux_musl_arm64 Debug
runtime 1095579 PR 51488 Libraries Build Linux_musl arm64 Release
runtime 1094759 PR 51439 Libraries Build Linux_musl arm Release
runtime 1094469 PR 51440 Mono Product Build Linux arm64 release

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
1 5 5

Activity

  1. ghost added
    untriaged
    on Apr 20, 2021
  2. jeffschwMSFT commented on Apr 21, 2021

    @jeffschwMSFT
    Member

    @agocke do we still have IBC in our pipeline or is the name of the stage just not been updated?

  3. hoyosjs commented on Apr 21, 2021

    @hoyosjs
    Member
  4. jeffschwMSFT commented on Apr 21, 2021

    @jeffschwMSFT
    Member

    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.

  5. hoyosjs commented on Apr 21, 2021

    @hoyosjs
    Member

    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.

  6. removed
    untriaged
    on Apr 21, 2021
  7. added this to the 6.0.0 milestone on Apr 21, 2021
  8. added
    blocking-clean-ci
    on Apr 21, 2021
  9. agocke commented on Apr 21, 2021

    @agocke
    Member

    @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.

  10. hoyosjs commented on Apr 21, 2021

    @hoyosjs
    Member

    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.

  11. davidwrighton commented on Apr 21, 2021

    @davidwrighton
    Member

    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.

  12. ViktorHofer commented on Apr 21, 2021

    @ViktorHofer
    Member

    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:

    1. The msbuild sdk resolver (when an msbuild sdk is downloaded from nuget which happens before restore during evaluation)
    2. Arcade's pre restore when using the build.cmd/build.sh scripts.
    3. The repo's overall up-front restore (Build.proj or in other repos through a solution file)

    Any extra invocation like

    runtime/src/mono/mono.proj

    Lines 611 to 612 in 432a459

    <MSBuild Projects="$(RepoRoot)eng\empty.csproj"
    Targets="Restore"/>
    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:

    1. powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%__RepoRootDir%\eng\common\msbuild.ps1" /clp:nosummary %__ArcadeScriptArgs%^
      "%__RepoRootDir%\eng\empty.csproj" /t:GenerateRuntimeVersionFile /restore^
    2. powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%__RepoRootDir%\eng\common\msbuild.ps1" /clp:nosummary %__ArcadeScriptArgs%^
      "%OptDataProjectFilePath%" /t:Restore^

    Removing these invocation will make the native build faster and will improve the overall reliability.

  13. hoyosjs commented on Jul 28, 2021

    @hoyosjs
    Member

    Closing as there's no hits; #54921 tracks the centralized restore.

  14. ghost locked as resolved and limited conversation to collaborators on Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Infrastructureblocking-clean-ci

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions