From 0289716d70a0c41b933859a12d8febb1f52d2116 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 30 Jul 2018 11:33:02 -0700 Subject: [PATCH] Try downgrading softhsm as a workaround for #1607635 We'd really like to know if FreeIPA is working aside from this crasher bug, so let's workaround it. 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 57c165ee..475717b4 100644 --- a/tests/role_deploy_domain_controller.pm +++ b/tests/role_deploy_domain_controller.pm @@ -82,6 +82,11 @@ sub run { record_soft_failure "389-ds-base-legacy-tools missing - #1606541"; assert_script_run "dnf -y install 389-ds-base-legacy-tools", 180; } + # FIXME workaround RHBZ#1607635 till it's fixed + unless (script_run "rpm -q softhsm | grep '2.3.0-3.fc29.2'") { + record_soft_failure "softhsm-2.3.0-3.fc29.2 known bad - #1607635"; + assert_script_run "dnf -y downgrade https://kojipkgs.fedoraproject.org//packages/softhsm/2.3.0/3.fc28.1/x86_64/softhsm-2.3.0-3.fc28.1.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/softhsm/2.3.0/3.fc28.1/ppc64le/softhsm-2.3.0-3.fc28.1.ppc64le.rpm https://kojipkgs.fedoraproject.org//packages/softhsm/2.3.0/3.fc28.1/ppc64/softhsm-2.3.0-3.fc28.1.ppc64.rpm https://kojipkgs.fedoraproject.org//packages/softhsm/2.3.0/3.fc28.1/aarch64/softhsm-2.3.0-3.fc28.1.aarch64.rpm"; + } # configure the firewall for my $service (qw(freeipa-ldap freeipa-ldaps dns)) { assert_script_run "firewall-cmd --permanent --add-service $service";