Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1063

Intermittent fail in CollectionsTests.test_unlock_wrong_cas

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.0.7
    • 3.0.5
    • None
    • None
    • 1

    Description

      Seems this fails against the mock, occasionally. Stack trace:

      File "C:\cbdep-priv\Python3.7.8-amd64\lib\unittest\case.py", line 59, in testPartExecutor
          yield
        File "C:\cbdep-priv\Python3.7.8-amd64\lib\unittest\case.py", line 628, in run
          testMethod()
        File "C:\Jenkins\workspace\python\sdk\python-scripted-build-pipeline\couchbase-python-client\couchbase\tests_v3\cases\collection_t.py", line 269, in test_unlock_wrong_cas
          self.try_n_times(10, 3, self.cb.unlock, self.KEY, cas, expected_exceptions=(TemporaryFailException,))
        File "C:\Jenkins\workspace\python\sdk\python-scripted-build-pipeline\couchbase-python-client\couchbase_tests\base.py", line 879, in try_n_times
          "unsuccessful {} after {} times, waiting {} seconds between calls".format(func, num_times, seconds_between))
        File "C:\Jenkins\workspace\python\sdk\python-scripted-build-pipeline\couchbase-python-client\couchbase_tests\base.py", line 851, in _fail
          self.fail(message)
        File "C:\cbdep-priv\Python3.7.8-amd64\lib\unittest\case.py", line 693, in fail
          raise self.failureException(msg)
      unsuccessful <bound method CBCollection.unlock of CBCollection of <couchbase_core.client.Bucket bucket=default, nodes=['172.23.97.137:51604'] at 0x1cc5f3ef748>> after 10 times, waiting 3 seconds between calls
      

      Attachments

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

        Activity

          People

            david.kelly David Kelly (Inactive)
            david.kelly David Kelly (Inactive)
            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