Skip to content

Commit

Permalink
task/internal/__init__.py: Revisit core program extraction regex
Browse files Browse the repository at this point in the history
Fixes: https://tracker.ceph.com/issues/61586

Signed-off-by: Brad Hubbard <[email protected]>
  • Loading branch information
badone committed Feb 18, 2025
1 parent 62c9c10 commit ea68f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teuthology/task/internal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def fetch_binaries_for_coredumps(path, remote):
log.error(e)
continue
try:
dump_program = re.findall("from '([^']+)'", dump_out)[0]
dump_program = re.findall("from '([^ ']+)", dump_out)[0]
log.info(f' dump_program: {dump_program}')
except Exception as e:
log.info("core doesn't have the desired format, moving on ...")
Expand Down

0 comments on commit ea68f39

Please sign in to comment.