← Back to issue list

tests: print rockcraft log files on spread failure

View original Github issue

Metadata

Project
rockcraft
Number
#100
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Merged: adds 11 lines to print rockcraft log files during spread test failures, improving debugging visibility. Approved by one reviewer and passed CI checks.

Suggested action:

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Print rockcraft log files when spread fails, to capture more details in scenarios like [this](https://github.com/canonical/rockcraft/actions/runs/3143892833/jobs/5109299391)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged: adds 11 lines to print rockcraft log files during spread test failures, improving debugging visibility. Approved by one reviewer and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged a pull request that prints rockcraft log files on spread test failures to improve debugging visibility.
qwen3.6-35b-a3b-mtp-q6 Merged enhancement that automatically prints rockcraft log files when spread tests fail, improving debugging visibility for test failures.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#173 tests: check before handling rockcraft instances rockcraft closed Merged after two approvals and passing CI. Updates spread test cleanup to conditionally stop and delete rockcraft lxc instances, preventing errors when tests do not create them. (+5/-2 lines)
80%
#1304 test(spread): fix cross-test contamination rockcraft merged Merged fix for spread test cross-contamination. Resolved by copying a clean rockcraft.yaml template at test start to isolate variants. Approved by two reviewers and passed CI checks.
80%
#174 tests: check before handling rockcraft instances rockcraft merged Merged a fix wrapping rockcraft LXC instance cleanup in an if condition to prevent errors when spread tests do not create instances. Approved by two reviewers, passed CI, and modified one file.
79%
#400 fix(docs): make sure we can build the example rockcraft.yaml rockcraft merged Merged to resolve issue #399. Added a spread test validating the example rockcraft.yaml build process for documentation. Approved by three reviewers and passed all CI checks.
76%
#519 spread: reorganize spread tests rockcraft merged Merged via squash-merge. Reorganizes spread tests to optimize CI resource usage by consolidating most tests into a jammy-based rockcraft suite and adding a foreign suite for cross-system testing. Changes affect 73 files.
75%
#2711 tests: print journal logs when spread tests fail snapcraft merged 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.
75%
#869 feat: add 'test' command rockcraft merged Merged. Added the 'test' CLI command and spread tests for rockcraft. Approved by two reviewers, passed CI checks, and introduced 276 lines across seven files to validate the command using hardcoded fixtures.
73%
#102 test: update craftctl test snapcraft-rocks merged Merged after two approvals and passing CI checks. Updates the spread test to validate the fix for snapcraft-rocks#33, modifying one file with seven added lines.
73%
#79 cli: capture logs in logfile rockcraft merged Merged implementation capturing rockcraft logs to a file when running in managed mode. Approved by reviewer, passed CI, and added six lines to one file.
73%
#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.
72%