On Mon, 27 May 2013, Tomas Babej wrote:
We got rid of openldap utilities now. While using python.ldap
module, I also made the tests much more robust and added a new
test case.
In general patches look fine, there is one small nitpick.
I'll run tests on Monday and then will provide final ACK.
--- a/tests/test_xmlrpc/test_range_plugin.py
+++ b/tests/test_xmlrpc/test_range_plugin.py
@@ -22,66 +22,171 @@ Test the `ipalib/plugins/idrange.py`
module, and XML-RPC in general.
"""
from ipalib import api, errors, _
+from ipapython.ipautil import run
This import is unused, can be removed.
Fixed, thanks for catching that.
Updated patch attached.
So I tried to run this test on a machine where there is already trust
established and I think there should be done some changes.
Probably it would be wise to add pre-start procedure to pull existing
ranges and define constants for the ranges so that they don't overlap
with existing ones. Perhaps selecting something from a top of the range
space...
Attached is the log.
--
/ Alexander Bokovoy
test_range pre-cleanup[0]: ('idrange_del', [u'testrange1', u'testrange2',
u'testrange3', u'testrange4', u'testrange5', u'testrange6', u'testrange7',
u'testrange8'], {'continue': True}) ... ok
test_range pre-cleanup[1]: ('user_del', [u'tuser1'], {}) ... ok
test_range pre-cleanup[2]: ('group_del', [u'group1'], {}) ... ok
test_range[0]: idrange_add: Create ID range u'testrange1' ... ERROR
test_range[1]: idrange_show: Retrieve ID range u'testrange1' ... ERROR
test_range[2]: user_add: Create user u'tuser1' in ID range u'testrange1' ... ok
test_range[3]: group_add: Create group u'group1' in ID range u'testrange1' ...
ok
test_range[4]: idrange_mod: Try to modify ID range u'testrange1' to get out
bounds object #1 ... FAIL
test_range[5]: idrange_mod: Try to modify ID range u'testrange1' to get out
bounds object #2 ... FAIL
test_range[6]: idrange_mod: Try to modify ID range u'testrange1' to get out
bounds object #3 ... FAIL
test_range[7]: idrange_mod: Modify ID range u'testrange1' ... ERROR
test_range[8]: idrange_del: Try to delete ID range u'testrange1' with active
IDs inside it ... FAIL
test_range[9]: user_del: Delete user u'tuser1' ... ok
test_range[10]: group_del: Delete group u'group1' ... ok
test_range[11]: idrange_del: Delete ID range u'testrange1' ... ERROR
test_range[12]: idrange_add: Create ID range u'testrange2' ... ERROR
test_range[13]: idrange_mod: Try to modify ID range u'testrange2' so that its
rid ranges are overlapping themselves ... FAIL
test_range[14]: idrange_add: Try to create ID range u'testrange3' with
overlapping rid range ... FAIL
test_range[15]: idrange_add: Try to create ID range u'testrange4' with
overlapping secondary rid range ... FAIL
test_range[16]: idrange_add: Try to create ID range u'testrange5' with primary
range overlapping secondary rid range ... FAIL
test_range[17]: idrange_add: Try to create ID range u'testrange6' with
overlapping id range ... FAIL
test_range[18]: idrange_add: Try to create ID range u'testrange7' with rid
ranges overlapping themselves ... ok
test_range[19]: idrange_del: Delete ID range u'testrange2' ... ERROR
test_range[20]: idrange_add: Create ID range u'testrange8' ... ok
test_range[21]: idrange_mod: Try to modify ID range u'testrange8' so it has
only primary rid range set ... ok
test_range[22]: idrange_del: Delete ID range u'testrange8' ... ok
test_range[23]: idrange_del: Delete non-active AD trusted range u'testrange9'
... ok
test_range[24]: idrange_del: Try to delete active AD trusted range
u'testrange10' ... ok
test_range post-cleanup[0]: ('idrange_del', [u'testrange1', u'testrange2',
u'testrange3', u'testrange4', u'testrange5', u'testrange6', u'testrange7',
u'testrange8'], {'continue': True}) ... ok
test_range post-cleanup[1]: ('user_del', [u'tuser1'], {}) ... ok
test_range post-cleanup[2]: ('group_del', [u'group1'], {}) ... ok
======================================================================
ERROR: test_range[0]: idrange_add: Create ID range u'testrange1'
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 289, in check
self.check_output(nice, cmd, args, options, expected, extra_check)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 326, in check_output
got = api.Command[cmd](*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
436, in __call__
ret = self.run(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
735, in run
return self.forward(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
756, in forward
return self.Backend.xmlclient.forward(self.name, *args, **kw)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/rpc.py", line 712,
in forward
raise error(message=e.faultString)
DatabaseError: Constraint violation: New primary rid range overlaps with
existing primary rid range.
======================================================================
ERROR: test_range[1]: idrange_show: Retrieve ID range u'testrange1'
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 289, in check
self.check_output(nice, cmd, args, options, expected, extra_check)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 326, in check_output
got = api.Command[cmd](*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
436, in __call__
ret = self.run(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
735, in run
return self.forward(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
756, in forward
return self.Backend.xmlclient.forward(self.name, *args, **kw)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/rpc.py", line 712,
in forward
raise error(message=e.faultString)
NotFound: testrange1: range not found
======================================================================
ERROR: test_range[7]: idrange_mod: Modify ID range u'testrange1'
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 289, in check
self.check_output(nice, cmd, args, options, expected, extra_check)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 326, in check_output
got = api.Command[cmd](*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
436, in __call__
ret = self.run(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
735, in run
return self.forward(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
756, in forward
return self.Backend.xmlclient.forward(self.name, *args, **kw)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/rpc.py", line 712,
in forward
raise error(message=e.faultString)
NotFound: testrange1: range not found
======================================================================
ERROR: test_range[11]: idrange_del: Delete ID range u'testrange1'
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 289, in check
self.check_output(nice, cmd, args, options, expected, extra_check)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 326, in check_output
got = api.Command[cmd](*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
436, in __call__
ret = self.run(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
735, in run
return self.forward(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
756, in forward
return self.Backend.xmlclient.forward(self.name, *args, **kw)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/rpc.py", line 712,
in forward
raise error(message=e.faultString)
NotFound: testrange1: range not found
======================================================================
ERROR: test_range[12]: idrange_add: Create ID range u'testrange2'
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 289, in check
self.check_output(nice, cmd, args, options, expected, extra_check)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 326, in check_output
got = api.Command[cmd](*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
436, in __call__
ret = self.run(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
735, in run
return self.forward(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
756, in forward
return self.Backend.xmlclient.forward(self.name, *args, **kw)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/rpc.py", line 712,
in forward
raise error(message=e.faultString)
DatabaseError: Constraint violation: New secondary rid range overlaps with
existing primary rid range.
======================================================================
ERROR: test_range[19]: idrange_del: Delete ID range u'testrange2'
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 289, in check
self.check_output(nice, cmd, args, options, expected, extra_check)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 326, in check_output
got = api.Command[cmd](*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
436, in __call__
ret = self.run(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
735, in run
return self.forward(*args, **options)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/frontend.py", line
756, in forward
return self.Backend.xmlclient.forward(self.name, *args, **kw)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/ipalib/rpc.py", line 712,
in forward
raise error(message=e.faultString)
NotFound: testrange2: range not found
======================================================================
FAIL: test_range[4]: idrange_mod: Try to modify ID range u'testrange1' to get
out bounds object #1
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 304, in check_exception
UNEXPECTED % (cmd, name, args, options, e.__class__.__name__, e)
AssertionError: Expected 'idrange_mod' to raise ValidationError, but caught
different.
args = [u'testrange1']
options = {'ipabaseid': 90001, 'version': u'2.58'}
NotFound: testrange1: range not found
======================================================================
FAIL: test_range[5]: idrange_mod: Try to modify ID range u'testrange1' to get
out bounds object #2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 304, in check_exception
UNEXPECTED % (cmd, name, args, options, e.__class__.__name__, e)
AssertionError: Expected 'idrange_mod' to raise ValidationError, but caught
different.
args = [u'testrange1']
options = {'version': u'2.58', 'ipaidrangesize': 100}
NotFound: testrange1: range not found
======================================================================
FAIL: test_range[6]: idrange_mod: Try to modify ID range u'testrange1' to get
out bounds object #3
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 304, in check_exception
UNEXPECTED % (cmd, name, args, options, e.__class__.__name__, e)
AssertionError: Expected 'idrange_mod' to raise ValidationError, but caught
different.
args = [u'testrange1']
options = {'ipabaseid': 100, 'version': u'2.58', 'ipaidrangesize': 100}
NotFound: testrange1: range not found
======================================================================
FAIL: test_range[8]: idrange_del: Try to delete ID range u'testrange1' with
active IDs inside it
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 304, in check_exception
UNEXPECTED % (cmd, name, args, options, e.__class__.__name__, e)
AssertionError: Expected 'idrange_del' to raise ValidationError, but caught
different.
args = [u'testrange1']
options = {'version': u'2.58'}
NotFound: testrange1: range not found
======================================================================
FAIL: test_range[13]: idrange_mod: Try to modify ID range u'testrange2' so that
its rid ranges are overlapping themselves
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 304, in check_exception
UNEXPECTED % (cmd, name, args, options, e.__class__.__name__, e)
AssertionError: Expected 'idrange_mod' to raise ValidationError, but caught
different.
args = [u'testrange2']
options = {'ipabaserid': 1000, 'version': u'2.58'}
NotFound: testrange2: range not found
======================================================================
FAIL: test_range[14]: idrange_add: Try to create ID range u'testrange3' with
overlapping rid range
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 311, in check_exception
assert_deepequal(expected.strerror, e.strerror)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/util.py", line 348,
in assert_deepequal
VALUE % (doc, expected, got, stack)
AssertionError: assert_deepequal: expected != got.
expected = u'Constraint violation: New primary rid range overlaps with
existing primary rid range.'
got = u'Constraint violation: New secondary rid range overlaps with existing
primary rid range.'
path = ()
======================================================================
FAIL: test_range[15]: idrange_add: Try to create ID range u'testrange4' with
overlapping secondary rid range
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 311, in check_exception
assert_deepequal(expected.strerror, e.strerror)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/util.py", line 348,
in assert_deepequal
VALUE % (doc, expected, got, stack)
AssertionError: assert_deepequal: expected != got.
expected = u'Constraint violation: New secondary rid range overlaps with
existing secondary rid range.'
got = u'Constraint violation: New secondary rid range overlaps with existing
primary rid range.'
path = ()
======================================================================
FAIL: test_range[16]: idrange_add: Try to create ID range u'testrange5' with
primary range overlapping secondary rid range
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 311, in check_exception
assert_deepequal(expected.strerror, e.strerror)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/util.py", line 348,
in assert_deepequal
VALUE % (doc, expected, got, stack)
AssertionError: assert_deepequal: expected != got.
expected = u'Constraint violation: New primary rid range overlaps with
existing secondary rid range.'
got = u'Constraint violation: New primary rid range overlaps with existing
primary rid range.'
path = ()
======================================================================
FAIL: test_range[17]: idrange_add: Try to create ID range u'testrange6' with
overlapping id range
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 271, in <lambda>
func = lambda: self.check(nice, **test)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 285, in check
self.check_exception(nice, cmd, args, options, expected)
File
"/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/test_xmlrpc/xmlrpc_test.py",
line 311, in check_exception
assert_deepequal(expected.strerror, e.strerror)
File "/root/rpmbuild/BUILD/freeipa-3.2.99GIT1a3f0f1/tests/util.py", line 348,
in assert_deepequal
VALUE % (doc, expected, got, stack)
AssertionError: assert_deepequal: expected != got.
expected = u'Constraint violation: New base range overlaps with existing base
range.'
got = u'Constraint violation: New secondary rid range overlaps with existing
primary rid range.'
path = ()
----------------------------------------------------------------------
Ran 31 tests in 4.891s
FAILED (errors=6, failures=9)
_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel