# Pastebin 8RcV0Ocb 2020-02-13 11:45:05 Error executing google:ubuntu-core-18-64:tests/core/snapd-failover : ----- + echo 'Testing failover handling of the snapd snap' Testing failover handling of the snapd snap ++ readlink /snap/snapd/current + current=x1 ++ ls /var/lib/snapd/snaps/snapd_x1.snap + SNAPD_SNAP=/var/lib/snapd/snaps/snapd_x1.snap + snap list --all Name Version Rev Tracking Publisher Notes core18 20200203 1689 latest/edge canonical* base pc 18-2 62 18/edge canonical* gadget pc-kernel 4.15.0-88.88 399 18/edge canonical* kernel snapd 2.43.2+git951.g05bb62d x1 - - snapd test-snapd-rsync-core18 3.1.3 1 latest/stable canonical* devmode + echo 'Verify that a random signal does not trigger the failure handling' Verify that a random signal does not trigger the failure handling + echo 'and snapd is just restarted' and snapd is just restarted + systemctl kill --signal=SIGSEGV snapd.service + MATCH inactive + systemctl is-active snapd.failure.service + echo 'Snap list is working still' Snap list is working still + MATCH '^snapd .* x1 .*' + snap list + echo 'Break snapd' Break snapd + unsquashfs -d ./snapd-broken /var/lib/snapd/snaps/snapd_x1.snap Parallel unsquashfs: Using 1 processor 482 inodes (1170 blocks) to write [=============================================================-] 1170/1170 100% created 453 files created 173 directories created 29 symlinks created 0 devices created 0 fifos + echo '' + cd ./snapd-broken + snap pack . built: snapd_2.43.2+git951.g05bb62d_amd64.snap + echo 'Now install the broken snapd' Now install the broken snapd + snap install --dangerous ./snapd-broken/snapd_2.43.2+git951.g05bb62d_amd64.snap error: cannot perform the following tasks: - Automatically connect eligible plugs and slots of snap "snapd" (there was a snapd rollback across the restart) + echo 'And verify that snap commands still work and snapd is reverted' And verify that snap commands still work and snapd is reverted + retry-tool -n 30 --wait 5 systemctl is-active snapd.failure.service failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed failed retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 1 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 2 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 3 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 4 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 5 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 6 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 7 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 8 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 9 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 10 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 11 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 12 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 13 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 14 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 15 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 16 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 17 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 18 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 19 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 20 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 21 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 22 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 23 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 24 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 25 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 26 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 27 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 28 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: next attempt in 5.0 second(s) (attempt 29 of 30) retry: command systemctl is-active snapd.failure.service failed with code 3 retry: command systemctl is-active snapd.failure.service keeps failing after 30 attempts -----