[Freeipa-devel] ou, st, l missing from organizationalPerson (Was: FreeIPA 3.3."latest" failing tests: config_mod)

Petr Viktorin pviktori at redhat.com
Fri Dec 13 09:45:10 UTC 2013


I finally got to investigating this failure.

It seems ou, along with a bunch of other attributes, is missing from 
organizationalPerson in Fedora 20. I don't think it's IPA's fault, as we 
don't define organizationalPerson.
Nathan, could it be related to the new schema parser?

f19 has:
objectclasses: ( 2.5.6.7 NAME 'organizationalPerson' SUP person 
STRUCTURAL MAY ( title $ x121Address $ registeredAddress $ 
destinationIndicator $ preferredDeliveryMethod $ telexNumber $ 
teletexTerminalIdentifier $ internationalISDNNumber $ 
facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $ 
postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) X-ORIGIN 'RFC 
4519' )

f20 has:
objectclasses: ( 2.5.6.7 NAME 'organizationalPerson' SUP person 
STRUCTURAL MAY ( title $ x121Address $ registeredAddress $ 
destinationIndicator $ preferredDeliveryMethod $ telexNumber $ 
teletexTerminalIdentifier ) X-ORIGIN 'RFC 4519' )




On 11/14/2013 04:44 PM, Petr Spacek wrote:
> Hello,
>
> latest FreeIPA build from branch ipa-3-3 (built today on Fedora 20,
> latest bits) fails following tests:
>
> ======================================================================
> ERROR: test_config[0]: config_mod: Try to add an unrelated objectclass
> to ipauserobjectclasses
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in
> runTest
>      self.test(*self.arg)
>    File "/tmp/git/ipatests/test_xmlrpc/xmlrpc_test.py", line 283, in
> <lambda>
>      func = lambda: self.check(nice, **test)
>    File "/tmp/git/ipatests/test_xmlrpc/xmlrpc_test.py", line 301, in check
>      self.check_output(nice, cmd, args, options, expected, extra_check)
>    File "/tmp/git/ipatests/test_xmlrpc/xmlrpc_test.py", line 340, in
> check_output
>      got = api.Command[cmd](*args, **options)
>    File "/tmp/git/ipalib/frontend.py", line 436, in __call__
>      ret = self.run(*args, **options)
>    File "/tmp/git/ipalib/frontend.py", line 761, in run
>      return self.forward(*args, **options)
>    File "/tmp/git/ipalib/frontend.py", line 782, in forward
>      return self.Backend.xmlclient.forward(self.name, *args, **kw)
>    File "/tmp/git/ipalib/rpc.py", line 712, in forward
>      raise error(message=e.faultString)
> ValidationError: invalid 'ipauserobjectclasses': user default attribute
> ou would not be allowed!
>
> ======================================================================
> ERROR: test_config[1]: config_mod: Remove the unrelated objectclass from
> ipauserobjectclasses
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in
> runTest
>      self.test(*self.arg)
>    File "/tmp/git/ipatests/test_xmlrpc/xmlrpc_test.py", line 283, in
> <lambda>
>      func = lambda: self.check(nice, **test)
>    File "/tmp/git/ipatests/test_xmlrpc/xmlrpc_test.py", line 301, in check
>      self.check_output(nice, cmd, args, options, expected, extra_check)
>    File "/tmp/git/ipatests/test_xmlrpc/xmlrpc_test.py", line 340, in
> check_output
>      got = api.Command[cmd](*args, **options)
>    File "/tmp/git/ipalib/frontend.py", line 436, in __call__
>      ret = self.run(*args, **options)
>    File "/tmp/git/ipalib/frontend.py", line 761, in run
>      return self.forward(*args, **options)
>    File "/tmp/git/ipalib/frontend.py", line 782, in forward
>      return self.Backend.xmlclient.forward(self.name, *args, **kw)
>    File "/tmp/git/ipalib/rpc.py", line 712, in forward
>      raise error(message=e.faultString)
> AttrValueNotFound: ipauserobjectclasses does not contain 'ipahost'
>
> ----------------------------------------------------------------------
> Ran 10 tests in 1.233s
>
> FAILED (errors=2)
> ======================================================================
> FAILED under '/usr/bin/python2.7'
>
>
> Other tests from ipatests/test_xmlrpc/test_config_plugin.py are okay.
>


-- 
Petr³




More information about the Freeipa-devel mailing list