URL: https://github.com/freeipa/freeipa/pull/161 Author: mbasti-rh Title: #161: CI: workaround: wait for dogtag before replica-prepare Action: opened
PR body: """ In domain level 0 ipa-replica-prepare fails because dogtag is not ready so soon after final restart during installation (tests are too fast). Wait 30 seconds before ipa-replica-prepare is executed, to make sure that dogtag is ready. Remove this workaround when ticket is fixed. https://fedorahosted.org/freeipa/ticket/6274 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/161/head:pr161 git checkout pr161
From e2c870121db5b3569f344a8079ddf9c6700f44a4 Mon Sep 17 00:00:00 2001 From: Martin Basti <[email protected]> Date: Thu, 13 Oct 2016 17:12:23 +0200 Subject: [PATCH] CI: workaround: wait for dogtag before replica-prepare In domain level 0 ipa-replica-prepare fails because dogtag is not ready so soon after final restart during installation (tests are too fast). Wait 30 seconds before ipa-replica-prepare is executed, to make sure that dogtag is ready. Remove this workaround when ticket is fixed. https://fedorahosted.org/freeipa/ticket/6274 --- ipatests/test_integration/tasks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 7c96227..0b460b9 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -370,6 +370,9 @@ def install_replica(master, replica, setup_ca=True, setup_dns=False, args.extend(extra_args) if domain_level == DOMAIN_LEVEL_0: + # workaround #6274 - remove when fixed + time.sleep(30) # wait until dogtag wakes up + # prepare the replica file on master and put it to replica, AKA "old way" replica_prepare(master, replica) replica_filename = get_replica_filename(replica)
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
