Add meltdown spectre to calibration set 09/19909/3
authorPeter Mikus <pmikus@cisco.com>
Fri, 31 May 2019 09:25:50 +0000 (09:25 +0000)
committerPeter Mikus <pmikus@cisco.com>
Fri, 31 May 2019 09:53:23 +0000 (09:53 +0000)
+ Fix the version of MMD tool to always latest

Change-Id: Iafd7f40d618b8e4995b5cc12fe06056719f58517
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/bash/entry/bootstrap_verify_perf.sh
resources/libraries/bash/function/ansible.sh
resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
resources/tools/testbed-setup/ansible/roles/calibration/tasks/ubuntu_bionic.yaml [deleted file]

index c0479a7..84e2c32 100644 (file)
@@ -42,7 +42,7 @@ activate_virtualenv || die
 generate_tests || die
 archive_tests || die
 reserve_testbed || die
-ansible_hosts "run-jitter-tool" || die
+ansible_hosts "calibration" || die
 select_tags || die
 compose_pybot_arguments || die
 run_pybot || die
index a9314b4..663861e 100644 (file)
@@ -40,7 +40,7 @@ function ansible_hosts () {
         die "Failed to read hosts from working topology!"
     }
     pushd "${TOOLS_DIR}"/testbed-setup/ansible || die "Pushd failed!"
-    ansible-playbook \
+    ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook \
         --vault-password-file=vault_pass \
         --extra-vars '@vault.yml' \
         --inventory inventories/lf_inventory/hosts site.yaml \
index ba9c466..34c987b 100644 (file)
@@ -1,11 +1,8 @@
 ---
 # file: roles/calibration/tasks/main.yaml
 
-- name: Install distribution - release - machine prerequisites
-  include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'
-
 - name: Run Spectre Meltdown checker
-  raw: 'spectre-meltdown-checker --no-color'
+  raw: 'wget -qO - https://meltdown.ovh | sudo bash -s - --no-color || true'
   register: spectre_meltdown_output
   tags: run-spectre-meltdown-checker
 
diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/ubuntu_bionic.yaml
deleted file mode 100644 (file)
index ef453cd..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-# file: roles/calibration/tasks/ubuntu_bionic.yaml
-
-- name: Install calibration dependencies
-  apt:
-    name: 'spectre-meltdown-checker'
-    state: 'present'
-    install_recommends: False
-  tags: install-csit-dependencies

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.