manager: assume DHCP if we see a lease on taking over an initramfs connection

In general, we aren't really able to tell, but when we see a lease file
we're pretty sure that DHCP is what was going on.

https://bugzilla.redhat.com/show_bug.cgi?id=1771792

Fixes: f2fe6c03 ('manager: don't treat the initramfs-configured DHCP connections as generated')
Status Job ID Name Coverage
  Test
failed #956504
allowed to fail
checkpatch

00:01:21

manual #956510
allowed to fail manual
t_centos:7.5.1804
passed #956511
t_centos:7.6.1810

00:22:24

failed #956517
t_debian:10

00:00:17

passed #956516
t_debian:9

00:16:21

failed #956519
t_debian:sid

00:00:14

manual #956518
allowed to fail manual
t_debian:testing
manual #956505
allowed to fail manual
t_fedora:28
passed #956506
t_fedora:29

00:45:24

passed #956507
t_fedora:30

00:37:37

passed #956508
t_fedora:31

00:24:36

manual #956509
allowed to fail manual
t_fedora:rawhide
passed #956512
t_ubuntu:16.04

00:16:15

failed #956513
t_ubuntu:18.04

00:00:14

manual #956515
allowed to fail manual
t_ubuntu:devel
manual #956514
allowed to fail manual
t_ubuntu:rolling
 
  External
failed https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-gitlab-trigger-code-upstream/880/

failed https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-gitlab-trigger-code-upstream/880/

05:13:07

 
Name Stage Failure
failed
t_debian:sid Test
E: Unable to locate package python3-dbus
E: Unable to locate package python3-gi
E: Unable to locate package python3-pip
E: Unable to locate package uuid-dev
E: Unable to locate package valgrind
$ date '+%Y%m%d-%H%M%S'; dbus-uuidgen --ensure
20191115-211253
/bin/bash: line 90: dbus-uuidgen: command not found
ERROR: Job failed: exit code 1
failed
t_debian:10 Test
Reading package lists...
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)
E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Job failed: exit code 1
failed
t_ubuntu:18.04 Test
E: Unable to locate package python3-dbus
E: Unable to locate package python3-gi
E: Unable to locate package python3-pip
E: Unable to locate package uuid-dev
E: Unable to locate package valgrind
$ date '+%Y%m%d-%H%M%S'; dbus-uuidgen --ensure
20191115-211222
/bin/bash: line 90: dbus-uuidgen: command not found
ERROR: Job failed: exit code 1
failed
checkpatch Test
Error Summary
-------------
Disk Requirements:
At least 73MB more space needed on the / filesystem.

Uploading artifacts...
WARNING: checkpatch-out.txt: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1