-
Type:
Build Failure
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Test Python
-
Storage Engines - Foundations
-
SE Foundations - 2025-11-21
-
5
-
- amazon2-arm64
- amazon2-arm64-nonstandalone
- amazon2023-armv9
- amazon2023-armv9-asan
- amazon2023-armv9-nonstandalone
- amazon2023-armv9-release-nonstandalone
- amazon2023-release-armv9
- macos-14-arm64
- rhel8-zseries
- rhel80
- ubuntu2004
- ubuntu2004-arm64
- ubuntu2004-arm64-nonstandalone
- ubuntu2004-arm64-release-nonstandalone
- ubuntu2004-nonstandalone
- ubuntu2004-release
- ubuntu2004-release-arm64
- ubuntu2004-release-nonstandalone
- windows
-
- spinlock-gcc-test
- spinlock-pthread-adaptive-test
- unit-test
- unit-test-bucket02
- unit-test-bucket09
- unit-test-bucket10
- unit-test-bucket11
- unit-test-extra-long
- unit-test-hook-tiered
- unit-test-hook-tiered-s3
- unit-test-hook-tiered-with-delays
- unit-test-hook-timing-stress-log
- unit-test-macos
- unit-test-palm
- unit-test-zstd
-
29
-
v8.2
Host: i-02497d44734f7da6e
Project: wiredtiger
Commit: ed82fb5a
Please refer to BF(G) Playbook for instructions on handling BF and BFG tickets as well as Auto-Resolution Rules
Task Logs:
unit-test-zstd task_log
Logs:
[pid:3258]: test_layered47.test_layered47.test_checkpoint_order_mismatch -s 0 (palite): starting [pid:3258]: test_layered47.test_layered47.test_checkpoint_order_mismatch -s 0 (palite): 0.79 seconds [pid:3088/3258]: test_layered47.test_layered47.test_checkpoint_order_mismatch(palite) ... ok
unit-test-zstd task_log
Logs:
[pid:3088]: ERROR: test_ovfl01.test_ovfl01.test_ovfl01
----------------------------------------------------------------------
[pid:3088]: testtools.testresult.real._StringException: Traceback (most recent call last):
File "/data/mci/eacb3f5d6f9c4b50367e9c1ad3fca749/wiredtiger/test/suite/wttest.py", line 283, in _callTestMethod
method()
File "/data/mci/eacb3f5d6f9c4b50367e9c1ad3fca749/wiredtiger/test/suite/test_ovfl01.py", line 76, in test_ovfl01
self.populate(self.uri)
File "/data/mci/eacb3f5d6f9c4b50367e9c1ad3fca749/wiredtiger/test/suite/test_ovfl01.py", line 67, in populate
c.close()
File "/data/mci/eacb3f5d6f9c4b50367e9c1ad3fca749/wiredtiger/cmake_build/lang/python/wiredtiger/swig_wiredtiger.py", line 179, in close
self._freecb()
TypeError: in method 'Cursor__freecb', argument 1 of type 'struct __wt_cursor *'
----------------------------------------------------------------------
Ran 14404 tests in 9160.065s
unit-test-zstd task_log
Logs:
AssertionError: unexpected standard output, contains: "[1761180530:992401][3258:0x7ff7d5109cc0], test_ovfl01.test_ovfl01.test_ovfl01, file:test_ovfl01.wt, WT_CURSOR.insert: [WT_VERB_SPLIT][WARNING]: bulk insert failed during page split
Probable root cause:
- Currently, SWIG layer establishes connection between WT native objects (session, cursor) and associated Python objects via internal pointer at the C side. This pointer holds address of the corresponding Python object.
- When parent object is closed, for example, a connection, then all child objects are closed implicitly. This is when the associated Python object is set to None to prevent hard crashes in the Python code, in case the dangling pointer is accessed.
- When an object is closed explicitly from Python code, then the internal pointer it set to NULL, to keep Python object reference count correct.
- The problem arrises, when close method of a cursor (or a session) returns EBUSY, which is technically an error, but must leave the object in a valid state. When the caller attempts calling the close again, then the object must not be freed or closed.