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

Performer returning CANCELLED error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • backlog-3.0
    • None
    • None
    • None
    • 2

    Description

      All the 18 `allPermutations` tests has below error for DOTNET (not present in Java):

      11:32:56.465 [executor-0] ERROR ncurrentTransactionCoordinator - test: From performer (error): {}
      io.grpc.StatusRuntimeException: CANCELLED: CANCELLED
          at io.grpc.Status.asRuntimeException(Status.java:539)
          at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:487)
          at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:576)
          at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
          at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:757)
          at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:736)
          at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
          at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
          at java.base/java.lang.Thread.run(Thread.java:833)
      11:32:56.474 [      main] INFO  ncurrentTransactionCoordinator - Performer is done

       

       

      And 5 out of 18 tests are failing in .NET for all cluster versions because of below error:

      org.opentest4j.AssertionFailedError: Did not find any entries for transaction 5d8ee4f4-7b43-49f0-9f19-0a553b2cbd20 on ATR collection default._default._default - remember that ATR collection is by default on default collection of bucket of first mutated doc 

       

       

      Below is link of Jenkins failure: 
      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___6_6_release_Vs_DOTNET_MASTER___allPermutations/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___6_6_release_Vs_DOTNET_MASTER___allPermutations_2/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___6_6_release_Vs_DOTNET_MASTER___allPermutations_3/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___6_6_release_Vs_DOTNET_MASTER___allPermutations_4/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___6_6_release_Vs_DOTNET_MASTER___allPermutations_5/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___7_0_release_Vs_DOTNET_MASTER___allPermutations/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___7_0_release_Vs_DOTNET_MASTER___allPermutations_2/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___7_0_release_Vs_DOTNET_MASTER___allPermutations_3/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___7_0_release_Vs_DOTNET_MASTER___allPermutations_4/

      https://sdk.jenkins.couchbase.com/job/dotnet/job/sdk/job/TransactionsFITPerformer_SinglePerformer/1322/testReport/com.couchbase.transactions/SameDocTwiceTest/Setup_test_Infra_and_Execute_Tests___7_0_release_Vs_DOTNET_MASTER___allPermutations_5/

       

      Below is the failed test:

      /**
       * Tests:
       * 1. All permutation of two mutating operations on the same doc.
       * 2. That, if the combination is allowed, that if it fails in COMMITTED state, then cleanup can successfully complete it.
       */
       
      @IgnoreWhen(firstPerformerMissesTransactionsCaps = {Caps.EXT_ALL_KV_COMBINATIONS})
      @TestFactory
      Stream<DynamicTest> allPermutations() {
          return Stream.of(INSERT, REPLACE, REMOVE).flatMap(op1 ->
                  Stream.of(INSERT, REPLACE, REMOVE).flatMap(op2 ->
                          Stream.of(true, false).map(commitWithCleanup -> {
                              StringBuilder name = new StringBuilder();
                              name.append(op1);
                              name.append(" -> ");
                              name.append(op2);
                              if (commitWithCleanup) {
                                  name.append(" commit with cleanup");
                              }
                              return DynamicTest.dynamicTest(name.toString(), () -> test(op1, op2, commitWithCleanup));
                          })));
      } 

       

      Attaching docker and IntelliJ logs for your reference. Please feel free to reach out for any further assistance.

      Thanks!

      Attachments

        1. driverLog.txt
          112 kB
        2. FIT_Perf_log.txt
          258 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            emilien.bevierre Emilien Bevierre
            aaliya.haque Aaliya Haque
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty