Bug #3125

Dpkg tests failing

Added by James Turnbull over 2 years ago. Updated over 2 years ago.

Status:Rejected Start date:01/29/2010
Priority:Normal Due date:
Assignee:Markus Roberts % Done:

0%

Category:testing
Target version:0.25.4
Affected Puppet version:0.25.4rc3 Branch:
Keywords:
Votes: 0

Description

4)
Mocha::ExpectationError in 'Puppet::Type::Package::ProviderDpkg when listing all instances should create and return an instance with each parsed line from dpkg-query'
unexpected invocation: Puppet::Type::Package::ProviderDpkg.new(:version => 'ok', :status => 'installed', :name => 'install', :provider => :dpkg)
unsatisfied expectations:
- expected exactly once, not yet invoked: Puppet::Type::Package::ProviderDpkg.new(:desired => 'install', :status => 'installed', :name => 'asdf', :error => 'ok', :ensure => '1.0', :provider => :dpkg)
satisfied expectations:
- allowed any number of times, not yet invoked: #.[](any_parameters)
- expected exactly once, already invoked once: Puppet::Type::Package::ProviderDpkg.execpipe(any_parameters)
- allowed any number of times, already invoked once: Puppet::Type::Package::ProviderDpkg.command(:dpkgquery)
- expected exactly once, already invoked once: #.each(any_parameters)
./spec/unit/provider/package/dpkg.rb:39:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'

5)
Puppet::Error in 'Puppet::Type::Package::ProviderDpkg when querying the current state should use dpkg-query'
Package install, version  is in error state:
./spec/unit/provider/package/dpkg.rb:58:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'

6)
Puppet::Error in 'Puppet::Type::Package::ProviderDpkg when querying the current state should return a hash of the found status with the desired state, error state, status, name, and 'ensure''
Package install, version  is in error state:
./spec/unit/provider/package/dpkg.rb:70:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'

7)
Puppet::Error in 'Puppet::Type::Package::ProviderDpkg when querying the current state should consider the package purged if it is marked 'not-installed''
Package install, version purged is in error state:
./spec/unit/provider/package/dpkg.rb:88:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'

8)
Puppet::Error in 'Puppet::Type::Package::ProviderDpkg when querying the current state should consider the package absent if its status is neither 'installed' nor 'not-installed''
Package install, version absent is in error state:
./spec/unit/provider/package/dpkg.rb:94:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'

History

Updated by James Turnbull over 2 years ago

I just noticed this – wasn’t happening in rc2 as far as I can see and I am bewildered as to what’s changed to cause this. Am doing a git bisect now.

Updated by James Turnbull over 2 years ago

  • Status changed from Investigating to Rejected

PEBCAK – tests running on system with mixed versions.

Also available in: Atom PDF