Benchmarks
Benchmarks copied to clipboard
Benchmark Client docker container build errors when running
The steps for building and running the benchmarking client docker container as shown in the repo's main readme:
Setup the Benchmark Client
Clone https://github.com/aspnet/benchmarks on the main branch
Run cd docker/benchmarks
Run ./build.sh, which will build a Docker image containing the benchmarking dependencies
Then run ./run-client.sh
The application should start on port 5002. Open a browser on this page and OK should be displayed.
Performing these steps and executing ./run-client.sh results in the container continuously rebooting. The docker logs for the benchmark-client container show the following lines repeated:
/benchmarks/src/BenchmarksClient/BenchmarksClient.csproj : error NU1101: Unable to find package Microsoft.DiaSymReader.Pdb2Pdb. No packages exist with this id in source(s): dotnet-public, dotnet5, dotnet5-transport, dotnet6
/benchmarks/src/BenchmarksClient/BenchmarksClient.csproj : error NU1605: Detected package downgrade: Microsoft.AspNetCore.SignalR.Protocols.MessagePack from 5.0.0-alpha.1.19614.7 to 3.1.0-preview2.19528.8. Reference the package directly from the project to select a different version.
/benchmarks/src/BenchmarksClient/BenchmarksClient.csproj : error NU1605: BenchmarksClient -> Ignitor 5.0.0-alpha.1.19614.7 -> Microsoft.AspNetCore.SignalR.Protocols.MessagePack (>= 5.0.0-alpha.1.19614.7)
/benchmarks/src/BenchmarksClient/BenchmarksClient.csproj : error NU1605: BenchmarksClient -> Microsoft.AspNetCore.SignalR.Protocols.MessagePack (>= 3.1.0-preview2.19528.8)
The build failed. Fix the build errors and run again.
I'm running Ubuntu 18.04 and I've also tried docker system prune -af and rebuilding again.
Thanks