URL: https://github.com/freeipa/freeipa/pull/2098 Author: Rezney Title: #2098: ipa_tests: ipa-replica-prepare stuck on user input Action: opened
PR body: """ TestOldReplicaWorksAfterDomainUpgrade is getting stuck while running "ipa-replica-prepare" as it is asking for user input: "Do you want to search for missing reverse zones?". Adding "--auto-reverse" in order to continue. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/2098/head:pr2098 git checkout pr2098
From b0d86818e3e79d05cd4e3e826bc53ecb3d01c38e Mon Sep 17 00:00:00 2001 From: Michal Reznik <mrez...@redhat.com> Date: Wed, 4 Jul 2018 10:05:32 +0200 Subject: [PATCH 1/2] ipa_tests: ipa-replica-prepare stuck on user input TestOldReplicaWorksAfterDomainUpgrade is getting stuck while running "ipa-replica-prepare" as it is asking for user input: "Do you want to search for missing reverse zones?". Adding "--auto-reverse" in order to continue. --- ipatests/pytest_plugins/integration/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/pytest_plugins/integration/tasks.py b/ipatests/pytest_plugins/integration/tasks.py index 6a12e78fe7..54c12bf783 100644 --- a/ipatests/pytest_plugins/integration/tasks.py +++ b/ipatests/pytest_plugins/integration/tasks.py @@ -379,7 +379,7 @@ def replica_prepare(master, replica, extra_args=(), '-p', replica.config.dirman_password, replica.hostname] if master_authoritative_for_client_domain(master, replica): - args.extend(['--ip-address', replica.ip]) + args.extend(['--ip-address', replica.ip, '--auto-reverse']) args.extend(extra_args) result = master.run_command(args, raiseonerr=raiseonerr, stdin_text=stdin_text) From 77b072abff2572fae9adb439dd3a8a20d00d8eb0 Mon Sep 17 00:00:00 2001 From: Michal Reznik <mrez...@redhat.com> Date: Wed, 4 Jul 2018 11:23:22 +0200 Subject: [PATCH 2/2] TEMP COMMIT - activate other PRCI test --- .freeipa-pr-ci.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.freeipa-pr-ci.yaml b/.freeipa-pr-ci.yaml index cd3e5e5e61..c7a08f72cd 100644 --- a/.freeipa-pr-ci.yaml +++ b/.freeipa-pr-ci.yaml @@ -23,7 +23,7 @@ jobs: git_refspec: '{git_refspec}' template: &ci-master-f28 name: freeipa/ci-master-f28 - version: 0.1.5 + version: 0.1.6 timeout: 1800 topology: *build @@ -230,3 +230,15 @@ jobs: template: *ci-master-f28 timeout: 3600 topology: *master_1repl + + fedora-28/test_replica_promotion_TestOldReplicaWorksAfterDomainUpgrade: + requires: [fedora-28/build] + priority: 50 + job: + class: RunPytest + args: + build_url: '{fedora-28/build_url}' + test_suite: test_integration/test_replica_promotion.py::TestOldReplicaWorksAfterDomainUpgrade + template: *ci-master-f28 + timeout: 7200 + topology: *master_1repl
_______________________________________________ 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://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/freeipa-devel@lists.fedorahosted.org/message/XDSWIQOKHRN2Y7GX47DQFAGBK6VCBDWX/