← 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 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged implementation to print journal logs on spread test failures using debug and debug-each directives. Verified functional by maintainers to enhance test diagnostics.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#100 tests: print rockcraft log files on spread failure rockcraft merged Merged: adds 11 lines to print rockcraft log files during spread test failures, improving debugging visibility. Approved by one reviewer and passed CI checks.
75%
#5406 test: drop verbose flags in spread tests snapcraft merged Merged following approval from two reviewers. Removes verbose flags from spread tests as a follow-up to #5389. All CI checks passed, modifying 8 lines across 6 files.
71%
#5389 test(spread): trace logs in spread tests snapcraft merged Merged after approval. Added trace logging to spread tests. Despite CI failures from extra snapcraft output, the change was approved and merged following a related feature branch integration to prevent conflicts.
70%