Add more retries for linux formula on control plane VMs
Images for virtual control plane run an update from cron job and
lock /var/lib/dpkg/lock .
Change-Id: I46620f96b4e097e31a2079a8bc9500e290b7d0d8
Reviewed-on: https://review.gerrithub.io/365050
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml b/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
index 07cb8c7..13d9696 100644
--- a/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
+++ b/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
@@ -350,11 +350,11 @@
skip_fail: false
-- description: Configure linux on other nodes
+- description: Configure linux on other nodes with re-tries (workaround for locked /var/lib/dpkg/lock)
cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C '* and not
cfg01*' state.sls linux
node_name: {{ HOSTNAME_CFG01 }}
- retry: {count: 3, delay: 5}
+ retry: {count: 5, delay: 30}
skip_fail: false
- description: Configure openssh on all nodes