probes_with_bugs = {}
for bug in found_bugs:
if (
> re.search(r"release: \[?version (\d+)", bug["description"]).group(1)
!= version
):
E AttributeError: 'NoneType' object has no attribute 'group'
because the bug description did not have version 120 in there.
It might be enough to make that check more robust and check for the none case.
We just now had CI issues due to two bugs filed in bugzilla with the
metric-expiry-alert
whiteboard tag:(see also my comment)
The test failed with:
because the bug description did not have
version 120
in there. It might be enough to make that check more robust and check for the none case.