systemd: TypeError in networkd test
Bug #1516009 reported by
Andy Whitcroft
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
We are seeing ADT test failures against the Ubuntu 4.3 based kernel:
networkd FAIL non-zero exit status 1
tags: | added: xenial-4.3-adt-failures |
To post a comment you must log in.
Nothing to do with the kernel, just a race condition that exposes a string vs. byte confusion in the test:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= dhcp_ip6 (__main_ _.TestNetworkd) ------- ------- ------- ------- ------- ------- ------- ------- ------- run.uogbXf/ build.Gt4/ systemd- 227/debian/ tests/networkd" , line 155, in test_coldplug_ dhcp_ip6 do_test( coldplug= True, ipv6=True) run.uogbXf/ build.Gt4/ systemd- 227/debian/ tests/networkd" , line 96, in do_test
ERROR: test_coldplug_
-------
Traceback (most recent call last):
File "/tmp/adt-
self.
File "/tmp/adt-
if b'state UP' in out and 'scope global' in out:
TypeError: a bytes-like object is required, not 'str'