Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1530

"document was not stored" instead of SDK_DOCUMENT_NOT_FOUND_EXCEPTION

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.0
    • None
    • None
    • None
    • 7.0, 7.1, 7.2, 7.6

    Description

      Total failure: 2*4 = 8

      Tests: BinaryTest.appendThrowsDocumentNotFound and BinaryTest.prependThrowsDocumentNotFound

      ----------------------
      Taking example of BinaryTest.appendThrowsDocumentNotFound:Test:

      @TestFactory
      Stream<DynamicTest> appendThrowsDocumentNotFound() {
          return iterate(p -> {
              String id = UUID.randomUUID().toString();
              assertDocumentNotFound(execute(shared, KvCommandUtil.append(collection, id, helloBytes, p.api)));
          });
      } 

      Here, the execute command is returning below error:

      exception {
        other {
          serialized: "document was not stored | {\"status_code\":5,\"document_id\":\"9bb22063-6669-4a82-ba9a-b2b98fafdff9\",\"bucket\":\"default\",\"scope\":\"_default\",\"collection\":\"_default\",\"error_name\":\"NOT_STORED\",\"error_description\":\"Not Stored\",\"opaque\":7,\"last_dispatched_to\":\"172.23.111.132:11210\",\"last_dispatched_from\":\"172.17.0.3:51978\",\"last_connection_id\":\"c18f0afbfd62bc92/514e767c619eef4c\"}"
        }
      } 

      While we are expecting "SDK_DOCUMENT_NOT_FOUND_EXCEPTION"

      Jenkins failure:

      https://sdk.jenkins.couchbase.com/job/golang/job/transactions/job/TransactionsFITPerformer_SinglePerformer/1069/testReport/com.couchbase.client.kv/BinaryTest/appendThrowsDocumentNotFound/
      https://sdk.jenkins.couchbase.com/job/golang/job/transactions/job/TransactionsFITPerformer_SinglePerformer/1069/testReport/com.couchbase.client.kv/BinaryTest/prependThrowsDocumentNotFound/
      https://sdk.jenkins.couchbase.com/job/golang/job/transactions/job/TransactionsFITPerformer_SinglePerformer/1069/testReport/com.couchbase.client.kv/BinaryTest/Setup_test_Infra_and_Execute_Tests___7_1_stable_Vs_GO_MASTER___appendThrowsDocumentNotFound/
      https://sdk.jenkins.couchbase.com/job/golang/job/transactions/job/TransactionsFITPerformer_SinglePerformer/1069/testReport/com.couchbase.client.kv/BinaryTest/Setup_test_Infra_and_Execute_Tests___7_1_stable_Vs_GO_MASTER___prependThrowsDocumentNotFound/

      Please help us in looking into this failures. Attaching Driver and FIT Performer logs of one of the test case for your reference. Please feel free to reach out for any further assistance.

       
      Thanks!

      Attachments

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

        Activity

          People

            charles.dixon Charles Dixon
            aaliya.haque Aaliya Haque
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty