X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=2fb4159a1f2150f2714158a0e651fc02ec74c5b4;hb=f51658bf4d987f95cd2230fea5263f9a6badeb19;hp=51f3097f5605576aa1948705b521a161d07b9f09;hpb=d7ef5191ec1a7561d6109723980d48b85953a9c7;p=csit.git diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 51f3097f56..2fb4159a1f 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -202,10 +202,14 @@ def plot_hdrh_lat_by_percentile(plot, input_data): if plot.get(u"include", None): data = input_data.filter_tests_by_name( plot, - params=[u"latency", u"throughput", u"parent", u"tags", u"type"] + params=[u"name", u"latency", u"parent", u"tags", u"type"] )[0][0] elif plot.get(u"filter", None): - data = input_data.filter_data(plot, continue_on_error=True) + data = input_data.filter_data( + plot, + params=[u"name", u"latency", u"parent", u"tags", u"type"], + continue_on_error=True + )[0][0] else: job = list(plot[u"data"].keys())[0] build = str(plot[u"data"][job][0]) @@ -1326,7 +1330,7 @@ def plot_nf_heatmap(plot, input_data): regex_cn = re.compile(r'^(\d*)R(\d*)C$') regex_test_name = re.compile(r'^.*-(\d+ch|\d+pl)-' r'(\d+mif|\d+vh)-' - r'(\d+vm\d+t|\d+dcr\d+t).*$') + r'(\d+vm\d+t|\d+dcr\d+t|\d+dcr\d+c).*$') vals = dict() # Transform the data