diff options
author | Peter Mikus <pmikus@cisco.com> | 2020-03-12 12:23:18 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-03-12 14:07:22 +0000 |
commit | 048a9ca3484a06e54f48dc80e7ab24dbfebe406f (patch) | |
tree | 2936cab9365802a14d99c61fd4f82c86f26383c1 /resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml | |
parent | d7aec8ee052468f55e2e9bd27de1dedd918c8a37 (diff) |
LTS: Performance testing
Change-Id: I06dfa929402b05ff8cbd8720b51059bf3df7e35c
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml index a6132841a0..90b1c954b5 100644 --- a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml +++ b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml @@ -1,21 +1,35 @@ --- # file: roles/calibration/tasks/x86_64.yaml -- name: Clone Jitter tool +- name: Calibration - Clone PMA Tool git: - repo: 'https://gerrit.fd.io/r/pma_tools' - dest: '{{ jitter.directory }}' - tags: run-jitter-tool + repo: "https://gerrit.fd.io/r/pma_tools" + dest: "{{ pma_directory }}" + tags: + - check-jitter-tool -- name: Compile Jitter tool - raw: 'cd {{ jitter.directory }}/jitter && make' - tags: run-jitter-tool +- name: Calibration - Compile PMA Tool + raw: "cd {{ pma_directory }}/jitter && make" + tags: + - check-jitter-tool -- name: Run Jitter tool - raw: '{{ jitter.directory }}/jitter/jitter -c {{ jitter.core }} -i {{ jitter.iterations }} -f' +- name: Calibration - Run Jitter Tool + shell: "{{ pma_directory }}/jitter/jitter -c {{ jitter_core }} -i {{ jitter_iterations }} -f" become: yes - register: jitter_output - tags: run-jitter-tool + async: 60 + poll: 0 + ignore_errors: yes + register: jitter_async + tags: + - check-jitter-tool -- debug: var=jitter_output.stdout_lines - tags: run-jitter-tool +- name: Check sync status + async_status: + jid: "{{ jitter_async.ansible_job_id }}" + register: "jitter_poll_results" + until: jitter_poll_results.finished + retries: 30 + +- debug: var=jitter_poll_results.stdout_lines + tags: + - check-jitter-tool |