Bug 16268 - ldb 2.9.2 test suite fails with ldbm 1.0.2
Summary: ldb 2.9.2 test suite fails with ldbm 1.0.2
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-10-01 05:17 UTC by Maxim Cournoyer
Modified: 2026-10-01 05:17 UTC (History)
0 users

See Also:


Attachments
Build log (uncompressed text) (235.22 KB, text/plain)
2026-10-01 05:17 UTC, Maxim Cournoyer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Cournoyer 2026-10-01 05:17:04 UTC
Created attachment 19263 [details]
Build log (uncompressed text)

When building ldb version 2.9.2 with ldbm 1.0.2, its `test_ldb_add_special_key_len_gt_max` test fails like:

```
[==========] Running 8 test(s).
[ RUN      ] test_ldb_add_key_len_eq_max
[       OK ] test_ldb_add_key_len_eq_max
[ RUN      ] test_ldb_add_key_len_gt_max
[       OK ] test_ldb_add_key_len_gt_max
[ RUN      ] test_ldb_add_key_len_2x_gt_max
[       OK ] test_ldb_add_key_len_2x_gt_max
[ RUN      ] test_ldb_add_special_key_len_eq_max
[       OK ] test_ldb_add_special_key_len_eq_max
[ RUN      ] test_ldb_add_special_key_len_gt_max
[  ERROR   ] --- 0 != 0x2
[   LINE   ] --- ../../tests/ldb_lmdb_test.c:333: error: Failure!
[  FAILED  ] test_ldb_add_special_key_len_gt_max
[ RUN      ] test_ldb_add_dn_no_guid_mode
[       OK ] test_ldb_add_dn_no_guid_mode
[ RUN      ] test_multiple_opens
[       OK ] test_multiple_opens
[ RUN      ] test_multiple_opens_across_fork
[       OK ] test_multiple_opens_across_fork
[==========] 8 test(s) run.
[  PASSED  ] 7 test(s).
[  FAILED  ] 1 test(s), listed below:
[  FAILED  ] test_ldb_add_special_key_len_gt_max
```
Attached is the complete build log (text file).