)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"bdefd86f37bedf82c12f88e8fd70f5f1f201e4f1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"557b2a03_b1253538","updated":"2025-03-26 09:33:59.000000000","message":"Testing in https://github.com/openstack-k8s-operators/watcher-operator/pull/122","commit_id":"cf9f462add5fd891d0fbdbf90681818077116b05"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"dfa0eb8f17f7b44f8682abb762348067078b9a65","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"e319668b_91c97395","updated":"2025-03-25 20:16:47.000000000","message":"recheck","commit_id":"cf9f462add5fd891d0fbdbf90681818077116b05"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"055f6c93aedc6b443bfe3fe0ab136dded7991e42","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"78f84af5_771ff921","updated":"2025-03-26 13:41:27.000000000","message":"Don\u0027t merge this yet, we may need changes in operators job for this.","commit_id":"027f056e00d602bfddde1cf28c295ad5c454f26c"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"df626592328836244a77a26baeaaf9f2ccb6178b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"1890b730_7100a3e6","updated":"2025-04-09 18:02:27.000000000","message":"Thanks Alfredo, this is a good improvement. Waiting for more test results.","commit_id":"b47b8b9a66cbc956d08abffc034e03621d54739c"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"500fbf32e665e331e48082ca7d0d3799414b06da","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"5a1a8e7a_b7b7df76","updated":"2025-04-09 17:45:24.000000000","message":"check-rdo","commit_id":"b47b8b9a66cbc956d08abffc034e03621d54739c"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"5aa7abe3d2f600a14a20713a13f399ba90c816bc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"9657d0af_e46e53b8","updated":"2025-04-25 11:33:40.000000000","message":"Nice improvement to the strategies tests.\n\nTempest tests are passing: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_666/openstack/6669a7282c094539a39be783ceb9c39c/testr_results.html","commit_id":"c7579bb0ab4c948fa8a15e49b4d92a09cc97056d"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"000bc10b77e1309f9902eddd4a7f759139bbbd2a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"c9cc8392_80db0f76","updated":"2025-04-30 13:11:30.000000000","message":"lgtm, thanks Alfredo","commit_id":"c7579bb0ab4c948fa8a15e49b4d92a09cc97056d"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"ef0c3633cd591848b28473368f20759226a44aee","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"96e0775a_c50b7f70","updated":"2025-05-05 06:25:57.000000000","message":"recheck","commit_id":"c7579bb0ab4c948fa8a15e49b4d92a09cc97056d"}],"watcher_tempest_plugin/tests/scenario/base.py":[{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"df626592328836244a77a26baeaaf9f2ccb6178b","unresolved":true,"context_lines":[{"line_number":409,"context_line":"                self.GNOCCHI_METRIC_MAP[\u0027host_cpu_usage\u0027]"},{"line_number":410,"context_line":"            ]"},{"line_number":411,"context_line":"            # Generate host_cpu_usage fake metrics"},{"line_number":412,"context_line":"            if loaded_host \u003d\u003d h[\u0027hypervisor_hostname\u0027]:"},{"line_number":413,"context_line":"                measures \u003d self._make_measures_host(10, 1, min\u003d80, max\u003d90)"},{"line_number":414,"context_line":"            else:"},{"line_number":415,"context_line":"                measures \u003d self._make_measures_host(10, 1)"}],"source_content_type":"text/x-python","patch_set":11,"id":"ea0c50a6_9de643db","line":412,"updated":"2025-04-09 18:02:27.000000000","message":"I would make loaded_host(s) a list instead, just in case we want more or all host fully loaded, when building other test scenarios. Nothing that we can\u0027t change later also.","commit_id":"b47b8b9a66cbc956d08abffc034e03621d54739c"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"ff57c1581561195fb2598712faf214cd3fb8da9d","unresolved":false,"context_lines":[{"line_number":409,"context_line":"                self.GNOCCHI_METRIC_MAP[\u0027host_cpu_usage\u0027]"},{"line_number":410,"context_line":"            ]"},{"line_number":411,"context_line":"            # Generate host_cpu_usage fake metrics"},{"line_number":412,"context_line":"            if loaded_host \u003d\u003d h[\u0027hypervisor_hostname\u0027]:"},{"line_number":413,"context_line":"                measures \u003d self._make_measures_host(10, 1, min\u003d80, max\u003d90)"},{"line_number":414,"context_line":"            else:"},{"line_number":415,"context_line":"                measures \u003d self._make_measures_host(10, 1)"}],"source_content_type":"text/x-python","patch_set":11,"id":"95d5c9a6_5803a848","line":412,"in_reply_to":"a15cb45e_75ef384c","updated":"2025-04-15 14:05:38.000000000","message":"Done","commit_id":"b47b8b9a66cbc956d08abffc034e03621d54739c"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"0bce2d756a244fef15958f66d7792d03a318a242","unresolved":true,"context_lines":[{"line_number":409,"context_line":"                self.GNOCCHI_METRIC_MAP[\u0027host_cpu_usage\u0027]"},{"line_number":410,"context_line":"            ]"},{"line_number":411,"context_line":"            # Generate host_cpu_usage fake metrics"},{"line_number":412,"context_line":"            if loaded_host \u003d\u003d h[\u0027hypervisor_hostname\u0027]:"},{"line_number":413,"context_line":"                measures \u003d self._make_measures_host(10, 1, min\u003d80, max\u003d90)"},{"line_number":414,"context_line":"            else:"},{"line_number":415,"context_line":"                measures \u003d self._make_measures_host(10, 1)"}],"source_content_type":"text/x-python","patch_set":11,"id":"a15cb45e_75ef384c","line":412,"in_reply_to":"ea0c50a6_9de643db","updated":"2025-04-15 06:45:26.000000000","message":"Make sense, i will send it.","commit_id":"b47b8b9a66cbc956d08abffc034e03621d54739c"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"df626592328836244a77a26baeaaf9f2ccb6178b","unresolved":true,"context_lines":[{"line_number":577,"context_line":"                LOG.info(f\"Hostname {h[\u0027hypervisor_hostname\u0027]} does not \""},{"line_number":578,"context_line":"                         \"map to any prometheus instance.\")"},{"line_number":579,"context_line":"            else:"},{"line_number":580,"context_line":"                # cpu metrics in prometheus are by cpu so we need to create"},{"line_number":581,"context_line":"                # a set of metrics for each one."},{"line_number":582,"context_line":"                vcpus \u003d h[\u0027vcpus\u0027]"},{"line_number":583,"context_line":"                for cpu in range(vcpus):"},{"line_number":584,"context_line":"                    host_labels \u003d {"}],"source_content_type":"text/x-python","patch_set":11,"id":"4312669e_eda5415e","line":581,"range":{"start_line":580,"start_character":0,"end_line":581,"end_character":48},"updated":"2025-04-09 18:02:27.000000000","message":"We don\u0027t really need to provide metrics for all vcpus, since the datasource query the avg of all available.","commit_id":"b47b8b9a66cbc956d08abffc034e03621d54739c"},{"author":{"_account_id":16312,"name":"Alfredo Moralejo","email":"amoralej@redhat.com","username":"amoralej"},"change_message_id":"0bce2d756a244fef15958f66d7792d03a318a242","unresolved":true,"context_lines":[{"line_number":577,"context_line":"                LOG.info(f\"Hostname {h[\u0027hypervisor_hostname\u0027]} does not \""},{"line_number":578,"context_line":"                         \"map to any prometheus instance.\")"},{"line_number":579,"context_line":"            else:"},{"line_number":580,"context_line":"                # cpu metrics in prometheus are by cpu so we need to create"},{"line_number":581,"context_line":"                # a set of metrics for each one."},{"line_number":582,"context_line":"                vcpus \u003d h[\u0027vcpus\u0027]"},{"line_number":583,"context_line":"                for cpu in range(vcpus):"},{"line_number":584,"context_line":"                    host_labels \u003d {"}],"source_content_type":"text/x-python","patch_set":11,"id":"830abfdd_fad2dfdc","line":581,"range":{"start_line":580,"start_character":0,"end_line":581,"end_character":48},"in_reply_to":"4312669e_eda5415e","updated":"2025-04-15 06:45:26.000000000","message":"I did this intentionally to cover the case where we may get injected metrics *and* real metrics from the node_exporter together. This is happening in the case of operator deployment. We were discussing about the case and it\u0027d be nice if we can make injected + real tests to live together in the same job generally, and I think it\u0027s possible and may be very convenient for some cases. To make that work we need to have per-cpu metrics injected.","commit_id":"b47b8b9a66cbc956d08abffc034e03621d54739c"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"000bc10b77e1309f9902eddd4a7f759139bbbd2a","unresolved":false,"context_lines":[{"line_number":577,"context_line":"                LOG.info(f\"Hostname {h[\u0027hypervisor_hostname\u0027]} does not \""},{"line_number":578,"context_line":"                         \"map to any prometheus instance.\")"},{"line_number":579,"context_line":"            else:"},{"line_number":580,"context_line":"                # cpu metrics in prometheus are by cpu so we need to create"},{"line_number":581,"context_line":"                # a set of metrics for each one."},{"line_number":582,"context_line":"                vcpus \u003d h[\u0027vcpus\u0027]"},{"line_number":583,"context_line":"                for cpu in range(vcpus):"},{"line_number":584,"context_line":"                    host_labels \u003d {"}],"source_content_type":"text/x-python","patch_set":11,"id":"0a7269a8_784fba5e","line":581,"range":{"start_line":580,"start_character":0,"end_line":581,"end_character":48},"in_reply_to":"830abfdd_fad2dfdc","updated":"2025-04-30 13:11:30.000000000","message":"Ack, make sense to me.","commit_id":"b47b8b9a66cbc956d08abffc034e03621d54739c"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"000bc10b77e1309f9902eddd4a7f759139bbbd2a","unresolved":true,"context_lines":[{"line_number":353,"context_line":"        measures_body \u003d []"},{"line_number":354,"context_line":"        final_cpu \u003d (measures_count + 1) * 60 * time_step * 1e9"},{"line_number":355,"context_line":"        for i in range(1, measures_count + 1):"},{"line_number":356,"context_line":"            dt \u003d datetime.utcnow() - timedelta(minutes\u003di * time_step)"},{"line_number":357,"context_line":"            cpu \u003d final_cpu - ((i - 1) * 60 * time_step * 1e9"},{"line_number":358,"context_line":"                               * random.randint(min, max) / 100)"},{"line_number":359,"context_line":"            measures_body.append("}],"source_content_type":"text/x-python","patch_set":14,"id":"4fac101e_d2d53f37","line":356,"range":{"start_line":356,"start_character":17,"end_line":356,"end_character":34},"updated":"2025-04-30 13:11:30.000000000","message":"there is a deprecation warning for this method, we could replace it sometime","commit_id":"c7579bb0ab4c948fa8a15e49b4d92a09cc97056d"}]}
