Increase timeouts for installing requrements 55/60055/1
authorCristina Pauna <cristina.pauna@enea.com>
Fri, 20 Jul 2018 14:44:13 +0000 (17:44 +0300)
committerCristina Pauna <cristina.pauna@enea.com>
Fri, 20 Jul 2018 14:47:29 +0000 (17:47 +0300)
Currently the docker images fails to build on aarch64 because the installation
of the requirements step fails. The failure is caused by the timers which expire
and don't mark the job as finished.

JIRA: ARMBAND-391

Change-Id: Ic84982f81d064af1c27cf776d12a57eadc20957a
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
ansible/roles/install_yardstick/tasks/main.yml

index 973b2b0..0975efa 100644 (file)
@@ -41,7 +41,7 @@
   pip:
     requirements: "{{ yardstick_dir }}/requirements.txt"
     virtualenv: "{{ yardstick_dir }}/virtualenv"
-  async: 300
+  async: 600
   poll: 0
   register: pip_installer
   when: virtual_environment == True
@@ -49,7 +49,7 @@
 - name: Install Yardstick requirements
   pip:
     requirements: "{{ yardstick_dir }}/requirements.txt"
-  async: 300
+  async: 600
   poll: 0
   register: pip_installer
   when: virtual_environment == False
@@ -59,7 +59,7 @@
     jid: "{{ pip_installer.ansible_job_id }}"
   register: job_result
   until: job_result.finished
-  retries: 100
+  retries: 150
 
 - name: Install Yardstick code (venv)
   pip: