python-troveclient ftbfs in focal

Bug #1870079 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-troveclient (Ubuntu)
Fix Released
High
James Page

Bug Description

seen in the second focal test rebuild
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18964896/+files/buildlog_ubuntu-focal-amd64.python-troveclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

==============================
Failed 1 tests - output below:
==============================

troveclient.tests.test_backups.BackupManagerTest.test_execution_list
--------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):

      File "/<<PKGBUILDDIR>>/troveclient/v1/backups.py", line 239, in mistral_execution_generator
    the_list = mistral_client.executions.list(marker=m, limit=50,

      File "/usr/lib/python3/dist-packages/mock/mock.py", line 1092, in __call__
    return _mock_self._mock_call(*args, **kwargs)

      File "/usr/lib/python3/dist-packages/mock/mock.py", line 1145, in _mock_call
    result = next(effect)

    StopIteration

The above exception was the direct cause of the following exception:

    Traceback (most recent call last):

      File "/<<PKGBUILDDIR>>/troveclient/tests/test_backups.py", line 256, in test_execution_list
    el = self.backups.execution_list("dummy", mistral_client, limit=2)

      File "/<<PKGBUILDDIR>>/troveclient/v1/backups.py", line 259, in execution_list
    return list(execution_list_generator())

      File "/<<PKGBUILDDIR>>/troveclient/v1/backups.py", line 250, in execution_list_generator
    for sexec in mistral_execution_generator():

    RuntimeError: generator raised StopIteration

======
Totals
======
Ran: 454 tests in 2.6130 sec.
 - Passed: 453
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 1
Sum of execute time for each test: 7.3312 sec.

Matthias Klose (doko)
Changed in python-troveclient (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: ftbfs rls-ff-incoming
James Page (james-page)
Changed in python-troveclient (Ubuntu):
assignee: nobody → James Page (james-page)
status: Confirmed → Fix Committed
milestone: none → ubuntu-20.04
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-troveclient - 1:2.17.0-0ubuntu3

---------------
python-troveclient (1:2.17.0-0ubuntu3) focal; urgency=medium

  * d/p/skip-tests.patch: Refresh patch to ensure that tests are skipped
    for >= Python 3.7 rather than == (LP: #1870079).

 -- James Page <email address hidden> Fri, 03 Apr 2020 11:39:23 +0100

Changed in python-troveclient (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.