Skip to content

[HttpStress] [SslStress] Windows stress builds are broken #95750

Closed

Description

@antonfirsov
2023-12-07T13:23:15.1583259Z   D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(22): error C3611: 'System::Numerics::INumberBase::System::IUtf8SpanFormattable.TryFormat': a sealed function cannot have a pure-specifier

The failures started on the 17th of November, across all branches, which indicates an image change might have triggered this, we should do a comparison similar to #82528 (comment).

Edit: links to the pipelines

The failing build that runs outside of docker:

& "$REPO_ROOT_DIR/build.cmd" clr+libs -ci -rc release -c $configuration

Activity

  1. added this to the 9.0.0 milestone on Dec 7, 2023
  2. self-assigned this
    on Dec 7, 2023
  3. rzikm commented on Dec 8, 2023

    @rzikm
    Member

    I encountered this on my dev machine. The VS installation needs to be updated, see #94998 (comment)

  4. antonfirsov commented on Dec 8, 2023

    @antonfirsov
    ContributorAuthor

    This is weird, the Initialize job phase logs that

    Image: windows-2022
    Version: 20231126.1.0
    Included Software: https://github.com/actions/runner-images/blob/win22/20231126.1/images/windows/Windows2022-Readme.md
    

    and according to the linked image spec the Visual Studio version is 17.8.34316.72, which should contain the fixed 14.38 C++ runtime tools according to #94998 (comment).

    @dotnet/dnceng can you please assist diagnosing this?

  5. self-assigned this
    on Mar 19, 2024
  6. rzikm commented on Mar 19, 2024

    @rzikm
    Member

    The image seems to contain the right msvc version, but the build script for some reason does not choose the latest toolchain

    Dumping present MSVC versions
    
    
        Directory: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC
    
    
    Mode                 LastWriteTime         Length Name                                                                 
    ----                 -------------         ------ ----                                                                 
    d-----          2/4/2024  10:26 PM                14.16.27023                                                          
    d-----          2/4/2024  10:27 PM                14.29.30133                                                          
    d-----          2/4/2024  10:31 PM                14.37.32822                                                          
    d-----          2/4/2024  10:09 PM                14.38.33130                        
    
     -- The CXX compiler identification is MSVC 19.37.32826.1
    
  7. antonfirsov commented on Mar 19, 2024

    @antonfirsov
    ContributorAuthor

    I wonder what will happen if you manually delete the <=14.37.32822 directories?

  8. rzikm commented on Mar 19, 2024

    @rzikm
    Member

    I wonder what will happen if you manually delete the <=14.37.32822 directories?

    then it tries to use GCC 🤦

    https://dev.azure.com/dnceng-public/public/_build/results?buildId=608756&view=logs&j=0bc77094-9fcd-5c38-f6e4-27d2ae131589&t=4fd93899-d50b-5dc1-f9eb-66ab1b883c22&l=704

  9. rzikm commented on Mar 19, 2024

    @rzikm
    Member

    Okay, I think I have spent enough time on this and am just trying at random, I think we need help from @dotnet/dnceng to debug this. Can you please take a look?

  10. markwilkie commented on Mar 19, 2024

    @markwilkie
    Contributor

    @rzikm - what are you hoping dnceng can help with more specifically?

  11. rzikm commented on Mar 20, 2024

    @rzikm
    Member

    we are running the sslstress pipeline on 1es-windows-2022-open images, as such, we need first to build the .NET runtime and then build the stress application against it and run it in docker.

    Since November, the build has been failing due to #94998, the fix for that was supposed to be updating Visual Studio installation.

    According to the list of included software of the image, the new toolchain is installed and seems to shows up in the relevant directories

        Directory: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC
    
    
    Mode                 LastWriteTime         Length Name                                                                 
    ----                 -------------         ------ ----                                                                 
    d-----          2/4/2024  10:26 PM                14.16.27023                                                          
    d-----          2/4/2024  10:27 PM                14.29.30133                                                          
    d-----          2/4/2024  10:31 PM                14.37.32822                                                          
    d-----          2/4/2024  10:09 PM                14.38.33130                        
    

    However, the build still ends up using the older toolchain, and thus failing to build

     -- The CXX compiler identification is MSVC 19.37.32826.1
    

    The failing step is simply building the SDK docker image via the build-docker-sdk.ps1 -w ....

    @rzikm - what are you hoping dnceng can help with more specifically?

    We are hoping that dnceng would help us get the build to work, since we are using the "official" script to build the image.

    (note that the .net runtime is being built on the host, not inside docker image due to #700)

  12. markwilkie commented on Mar 20, 2024

    @markwilkie
    Contributor

    You had a chance to check out https://github.com/dotnet/arcade/blob/main/Documentation/ArcadeSdk.md ? It might shed more light on why your build is picking up the wrong toolchain.

  13. antonfirsov commented on Mar 20, 2024

    @antonfirsov
    ContributorAuthor

    @markwilkie this seems to be a bug in the build infra that can be reproduced with a very simple yaml, opened #100046.

  14. added
    in-prThere is an active PR which will close this issue when it is merged
    on Mar 22, 2024
  15. locked and limited conversation to collaborators on Apr 24, 2024
  16. karelz commented on Jun 24, 2024

    @karelz
    Member

    Fixed in main (9.0) in PR #100145 and in 8.0.x in PR #100303.

  17. modified the milestones: 9.0.0, 8.0.x on Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-System.Netin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions