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>
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