Skip to content

IT: Only upload logs of failed tests #697

Open
@kaikulimu

Description

@kaikulimu

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Today, if one IT under [Tests / IT [multi/fsm_mode/strong] (pull_request)] fails, we upload logs of all tests.

Expected Behavior

We should change it such that it only uploads logs of failed tests.

For example, if IT output is

=========================== short test summary info ============================
FAILED test_queue_close.py::test_close_while_reopening[multi_node_fsm-strong_consistency] - blazingmq.dev.it.process.proc.ProcessExitError: west2: process exited with return code -6 (Aborted)
======== 1 failed, 171 passed, 1 skipped, 4 rerun in 679.11s (0:11:19) =========

We should only upload test_close_while_reopening[multi_node_fsm-strong_consistency].log

Steps To Reproduce

Any PR that triggers some but not all ITs will demonstrate this behavior. https://github.com/bloomberg/blazingmq/actions/runs/14341534672/job/40202229858?pr=661 is an example, although the link will expire soon.

BlazingMQ Version

0.93.15

Anything else?

@bbpetukhov Please take a look

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions