runtime: [Perf] CreateStore task failing in scenario benchmark testing
I’ve tested this a few times locally, and I can consistently repro it. When the MusicStore/AllReady CreateStore task runs in our perf harness infrastructure, we get the following error:
Running Process: powershell.exe .\AspNet-GenerateStore.ps1 -InstallDir .store -Architecture x64 -Runtime win7-x64
Working Directory: C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K
Additional Environment Variables: PATH=C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\.dotnet;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\CMake\bin;C:\Program Files (x86)\Vim\vim80;C:\Program Files\Git\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Users\michelm\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\nodejs\;C:\Program Files\PuTTY\;C:\Users\michelm\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\michelm\AppData\Local\Programs\Python\Python36-32\;C:\Users\michelm\AppData\Local\Microsoft\WindowsApps;C:\Users\michelm\.dotnet\tools;C:\michelm\optimization\output\CLRx64WIN2.1\PGO\DotNet_FirstTimeXP\user\AppData\Local\Microsoft\WindowsApps;C:\Users\michelm\AppData\Roaming\npm;C:\michelm\optimization\output\CLRx64WIN2.1\PGO\DotNet_FirstTimeXP\user\.dotnet\tools;C:\output\CLRx86WIN2.1\PGO\DotNet_FirstTimeXP\user\.dotnet\tools;C:\output\CLRx64WINmas\PGO\DotNet_FirstTimeXP\user\.dotnet\tools;C:\output\CLRx64WIN2.1\PGO\DotNet_FirstTimeXP\user\.dotnet\tools, JITBENCH_TARGET_FRAMEWORK_MONIKER=netcoreapp2.1, JITBENCH_FRAMEWORK_VERSION=2.1.0-preview3-26327-01
{
00:00.482: Running dotnet store --manifest .\CreateStore\CreateStore.proj -f netcoreapp2.1 -r win7-x64 --framework-version 2.1.0-preview3-26327-01 -w C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.temp -o C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.store --skip-symbols
00:01.085: Microsoft (R) Build Engine version 15.5.178.35674 for .NET Core
00:01.085: Copyright (C) Microsoft Corporation. All rights reserved.
00:01.085:
00:01.879: Restoring packages for C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\CreateStore\CreateStore.proj...
00:02.232: Generating MSBuild file C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.temp\Optimize\CreateStore.proj.nuget.g.props.
00:02.238: Generating MSBuild file C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.temp\Optimize\CreateStore.proj.nuget.g.targets.
00:02.253: Restore completed in 365.67 ms for C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\CreateStore\CreateStore.proj.
00:02.743: Restoring packages for C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\CreateStore\CreateStore.proj...
00:02.976: C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\.dotnet\sdk\2.2.0-preview1-007558\NuGet.targets(103,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\CreateStore\CreateStore.proj]
00:02.976: C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\.dotnet\sdk\2.2.0-preview1-007558\NuGet.targets(103,5): error : Unknown error (0xffffffff) [C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\CreateStore\CreateStore.proj]
00:03.081: C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\.dotnet\sdk\2.2.0-preview1-007558\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Publish.targets(249,5): error : Assets file 'C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.temp\Microsoft.AspNetCore.All_\\project.assets.json' not found. Run a NuGet package restore to generate this file. [C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\CreateStore\CreateStore.proj]
00:03.087: Files were composed in C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.store\x64\netcoreapp2.1\
00:03.087: The list of packages stored is in C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.store\x64\netcoreapp2.1\artifact.xml
00:03.393: Setting JITBENCH_ASPNET_MANIFEST to C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.store\x64\netcoreapp2.1\artifact.xml
00:03.394: Setting DOTNET_SHARED_STORE to C:\michelm\coreclr\bin\sandbox_logs\Scenarios\Off\JitBench\K\.store
}
Exit code: 0 ( 00:03.429 elapsed)
When I use the dotnet.exe downloaded by the tooling (with all environment variables set up correctly), but outside the harness, I get the same failure. However, when I manually download the exact same SDK and runtime versions using the Dotnet-Install script, I can successfully run AspNet-GenerateStore.ps1.
I’m not exactly sure what is going on here.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (18 by maintainers)
@billwert @adiaaida @adamsitnik I assume this should be closed in favor of the dotnet/performance-based infra. Please re-open if I’m wrong.
FWIW, the entire usage of AspNet-GenerateStore.ps1 was a workaround for earlier CLI’s that didn’t have proper store integration built in. Presumably that is no longer an issue and no customer would run a script like this when they ran their own ASP.NET app. It might be more efficient to drop the powershell script and modify the test to use the supported steps real customers use.