When running the test_ipaserver/test_changepw.py , all tests sucessfully pass.
ipa-run-tests test_ipaserver/test_changepw.py ================================================= test session starts ================================================= platform linux2 -- Python 2.7.10 -- py-1.4.29 -- pytest-2.6.4 plugins: multihost, sourceorder collected 4 items test_ipaserver/test_changepw.py ....
However, if run as part of the whole suite, all the tests in this file fail with:
_________________________________________ test_changepw.test_pwpolicy_success _________________________________________ self = <ipatests.test_ipaserver.test_changepw.test_changepw object at 0x7f0ffc617750> def test_pwpolicy_success(self): > response = self._changepw(testuser, old_password, new_password) /usr/lib/python2.7/site-packages/ipatests/test_ipaserver/test_changepw.py:99: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python2.7/site-packages/ipatests/test_ipaserver/test_changepw.py:54: in _changepw 'new_password' : str(new_password)}, /usr/lib/python2.7/site-packages/ipatests/test_ipaserver/httptest.py:50: in send_request conn = httplib.HTTPSConnection(self.host) /usr/lib64/python2.7/httplib.py:1258: in __init__ context = ssl._create_default_https_context() /usr/lib64/python2.7/ssl.py:406: in create_default_context context = SSLContext(PROTOCOL_SSLv23) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class 'ssl.SSLContext'>, protocol = 2, args = (), kwargs = {} def __new__(cls, protocol, *args, **kwargs): > self = _SSLContext.__new__(cls, protocol) E SSLError: ('failed to allocate SSL context',) /usr/lib64/python2.7/ssl.py:336: SSLError
The cause is unclear and requires further investigation.
Metadata Update from @tbabej: - Issue assigned to someone - Issue set to the milestone: FreeIPA 4.5 backlog
I have never seen the problem and I'm unable to reproduce the issue, too. Closing as worksforme.
Metadata Update from @cheimes: - Issue close_status updated to: worksforme
Metadata Update from @cheimes: - Issue status updated to: Open (was: Closed)
Metadata Update from @rcritten: - Issue close_status updated to: worksforme - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.