From 2c1632c13dbbcb4268cd9bd6efc92ebeda01f5ee Mon Sep 17 00:00:00 2001 From: hrimlinger Date: Thu, 11 Jan 2024 11:56:24 +0100 Subject: [PATCH 1/2] [diamond_miner]: Prefix not found error --- iris/worker/inner_pipeline/diamond_miner.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/iris/worker/inner_pipeline/diamond_miner.py b/iris/worker/inner_pipeline/diamond_miner.py index 0a2310d3..a55630dd 100644 --- a/iris/worker/inner_pipeline/diamond_miner.py +++ b/iris/worker/inner_pipeline/diamond_miner.py @@ -101,8 +101,14 @@ async def diamond_miner_inner_pipeline( prefix = f"{addr_v4}/{tool_parameters.prefix_len_v4}" else: prefix = f"{addr_v6}/{tool_parameters.prefix_len_v6}" - for protocol, ttls, n_initial_flows in targets[prefix]: - prefixes.append((prefix, protocol, ttls, n_initial_flows)) + try: + for protocol, ttls, n_initial_flows in targets[prefix]: + prefixes.append((prefix, protocol, ttls, n_initial_flows)) + except KeyError: + logger.error( + f"Prefix not in initial target file {targets_filepath}:{prefix}" + ) + continue logger.info("Insert probe counts") insert_probe_counts( From 65e2fac8cde7b7be88c7c8464bab168d8b59fee6 Mon Sep 17 00:00:00 2001 From: Saied Kazemi Date: Thu, 11 Jan 2024 12:40:23 +0100 Subject: [PATCH 2/2] =?UTF-8?q?release(project):=201.1.3=20=E2=86=92=201.1?= =?UTF-8?q?.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- iris/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 001ac3bd..daf90088 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.1.3 +current_version = 1.1.4 commit = True tag = True message = release(project): {current_version} → {new_version} diff --git a/iris/__init__.py b/iris/__init__.py index 0b2f79db..c72e3798 100644 --- a/iris/__init__.py +++ b/iris/__init__.py @@ -1 +1 @@ -__version__ = "1.1.3" +__version__ = "1.1.4" diff --git a/pyproject.toml b/pyproject.toml index 4e1eb4af..baae05cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "iris" -version = "1.1.3" +version = "1.1.4" description = "Resilient Internet-scale measurement system." license = "MIT" authors = [