root logger in tests is very noisy
Bug #660770 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Stuart Bishop |
Bug Description
E.g.
from ec2test
INFO Committing to: /tmp/testbzr-
INFO Committed revision 1.
This is a bzrlib test case, which does test isolation of everything that bzr sets up, but we're seeing these messages - I think because there is a catchall root logger in place. Either someone is failing to remove it from an earlier test, or the test environment has it installed globally - I haven't looked yet.
(sorry for edits) - there is a Logging helper around, but I still need to find it again.
description: | updated |
description: | updated |
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: qa-untestable |
Changed in launchpad: | |
milestone: | none → 11.01 |
To post a comment you must log in.
For a reproducible example:
bin/test -vv --test= distroarchserie sbinarypackage. txt --test= manage- chroot. txt
Neither of those tests emit noise when run in isolation. If distroarchserie sbinarypackage. txt is invoked before manage-test.txt though, manage-chroot.txt emits noise.