Skip to content

C# interop client build failure on 1.30.x #23404

@apolcyn

Description

@apolcyn
2020-07-07 02:07:15,382 START: tools/run_tests/helper_scripts/build_csharp.sh
2020-07-07 02:07:15,386 WAITING: ETA 200.5 sec; 0 queued, 1 jobs running, 2 complete, 0 failed (load 1.00)
2020-07-07 02:07:25,394 WAITING: ETA 205.5 sec; 0 queued, 1 jobs running, 2 complete, 0 failed (load 1.00)
2020-07-07 02:07:35,398 WAITING: ETA 210.5 sec; 0 queued, 1 jobs running, 2 complete, 0 failed (load 1.00)
2020-07-07 02:07:45,400 WAITING: ETA 215.5 sec; 0 queued, 1 jobs running, 2 complete, 0 failed (load 1.00)
2020-07-07 02:07:51,906 ++ dirname tools/run_tests/helper_scripts/build_csharp.sh
+ cd tools/run_tests/helper_scripts/../../../src/csharp
+ '[' dbg == gcov ']'
+ dotnet build --configuration Debug Grpc.sln
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 368.42 ms for /var/local/git/grpc/src/csharp/Grpc.Examples/Grpc.Examples.csproj.
  Restore completed in 335.94 ms for /var/local/git/grpc/src/csharp/Grpc.HealthCheck.Tests/Grpc.HealthCheck.Tests.csproj.
  Restore completed in 352.93 ms for /var/local/git/grpc/src/csharp/Grpc.Examples.MathClient/Grpc.Examples.MathClient.csproj.
  Restore completed in 448.09 ms for /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.Client/Grpc.IntegrationTesting.Client.csproj.
  Restore completed in 447.43 ms for /var/local/git/grpc/src/csharp/Grpc.HealthCheck/Grpc.HealthCheck.csproj.
  Restore completed in 513.68 ms for /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.XdsClient/Grpc.IntegrationTesting.XdsClient.csproj.
  Restore completed in 515.47 ms for /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.StressClient/Grpc.IntegrationTesting.StressClient.csproj.
  Restore completed in 482.32 ms for /var/local/git/grpc/src/csharp/Grpc.Core.Tests/Grpc.Core.Tests.csproj.
  Restore completed in 449.04 ms for /var/local/git/grpc/src/csharp/Grpc.Examples.MathServer/Grpc.Examples.MathServer.csproj.
  Restore completed in 560.5 ms for /var/local/git/grpc/src/csharp/Grpc.Examples.Tests/Grpc.Examples.Tests.csproj.
  Restore completed in 1.81 ms for /var/local/git/grpc/src/csharp/Grpc.Reflection.Tests/Grpc.Reflection.Tests.csproj.
  Restore completed in 403.1 ms for /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.Server/Grpc.IntegrationTesting.Server.csproj.
  Restore completed in 612.8 ms for /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.QpsWorker/Grpc.IntegrationTesting.QpsWorker.csproj.
  Restore completed in 533.49 ms for /var/local/git/grpc/src/csharp/Grpc.Core.Testing/Grpc.Core.Testing.csproj.
  Restore completed in 474.46 ms for /var/local/git/grpc/src/csharp/Grpc.Core.Api/Grpc.Core.Api.csproj.
  Restore completed in 294.06 ms for /var/local/git/grpc/src/csharp/Grpc.Auth/Grpc.Auth.csproj.
  Restore completed in 576.61 ms for /var/local/git/grpc/src/csharp/Grpc.Core/Grpc.Core.csproj.
  Restore completed in 73.2 ms for /var/local/git/grpc/src/csharp/Grpc.Reflection/Grpc.Reflection.csproj.
  Restore completed in 3.61 ms for /var/local/git/grpc/src/csharp/Grpc.Tools/Grpc.Tools.csproj.
  Restore completed in 17.26 ms for /var/local/git/grpc/src/csharp/Grpc.Tools.Tests/Grpc.Tools.Tests.csproj.
  Restore completed in 90.02 ms for /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting/Grpc.IntegrationTesting.csproj.
  Restore completed in 95.22 ms for /var/local/git/grpc/src/csharp/Grpc.Microbenchmarks/Grpc.Microbenchmarks.csproj.
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,2): error CS0116: A namespace cannot directly contain members such as fields or methods [/var/local/git/grpc/src/csharp/Grpc.Tools/Grpc.Tools.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,12): error CS1022: Type or namespace definition, or end-of-file expected [/var/local/git/grpc/src/csharp/Grpc.Tools/Grpc.Tools.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,15): error CS1010: Newline in constant [/var/local/git/grpc/src/csharp/Grpc.Tools/Grpc.Tools.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,2): error CS0116: A namespace cannot directly contain members such as fields or methods [/var/local/git/grpc/src/csharp/Grpc.Core.Api/Grpc.Core.Api.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,12): error CS1022: Type or namespace definition, or end-of-file expected [/var/local/git/grpc/src/csharp/Grpc.Core.Api/Grpc.Core.Api.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,15): error CS1010: Newline in constant [/var/local/git/grpc/src/csharp/Grpc.Core.Api/Grpc.Core.Api.csproj]
  Grpc.Core.Api -> /var/local/git/grpc/src/csharp/Grpc.Core.Api/bin/Debug/netstandard2.0/Grpc.Core.Api.dll
  Grpc.Tools -> /var/local/git/grpc/src/csharp/Grpc.Tools/bin/Debug/netstandard1.3/Protobuf.MSBuild.dll
  Grpc.Core.Api -> /var/local/git/grpc/src/csharp/Grpc.Core.Api/bin/Debug/netstandard1.5/Grpc.Core.Api.dll
  Grpc.Auth -> /var/local/git/grpc/src/csharp/Grpc.Auth/bin/Debug/netstandard2.0/Grpc.Auth.dll
  Grpc.HealthCheck -> /var/local/git/grpc/src/csharp/Grpc.HealthCheck/bin/Debug/netstandard1.5/Grpc.HealthCheck.dll
  Grpc.Reflection -> /var/local/git/grpc/src/csharp/Grpc.Reflection/bin/Debug/netstandard2.0/Grpc.Reflection.dll
  Grpc.Reflection -> /var/local/git/grpc/src/csharp/Grpc.Reflection/bin/Debug/netstandard1.5/Grpc.Reflection.dll
  Grpc.Tools.Tests -> /var/local/git/grpc/src/csharp/Grpc.Tools.Tests/bin/Debug/netcoreapp2.1/Grpc.Tools.Tests.dll
  Grpc.Core -> /var/local/git/grpc/src/csharp/Grpc.Core/bin/Debug/netstandard2.0/Grpc.Core.dll
  Grpc.Auth -> /var/local/git/grpc/src/csharp/Grpc.Auth/bin/Debug/netstandard1.5/Grpc.Auth.dll
  Grpc.HealthCheck -> /var/local/git/grpc/src/csharp/Grpc.HealthCheck/bin/Debug/netstandard2.0/Grpc.HealthCheck.dll
  Grpc.Core -> /var/local/git/grpc/src/csharp/Grpc.Core/bin/Debug/netstandard1.5/Grpc.Core.dll
  Grpc.Core.Testing -> /var/local/git/grpc/src/csharp/Grpc.Core.Testing/bin/Debug/netstandard1.5/Grpc.Core.Testing.dll
  Grpc.HealthCheck.Tests -> /var/local/git/grpc/src/csharp/Grpc.HealthCheck.Tests/bin/Debug/netcoreapp2.1/Grpc.HealthCheck.Tests.dll
  Grpc.Examples -> /var/local/git/grpc/src/csharp/Grpc.Examples/bin/Debug/netcoreapp2.1/Grpc.Examples.dll
  Grpc.Core.Testing -> /var/local/git/grpc/src/csharp/Grpc.Core.Testing/bin/Debug/netstandard2.0/Grpc.Core.Testing.dll
  Grpc.Reflection.Tests -> /var/local/git/grpc/src/csharp/Grpc.Reflection.Tests/bin/Debug/netcoreapp2.1/Grpc.Reflection.Tests.dll
  Grpc.Core.Tests -> /var/local/git/grpc/src/csharp/Grpc.Core.Tests/bin/Debug/netcoreapp2.1/Grpc.Core.Tests.dll
  Grpc.Examples.MathClient -> /var/local/git/grpc/src/csharp/Grpc.Examples.MathClient/bin/Debug/netcoreapp2.1/Grpc.Examples.MathClient.dll
  Grpc.IntegrationTesting -> /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting/bin/Debug/netcoreapp2.1/Grpc.IntegrationTesting.dll
  Grpc.Examples.MathServer -> /var/local/git/grpc/src/csharp/Grpc.Examples.MathServer/bin/Debug/netcoreapp2.1/Grpc.Examples.MathServer.dll
  Grpc.Examples.Tests -> /var/local/git/grpc/src/csharp/Grpc.Examples.Tests/bin/Debug/netcoreapp2.1/Grpc.Examples.Tests.dll
  Grpc.IntegrationTesting.StressClient -> /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.StressClient/bin/Debug/netcoreapp2.1/Grpc.IntegrationTesting.StressClient.dll
  Grpc.Microbenchmarks -> /var/local/git/grpc/src/csharp/Grpc.Microbenchmarks/bin/Debug/netcoreapp2.1/Grpc.Microbenchmarks.dll
  Grpc.IntegrationTesting.QpsWorker -> /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.QpsWorker/bin/Debug/netcoreapp2.1/Grpc.IntegrationTesting.QpsWorker.dll
  Grpc.IntegrationTesting.XdsClient -> /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.XdsClient/bin/Debug/netcoreapp2.1/Grpc.IntegrationTesting.XdsClient.dll
  Grpc.IntegrationTesting.Server -> /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.Server/bin/Debug/netcoreapp2.1/Grpc.IntegrationTesting.Server.dll
  Grpc.IntegrationTesting.Client -> /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.Client/bin/Debug/netcoreapp2.1/Grpc.IntegrationTesting.Client.dll

Build FAILED.

/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,2): error CS0116: A namespace cannot directly contain members such as fields or methods [/var/local/git/grpc/src/csharp/Grpc.Tools/Grpc.Tools.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,12): error CS1022: Type or namespace definition, or end-of-file expected [/var/local/git/grpc/src/csharp/Grpc.Tools/Grpc.Tools.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,15): error CS1010: Newline in constant [/var/local/git/grpc/src/csharp/Grpc.Tools/Grpc.Tools.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,2): error CS0116: A namespace cannot directly contain members such as fields or methods [/var/local/git/grpc/src/csharp/Grpc.Core.Api/Grpc.Core.Api.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,12): error CS1022: Type or namespace definition, or end-of-file expected [/var/local/git/grpc/src/csharp/Grpc.Core.Api/Grpc.Core.Api.csproj]
/tmp/.NETFramework,Version=v4.5.AssemblyAttributes.cs(5,15): error CS1010: Newline in constant [/var/local/git/grpc/src/csharp/Grpc.Core.Api/Grpc.Core.Api.csproj]
    0 Warning(s)
    6 Error(s)

Time Elapsed 00:00:35.06

2020-07-07 02:07:51,906 FAILED: tools/run_tests/helper_scripts/build_csharp.sh [ret=1, pid=8349, time=36.5sec]
2020-07-07 02:07:51,907 FAILED: Some tests failed

2020-07-06 19:09:00,507 FAILED: build_docker_csharp [ret=1, pid=13761, time=533.7sec]

https://source.cloud.google.com/results/invocations/30142f9c-10d9-4370-a3e6-6b6264d66ec8/targets/grpc%2Fcore%2Fpull_request%2Flinux%2Fgrpc_interop_tocloud/log

Seen in PR: #23400

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions