Tests fails after upgrading to zhmcclient=0.14 and os-dpm=1.1.0

Bug #1706590 reported by Andreas Scheuring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-dpm
Fix Released
Undecided
Andreas Scheuring

Bug Description

Some tests fail with

ValueError: Value 'oid' doesn't match regex '^[a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12}$'

Others with:

File "networking_dpm/tests/unit/fake_zhmcclient.py", line 59, in find
        raise NotFound
   TypeError: __init__() takes exactly 3 arguments (1 given)

File "/home/jenkins/workspace/gate-networking-dpm-python35/networking_dpm/tests/unit/fake_zhmcclient.py", line 59, in find
raise NotFound
    TypeError: __init__() missing 2 required positional arguments: 'filter_args' and 'manager'

See http://logs.openstack.org/34/487334/1/check/gate-networking-dpm-python27-ubuntu-xenial/59f987a/console.html

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-dpm (master)

Fix proposed to branch: master
Review: https://review.openstack.org/487437

Changed in networking-dpm:
assignee: nobody → Andreas Scheuring (andreas-scheuring)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-dpm (master)

Reviewed: https://review.openstack.org/487437
Committed: https://git.openstack.org/cgit/openstack/networking-dpm/commit/?id=fff6b1348de30942c5a775de21616a3b8e09ab05
Submitter: Jenkins
Branch: master

commit fff6b1348de30942c5a775de21616a3b8e09ab05
Author: Andreas Scheuring <email address hidden>
Date: Wed Jul 26 16:03:47 2017 +0200

    Fix issues introduced by zhmcclient and os-dpm version bump

    The following version bumps happened recently
    * zhmcclient=0.14
    * os-dpm=1.1.0

    Those caused a couple of issues with the test code in networking-dpm.
    This patch fises them.

    Change-Id: If0b69961b3933447288991cfad17fcdb9c0d3e30
    Closes-bug: #1706590

Changed in networking-dpm:
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.