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

FIT performer failing to build for 3.4.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • 0
    • SDK18, SDK20, SDK22

    Description

      Spotted this in the SDK performance logs:

       

      Step 5/10 : WORKDIR /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer
      /app/couchbase-net-client/src/Couchbase.Transactions/DataModel/QueryErrorCause.cs(7,45): warning SYSLIB1037: The type 'QueryErrorCause' defines init-only properties, deserialization of which is currently not supported in source generation mode. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/Internal/NonStreamingSerializerWrapper.cs(47,29): warning CS8613: Nullability of reference types in return type of 'ValueTask<T> NonStreamingSerializerWrapper.DeserializeAsync<T>(Stream stream, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'ValueTask<T?> ITypeSerializer.DeserializeAsync<T>(Stream stream, CancellationToken cancellationToken = default(CancellationToken))'. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/Internal/NonStreamingSerializerWrapper.cs(49,21): warning CS8767: Nullability of reference types in type of parameter 'obj' of 'void NonStreamingSerializerWrapper.Serialize(Stream stream, object obj)' doesn't match implicitly implemented member 'void ITypeSerializer.Serialize(Stream stream, object? obj)' (possibly because of nullability attributes). [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/Internal/NonStreamingSerializerWrapper.cs(51,26): warning CS8767: Nullability of reference types in type of parameter 'obj' of 'ValueTask NonStreamingSerializerWrapper.SerializeAsync(Stream stream, object obj, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'ValueTask ITypeSerializer.SerializeAsync(Stream stream, object? obj, CancellationToken cancellationToken = default(CancellationToken))' (possibly because of nullability attributes). [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs(30,21): warning CS8767: Nullability of reference types in type of parameter 'exception' of 'void TransactionsLogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes). [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs(1559,109): warning CS8625: Cannot convert null literal to non-nullable reference type. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/DataAccess/AtrRepository.cs(97,17): warning CS8602: Dereference of a possibly null reference. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs(163,101): warning CS8604: Possible null reference argument for parameter 'originalContent' in 'JObjectContentWrapper.JObjectContentWrapper(object originalContent)'. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/DataAccess/CleanerRepository.cs(113,60): warning CS0168: The variable 'ex' is declared but never used [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/DataAccess/DocumentRepository.cs(207,17): warning CS8604: Possible null reference argument for parameter 'documentMetadata' in 'DocumentLookupResult.DocumentLookupResult(string id, IContentAsWrapper? unstagedContent, IContentAsWrapper? stagedContent, ILookupInResult lookupInResult, DocumentMetadata documentMetadata, ICouchbaseCollection documentCollection)'. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/Forwards/ForwardCompatibility.cs(40,43): warning CS8602: Dereference of a possibly null reference. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/LogUtil/TransactionsLogger.cs(32,67): warning CS8620: Argument of type 'Func<TState, Exception, string>' cannot be used for parameter 'formatter' of type 'Func<TState, Exception?, string>' in 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' due to differences in the nullability of reference types. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/Cleanup/LostTransactions/PerBucketCleaner.cs(415,55): warning CS0168: The variable 'err' is declared but never used [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs(2144,55): warning CS8602: Dereference of a possibly null reference. [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      /app/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs(2172,46): warning CS0168: The variable 'ex' is declared but never used [/app/couchbase-net-client/src/Couchbase.Transactions/Couchbase.Transactions.csproj]
      ../../../gRPC/sdk.collection.query.index_manager.proto(10,1): warning : warning: Import shared.collection.proto is unused. [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      ../../../gRPC/sdk.query.index_manager.options.proto(10,1): warning : warning: Import shared.collection.proto is unused. [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      ../../../gRPC/sdk.query.index_manager.options.proto(10,1): warning : warning: Import shared.collection.proto is unused. [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs(36,114): error CS0246: The type or namespace name 'TransactionCreateRequest' could not be found (are you missing a using directive or an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs(36,216): error CS0246: The type or namespace name 'TransactionStreamPerformerToDriver' could not be found (are you missing a using directive or an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs(36,64): error CS0234: The type or namespace name 'TransactionResult' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs(95,178): error CS0246: The type or namespace name 'TransactionStreamPerformerToDriver' could not be found (are you missing a using directive or an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(601,209): error CS0234: The type or namespace name 'TransactionsFactoryCreateRequest' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/PerformerService.cs(152,97): error CS0246: The type or namespace name 'TransactionsFactoryCreateRequest' could not be found (are you missing a using directive or an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Utils/ResultsUtil.cs(14,60): error CS0234: The type or namespace name 'TransactionResult' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(607,201): error CS0234: The type or namespace name 'TransactionsFactoryCloseRequest' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/PerformerService.cs(487,60): error CS0246: The type or namespace name 'TransactionsFactoryCreateRequest' could not be found (are you missing a using directive or an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(177,79): error CS0234: The type or namespace name 'TransactionCreateRequest' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(177,150): error CS0234: The type or namespace name 'TransactionResult' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(193,79): error CS0234: The type or namespace name 'TransactionStreamDriverToPerformer' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(193,160): error CS0234: The type or namespace name 'TransactionStreamPerformerToDriver' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(233,79): error CS0234: The type or namespace name 'TransactionSingleQueryRequest' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(233,155): error CS0234: The type or namespace name 'TransactionSingleQueryResponse' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(289,79): error CS0234: The type or namespace name 'TransactionsFactoryCreateRequest' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(297,79): error CS0234: The type or namespace name 'TransactionsFactoryCloseRequest' does not exist in the namespace 'Couchbase.Grpc.Protocol.Transactions' (are you missing an assembly reference?) [/app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Couchbase.Transactions.FitPerformer.csproj]
      /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/obj/Release/net6.0/PerformerGrpc.cs(297,157): error CS0234: The type or namespace name 'TransactionGenericResponse' does not exist in the namespace 'Couchbase.Grpc.Protoc
      2023-05-05T10:28:02.7600994900        The command '/bin/sh -c dotnet publish -c Release -f net6.0 -o out --verbosity quiet -nowarn:CS8632,CS0612,CS8603,CS8619,CS8600,CS1998' returned a non-zero code: 1
      2023-05-05T10:28:02.7601585870        Process 'docker build -f transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Dockerfile -t performer-dotnet-3.4.0 .' failed with error 1
      2023-05-05T10:28:02.7602103390        .NET performer failed to build, retrying
      2023-05-05T10:28:02.7602892810        Executing 'docker build -f transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/Dockerfile -t performer-dotnet-3.4.0 .'  

      Attachments

        For Gerrit Dashboard: NCBC-3377
        # Subject Branch Project Status CR V

        Activity

          People

            richard.ponton Richard Ponton
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty