-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Description
I was trying to run real-word JitBench benchmark following this guide on ubuntu 18.04.2. However, running the command dotnet run -c Release -- --netcoreapp-version 2.0 gives me following error:
=== CONFIGURATION ===
DotnetFrameworkVersion: 2.0
DotnetSdkVersion: 2.0.0
PrivateCoreCLRBinDir:
Architecture: X64
OutputDir: /tmp/Scenarios_2019_05_23_10_36_24_5066
Iterations: 11
UseExistingSetup: False
Configurations: Default
Benchmark run in progress...
Verbose log: /tmp/Scenarios_2019_05_23_10_36_24_5066/RealWorld_log.txt
Unhandled Exception: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)) ---> System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).) ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.HttpClient.FinishGetStreamAsync(Task`1 getTask)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at RealWorld.FileTasks.Download(String remotePath, String localPath, ITestOutputHelper output) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Utilities/FileTasks.cs:line 36
at RealWorld.FileTasks.DownloadAndUnzip(String remotePath, String localExpandedDirPath, ITestOutputHelper output, Boolean deleteTempFiles) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Utilities/FileTasks.cs:line 24
at RealWorld.DotNetSetup.Run(ITestOutputHelper output) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Utilities/DotNetSetup.cs:line 94
at RealWorld.TestRun.PrepareDotNet(ITestOutputHelper output) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Runner/TestRun.cs:line 160
at RealWorld.TestRun.SetupBenchmarks(ITestOutputHelper output) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Runner/TestRun.cs:line 133
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RealWorld.TestRun.Run(ITestOutputHelper output) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Runner/TestRun.cs:line 45
at RealWorld.Program.Main(String[] args) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Program.cs:line 36
It seems that dotnet sdk for 2.0 does not exist anymore.
Next, when I try running 2.2 with this command, dotnet run -c Release -- --netcoreapp-version 2.2, I get following error message:
Unhandled Exception: System.NotSupportedException: Version 2.2 doesn't have a known TFM
at RealWorld.DotNetSetup.GetTargetFrameworkMonikerForFrameworkVersion(String runtimeVersion) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Utilities/DotNetSetup.cs:line 252
at RealWorld.Program.ConfigureTestRun(CommandLineOptions options) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Program.cs:line 78
at RealWorld.Program.Main(String[] args) in /home/takhandipu/performance/src/benchmarks/real-world/JitBench/Program.cs:line 20
Even though my dotnet version is 2.2.300 and dotnet build -c Release succeeded without any error or warning.
Metadata
Metadata
Assignees
Labels
No labels