Add listing of services in "activating" state 10/85710/7
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Thu, 25 Aug 2016 13:08:56 +0000 (15:08 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Tue, 6 Dec 2016 15:37:14 +0000 (16:37 +0100)
Some services are being restarted before they fail.
There are two solutions:
 * wait until all services activate or fail
 * list services that are activating

2nd is used until 1st is being developed.

Change-Id: Ib60e28ac057d38fa97aea10d42c28410efc2972e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
tct/run/smoke_tests.sh

index e007a0c..2805a3c 100755 (executable)
@@ -19,7 +19,7 @@ OPT_CRASH_PATH="/opt/usr/share/crash"
 SYS_RESULT_TMP="$(mktemp)"
 # Force crash-worker to create reports
 killall dump_systemstate
-systemctl --state=failed | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m]//g" 2>&1 | tee "$SYS_RESULT_TMP"
+systemctl --state=failed,activating | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m]//g" 2>&1 | tee "$SYS_RESULT_TMP"
 uptime
 BEFORE="$(journalctl | wc -l)"
 sleep 10