systemd: TypeError in networkd test

Bug #1516009 reported by Andy Whitcroft
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Andy Whitcroft (apw)
tags: added: xenial-4.3-adt-failures
Revision history for this message
Martin Pitt (pitti) wrote :

Nothing to do with the kernel, just a race condition that exposes a string vs. byte confusion in the test:

======================================================================
ERROR: test_coldplug_dhcp_ip6 (__main__.TestNetworkd)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/adt-run.uogbXf/build.Gt4/systemd-227/debian/tests/networkd", line 155, in test_coldplug_dhcp_ip6
    self.do_test(coldplug=True, ipv6=True)
  File "/tmp/adt-run.uogbXf/build.Gt4/systemd-227/debian/tests/networkd", line 96, in do_test
    if b'state UP' in out and 'scope global' in out:
TypeError: a bytes-like object is required, not 'str'

Changed in systemd (Ubuntu):
status: New → In Progress
summary: - systemd: adt test failures against Ubuntu 4.3 kernel
+ systemd: TypeError in networkd test
Changed in systemd (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :
Changed in systemd (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: In Progress → Fix Committed
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 228-1ubuntu2

---------------
systemd (228-1ubuntu2) xenial; urgency=medium

  * Merge with Debian to fix FTBFS.

systemd (228-3) UNRELEASED; urgency=medium

  * debian/rules: Remove temporary debug output from test failures again. All
    Debian buildd kernels are recent enough now, but add a check for kernels
    older than 3.13 and ignore test failures for those.

systemd (228-2) unstable; urgency=medium

  * Remove wrong endianess conversion in test-siphash24 to fix FTBFS on
    big-endian machines.
  * Bump libseccomp-dev build dependency to indicate required versions for
    backporting to jessie. (Closes: #805497)

 -- Martin Pitt <email address hidden> Thu, 19 Nov 2015 12:41:25 +0100

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.