← Back to issue list

Unit tests are leaking messages

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1539817
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Unit tests leaked logging output to the console. Fixed by snapcraft PR #284 (merge 220be7250, commit 767fed9e0 "Use the log fixture for logging by default for ut"), which made the log fixture the default for unit tests.

Resolution: closed resolved

Reason: Maintainer ~sergiusens closed the bug pointing to snapcraft PR #284, which was merged as220be7250 containing commit 767fed9e0 "Use the log fixture for logging by default for ut". The change makes the log fixture the default in unit tests so logging no longer leaks to the console.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Unit tests are leaking logging messages to the console.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Unit tests leaked logging output to the console. Fixed by snapcraft PR #284 (merge 220be7250, commit 767fed9e0 "Use the log fixture for logging by default for ut"), which made the log fixture the default for unit tests.
stealth/space-bunny-alpha — closed resolved Launchpad bug #1539817 fixed by merged snapcraft PR #284 (merge 220be7250, commit 767fed9e0 "Use the log fixture for logging by default for ut"), making the log fixture default so unit tests stop leaking logs.
stealth/space-bunny-alpha — closed resolved Fixed in merged PR #284 (220be7250): unit tests now use the log fixture by default, preventing console log leakage.
qwen/qwen3.6-35b-a3b — — Closed without resolution details. The unit test logging leak was likely abandoned or fixed silently, as the issue received no comments or linked pull requests.
qwen/qwen3.6-35b-a3b — — Abandoned. The report of unit tests leaking logging messages to the console was closed without resolution or comments, likely due to prolonged inactivity.
qwen/qwen3.6-35b-a3b — — Closed without documented resolution. The report indicated unit tests were leaking logging messages to the console, but no fix or follow-up action was recorded.
qwen3.6-35b-a3b-mtp-q6 — — Unit tests leaking logging messages to the console were reported but closed without a fix or resolution. No comments or pull requests addressed the problem.

Update history

Date Change
created

Related work

  • Likely Fixed By: ubuntu-core/snapcraft#284 (confidence 97%)

    PR linked in the closing comment; branch bugfix/1539817/unittest_should_not_leak_logging, merged as 220be7250 with commit 767fed9e0.

Related issues

Issue Project State Summary Similarity
#284 Use the log fixture for logging by default for ut snapcraft merged Merged PR #284 (commit 767fed9e0; merge 220be7250) made the log fixture the unit-test default, preventing log messages from leaking to the console.
79%
#1662652 unit tests leak UI into the reporting. snapcraft (launchpad) closed Fixed unit-test UI leakage by silencing snapping progress; snapcore/snapcraft#1114 landed as commit a3d06e651.
73%