Unit-tests broken due to an update of rspec-puppet (2.0.0)

Bug #1417604 reported by Sebastien Badia on 2015-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-nova
Critical
Sebastien Badia
Juno
Undecided
Unassigned

Bug Description

rspec-puppet (2.0.0) was released yesterday (https://github.com/rodjek/rspec-puppet/commit/8459e14807977244c00bdbcf190062c529b63474) this new version broke puppet-openstack unit tests (undefined method `resource') http://logs.openstack.org/45/105245/6/check/gate-puppet-nova-puppet-unit-3.3/3682541/console.html

as talked on #puppet-openstack and #openstack-infra, we decided to pin rspec-puppet to 1.0.1 and in a second time to update your specs to 2.0.0 and rspec 3.x

Reviewed: https://review.openstack.org/152542
Committed: https://git.openstack.org/cgit/stackforge/puppet-nova/commit/?id=ad97aa23723ad93886da085e26a712024be79823
Submitter: Jenkins
Branch: master

commit ad97aa23723ad93886da085e26a712024be79823
Author: Sebastien Badia <email address hidden>
Date: Tue Feb 3 15:32:20 2015 +0100

    spec: pin rspec-puppet to 1.0.1

    rspec-puppet (2.0.0) was released yesterday[1], this new version broke
    puppet-openstack unit tests (undefined method `resource')[2] as talked on
    and in a second time to update your specs to 2.0.0 and rspec 3.x`)

    [1] https://github.com/rodjek/rspec-puppet/commit/8459e14807977244c00bdbcf190062c529b63474
    [2] http://logs.openstack.org/45/105245/6/check/gate-puppet-nova-puppet-unit-3.3/3682541/console.html

    Change-Id: I6b5ef612b0a0911bb52622c65560afec713d45c0
    Partial-bug: #1417604

Sebastien Badia (sbadia) on 2015-02-09
Changed in puppet-nova:
status: In Progress → Fix Committed

Reviewed: https://review.openstack.org/155321
Committed: https://git.openstack.org/cgit/stackforge/puppet-nova/commit/?id=9a0a5294fc9d54634a6d90da157492d0943ae3c1
Submitter: Jenkins
Branch: stable/juno

commit 9a0a5294fc9d54634a6d90da157492d0943ae3c1
Author: Sebastien Badia <email address hidden>
Date: Tue Feb 3 15:32:20 2015 +0100

    spec: pin rspec-puppet to 1.0.1

    rspec-puppet (2.0.0) was released yesterday[1], this new version broke
    puppet-openstack unit tests (undefined method `resource')[2] as talked on
    and in a second time to update your specs to 2.0.0 and rspec 3.x`)

    [1] https://github.com/rodjek/rspec-puppet/commit/8459e14807977244c00bdbcf190062c529b63474
    [2] http://logs.openstack.org/45/105245/6/check/gate-puppet-nova-puppet-unit-3.3/3682541/console.html

    Change-Id: I6b5ef612b0a0911bb52622c65560afec713d45c0
    Partial-bug: #1417604
    (cherry picked from commit ad97aa23723ad93886da085e26a712024be79823)

tags: added: in-stable-juno
Mathieu Gagné (mgagne) on 2015-03-26
Changed in puppet-nova:
milestone: none → 6.0.0
Mathieu Gagné (mgagne) on 2015-07-10
Changed in puppet-nova:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers