Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3528

Include generated gRPC files from Protostellar in Couchbase.Stellar

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.4.14, Protostellar
    • None
    • None
    • None
    • 1

    Description

      Currently Protoc and the other necassary dependencies are not installed in jenkins so that the protos generation can occur:

      /home/couchbase/.nuget/packages/grpc.tools/2.51.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003: The specified task executable "/home/couchbase/.nuget/packages/grpc.tools/2.51.0/tools/linux_x64/protoc" could not be run. System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/home/couchbase/.nuget/packages/grpc.tools/2.51.0/tools/linux_x64/protoc' with working directory '/home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase.Stellar'. No such file or directory [/home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase.Stellar/Couchbase.Stellar.csproj]
      /home/couchbase/.nuget/packages/grpc.tools/2.51.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase.Stellar/Couchbase.Stellar.csproj]
      /home/couchbase/.nuget/packages/grpc.tools/2.51.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase.Stellar/Couchbase.Stellar.csproj]
      /home/couchbase/.nuget/packages/grpc.tools/2.51.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003:    at System.Diagnostics.Process.Start() [/home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase.Stellar/Couchbase.Stellar.csproj]
      /home/couchbase/.nuget/packages/grpc.tools/2.51.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase.Stellar/Couchbase.Stellar.csproj]
      /home/couchbase/.nuget/packages/grpc.tools/2.51.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/home/couchbase/jenkins/workspace/dotnet/sdk/couchbase-net-client-scripted-build-pipeline/couchbase-net-client/src/Couchbase.Stellar/Couchbase.Stellar.csproj] 

      This ticket is to either install the dependencies required for proto code generation or to make the generated code be a checked in module/project post-generation.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jmorris Jeff Morris
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty