-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.2.0.z
-
None
-
389-ds-base-3.1.3-5.el10_1
-
No
-
Low
-
ZStream
-
rhel-idm-ds
-
0
-
False
-
False
-
-
Yes
-
None
-
Regression Exception
-
Pass
-
Automated
-
Bug Fix
-
-
Proposed
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Issue Description
Exception thrown by dsconf instance repl get_ruv
test_ruv_url_not_added_if_different_uuid CI test failure
Package Version and Platform:
- Platform: Fedora
- Package and version: main branch
Steps to Reproduce
Steps to reproduce the behavior:
1. install 389-ds-base
2. configure 2 suppliers and their agreements
3. Run dsconf supplier1 replication get-ruv --suffix dc=example,dc=com
4. See error: (no RUV but getting an error message)
Steps to reproduce the behavior with the CI test:
1. install 389-ds-base
2. git clone https://github.com/389ds/389-ds-base.git
3. cd 389-ds-base
4. pytest -x dirsrvtests/tests/suites/replication -k test_ruv_url_not_added_if_different_uuid
5. See error:
dirsrvtests/tests/suites/replication/regression_m2c2_test.py::test_ruv_url_not_added_if_different_uuid FAILED [100%] ... log.error(f"No URL for RID {replica_m2.get_rid()} in RUV") > assert False E assert False
Expected results
Test should PASS
Additional context
Behavior changed recently (Probably a regression ...)
Apparently the RUV object has no URL
DEBUG dirsrvtests.tests.suites.replication.regression_m2c2_test:regression_m2c2_test.py:136 c1 RUV: {'data_generation': {'name': '67f68823000000010000', 'value': None}, 'ruvs': [{'raw_ruv': None, 'rid': '1', 'url': None, 'csn': '1970-01-01 00:00:00', 'raw_csn': '00000000000000000000', 'maxcsn': '1970-01-01 00:00:00', 'raw_maxcsn': '00000000000000000000', 'modts': '1970-01-01 00:00:00'}]}
I suspect a change in lib389:
get-ruv seems broken too:
dsconf consumer2 replication get-ruv --suffix dc=example,dc=com
Error: can only concatenate str (not "NoneType") to str
- links to
-
RHBA-2025:151590 389-ds-base update