Skip to content

Instantly share code, notes, and snippets.

@misterdorm
Created January 14, 2016 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misterdorm/115327bf3bd67ddf2d9a to your computer and use it in GitHub Desktop.
Save misterdorm/115327bf3bd67ddf2d9a to your computer and use it in GitHub Desktop.
LMDV-MDORM:provider mdorman$ bundle exec rake spec
(in /Users/mdorman/puppet/puppet-nova)
rm -rf openstack/puppet-openstack-integration
git clone https://git.openstack.org/openstack/puppet-openstack-integration openstack/puppet-openstack-integration
Cloning into 'openstack/puppet-openstack-integration'...
remote: Counting objects: 520, done.
remote: Compressing objects: 100% (353/353), done.
remote: Total 520 (delta 293), reused 338 (delta 143)
Receiving objects: 100% (520/520), 99.96 KiB | 0 bytes/s, done.
Resolving deltas: 100% (293/293), done.
Checking connectivity... done.
env PUPPETFILE_DIR=/Users/mdorman/puppet/puppet-nova/spec/fixtures/modules ZUUL_REF= ZUUL_BRANCH= ZUUL_URL= bash openstack/puppet-openstack-integration/install_modules_unit.sh
+ '[' '!' -z /Users/mdorman/puppet/puppet-nova/vendor ']'
+ GEM_BIN_DIR=/Users/mdorman/puppet/puppet-nova/vendor/bin/
+++ dirname openstack/puppet-openstack-integration/install_modules_unit.sh
++ cd openstack/puppet-openstack-integration
++ pwd -P
+ export SCRIPT_DIR=/Users/mdorman/puppet/puppet-nova/openstack/puppet-openstack-integration
+ SCRIPT_DIR=/Users/mdorman/puppet/puppet-nova/openstack/puppet-openstack-integration
+ export PUPPETFILE_DIR=/Users/mdorman/puppet/puppet-nova/spec/fixtures/modules
+ PUPPETFILE_DIR=/Users/mdorman/puppet/puppet-nova/spec/fixtures/modules
+ source /Users/mdorman/puppet/puppet-nova/openstack/puppet-openstack-integration/functions
+ install_modules
+ '[' -e /usr/zuul-env/bin/zuul-cloner ']'
+ install_all
+ PUPPETFILE=/Users/mdorman/puppet/puppet-nova/openstack/puppet-openstack-integration/Puppetfile
+ /Users/mdorman/puppet/puppet-nova/vendor/bin/r10k puppetfile install -v
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/aodh
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/barbican
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/ceilometer
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/cinder
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/designate
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/glance
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/gnocchi
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/heat
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/horizon
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/ironic
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/keystone
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/manila
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/mistral
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/monasca
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/murano
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/neutron
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/nova
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/openstack_integration
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/openstack_extras
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/openstacklib
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/sahara
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/swift
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/tempest
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/trove
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/tuskar
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/vswitch
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/zaqar
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/apache
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/apt
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/concat
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/corosync
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/dns
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/firewall
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/inifile
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/memcached
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/mongodb
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/mysql
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/postgresql
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/powerdns
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/python
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/qpid
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/rabbitmq
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/rsync
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/staging
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/stdlib
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/sysctl
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/vcsrepo
INFO -> Updating module /Users/mdorman/puppet/puppet-nova/spec/fixtures/modules/xinetd
rm -rf spec/fixtures/modules/nova
ln -s /Users/mdorman/puppet/puppet-nova spec/fixtures/modules/nova
mkdir -p spec/fixtures/manifests
touch spec/fixtures/manifests/site.pp
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -I/Users/mdorman/puppet/puppet-nova/vendor/gems/rspec-core-3.4.1/lib:/Users/mdorman/puppet/puppet-nova/vendor/gems/rspec-support-3.4.1/lib /Users/mdorman/puppet/puppet-nova/vendor/gems/rspec-core-3.4.1/exe/rspec --pattern spec/\{classes,defines,unit,functions,hosts,integration\}/\*\*/\*_spec.rb --color
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F............
Failures:
1) Puppet::Provider::Nova when searching for a host/type combo with cells enabled should find the hostname if there is a match
Failure/Error: expect(res).to eq("node-compute-002")
expected: "node-compute-002"
got: "api!cell@node-compute-002"
(compared using ==)
# ./spec/unit/provider/nova_spec.rb:445:in `block (3 levels) in <top (required)>'
Deprecation Warnings:
Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /Users/mdorman/puppet/puppet-nova/vendor/gems/puppetlabs_spec_helper-0.10.3/lib/puppetlabs_spec_helper/module_spec_helper.rb:11:in `verify_contents'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
1 deprecation warning total
Finished in 2 minutes 44.6 seconds (files took 1.71 seconds to load)
922 examples, 1 failure
Failed examples:
rspec ./spec/unit/provider/nova_spec.rb:433 # Puppet::Provider::Nova when searching for a host/type combo with cells enabled should find the hostname if there is a match
Total resources: 84
Touched resources: 46
Resource coverage: 54.76%
Untouched resources:
Class[Nova::Api]
Class[Nova::Cells]
Class[Nova::Cert]
Class[Nova::Client]
Class[Nova::Compute::Ironic]
Class[Nova::Compute::Libvirt]
Class[Nova::Compute::Neutron]
Class[Nova::Compute::Rbd]
Class[Nova::Compute::Serial]
Class[Nova::Compute::Spice]
Class[Nova::Compute::Vmware]
Class[Nova::Compute::Xenserver]
Class[Nova::Compute]
Class[Nova::Conductor]
Class[Nova::Config]
Class[Nova::Cron::Archive_deleted_rows]
Class[Nova::Db::Mysql]
Class[Nova::Db::Postgresql]
Class[Nova::Db::Sync]
Class[Nova::Db]
Class[Nova::Deps]
Class[Nova::Keystone::Auth]
Class[Nova::Network::Neutron]
Class[Nova::Objectstore]
Class[Nova::Policy]
Class[Nova::Quota]
Class[Nova::Rabbitmq]
Class[Nova::Scheduler::Filter]
Class[Nova::Scheduler]
Class[Nova::Serialproxy]
Class[Nova::Vncproxy::Common]
Class[Nova::Vncproxy]
Class[Nova]
Keystone_endpoint[RegionOne/foo::compute]
Keystone_endpoint[RegionOne/foo_ec2::ec2]
Node[test-001.example.org]
Openstacklib::Service_validation[nova-api]
Package[python-pip]
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -I/Users/mdorman/puppet/puppet-nova/vendor/gems/rspec-core-3.4.1/lib:/Users/mdorman/puppet/puppet-nova/vendor/gems/rspec-support-3.4.1/lib /Users/mdorman/puppet/puppet-nova/vendor/gems/rspec-core-3.4.1/exe/rspec --pattern spec/\{classes,defines,unit,functions,hosts,integration\}/\*\*/\*_spec.rb --color failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment