Merge ~rmescandon/snappy-hwe-snaps/+git/engineering-tests:nm-debug-config-test into ~snappy-hwe-team/snappy-hwe-snaps/+git/engineering-tests:master

Proposed by Roberto Mier Escandon on 2017-07-10
Status: Merged
Approved by: Konrad Zapałowicz on 2017-09-01
Approved revision: a09e2d8daa45515a753a98d9e2b0748b41c91bbd
Merged at revision: 7c2447984ea2d839a8d8515f8117edc9efaa1fb7
Proposed branch: ~rmescandon/snappy-hwe-snaps/+git/engineering-tests:nm-debug-config-test
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/engineering-tests:master
Diff against target: 62 lines (+54/-0)
1 file modified (+54/-0)
Reviewer Review Type Date Requested Status
Konrad Zapałowicz (community) code Approve on 2017-09-01
System Enablement Bot continuous-integration 2017-07-10 Approve on 2017-09-01
Review via email:

Description of the change

Plainbox tests for network manager debug enable/disable config option

To post a comment you must log in.
Konrad Zapałowicz (kzapalowicz) wrote :


review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/ b/
index 27d9b8b..e905919 100644
--- a/
+++ b/
@@ -323,3 +323,57 @@ _steps:
323 $ sudo apt install wakeonlan323 $ sudo apt install wakeonlan
325 Did the SUT wake up from S5?325 Did the SUT wake up from S5?
327id: network_manager/debug/default_off
328category_id: network_manager
329plugin: manual
330_summary: The debug option defaults to off
332 Makes sure that the debug option defaults to disabled
334 1. Install the network-manager snap fresh (i.e. not an upgrade)
335 2. Run the following:
336 .
337 $ sudo snap get network-manager debug.enable
339 Verify that the returned value is "false"
341id: network_manager/debug/disabling_works
342category_id: network_manager
343plugin: manual
344depends: network_manager/debug/default_off
345_summary: Disabling debug actually disables debug logging
347 Makes sure that when debug.enabled is set to "false" no debug logs are written
349 1. Make sure that debug is disabled. Run:
350 .
351 $ sudo snap set network-manager debug.enable=false
352 .
353 2. Show only most recent journal entries
354 .
355 $ sudo journalctl -f -u
356 .
358 Verify that any new log entry in journal coming from network-manager is in <info>,
359 <warn> or <error>, but never in <debug> level
361id: network_manager/automount/debug_works
362category_id: network_manager
363plugin: manual
364depends: network_manager/debug/default_off
365_summary: When debug is enabled, debug logs are available
367 Makes sure that when debug option is enabled the <debug> logs are available
369 1. Make sure that debug is enabled. Run:
370 .
371 $ sudo snap set network-manager debug.enable=true
372 .
373 2. Show only most recent journal entries
374 .
375 $ sudo journalctl -f -u
376 .
378 Verify that any new log entry in journal coming from network-manager is in <debug>
379 level


People subscribed via source and target branches