Skip to content
Snippets Groups Projects
Commit c95a2f68 authored by Detlev Casanova's avatar Detlev Casanova
Browse files

sanity-check: Add debug info on failure


Sometimes, a service does not start and makes the sanity test fail.
To ease debugging, print the journal on the console.

Signed-off-by: default avatarDetlev Casanova <detlev.casanova@collabora.com>
parent eab8348e
Branches apertis/v2023dev1
Tags apertis/2%0.2021.16
3 merge requests!287Merge changes from apertis/v2022-updates into apertis/v2022,!278backport: sanity-check: Add debug info on failure,!276sanity-check: Add debug info on failure
Pipeline #356347 passed
Pipeline: apertis-tests

#356352

    ......@@ -72,6 +72,7 @@ fi
    # Check for failed systemd-units
    if [ -n "$(systemctl list-units --failed --no-legend --no-pager --plain)" ]
    then
    journalctl --no-pager -x
    fail systemd-unit
    fi
    ......
    apertis-tests (2:0.2021.16) apertis; urgency=medium
    * sanity-check: Add debug info on failure
    -- Detlev Casanova <detlev.casanova@collabora.com> Thu, 24 Feb 2022 14:47:38 -0500
    apertis-tests (2:0.2021.15) apertis; urgency=medium
    * apparmor: Remove tracker* tests from session-lock-down-no-deny
    ......
    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