diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-08-10 08:07:24 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-08-10 10:21:35 +0200 |
commit | b6274cee47c4cbf60c8ec50e6cc6e463c380521a (patch) | |
tree | f96812ebfd33373174ecee08b359108dd1c6ec65 /resources/tools/presentation/input_data_parser.py | |
parent | dbad114b252b969523d81372c9065d16b78be676 (diff) |
PAL: vpp_version
Change-Id: Id01389d5bac005b0812182551053f354511e24d1
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/input_data_parser.py')
-rw-r--r-- | resources/tools/presentation/input_data_parser.py | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 7499935ee8..ecc403027d 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -600,6 +600,7 @@ class ExecutionChecker(ResultVisitor): ) self._data[u"metadata"][u"version"] = self._version self._msg_type = None + logging.info(self._version) def _get_dpdk_version(self, msg): """Called when extraction of DPDK version is required. @@ -1450,7 +1451,7 @@ class InputData: self._for_output = for_output # Data store: - self._input_data = pd.Series(dtype="object") + self._input_data = pd.Series(dtype="float64") @property def data(self): @@ -1665,7 +1666,7 @@ class InputData: }) if self._input_data.get(job, None) is None: - self._input_data[job] = pd.Series(dtype="object") + self._input_data[job] = pd.Series(dtype="float64") self._input_data[job][str(build_nr)] = build_data self._cfg.set_input_file_name( job, build_nr, result[u"build"][u"file-name"] @@ -1744,7 +1745,7 @@ class InputData: }) if self._input_data.get(job, None) is None: - self._input_data[job] = pd.Series(dtype="object") + self._input_data[job] = pd.Series(dtype="float64") self._input_data[job][str(build_nr)] = build_data self._cfg.set_input_state(job, build_nr, u"processed") @@ -1901,12 +1902,12 @@ class InputData: params.extend((u"type", u"status")) data_to_filter = data if data else element[u"data"] - data = pd.Series(dtype="object") + data = pd.Series(dtype="float64") try: for job, builds in data_to_filter.items(): - data[job] = pd.Series(dtype="object") + data[job] = pd.Series(dtype="float64") for build in builds: - data[job][str(build)] = pd.Series(dtype="object") + data[job][str(build)] = pd.Series(dtype="float64") try: data_dict = dict( self.data[job][str(build)][data_set].items()) @@ -1918,7 +1919,7 @@ class InputData: for test_id, test_data in data_dict.items(): if eval(cond, {u"tags": test_data.get(u"tags", u"")}): data[job][str(build)][test_id] = \ - pd.Series(dtype="object") + pd.Series(dtype="float64") if params is None: for param, val in test_data.items(): data[job][str(build)][test_id][param] = val @@ -2002,12 +2003,12 @@ class InputData: else: tests = include - data = pd.Series(dtype="object") + data = pd.Series(dtype="float64") try: for job, builds in element[u"data"].items(): - data[job] = pd.Series(dtype="object") + data[job] = pd.Series(dtype="float64") for build in builds: - data[job][str(build)] = pd.Series(dtype="object") + data[job][str(build)] = pd.Series(dtype="float64") for test in tests: try: reg_ex = re.compile(str(test).lower()) @@ -2017,7 +2018,7 @@ class InputData: test_data = self.data[job][ str(build)][data_set][test_id] data[job][str(build)][test_id] = \ - pd.Series(dtype="object") + pd.Series(dtype="float64") if params is None: for param, val in test_data.items(): data[job][str(build)][test_id]\ @@ -2072,7 +2073,7 @@ class InputData: logging.info(u" Merging data ...") - merged_data = pd.Series(dtype="object") + merged_data = pd.Series(dtype="float64") for builds in data.values: for item in builds.values: for item_id, item_data in item.items(): |