diff --git a/reboot_measurement/reboot_measure.yml b/reboot_measurement/reboot_measure.yml index 37c0865..ffdd3fc 100755 --- a/reboot_measurement/reboot_measure.yml +++ b/reboot_measurement/reboot_measure.yml @@ -116,6 +116,16 @@ command: "date -u +%s" register: reboot_end + - name: Generate test metadata + shell: "{{ config_info.user_parent_home_dir }}/{{ config_info.test_user }}/tools_bin/test_header_info \ + --front_matter \ + --results_file /tmp/reboot_boot_info/reboot_timings \ + --host {{ sysname }} \ + --sys_type {{ sys_type }} \ + --tuned {{ to_tuned_setting }} \ + --results_version {{ boot_version }} \ + --test_name {{ test_name }}" + - name: Report creation time lineinfile: path: "/tmp/reboot_boot_info/reboot_timings" diff --git a/reboot_measurement/run_reboot.sh b/reboot_measurement/run_reboot.sh index 7f9c4c4..bc1dbe3 100755 --- a/reboot_measurement/run_reboot.sh +++ b/reboot_measurement/run_reboot.sh @@ -4,6 +4,8 @@ # working_dir=`pwd` iterations=1 +boot_version="v1.0" +test_name = "reboot_measurement" usage() { @@ -133,5 +135,5 @@ done cd $working_dir for iteration in `seq 1 1 $iterations` do - ansible-playbook -i ./inventory --extra-vars "working_dir=${working_dir} iteration=${iteration} ansible_python_interpreter=auto" ${working_dir}/workloads/reboot_me*/reboot_measurement/reboot_measure.yml + ansible-playbook -i ./inventory --extra-vars "working_dir=${working_dir} iteration=${iteration} ansible_python_interpreter=auto sys_type=${sys_type} to_tuned_setting=${tuned_setting} sysname=${sysname} boot_version=${boot_version} test_name=${test_name}" ${working_dir}/workloads/reboot_me*/reboot_measurement/reboot_measure.yml done