From b6fbee53bcdbbdcf630f1594123ca01fa9a4ca27 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Wed, 13 May 2020 09:21:25 +0300 Subject: [PATCH] Azure: Always update apt cache Signed-off-by: Stanislav Levin Reviewed-By: Christian Heimes --- ipatests/azure/templates/test-jobs.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ipatests/azure/templates/test-jobs.yml b/ipatests/azure/templates/test-jobs.yml index aa7c3aeb8..4f9abf394 100644 --- a/ipatests/azure/templates/test-jobs.yml +++ b/ipatests/azure/templates/test-jobs.yml @@ -6,24 +6,25 @@ steps: - script: | set -e - printf "Available entropy: %s\n" $(cat /proc/sys/kernel/random/entropy_avail) - sudo apt-get install -y rng-tools - sudo service rng-tools start - sleep 3 - printf "Available entropy: %s\n" $(cat /proc/sys/kernel/random/entropy_avail) - displayName: Increase entropy level - -- script: | - set -e + sudo apt-get update sudo apt-get install -y \ parallel \ moreutils \ + rng-tools \ systemd-coredump \ python3-docker # ubuntu's one is too old: different API python3 -m pip install docker --user displayName: Install Host's tests requirements +- script: | + set -e + printf "Available entropy: %s\n" $(cat /proc/sys/kernel/random/entropy_avail) + sudo service rng-tools start + sleep 3 + printf "Available entropy: %s\n" $(cat /proc/sys/kernel/random/entropy_avail) + displayName: Increase entropy level + - script: | set -eu date +'%Y-%m-%d %H:%M:%S' > coredumpctl.time.mark