Skip to content

Proxy GRPC benchmarks broken #2013

Open
@sebastienros

Description

@sebastienros

Obsolete method need to be updated.

dotnet publish GrpcClient.csproj -c Release -o /tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/perf/benchmarkapps/GrpcClient/published /p:MicrosoftNETCoreAppPackageVersion=9.0.0-rc.1.24408.12 /p:MicrosoftAspNetCoreAppPackageVersion=9.0.0-rc.1.24407.10 /p:GenerateErrorForMissingTargetingPacks=false /p:RestoreNoCache=true /p:MicrosoftNETPlatformLibrary=Microsoft.NETCore.App --framework net9.0 --self-contained -r linux-x64 
  Determining projects to restore...
  Restored /tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/perf/benchmarkapps/GrpcClient/GrpcClient.csproj (in 3.31 sec).
  Restored /tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/src/Grpc.Core.Api/Grpc.Core.Api.csproj (in 3.33 sec).
  Restored /tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/src/Grpc.Net.Common/Grpc.Net.Common.csproj (in 7.16 sec).
  Restored /tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/src/Grpc.Net.Client/Grpc.Net.Client.csproj (in 7.16 sec).
  Grpc.Core.Api -> /tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/src/Grpc.Core.Api/bin/Release/netstandard2.1/Grpc.Core.Api.dll
  Grpc.Net.Common -> /tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/src/Grpc.Net.Common/bin/Release/net8.0/Grpc.Net.Common.dll
  Grpc.Net.Client -> /tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/src/Grpc.Net.Client/bin/Release/net8.0/Grpc.Net.Client.dll
/tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/perf/benchmarkapps/GrpcClient/Program.cs(479,45): error SYSLIB0057: 'X509Certificate2.X509Certificate2(string, string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057) [/tmp/benchmarks-agent/benchmarks-server-1/69DA5B955F78EDDC/perf/benchmarkapps/GrpcClient/GrpcClient.csproj]

Activity

sebastienros

sebastienros commented on Aug 13, 2024

@sebastienros
MemberAuthor

@JamesNK don't bother if you are busy, will do it tomorrow otherwise

sebastienros

sebastienros commented on Aug 13, 2024

@sebastienros
MemberAuthor

grpc/grpc-dotnet#2502

I believe the change is too recent in the runtime to get a valid build in grpc-dotnet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Proxy GRPC benchmarks broken · Issue #2013 · aspnet/Benchmarks