Skip to content

teuthology/suite: log postmerge filtering#2159

Merged
batrick merged 1 commit intoceph:mainfrom
batrick:log-filters
Mar 25, 2026
Merged

teuthology/suite: log postmerge filtering#2159
batrick merged 1 commit intoceph:mainfrom
batrick:log-filters

Conversation

@batrick
Copy link
Copy Markdown
Member

@batrick batrick commented Mar 23, 2026

Otherwise it's hard to discern what caused a job to be dropped. The "postmerge" script itself may be empty but the other filtering still runs.

@batrick batrick requested a review from zmc March 23, 2026 13:36
@batrick batrick requested a review from a team as a code owner March 23, 2026 13:36
@batrick batrick requested review from kamoltat and removed request for a team March 23, 2026 13:36
shraddhaag
shraddhaag previously approved these changes Mar 23, 2026
if filter_all then
for i,f in py_enumerate(filter_all) do
if not matches(_ENV, f) then
log:debug("dropping job due to filter-all match: %s", f)
Copy link
Copy Markdown
Contributor

@amathuria amathuria Mar 23, 2026

Choose a reason for hiding this comment

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

@batrick we reject when there is no match right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

oops, thanks! I've fixed the message.

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! approved

Otherwise it's hard to discern what caused a job to be dropped. The
"postmerge" script itself may be empty but the other filtering still
runs.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@batrick batrick merged commit 426ec63 into ceph:main Mar 25, 2026
9 checks passed
@batrick batrick deleted the log-filters branch March 25, 2026 13:55
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