URL: https://github.com/freeipa/freeipa/pull/4442 Author: mrizwan93 Title: #4442: ipatests: Skip test using paramiko when FIPS is enabled Action: opened
PR body: """ Test used paramiko to connect to the master from controller. IF FIPS mode is enable, it fails because of get_fingerprint() method returns MD5 fingerprint. Hence skip if FIPS is enabled Signed-off-by: Mohammad Rizwan Yusuf <myu...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/4442/head:pr4442 git checkout pr4442
From a2be87aa0d24af4180b851bee5a323998a1cc4a7 Mon Sep 17 00:00:00 2001 From: Mohammad Rizwan Yusuf <myu...@redhat.com> Date: Wed, 25 Mar 2020 13:13:26 +0530 Subject: [PATCH] ipatests: Skip test using paramiko when FIPS is enabled Test used paramiko to connect to the master from controller. IF FIPS mode is enable, it fails because of get_fingerprint() method returns MD5 fingerprint. Hence skip if FIPS is enabled Signed-off-by: Mohammad Rizwan Yusuf <myu...@redhat.com> --- ipatests/test_integration/test_commands.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ipatests/test_integration/test_commands.py b/ipatests/test_integration/test_commands.py index 8a5d4c0710..c054956dd5 100644 --- a/ipatests/test_integration/test_commands.py +++ b/ipatests/test_integration/test_commands.py @@ -689,6 +689,12 @@ def test_ssh_from_controller(self): 3. add an ipa user 4. ssh from controller to master using the user created in step 3 """ + # Test used paramiko to connect to the master from controller. + # IF FIPS mode is enable, it fails because of get_fingerprint() + # method returns MD5 fingerprint. Hence skip if FIPS is enabled + if self.master.is_fips_mode: # pylint: disable=no-member + pytest.skip("paramiko is not compatible with FIPS mode") + sssd_version = '' cmd_output = self.master.run_command(['sssd', '--version']) sssd_version = platform_tasks.\
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org