Skip to content
Snippets Groups Projects
Commit 5676d033 authored by Denis Pynkin's avatar Denis Pynkin
Browse files

lib: detect AUM crash


If AUM is crashed by any reason (SIGSEGV for example) the function
`apply_update_sync` don't detect that behavior and exit with error code
after timeout (~8 min). This is leading to false positive result if we
are expecting the update failure.

Added the check of AUM restart by systemd and return code `99` for that case.
Different error code allow to determine if the upgrade is failed as
expected or we have bug in AUM code. Reduces the test time in case of
AUM crash.

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
parent e899bd8a
No related branches found
No related tags found
1 merge request!25T7217: fix AUM crash detection
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment