← Back to issue list

tests: print journal logs when spread tests fail

View original Github issue

Metadata

Project
snapcraft
Number
#2711
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2711 (commit 33e759874), adding debug and debug-each helpers to print journal logs when individual or project-wide spread tests fail.

Resolution: closed resolved

Reason: The approved PR was merged and its reporter later confirmed that an observed failure produced journal output as intended.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Use debug and debug-each to obtain information on when a test fails. This could be an individual test or the entire (test) project setup. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2711 (commit 33e759874), adding debug and debug-each helpers to print journal logs when individual or project-wide spread tests fail.
stealth/space-bunny-alpha — closed resolved Merged in #2711 (commit 33e759874), adding debug and debug-each helpers to print journal logs when spread tests fail.
qwen/qwen3.6-35b-a3b — — Merged to add debug and debug-each commands that print journal logs when spread tests fail. Approved by reviewer and passed CI checks, enhancing test failure diagnostics.
qwen3.6-35b-a3b-mtp-q6 — — Merged to add debug and debug-each hooks that print journal logs when spread tests fail. Verified working by a maintainer and integrated to improve test failure diagnostics.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5389 test(spread): trace logs in spread tests snapcraft merged Merged PR #5389 as ff6f5950e, adding trace logging to spread tests for better failure diagnostics.
74%
#2913 spread: disable journal debug dump unless configured snapcraft merged Merged PR #2913 (commit d444bb248): journal debug dumps now require SPREAD_DEBUG_JOURNAL=true; Travis CI enables them by default.
72%
#1385 test: show exception tracebacks in spread tests charmcraft merged PR #1385 merged a one-line test change to display exception tracebacks in spread-test failures.
70%