diff options
| -rw-r--r-- | jobs/misc/misc-generic.txt | 23 | ||||
| -rw-r--r-- | units/stella-stress.pxu | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/jobs/misc/misc-generic.txt b/jobs/misc/misc-generic.txt index 35a570e..5880f0b 100644 --- a/jobs/misc/misc-generic.txt +++ b/jobs/misc/misc-generic.txt @@ -9,3 +9,26 @@ id: misc/generic/sources-list/trusty-oem command: sources_test /etc/apt/sources.list.d/trusty-oem.list "^deb http://oem.archive.canonical.com/updates/ .* public,^deb-src http://oem.archive.canonical.com/updates/ .* public" _description: Check if oem sources list under source.list.d contains correct repository + +plugin: user-interact-verify +id: misc/generic/stress/journald-persistent +user: root +command: sed -i 's/\#Storage=auto/Storage=persistent/' /etc/systemd/journald.conf +_summary: Set journald to preserve logs during stress test +_description: + PURPOSE: + 1. To make sure system will write journald log to disk during every boot. + STEPS: + 1. Press enter key + 2. Checkbox will modify /etc/systemd/journald.conf to set Storage=persistent + 3. Then if any system hang occurs, the journald log will be preserved + VERIFICATION: + None + +plugin: shell +id: misc/generic/stress/journald-persistent-auto +user: root +command: sed -i 's/\#Storage=auto/Storage=persistent/' /etc/systemd/journald.conf +_summary: Set journald to preserve logs during stress test +_description: + To make sure system will write journald log to disk during every boot. diff --git a/units/stella-stress.pxu b/units/stella-stress.pxu index efd7703..853e66c 100644 --- a/units/stella-stress.pxu +++ b/units/stella-stress.pxu @@ -13,3 +13,4 @@ nested_part: com.canonical.certification::info-attachment-cert-full mandatory_include: com.canonical.certification::miscellanea/tester-info + com.canonical.ce::misc/generic/stress/journald-persistent-auto |
