From b92b09ace320f119337941da028342d951b30227 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Thu, 19 Oct 2017 14:38:09 -0400 Subject: [PATCH 1/2] Increase package install timeout Because networking. Esp. for VMs pulling content from the CDNs, allow install to run longer. Signed-off-by: Chris Evich --- contrib/test/integration/system.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/test/integration/system.yml b/contrib/test/integration/system.yml index d07ae0c8..f955e36f 100644 --- a/contrib/test/integration/system.yml +++ b/contrib/test/integration/system.yml @@ -54,7 +54,7 @@ - socat - tar - wget - async: 600 + async: '{{ 20 * 60 }}' poll: 10 - name: Add Btrfs for Fedora From 85e1b325e4dbf79532fa0673d226b0930b753cbc Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 11 Oct 2017 15:15:19 -0400 Subject: [PATCH 2/2] Update all packages before installing new ones Every now and again, a host will be in an initial state that prevents installing new packages due to existing packages having some script or obsoletes problem. Avoid this by first updating all packages, then installing new ones. Signed-off-by: Chris Evich --- contrib/test/integration/system.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/test/integration/system.yml b/contrib/test/integration/system.yml index f955e36f..655b343f 100644 --- a/contrib/test/integration/system.yml +++ b/contrib/test/integration/system.yml @@ -1,5 +1,12 @@ --- +- name: Update all packages + package: + name: '*' + state: latest + async: 600 + poll: 10 + - name: Make sure we have all required packages package: name: "{{ item }}" @@ -65,13 +72,6 @@ - btrfs-progs-devel when: ansible_distribution in ['Fedora'] -- name: Update all packages - package: - name: '*' - state: latest - async: 600 - poll: 10 - - name: Setup swap to prevent kernel firing off the OOM killer shell: | truncate -s 8G /root/swap && \