Skip to content

Modified log_file_checks::logs_are_error_free to make use of a local copy of the exlcuded_substring_map … - #164

Merged
bieryAtFnal merged 1 commit into
developfrom
kbiery/log_check_local_copy
Aug 3, 2026
Merged

Modified log_file_checks::logs_are_error_free to make use of a local copy of the exlcuded_substring_map …#164
bieryAtFnal merged 1 commit into
developfrom
kbiery/log_check_local_copy

Conversation

@bieryAtFnal

Copy link
Copy Markdown
Contributor

… so that we don't leak local mods to that map back into the calling code.

Description

To test this change, run the listrev_test with dunedaq_integtest_bundle.sh --verb 4 -r listrev and note that the console output that talks about ignored problems in the drunc console logfile reports an increasing number of ignored phrases.

With this branch, the number of ignored phrase should remain constant.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Testing checklist

  • Full set of integration tests pass (dunedaq_integtest_bundle.sh)

…copy of the exlcuded_substring_map so that we don't leak local mods to that map back into the calling code.
@jcfreeman2

Copy link
Copy Markdown
Contributor

Looks good to me. If I use the develop branch of integrationtest in a work area and run listrev_test, these lines appear progressively in the output:

Note: problems found in 50 lines in /tmp/pytest-of-jcfree/pytest-99/run0/log_jcfree_drunc_console_output.txt were ignored based on 6 phrase(s).
but then
Note: problems found in 48 lines in /tmp/pytest-of-jcfree/pytest-99/run1/log_jcfree_drunc_console_output.txt were ignored based on 12 phrase(s).
and finally at the bottom,
Note: problems found in 48 lines in /tmp/pytest-of-jcfree/pytest-99/run6/log_jcfree_drunc_console_output.txt were ignored based on 42 phrase(s).
...i.e., the number of phrase(s) is increasing by 6 each iteration.

On the other hand, if I use this feature branch of integrationtest, the only output I see is of the form
Note: problems found in N lines in /tmp/pytest-of-jcfree/pytest-101/run3/log_jcfree_drunc_console_output.txt were ignored based on 6 phrase(s).
...where N is a variable I'm substituting in for the reader.

@jcfreeman2
jcfreeman2 self-requested a review July 31, 2026 17:05

@jcfreeman2 jcfreeman2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, see my comment from a moment ago.

@bieryAtFnal
bieryAtFnal merged commit fadecbb into develop Aug 3, 2026
1 check passed
@bieryAtFnal
bieryAtFnal deleted the kbiery/log_check_local_copy branch August 3, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants