Intermittent test failure in ci

Bug #1669091 reported by Christopher Townsend
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libertine
Status tracked in Devel
Devel
Fix Committed
Medium
Larry Price
Trunk
Fix Committed
Medium
Larry Price
libertine (Ubuntu)
Fix Released
Medium
Larry Price

Bug Description

We are getting a very occasional test failure that seems to almost exclusively happen during the ci that runs for a branch merge. Here is the failure output:

14:04:30 /usr/lib/python3.5/runpy.py:125: RuntimeWarning: 'testtools.run' found in sys.modules after import of package 'testtools', but prior to execution of 'testtools.run'; this may result in unpredictable behaviour
14:04:30 warn(RuntimeWarning(msg))
14:04:30 ======================================================================
14:04:30 FAIL: test_libertine_service.TestLibertineService.test_package_management
14:04:30 ----------------------------------------------------------------------
14:04:30 Traceback (most recent call last):
14:04:30 File "/<<BUILDDIR>>/libertine-1.6+17.04.20170214.2+fetch811bzr428/tests/integration/test_libertine_service.py", line 169, in test_package_management
14:04:30 self._send(lambda: self._libertined.remove('jarjar', 'the-force'))
14:04:30 File "/<<BUILDDIR>>/libertine-1.6+17.04.20170214.2+fetch811bzr428/tests/integration/test_libertine_service.py", line 117, in _send
14:04:30 self.assertEqual('', task.last_error())
14:04:30 File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
14:04:30 **keywords)
14:04:30 File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
14:04:30 message, timeout)
14:04:30 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "last_error" with signature "" on interface "(null)" doesn't exist
14:04:30
14:04:30
14:04:30 During handling of the above exception, another exception occurred:
14:04:30
14:04:30 Traceback (most recent call last):
14:04:30 File "/<<BUILDDIR>>/libertine-1.6+17.04.20170214.2+fetch811bzr428/tests/integration/test_libertine_service.py", line 175, in test_package_management
14:04:30 self.fail('Exception thrown in test: %s' % str(e))
14:04:30 File "/usr/lib/python3.5/unittest/case.py", line 666, in fail
14:04:30 raise self.failureException(msg)
14:04:30 AssertionError: Exception thrown in test: org.freedesktop.DBus.Error.UnknownMethod: Method "last_error" with signature "" on interface "(null)" doesn't exist
14:04:30
14:04:30

Related branches

Changed in libertine:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :

Fix committed into lp:libertine at revision 427, scheduled for release in libertine, milestone Unknown

Changed in libertine:
status: Triaged → Fix Committed
Changed in libertine:
milestone: none → 1.7
Larry Price (larryprice)
Changed in libertine:
milestone: 1.7 → 1.8
Changed in libertine (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Larry Price (larryprice)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libertine - 1.7.1+17.04.20170331-0ubuntu1

---------------
libertine (1.7.1+17.04.20170331-0ubuntu1) zesty; urgency=medium

  [ Chris Townsend ]
  * When starting pasted, ensure DISPLAY is set and valid before continuing to
    run. (LP: #1666472)
  * Fix pasted to work with rootless Xmir. (LP: #1671257)
  * Add a '-x' option to pkill so it only kills the libertined process(es)
    and nothing else. (LP: #1676005)
  * Remove hard-coded dependency on libraries.

  [ Larry Price ]
  * Bump version to 1.7.1
  * Gracefully handle creating a LibertineContainer object when the container
    backend is unavailable.
  * Update libertine xmir components to not depend on container backends.
    (LP: #1671938)
  * Catch all errors and gracefully shutdown libertined. (LP: #1671009)
  * Fix method call from ContainerControl d-bus to interfaces.
  * Update signal handlers in test_libertine_service to reflect new API.
  * Inject client for accessing ContainerControl within containers.
  * Rearchitect libertine service python backend for simpler access to running
    tasks. (LP: #1669091)
  * Ignore completions from dependencies during snapcraft build.
  * LXD needs to forward host environment to container when running arbitrary
    commands.
  * Add client object to list_app_ids_task to avoid making reentrant service
    calls.
  * Take advantage of new network subcommand during lxd init on newer
    installs.
  * Prevent installing empty package names and appropriately update status for
    unstopped containers.
  * Modifications to make test_libertine_service more stable.
  * Reopen the database file after every failure to grab the lock.
    (LP: #1662655)

 -- Larry Price <email address hidden> Fri, 31 Mar 2017 20:09:39 +0000

Changed in libertine (Ubuntu):
status: In Progress → 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.