Skip to content

Commit

Permalink
tests/ubuntu_drivers.py: Set SYSTEMD_LOG_LEVEL
Browse files Browse the repository at this point in the history
This avoids failing on unexpected udevadm debug spew if the kernel gets booted
with "debug". Fixes FTBFS on our arm64 builders.
  • Loading branch information
martinpitt committed Dec 3, 2014
1 parent de88098 commit 822fb72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/changelog
@@ -1,6 +1,9 @@
ubuntu-drivers-common (1:0.2.98.6) UNRELEASED; urgency=medium

* setup.py: Drop unnecessary glob().
* tests/ubuntu_drivers.py: Set SYSTEMD_LOG_LEVEL to avoid failing on
unexpected udevadm debug spew if the kernel gets booted with "debug".
Fixes FTBFS on our arm64 builders.

-- Martin Pitt <martin.pitt@ubuntu.com> Wed, 03 Dec 2014 13:14:23 +0100

Expand Down
4 changes: 4 additions & 0 deletions tests/ubuntu_drivers.py
Expand Up @@ -742,6 +742,10 @@ def setUpClass(klass):
klass.plugin_dir = os.path.join(klass.chroot.path, 'detect')
os.environ['UBUNTU_DRIVERS_DETECT_DIR'] = klass.plugin_dir

# avoid failures due to unexpected udevadm debug messages if kernel is
# booted with "debug"
os.environ['SYSTEMD_LOG_LEVEL'] = 'warning'

@classmethod
def tearDownClass(klass):
klass.chroot.remove()
Expand Down

0 comments on commit 822fb72

Please sign in to comment.