From 4c7d924468b1314f5ce0f2fe0194412a7bc4aea5 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 3 Feb 2022 16:19:24 +0100 Subject: Report: Add dpdk icx static content Change-Id: I79f1d70a3395551cfff872bd1d66ee900b9129b8 Signed-off-by: Tibor Frank (cherry picked from commit 9af72734b4ff4cc239e69e8f787228e68d02501c) --- .../dpdk_performance_results/index.rst | 3 ++- .../dpdk_performance_results_2n_icx/index.rst | 12 ++++++++++++ .../dpdk_performance_results_3n_icx/index.rst | 12 ++++++++++++ .../vpp_mrr_results/index.rst | 22 ++++++++++++---------- .../vpp_performance_results/index.rst | 4 +++- .../vpp_mrr_configuration/index.rst | 22 ++++++++++++---------- .../vpp_performance_configuration/index.rst | 4 +++- .../vpp_performance_operational_data/index.rst | 4 +++- resources/tools/presentation/generator_tables.py | 15 ++++----------- 9 files changed, 63 insertions(+), 35 deletions(-) create mode 100644 docs/report/detailed_test_results/dpdk_performance_results_2n_icx/index.rst create mode 100644 docs/report/detailed_test_results/dpdk_performance_results_3n_icx/index.rst diff --git a/docs/report/detailed_test_results/dpdk_performance_results/index.rst b/docs/report/detailed_test_results/dpdk_performance_results/index.rst index a38143a103..cbd9e0fec9 100644 --- a/docs/report/detailed_test_results/dpdk_performance_results/index.rst +++ b/docs/report/detailed_test_results/dpdk_performance_results/index.rst @@ -2,7 +2,8 @@ DPDK Throughput =============== .. toctree:: - + ../dpdk_performance_results_2n_icx/index + ../dpdk_performance_results_3n_icx/index ../dpdk_performance_results_2n_skx/index ../dpdk_performance_results_3n_skx/index ../dpdk_performance_results_2n_clx/index diff --git a/docs/report/detailed_test_results/dpdk_performance_results_2n_icx/index.rst b/docs/report/detailed_test_results/dpdk_performance_results_2n_icx/index.rst new file mode 100644 index 0000000000..7c594edc04 --- /dev/null +++ b/docs/report/detailed_test_results/dpdk_performance_results_2n_icx/index.rst @@ -0,0 +1,12 @@ +2n-icx +------ + +.. note:: + + Data sources for reported test results: + i) `build logs from FD.io dpdk coverage job 2n-icx`_, + ii) archived FD.io jobs test result `output files + <../../_static/archive/>`_. + +.. toctree:: + diff --git a/docs/report/detailed_test_results/dpdk_performance_results_3n_icx/index.rst b/docs/report/detailed_test_results/dpdk_performance_results_3n_icx/index.rst new file mode 100644 index 0000000000..e2db04b4f2 --- /dev/null +++ b/docs/report/detailed_test_results/dpdk_performance_results_3n_icx/index.rst @@ -0,0 +1,12 @@ +3n-icx +------ + +.. note:: + + Data sources for reported test results: + i) `build logs from FD.io dpdk coverage job 3n-icx`_, + ii) archived FD.io jobs test result `output files + <../../_static/archive/>`_. + +.. toctree:: + diff --git a/docs/report/detailed_test_results/vpp_mrr_results/index.rst b/docs/report/detailed_test_results/vpp_mrr_results/index.rst index 78d7fd4315..ecd2d383c2 100644 --- a/docs/report/detailed_test_results/vpp_mrr_results/index.rst +++ b/docs/report/detailed_test_results/vpp_mrr_results/index.rst @@ -4,16 +4,18 @@ VPP MRR .. note:: Data sources for reported test results: - i) `build logs from FD.io vpp coverage job 2n-skx`_, - `build logs from FD.io vpp coverage job 3n-skx`_, - `build logs from FD.io vpp coverage job 2n-clx`_, - `build logs from FD.io vpp coverage job 2n-zn2`_, - `build logs from FD.io vpp coverage job 3n-tsh`_, - `build logs from FD.io vpp coverage job 2n-tx2`_, - `build logs from FD.io vpp coverage job 2n-dnv`_, - `build logs from FD.io vpp coverage job 3n-dnv`_, - `build logs from FD.io vpp coverage job 2n-aws`_, - `build logs from FD.io vpp coverage job 3n-aws`_, + i) `build logs from FD.io vpp iterative job 2n-icx`_, + `build logs from FD.io vpp iterative job 3n-icx`_, + `build logs from FD.io vpp iterative job 2n-skx`_, + `build logs from FD.io vpp iterative job 3n-skx`_, + `build logs from FD.io vpp iterative job 2n-clx`_, + `build logs from FD.io vpp iterative job 2n-zn2`_, + `build logs from FD.io vpp iterative job 3n-tsh`_, + `build logs from FD.io vpp iterative job 2n-tx2`_, + `build logs from FD.io vpp iterative job 2n-dnv`_, + `build logs from FD.io vpp iterative job 3n-dnv`_, + `build logs from FD.io vpp iterative job 2n-aws`_, + `build logs from FD.io vpp iterative job 3n-aws`_, ii) archived FD.io jobs test results `output files <../../_static/archive/>`_. diff --git a/docs/report/detailed_test_results/vpp_performance_results/index.rst b/docs/report/detailed_test_results/vpp_performance_results/index.rst index 21d9fb26af..d1a940d398 100644 --- a/docs/report/detailed_test_results/vpp_performance_results/index.rst +++ b/docs/report/detailed_test_results/vpp_performance_results/index.rst @@ -4,7 +4,9 @@ VPP Throughput .. note:: Data sources for reported test results: - i) `build logs from FD.io vpp coverage job 2n-skx`_, + i) `build logs from FD.io vpp coverage job 2n-icx`_, + `build logs from FD.io vpp coverage job 3n-icx`_, + `build logs from FD.io vpp coverage job 2n-skx`_, `build logs from FD.io vpp coverage job 3n-skx`_, `build logs from FD.io vpp coverage job 2n-clx`_, `build logs from FD.io vpp coverage job 2n-zn2`_, diff --git a/docs/report/test_configuration/vpp_mrr_configuration/index.rst b/docs/report/test_configuration/vpp_mrr_configuration/index.rst index 78d7fd4315..ecd2d383c2 100644 --- a/docs/report/test_configuration/vpp_mrr_configuration/index.rst +++ b/docs/report/test_configuration/vpp_mrr_configuration/index.rst @@ -4,16 +4,18 @@ VPP MRR .. note:: Data sources for reported test results: - i) `build logs from FD.io vpp coverage job 2n-skx`_, - `build logs from FD.io vpp coverage job 3n-skx`_, - `build logs from FD.io vpp coverage job 2n-clx`_, - `build logs from FD.io vpp coverage job 2n-zn2`_, - `build logs from FD.io vpp coverage job 3n-tsh`_, - `build logs from FD.io vpp coverage job 2n-tx2`_, - `build logs from FD.io vpp coverage job 2n-dnv`_, - `build logs from FD.io vpp coverage job 3n-dnv`_, - `build logs from FD.io vpp coverage job 2n-aws`_, - `build logs from FD.io vpp coverage job 3n-aws`_, + i) `build logs from FD.io vpp iterative job 2n-icx`_, + `build logs from FD.io vpp iterative job 3n-icx`_, + `build logs from FD.io vpp iterative job 2n-skx`_, + `build logs from FD.io vpp iterative job 3n-skx`_, + `build logs from FD.io vpp iterative job 2n-clx`_, + `build logs from FD.io vpp iterative job 2n-zn2`_, + `build logs from FD.io vpp iterative job 3n-tsh`_, + `build logs from FD.io vpp iterative job 2n-tx2`_, + `build logs from FD.io vpp iterative job 2n-dnv`_, + `build logs from FD.io vpp iterative job 3n-dnv`_, + `build logs from FD.io vpp iterative job 2n-aws`_, + `build logs from FD.io vpp iterative job 3n-aws`_, ii) archived FD.io jobs test results `output files <../../_static/archive/>`_. diff --git a/docs/report/test_configuration/vpp_performance_configuration/index.rst b/docs/report/test_configuration/vpp_performance_configuration/index.rst index 21d9fb26af..d1a940d398 100644 --- a/docs/report/test_configuration/vpp_performance_configuration/index.rst +++ b/docs/report/test_configuration/vpp_performance_configuration/index.rst @@ -4,7 +4,9 @@ VPP Throughput .. note:: Data sources for reported test results: - i) `build logs from FD.io vpp coverage job 2n-skx`_, + i) `build logs from FD.io vpp coverage job 2n-icx`_, + `build logs from FD.io vpp coverage job 3n-icx`_, + `build logs from FD.io vpp coverage job 2n-skx`_, `build logs from FD.io vpp coverage job 3n-skx`_, `build logs from FD.io vpp coverage job 2n-clx`_, `build logs from FD.io vpp coverage job 2n-zn2`_, diff --git a/docs/report/test_operational_data/vpp_performance_operational_data/index.rst b/docs/report/test_operational_data/vpp_performance_operational_data/index.rst index 597086fc5e..570d64c48a 100644 --- a/docs/report/test_operational_data/vpp_performance_operational_data/index.rst +++ b/docs/report/test_operational_data/vpp_performance_operational_data/index.rst @@ -9,7 +9,9 @@ at 100% PDR. .. note:: Data sources for reported test results: - i) `build logs from FD.io vpp coverage job 2n-skx`_, + i) `build logs from FD.io vpp coverage job 2n-icx`_, + `build logs from FD.io vpp coverage job 3n-icx`_, + `build logs from FD.io vpp coverage job 2n-skx`_, `build logs from FD.io vpp coverage job 3n-skx`_, `build logs from FD.io vpp coverage job 2n-clx`_, `build logs from FD.io vpp coverage job 2n-zn2`_, diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 59250d0678..a7b1500f29 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -489,17 +489,10 @@ def table_merged_details(table, input_data): separator = u"" if table[u'output-file'].endswith(u"/") else u"_" file_name = f"{table[u'output-file']}{separator}{suite_name}.csv" logging.info(f" Writing file: {file_name}") - try: - with open(file_name, u"wt") as file_handler: - file_handler.write(u",".join(header) + u"\n") - for item in table_lst: - file_handler.write(u",".join(item) + u"\n") - except Exception as err: - logging.error(f"{err}") - logging.info(header) - logging.info(table_lst) - if file_handler: - file_handler.close() + with open(file_name, u"wt") as file_handler: + file_handler.write(u",".join(header) + u"\n") + for item in table_lst: + file_handler.write(u",".join(item) + u"\n") logging.info(u" Done.") -- cgit 1.2.3-korg