aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_alerts.py
AgeCommit message (Collapse)AuthorFilesLines
2022-02-02trending: icx addedViliam Luc1-1/+1
Signed-off-by: Viliam Luc <vluc@cisco.com> Change-Id: Ib742be7841b462eaa97ba1f6f87f7ac63bde03df (cherry picked from commit bfd31ed5f42e106121e142c1da20bd9ab0745dd1)
2022-01-18trending: new view in regressions and progressionsViliam Luc1-5/+5
Signed-off-by: Viliam Luc <vluc@cisco.com> Change-Id: I8524319a215ff551cf67c30d0b08ddae69883f61
2022-01-17trending: shorten error messagesViliam Luc1-1/+33
Sometimes error messages are longer than 1000 chars. This change looks for [;, :, '] in messages between 128 and 256 character. If it finds any of these the error message will be cut from beggining to this character. If there's no character from the list in error message and message is longer than 128 chars. It will be cut from beggining to 129 character of error message Signed-off-by: Viliam Luc <vluc@cisco.com> Change-Id: I283f8ee8d81422235d897370dbc9508fafda6a7f
2021-12-17trending: hotfix failing trending emailsViliam Luc1-0/+24
Legend was showing for each job_name. When trying to fix it we broke the cpta with I/O operation. This fixes legend positioning and I/O operation error. Signed-off-by: Viliam Luc <vluc@cisco.com> Change-Id: I809daa3eabe6a728e5e183630fc7c6615dfef8bf
2021-08-11report: indexed error message added to report emailsViliam Luc1-42/+87
Report emails will contain error message index now. Index assigned to error message is described at the end of report. sample: avf-dot1q-l2bdbasemaclrn-eth-2memif-1dcr 25ge2p1xxv710 64b 2t1c[0] 4t2c[0] 8t4c[0] Legend: [0] - Failed to run 'cli_inband clear runtime' PAPI command on host xxx.xxx.xxx.xxx Signed-off-by: Viliam Luc <vluc@cisco.com> Change-Id: I6c71eb8a8767827e18f88a9a1142b899158a190c
2021-07-22Trending: Add graph with statisticsTibor Frank1-8/+15
- x-axis: time [MM-DD] - y-axis: nr of passed/failed tests - y-axis: build duration Change-Id: I269af5a728a32d02ffcdecc7e25138ad1a183c4b Signed-off-by: Tibor Frank <tifrank@cisco.com>
2021-05-03PAL: Refactor the processing of spec and downloadTibor Frank1-2/+1
Change-Id: I204fdc3593a3702366727238f2b469d3d4320c2b Signed-off-by: Tibor Frank <tifrank@cisco.com>
2021-01-21Trending: Fix bugs in 2n-tx2Tibor Frank1-1/+1
Change-Id: I5522e2cb37b9e319bfde009297525179da2e50f7 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-26Trending: Fix build number in error message.Tibor Frank1-6/+1
Change-Id: I1708ebd24a6a26db53a14192b23fe51569543333 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-23Trendig: Fix alerting for 2n-zn2Tibor Frank1-1/+3
Change-Id: I4e4d156dcb9d93bf0c537a870e6fab6c500f5810 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-08-28Trending: Add DPDK version to alertsTibor Frank1-5/+8
Change-Id: I2f1a16ecfa0336e9c5a52a2efcbfcb2caddee089 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-08-28Trending: Add identification of DUT to alerting emailTibor Frank1-1/+1
Change-Id: I2e63f16aef48e68b0e86e913431bed7df01f1b70 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-05-19Trending: CSIT-1717: Add links from dashboard to graphsTibor Frank1-9/+20
+ fix TB names in alerts Change-Id: Ia10e9b82b57e90f7ae4592bd6ecf8b71dea71cc8 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-12-09Trending: Fix AlertsTibor Frank1-1/+1
Change-Id: I963022c386928b7f29b176bfb4a4e2bfb0a55409 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-12-03Python3: PALTibor Frank1-188/+205
- files renamed: - utils.py --> pal_utils.py - errors.py --> pal_errors.py - functions/methods renamed: - plot_service_density_reconf_box_name --> plot_nf_reconf_box_name - plot_performance_box_name --> plot_perf_box_name - plot_latency_error_bars_name --> plot_lat_err_bars_name - plot_throughput_speedup_analysis_name --> plot_tsa_name - plot_service_density_heatmap --> plot_nf_heatmap - table_performance_comparison --> table_perf_comparison - table_performance_comparison_nic --> table_perf_comparison_nic - table_performance_trending_dashboard_html --> table_perf_trending_dash_html - functions/methods removed: - plot_service_density_heatmap_compare - plot_throughput_speedup_analysis - plot_latency_error_bars - plot_soak_boxes - plot_soak_bars Change-Id: Icddc01d3ccb451abb92b9e5d912b642d01866033 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-11-28Python3: resources and librariesJan Gelety1-1/+1
Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-11-04Trending: Fix alertsTibor Frank1-1/+1
Change-Id: I0f54bbf34493cab927408aa1da7d855ce15db061 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-10-11Trending: Generate email body for regressions and progressionsTibor Frank1-7/+37
Change-Id: Iee652fc48b574b7866d5e7f0b7b927f96de3d25f Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-10-07Trending: Send alerts when regression occursTibor Frank1-1/+14
Change-Id: I45d218ea323245199ad5093bd64c6a9bd862cad9 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-10-03Trending: Report also nr of passed tests in emailTibor Frank1-8/+16
Change-Id: I7ae188f5f684bd93352255d6b5c491b6d78c822c Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-04-15Alerts: Change the error messageTibor Frank1-6/+16
Change-Id: I0fcd6ffaf24de0f6ce95eaba3d591eddf3f16b33 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-04-10Trending: Reduce input dataTibor Frank1-36/+8
Change-Id: Ia787036e4a717b9693df09fc75738369d6d39b57 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-04-04Trending: AlertsTibor Frank1-62/+164
Change-Id: I1c744f4eeefe3082be02daa681bfc032d6db4d15 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2019-01-02Trending: Align the content of old and new dirsTibor Frank1-2/+8
Change-Id: I39d1f71adac0bad3dbe18a987909904ea5c1e6cb Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-09-19CSIT-1288: Prepare data to be sent by JenkinsTibor Frank1-4/+5
Change-Id: I0840883d52180d09f7de2bd9b0391a0db24105f5 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-09-18CSIT-1288: Prepare data to be sent by JenkinsTibor Frank1-0/+10
- Add creation of tar.gz file Change-Id: I525c713bb3e157cd94337222781066252c3fa517 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-09-17CSIT-1131: AlertingTibor Frank1-0/+267
- CSIT-1132: Send e-mail with a list of failed tests - CSIT-1288: Prepare data to be sent by Jenkins Change-Id: I7ac720dca44d7c13b22218abbca7a00d36d459cb Signed-off-by: Tibor Frank <tifrank@cisco.com>