ehlo,
attached patch should fix race condition in tests.
e.g.
======================================================================
ERROR: testImport (__main__.PySssMurmurImport)
Import the module and assert it comes from tree
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/build/sssd/src/tests/pysss_murmur-test.py", line 71, in testImport
os.symlink("_py3sss_murmur.so", "pysss_murmur.so")
FileExistsError: [Errno 17] File exists: '_py3sss_murmur.so' -> 'pysss_murmur.so'
----------------------------------------------------------------------
======================================================================
ERROR: testImport (__main__.PySssMurmurImport)
Import the module and assert it comes from tree
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/build/sssd/src/tests/pysss_murmur-test.py", line 73, in testImport
os.symlink("_py2sss_murmur.so", "pysss_murmur.so")
OSError: [Errno 17] File exists
----------------------------------------------------------------------
======================================================================
ERROR: testImport (__main__.PyHbacImport)
Import the module and assert it comes from tree
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/build/sssd/src/tests/pyhbac-test.py", line 57, in testImport
os.symlink("_py2hbac.so", "pyhbac.so")
OSError: [Errno 17] File exists
----------------------------------------------------------------------
======================================================================
ERROR: testImport (__main__.PySssMurmurImport)
Import the module and assert it comes from tree
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/build/sssd/src/tests/pysss_murmur-test.py", line 79, in testImport
raise e
File "/home/build/sssd/src/tests/pysss_murmur-test.py", line 76, in testImport
import pysss_murmur
ImportError: dynamic module does not define init function (PyInit_pysss_murmur)
----------------------------------------------------------------------
LS