Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13195

Cursor bound fuzz test encoding error

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines

      On my local branch wt-12602-test-repro, I have encountered an error that has nothing to do with the changes described in WT-12602.

      [2024/06/24 14:33:11.248] ======================================================================
      [2024/06/24 14:33:11.248] [pid:245207]: ERROR: test_cursor_bound_fuzz.test_cursor_bound_fuzz.test_bound_fuzz(file.column)
      [2024/06/24 14:33:11.248] ----------------------------------------------------------------------
      [2024/06/24 14:33:11.248] [pid:245207]: testtools.testresult.real._StringException: Traceback (most recent call last):
      [2024/06/24 14:33:11.248]   File "/data/mci/69ad81b0eebac856842ef7d91fa4fe26/wiredtiger/test/suite/wttest.py", line 233, in _callTestMethod
      [2024/06/24 14:33:11.248]     method()
      [2024/06/24 14:33:11.248]   File "/data/mci/69ad81b0eebac856842ef7d91fa4fe26/wiredtiger/test/suite/test_cursor_bound_fuzz.py", line 570, in test_bound_fuzz
      [2024/06/24 14:33:11.248]     self.run_bound_scenarios(bound_set, read_cursor)
      [2024/06/24 14:33:11.248]   File "/data/mci/69ad81b0eebac856842ef7d91fa4fe26/wiredtiger/test/suite/test_cursor_bound_fuzz.py", line 486, in run_bound_scenarios
      [2024/06/24 14:33:11.248]     self.run_prev(bound_set, cursor)
      [2024/06/24 14:33:11.248]   File "/data/mci/69ad81b0eebac856842ef7d91fa4fe26/wiredtiger/test/suite/test_cursor_bound_fuzz.py", line 349, in run_prev
      [2024/06/24 14:33:11.248]     current_value = cursor.get_value()
      [2024/06/24 14:33:11.248]   File "/data/mci/69ad81b0eebac856842ef7d91fa4fe26/wiredtiger/cmake_build/lang/python/wiredtiger/swig_wiredtiger.py", line 253, in get_value
      [2024/06/24 14:33:11.248]     v = self.get_values()
      [2024/06/24 14:33:11.248]   File "/data/mci/69ad81b0eebac856842ef7d91fa4fe26/wiredtiger/cmake_build/lang/python/wiredtiger/swig_wiredtiger.py", line 270, in get_values
      [2024/06/24 14:33:11.248]     return unpack(self.value_format, self._get_value())
      [2024/06/24 14:33:11.248]   File "/data/mci/69ad81b0eebac856842ef7d91fa4fe26/wiredtiger/cmake_build/lang/python/wiredtiger/packing.py", line 109, in unpack
      [2024/06/24 14:33:11.248]     result.append(_string_result(s[:size]))
      [2024/06/24 14:33:11.248]   File "/data/mci/69ad81b0eebac856842ef7d91fa4fe26/wiredtiger/cmake_build/lang/python/wiredtiger/packutil.py", line 59, in _string_result
      [2024/06/24 14:33:11.248]     return s.decode()
      [2024/06/24 14:33:11.248] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe3 in position 0: invalid continuation byte
      [2024/06/24 14:33:11.248] ----------------------------------------------------------------------
      

      The cursor bound fuzz test seems to have an encoding error. This is most likely a python test error where it can't decode a specific cursor bound value. I have been able to reproduce this multiple times now.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: