policy: block connection from autoconnect in case of failed dependency

A connection that fails due to dependency-failed is not able to
reconnect until the master connection activates again; when this
happens, the master clears the blocked reason for all its slaves in
activate_slave_connections() and tries to reconnect them. For this to
work, the slave should be marked as blocked when it fails with
dependency-failed.
20 jobs for bg/sleep-unmanaged-rh1855563 in 43 minutes and 15 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #3692987
checkpatch

00:01:04

manual #3692994
allowed to fail manual
t_centos:7.5.1804
manual #3692995
allowed to fail manual
t_centos:7.6.1810
manual #3692996
allowed to fail manual
t_centos:7.7.1908
manual #3692997
allowed to fail manual
t_centos:7.8.2003
manual #3692998
allowed to fail manual
t_centos:8.1.1911
manual #3693004
allowed to fail manual
t_debian:10
manual #3693003
allowed to fail manual
t_debian:9
manual #3693006
allowed to fail manual
t_debian:sid
manual #3693005
allowed to fail manual
t_debian:testing
manual #3692988
allowed to fail manual
t_fedora:28
manual #3692989
allowed to fail manual
t_fedora:29
manual #3692990
allowed to fail manual
t_fedora:30
passed #3692991
t_fedora:31

00:43:14

manual #3692992
allowed to fail manual
t_fedora:32
manual #3692993
allowed to fail manual
t_fedora:rawhide
manual #3692999
allowed to fail manual
t_ubuntu:16.04
manual #3693000
allowed to fail manual
t_ubuntu:18.04
manual #3693002
allowed to fail manual
t_ubuntu:devel
manual #3693001
allowed to fail manual
t_ubuntu:rolling