nova unit tests failing with pbr 0.11

Bug #1450682 reported by Joe Gordon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Critical
Joe Gordon
Icehouse
Fix Released
Undecided
Unassigned
Juno
Fix Released
Undecided
Unassigned
Kilo
Fix Released
Undecided
Unassigned

Bug Description

test_version_string_with_package_is_good breaks with the release of pbr 0.11

nova.tests.unit.test_versions.VersionTestCase.test_version_string_with_package_is_good
--------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "nova/tests/unit/test_versions.py", line 33, in test_version_string_with_package_is_good
        version.version_string_with_package())
      File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
        self.assertThat(observed, matcher, message)
      File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: '5.5.5.5-g9ec3421' != '2015.2.0-g9ec3421'

http://logs.openstack.org/27/169827/8/check/gate-nova-python27/2009c78/console.html

Revision history for this message
Joe Gordon (jogo) wrote :

Blocking all python27 nova jobs

Changed in nova:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Joe Gordon (jogo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/179309

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/179311

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/179313

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/179307
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9374a080e1ccc63d392a2eaffd6a2a1b291c0c58
Submitter: Jenkins
Branch: master

commit 9374a080e1ccc63d392a2eaffd6a2a1b291c0c58
Author: Joe Gordon <email address hidden>
Date: Thu Apr 30 17:24:02 2015 -0700

    Make test_version_string_with_package_is_good work with pbr 0.11

    nova.version uses the version_string() API not version. Fix the test to
    reflect that and make it work with pbr 0.11

    Closes-Bug: #1450682
    Change-Id: I4887b8000c9943c91f8add56fcc54fa18e78d683

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/juno)

Reviewed: https://review.openstack.org/179311
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5733f4cafd75cf9e645488acc6ba454b27508342
Submitter: Jenkins
Branch: stable/juno

commit 5733f4cafd75cf9e645488acc6ba454b27508342
Author: Joe Gordon <email address hidden>
Date: Thu Apr 30 17:24:02 2015 -0700

    Make test_version_string_with_package_is_good work with pbr 0.11

    nova.version uses the version_string() API not version. Fix the test to
    reflect that and make it work with pbr 0.11

    Closes-Bug: #1450682
    Change-Id: I4887b8000c9943c91f8add56fcc54fa18e78d683

tags: added: in-stable-juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/kilo)

Reviewed: https://review.openstack.org/179309
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e896c5a3d35d03541042ef447089ab2c16da4007
Submitter: Jenkins
Branch: stable/kilo

commit e896c5a3d35d03541042ef447089ab2c16da4007
Author: Joe Gordon <email address hidden>
Date: Thu Apr 30 17:24:02 2015 -0700

    Make test_version_string_with_package_is_good work with pbr 0.11

    nova.version uses the version_string() API not version. Fix the test to
    reflect that and make it work with pbr 0.11

    Closes-Bug: #1450682
    Change-Id: I4887b8000c9943c91f8add56fcc54fa18e78d683

tags: added: in-stable-kilo
tags: added: in-stable-icehouse
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/179313
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c12f21dad1d4f08fa30d0fecdd3eaad5cd838732
Submitter: Jenkins
Branch: stable/icehouse

commit c12f21dad1d4f08fa30d0fecdd3eaad5cd838732
Author: Joe Gordon <email address hidden>
Date: Thu Apr 30 17:24:02 2015 -0700

    Make test_version_string_with_package_is_good work with pbr 0.11

    nova.version uses the version_string() API not version. Fix the test to
    reflect that and make it work with pbr 0.11

    Closes-Bug: #1450682
    Change-Id: I4887b8000c9943c91f8add56fcc54fa18e78d683

Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-1 → 12.0.0
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.