Skip to content

Official Build Failures in dotnet/installer when publishing #5329

Closed
dotnet/installer
#7327

Activity

  1. self-assigned this
    on Apr 22, 2020
  2. changed the title [-]Official Build Failures in dotnet/installer[/-] [+]Official Build Failures in dotnet/installer when publishing[/+] on Apr 22, 2020
  3. markwilkie commented on Apr 22, 2020

    @markwilkie
    Contributor
  4. MattGal commented on Apr 22, 2020

    @MattGal
    Member

    From reading several logs, the failure here is consistently right when this is called (container ExistsAsync()):
    https://github.com/emgarten/Sleet/blob/master/src/SleetLib/FileSystem/AzureFileSystem.cs#L71

    I am chasing down a repro now. I have a couple theories and will update the issue as I find out.

  5. JohnTortugo commented on Apr 22, 2020

    @JohnTortugo
    ContributorAuthor

    Un-assigning myself as I'm investing all my time on this other issue: #5328

  6. removed their assignment
    on Apr 22, 2020
  7. MattGal commented on Apr 22, 2020

    @MattGal
    Member

    I believe it was updating the .NET runtime version used here: dotnet/installer@2db1aa8 that broke this. It's the first commit this occurred, as well as it updates the dotnet SDK version used.

    To evaluate whether this is accurate, I'm queueing a test build which won't publish with that line rolled back to see what happens.

  8. MattGal commented on Apr 22, 2020

    @MattGal
    Member
  9. MattGal commented on Apr 22, 2020

    @MattGal
    Member

    That didn't work; the other changes were dependent on the newer SDK. I am now rebuilding (with only dev publishing enabled) the previous good commit. This will confirm that the commit (updating dependencies from dotnet/sdk ) was the cause if it's green; Once that's known we can discuss what to do, since we don't actually build the API that's blowing up.

  10. markwilkie commented on Apr 23, 2020

    @markwilkie
    Contributor

    Head's up @jaredpar and @marcpopMSFT: Looks like we likely have another "chicken and egg" situation brewing w/ the latest SDK that Arcade is pointing to. Meaning....this'll come in as a breaking change to installer when we promote. (tomorrow??)

  11. MattGal commented on Apr 23, 2020

    @MattGal
    Member

    Update this morning; forgot to add a channel for that update, so spun again

  12. 7 remaining items

  13. MattGal commented on Apr 23, 2020

    @MattGal
    Member

    @missymessa FYI, this will keep failing until the above stuff happens.

  14. missymessa commented on Apr 23, 2020

    @missymessa
    Member

    @MattGal Arcade version 5.0.0-beta.20221.14 was just promoted to .NET Eng - Latest

  15. emgarten commented on Apr 24, 2020

    @emgarten
    Member

    Looks like this is solved already, but if you need help moving Sleet to a different Azure SDK I'm happy to help.

  16. mmitche commented on Apr 27, 2020

    @mmitche
    Member

    In master we're continuing to see publishing failures, with a new error now:

    Unable to upload to Sdk/5.0.100-preview.5.20227.4/productVersion.txt.sha due to System.IO.IOException: The process cannot access the file 'D:\a\1\a\BlobArtifacts\productVersion.txt.sha' because it is being used by another process.

    Builds with this issue:
    https://dev.azure.com/dnceng/internal/_build/results?buildId=618825&view=results
    https://dev.azure.com/dnceng/internal/_build/results?buildId=618682&view=results
    https://dev.azure.com/dnceng/internal/_build/results?buildId=618475&view=results
    https://dev.azure.com/dnceng/internal/_build/results?buildId=618421&view=results
    https://dev.azure.com/dnceng/internal/_build/results?buildId=618343&view=results
    https://dev.azure.com/dnceng/internal/_build/results?buildId=619090&view=results

    Those failures should be fixed by porting my p4 change the master. The CopyToLatest issue is different. I'll attempt to upgrade the storage sdk there.

    However, we need to understand why this happens because we're not supposed to break older applications.

  17. sfoslund commented on Apr 27, 2020

    @sfoslund
    Member

    Great, I just made a PR to port the change to master: dotnet/installer#7320

  18. mmitche commented on Apr 27, 2020

    @mmitche
    Member

    OK final update here. @marcpopMSFT @dsplaisted FYI.

    • I am able to reproduce this just by calling Sleet APIs from a console app and toggling my runtime between 5.0.100-preview.4.20217.10 and whatever the latest public preview 3 is. This is probably interesting.
    • I can confirm Sleet is gone with the next automatically flowed update; simply waiting until build promotion occurs should fix this publish problem.
    • If this is not an option you can revert the dotnet/sdk updates that brought you to preview 4.

    I am happy to provide help with repro stuff if it's useful. For now I'm throwing this in tracking/blocked as we understand the issue and a fix is in motion.

    @MattGal Can you package this repro up and file and issue in runtime? This should not happen.

  19. MattGal commented on Apr 27, 2020

    @MattGal
    Member

    Looks like @wfurt is way ahead of us:

    dotnet/runtime#35497
    dotnet/runtime#35498

  20. MattGal commented on May 4, 2020

    @MattGal
    Member

    Closing as this seems to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions