From 3817e7128d6de0f6470a5ee01396fedd8f59cec6 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 23 Jul 2018 11:12:57 -0700 Subject: [PATCH] Work around RHBZ #1606541 (on Rawhide, not updates) We kind of want to know if FreeIPA is working aside from this known bug, so let's treat it as a soft failure and work around it. But only for Rawhide, not for F27/F28 updates tests. Signed-off-by: Adam Williamson --- tests/role_deploy_domain_controller.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/role_deploy_domain_controller.pm b/tests/role_deploy_domain_controller.pm index bcd97f02..ab744b41 100644 --- a/tests/role_deploy_domain_controller.pm +++ b/tests/role_deploy_domain_controller.pm @@ -77,6 +77,11 @@ sub run { # this is the other side of the version branch - we're on 29+, # so no rolekit. First install the necessary packages assert_script_run "dnf -y groupinstall freeipa-server", 600; + # FIXME workaround RHBZ#1606541 until it's fixed + unless (script_run "ls -l /usr/sbin/setup-ds.pl") { + record_soft_failure "389-ds-base-legacy-tools missing - #1606541"; + assert_script_run "dnf -y install 389-ds-base-legacy-tools", 180; + } # configure the firewall for my $service (qw(freeipa-ldap freeipa-ldaps dns)) { assert_script_run "firewall-cmd --permanent --add-service $service";