Skip to content

Perf Scenarios startup tool build failing #3153

Closed

Description

@LoopedBard3

Startup tool build is failing for performance scenarios running on windows. Example error:

D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : You must install or update .NET to run this application. [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :  [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : App: D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\bincore\csc.dll [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Architecture: x64 [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Framework: 'Microsoft.NETCore.App', version '8.0.0-preview.7.23368.2' (x64) [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : .NET location: C:\Program Files\dotnet\ [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :  [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : You must install or update .NET to run this application. [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : The following frameworks were found: [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :   6.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :   6.0.20 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :  [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Learn about framework resolution: [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : https://aka.ms/dotnet/app-launch-failed [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :  [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : To install missing framework, download: [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0-preview.7.23368.2&arch=x64&rid=win10-x64 [D:\a\1\s\src\tools\ScenarioMeasurement\Util\Util.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :  [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : App: D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\bincore\csc.dll [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Architecture: x64 [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Framework: 'Microsoft.NETCore.App', version '8.0.0-preview.7.23368.2' (x64) [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : .NET location: C:\Program Files\dotnet\ [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :  [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : The following frameworks were found: [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :   6.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :   6.0.20 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :  [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Learn about framework resolution: [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : https://aka.ms/dotnet/app-launch-failed [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error :  [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : To install missing framework, download: [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]
D:\a\1\s\CorrelationStaging\dotnet\sdk\8.0.100-rc.1.23370.3\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0-preview.7.23368.2&arch=x64&rid=win10-x64 [D:\a\1\s\src\tools\Reporting\Reporting\Reporting.csproj]

I was unable to repro locally, but it only takes a few minutes (<5) to get a pipeline run with the failure.

Activity

  1. added
    bug
    pipeline blocker
    on Jul 20, 2023
  2. self-assigned this
    on Jul 20, 2023
  3. LoopedBard3 commented on Jul 20, 2023

    @LoopedBard3
    MemberAuthor

    Still have not been able to repro locally, going to leave for the night to see if there is a transient problem causing the errors.

  4. cincuranet commented on Jul 21, 2023

    @cincuranet
    Contributor

    I can't repro locally either. But I think it will settle into place once the versions align again - apparently this took a while to merge.

  5. LoopedBard3 commented on Jul 21, 2023

    @LoopedBard3
    MemberAuthor

    This is likely related to dotnet/roslyn#69150.

  6. LoopedBard3 commented on Jul 21, 2023

    @LoopedBard3
    MemberAuthor

    Keeping open for now to revisit the changes made for this and the DOTNET_ROOT explicit setting once the necessary steps have stabilized. Although with these changes, the scenario pipelines should be running again.

  7. cincuranet commented on Jul 27, 2023

    @cincuranet
    Contributor

    Looks like it's running fine again. Care to close this @LoopedBard3?

  8. LoopedBard3 commented on Jul 27, 2023

    @LoopedBard3
    MemberAuthor

    Let me check if the long term fix has flown through so we can remove the temp fixes we added.

  9. added a commit that references this issue on Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpipeline blocker

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions