Mir

acceptance_tests are too chatty

Bug #1394221 reported by Kevin DuBois
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Cemil Azizoglu
mir (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

acceptance tests have started becoming obfuscated with messages that are not related to what is being tested:

eg:

[----------] 3 tests from ServerSignal
[ RUN ] ServerSignal.terminate_handler_is_called_for_SIGTERM
[1416406602.185984] (II) UnknownComponent: Starting Mir server
[1416406602.200318] (II) UnknownComponent: Stopping Mir Server
[1416406602.204740] (II) UnknownComponent: Stopping Mir Server
[ OK ] ServerSignal.terminate_handler_is_called_for_SIGTERM (22 ms)
[ RUN ] ServerSignal.terminate_handler_is_called_for_SIGINT
[1416406602.207911] (II) UnknownComponent: Starting Mir server
[1416406602.221617] (II) UnknownComponent: Stopping Mir Server
[1416406602.226197] (II) UnknownComponent: Stopping Mir Server
[ OK ] ServerSignal.terminate_handler_is_called_for_SIGINT (22 ms)
[ RUN ] ServerSignal.multiple_cleanup_handlers_are_called
[1416406602.229390] (II) UnknownComponent: Starting Mir server
[ OK ] ServerSignal.multiple_cleanup_handlers_are_called (198 ms)
[----------] 3 tests from ServerSignal (242 ms total)

Related branches

Kevin DuBois (kdub)
summary: - tests are too chatty
+ acceptance_tests are too chatty
Changed in mir:
status: New → Confirmed
Changed in mir:
assignee: nobody → Cemil Azizoglu (cemil-azizoglu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Seems we just need to remember to assign a NullLogger to the test server.

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Yes, that's the right answer - probably also making it a commandlne option to enable logging (as that's trivial and could be wanted for diagnostic purposes).

Changed in mir:
milestone: none → 0.10.0
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.10.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

mir (0.10.0+15.04.20150107.2-0ubuntu1) vivid; urgency=medium

Changed in mir (Ubuntu):
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.