Skip to content

test_dse is failing on Fedora build system #160

@tiran

Description

@tiran

For some unknown reason, the test case for DSE is failing on Fedora build system. The DSE is missing supportedSASLMechanisms.

I'm not sure what is going on here. OpenLDAP may not offer SASL because restrictions in the build root prohibit them. I suggest that we simply drop the check for available keys. It's not important.

https://koji.fedoraproject.org/koji/taskinfo?taskID=24110689

======================================================================
FAIL: test_dse (Tests.t_ldapobject.Test00_SimpleLDAPObject)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-ldap-3.0.0/python2/Tests/t_ldapobject.py", line 528, in test_dse
    u'supportedLDAPVersion', u'supportedSASLMechanisms']
AssertionError: Lists differ: [u'configContext', u'entryDN',... != [u'configContext', u'entryDN',...
Second list contains 1 additional elements.
First extra element 10:
u'supportedSASLMechanisms'
  [u'configContext',
   u'entryDN',
   u'namingContexts',
   u'objectClass',
   u'structuralObjectClass',
   u'subschemaSubentry',
   u'supportedControl',
   u'supportedExtension',
   u'supportedFeatures',
-  u'supportedLDAPVersion']
?                         ^
+  u'supportedLDAPVersion',
?                         ^
+  u'supportedSASLMechanisms']
======================================================================
FAIL: test_dse (Tests.t_ldapobject.Test01_ReconnectLDAPObject)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-ldap-3.0.0/python2/Tests/t_ldapobject.py", line 528, in test_dse
    u'supportedLDAPVersion', u'supportedSASLMechanisms']
AssertionError: Lists differ: [u'configContext', u'entryDN',... != [u'configContext', u'entryDN',...
Second list contains 1 additional elements.
First extra element 10:
u'supportedSASLMechanisms'
  [u'configContext',
   u'entryDN',
   u'namingContexts',
   u'objectClass',
   u'structuralObjectClass',
   u'subschemaSubentry',
   u'supportedControl',
   u'supportedExtension',
   u'supportedFeatures',
-  u'supportedLDAPVersion']
?                         ^
+  u'supportedLDAPVersion',
?                         ^
+  u'supportedSASLMechanisms']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions