Source: ruby-rspec-puppet Version: 2.6.1-1 Severity: serious https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-rspec-puppet.html
... Failures: 1) trusted_facts without node set should contain Notify[certname-my_node.my_node] Failure/Error: it { should contain_notify("certname-my_node.my_node") } expected that the catalogue would contain Notify[certname-my_node.my_node] # ./spec/classes/trusted_facts_spec.rb:7:in `block (3 levels) in <top (required)>' 2) trusted_facts without node set should contain Notify[hostname-my_node] Failure/Error: it { should contain_notify("hostname-my_node") } expected that the catalogue would contain Notify[hostname-my_node] # ./spec/classes/trusted_facts_spec.rb:9:in `block (3 levels) in <top (required)>' 3) regsubst Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/example/function_example_group.rb:152:in `build_compiler' # ./lib/rspec-puppet/example/function_example_group.rb:128:in `compiler' # ./lib/rspec-puppet/example/function_example_group.rb:87:in `block in find_function' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/example/function_example_group.rb:83:in `find_function' # ./lib/rspec-puppet/example/function_example_group.rb:79:in `subject' # ./spec/functions/regsubst_spec.rb:6:in `block (2 levels) in <top (required)>' 4) regsubst Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/example/function_example_group.rb:152:in `build_compiler' # ./lib/rspec-puppet/example/function_example_group.rb:128:in `compiler' # ./lib/rspec-puppet/example/function_example_group.rb:87:in `block in find_function' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/example/function_example_group.rb:83:in `find_function' # ./lib/rspec-puppet/example/function_example_group.rb:79:in `subject' # ./spec/functions/regsubst_spec.rb:7:in `block (2 levels) in <top (required)>' 5) regsubst Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/example/function_example_group.rb:152:in `build_compiler' # ./lib/rspec-puppet/example/function_example_group.rb:128:in `compiler' # ./lib/rspec-puppet/example/function_example_group.rb:87:in `block in find_function' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/example/function_example_group.rb:83:in `find_function' # ./lib/rspec-puppet/example/function_example_group.rb:79:in `subject' # ./spec/functions/regsubst_spec.rb:8:in `block (2 levels) in <top (required)>' 6) split Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/example/function_example_group.rb:152:in `build_compiler' # ./lib/rspec-puppet/example/function_example_group.rb:128:in `compiler' # ./lib/rspec-puppet/example/function_example_group.rb:87:in `block in find_function' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/example/function_example_group.rb:83:in `find_function' # ./lib/rspec-puppet/example/function_example_group.rb:79:in `subject' # ./spec/functions/split_spec.rb:4:in `block (2 levels) in <top (required)>' 7) split Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/example/function_example_group.rb:152:in `build_compiler' # ./lib/rspec-puppet/example/function_example_group.rb:128:in `compiler' # ./lib/rspec-puppet/example/function_example_group.rb:87:in `block in find_function' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/example/function_example_group.rb:83:in `find_function' # ./lib/rspec-puppet/example/function_example_group.rb:79:in `subject' # ./spec/functions/split_spec.rb:5:in `block (2 levels) in <top (required)>' 8) split Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/example/function_example_group.rb:152:in `build_compiler' # ./lib/rspec-puppet/example/function_example_group.rb:128:in `compiler' # ./lib/rspec-puppet/example/function_example_group.rb:87:in `block in find_function' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/example/function_example_group.rb:83:in `find_function' # ./lib/rspec-puppet/example/function_example_group.rb:79:in `subject' # ./spec/functions/split_spec.rb:21:in `block (2 levels) in <top (required)>' 9) split Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/example/function_example_group.rb:152:in `build_compiler' # ./lib/rspec-puppet/example/function_example_group.rb:128:in `compiler' # ./lib/rspec-puppet/example/function_example_group.rb:87:in `block in find_function' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/example/function_example_group.rb:83:in `find_function' # ./lib/rspec-puppet/example/function_example_group.rb:79:in `subject' # ./spec/functions/split_spec.rb:23:in `block (2 levels) in <top (required)>' 10) split Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/example/function_example_group.rb:152:in `build_compiler' # ./lib/rspec-puppet/example/function_example_group.rb:128:in `compiler' # ./lib/rspec-puppet/example/function_example_group.rb:87:in `block in find_function' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/example/function_example_group.rb:83:in `find_function' # ./lib/rspec-puppet/example/function_example_group.rb:79:in `subject' # ./spec/functions/split_spec.rb:25:in `block (2 levels) in <top (required)>' ... 77) RSpec::Puppet::ManifestMatchers::Compile a manifest with a real failure when matching the failure matches Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/support.rb:337:in `build_catalog_without_cache' # ./lib/rspec-puppet/support.rb:368:in `block in build_catalog' # ./lib/rspec-puppet/cache.rb:17:in `get' # ./lib/rspec-puppet/support.rb:367:in `build_catalog' # ./lib/rspec-puppet/support.rb:87:in `block in load_catalogue' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/support.rb:81:in `load_catalogue' # ./spec/unit/matchers/compile_spec.rb:11:in `block (3 levels) in <top (required)>' # ./lib/rspec-puppet/matchers/compile.rb:23:in `matches?' # ./spec/unit/matchers/compile_spec.rb:169:in `block (4 levels) in <top (required)>' 78) RSpec::Puppet::ManifestMatchers::Compile a manifest with a real failure when matching the failure after matching Failure/Error: facts.each { |k, v| Facter.add(k) { setcode { v } } } RuntimeError: fact "clientversion" already has the maximum number of resolutions allowed (100). # ./lib/rspec-puppet/support.rb:363:in `add' # ./lib/rspec-puppet/support.rb:363:in `block in stub_facts!' # ./lib/rspec-puppet/support.rb:363:in `each' # ./lib/rspec-puppet/support.rb:363:in `stub_facts!' # ./lib/rspec-puppet/support.rb:337:in `build_catalog_without_cache' # ./lib/rspec-puppet/support.rb:368:in `block in build_catalog' # ./lib/rspec-puppet/cache.rb:17:in `get' # ./lib/rspec-puppet/support.rb:367:in `build_catalog' # ./lib/rspec-puppet/support.rb:87:in `block in load_catalogue' # ./lib/rspec-puppet/support.rb:318:in `with_vardir' # ./lib/rspec-puppet/support.rb:81:in `load_catalogue' # ./spec/unit/matchers/compile_spec.rb:11:in `block (3 levels) in <top (required)>' # ./lib/rspec-puppet/matchers/compile.rb:23:in `matches?' # ./spec/unit/matchers/compile_spec.rb:176:in `block (5 levels) in <top (required)>' Deprecation Warnings: subject.call is deprecated. Use is_expected.to run.with().and_raise_error(), or execute() instead. Called from /build/1st/ruby-rspec-puppet-2.6.1/lib/rspec-puppet/example/function_example_group.rb:67:in `call'. subject.call is deprecated. Use is_expected.to run.with().and_raise_error(), or execute() instead. Called from /build/1st/ruby-rspec-puppet-2.6.1/lib/rspec-puppet/example/function_example_group.rb:25:in `call'. 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. 2 deprecation warnings total Finished in 63 minutes 47 seconds (files took 42.61 seconds to load) 3769 examples, 78 failures Failed examples: rspec ./spec/classes/trusted_facts_spec.rb:7 # trusted_facts without node set should contain Notify[certname-my_node.my_node] rspec ./spec/classes/trusted_facts_spec.rb:9 # trusted_facts without node set should contain Notify[hostname-my_node] rspec ./spec/functions/regsubst_spec.rb:6 # regsubst rspec ./spec/functions/regsubst_spec.rb:7 # regsubst rspec ./spec/functions/regsubst_spec.rb:8 # regsubst rspec ./spec/functions/split_spec.rb:4 # split rspec ./spec/functions/split_spec.rb:5 # split rspec ./spec/functions/split_spec.rb:21 # split rspec ./spec/functions/split_spec.rb:23 # split rspec ./spec/functions/split_spec.rb:25 # split rspec ./spec/functions/split_spec.rb:27 # split should raise RSpec::Expectations::ExpectationNotMetError rspec ./spec/functions/split_spec.rb:31 # split after including a class rspec ./spec/functions/test_function_spec.rb:5 # test_function rspec ./spec/functions/test_function_spec.rb:9 # frozen_function rspec ./spec/functions/test_function_spec.rb:10 # frozen_function rspec ./spec/functions/test_function_spec.rb:11 # frozen_function rspec ./spec/functions/test_function_spec.rb:12 # frozen_function rspec ./spec/functions/test_function_spec.rb:13 # frozen_function rspec ./spec/functions/test_hiera_function_spec.rb:6 # test::hiera_function with :hiera_config set rspec ./spec/functions/test_hiera_function_spec.rb:10 # test::hiera_function without :hiera_config set rspec ./spec/functions/test_type_override_spec.rb:5 # test::bare_class should compile into a catalogue without dependency cycles rspec ./spec/functions/trusted_facts_lookup_spec.rb:7 # trusted_facts::lookup without trusted fact extensions rspec ./spec/functions/trusted_facts_lookup_spec.rb:8 # trusted_facts::lookup without trusted fact extensions rspec ./spec/functions/trusted_facts_lookup_spec.rb:9 # trusted_facts::lookup without trusted fact extensions rspec ./spec/functions/trusted_facts_lookup_spec.rb:10 # trusted_facts::lookup without trusted fact extensions rspec ./spec/functions/trusted_facts_lookup_spec.rb:11 # trusted_facts::lookup without trusted fact extensions rspec ./spec/functions/trusted_facts_lookup_spec.rb:20 # trusted_facts::lookup with trusted fact extensions rspec ./spec/hosts/array_spec.rb:14 # someotherhost should contain Foo[bar] with param => ["baz"] rspec ./spec/hosts/environment_spec.rb:5 # facts.acme.com without an explicit environment setting should contain File[environment] with path => "rp_env" rspec ./spec/hosts/environment_spec.rb:10 # facts.acme.com when specifying an explicit environment should contain File[environment] with path => "test_env" rspec ./spec/hosts/environment_spec.rb:11 # facts.acme.com when specifying an explicit environment should contain File[conditional_file] rspec ./spec/hosts/facts_spec.rb:4 # facts.acme.com should contain File[environment] with path => "rp_env" rspec ./spec/hosts/facts_spec.rb:5 # facts.acme.com should contain File[clientversion] with path => "5.4.0" rspec ./spec/hosts/facts_spec.rb:6 # facts.acme.com should contain File[fqdn] with path => "facts.acme.com" rspec ./spec/hosts/facts_spec.rb:7 # facts.acme.com should contain File[hostname] with path => "facts" rspec ./spec/hosts/facts_spec.rb:8 # facts.acme.com should contain File[domain] with path => "acme.com" rspec ./spec/hosts/facts_spec.rb:9 # facts.acme.com should contain File[clientcert] with path => "cert facts.acme.com" rspec ./spec/hosts/foo_spec.rb:4 # foo.example.com should not contain Class[sysctl::common] rspec ./spec/hosts/foo_spec.rb:5 # foo.example.com should contain Notify[test] rspec ./spec/hosts/good_dep_host_spec.rb:4 # good_dep_host should compile into a catalogue without dependency cycles rspec ./spec/hosts/test_api_spec.rb:5 # foo.example.com rspec group should have a catalogue method rspec ./spec/hosts/test_api_spec.rb:9 # foo.example.com rspec group subject should return a catalogue rspec ./spec/hosts/test_api_spec.rb:13 # foo.example.com rspec group should have resources in its coverage report rspec ./spec/hosts/testhost_spec.rb:4 # testhost should contain Class[sysctl::common] rspec ./spec/hosts/testhost_spec.rb:8 # testhost testhost_a should not contain Class[sysctl::common] rspec ./spec/hosts/testhost_spec.rb:9 # testhost testhost_a should contain File[/tmp/a] rspec ./spec/type_aliases/onlyarray_spec.rb:4 # Aliases::OnlyArray should not match values nil, "string" rspec ./spec/type_aliases/onlyarray_spec.rb:5 # Aliases::OnlyArray should match value ["a", "b"] rspec ./spec/type_aliases/onlyhash_spec.rb:4 # Aliases::OnlyHash should not match values nil, "string" rspec ./spec/type_aliases/onlyhash_spec.rb:5 # Aliases::OnlyHash should match value {"a"=>"b"} rspec ./spec/type_aliases/onlyhash_spec.rb:6 # Aliases::OnlyHash should match value {"a"=>{"b"=>"c"}} rspec ./spec/type_aliases/shape_spec.rb:4 # Aliases::Shape should match value "square" rspec ./spec/type_aliases/shape_spec.rb:5 # Aliases::Shape should match value "circle" rspec ./spec/type_aliases/shape_spec.rb:6 # Aliases::Shape should not match value "triangle" rspec ./spec/type_aliases/shape_spec.rb:7 # Aliases::Shape should not match value nil rspec ./spec/type_aliases/shape_spec.rb:9 # Aliases::Shape should match values "square", "circle" rspec ./spec/type_aliases/shape_spec.rb:10 # Aliases::Shape should not match values "triangle", nil rspec ./spec/unit/matchers/compile_spec.rb:16 # RSpec::Puppet::ManifestMatchers::Compile a valid manifest matches rspec ./spec/unit/matchers/compile_spec.rb:24 # RSpec::Puppet::ManifestMatchers::Compile a valid manifest when expecting an "example" error doesn't match rspec ./spec/unit/matchers/compile_spec.rb:32 # RSpec::Puppet::ManifestMatchers::Compile a valid manifest when expecting an "example" error after matching rspec ./spec/unit/matchers/compile_spec.rb:41 # RSpec::Puppet::ManifestMatchers::Compile a valid manifest when matching an "example" error doesn't match rspec ./spec/unit/matchers/compile_spec.rb:49 # RSpec::Puppet::ManifestMatchers::Compile a valid manifest when matching an "example" error after matching rspec ./spec/unit/matchers/compile_spec.rb:59 # RSpec::Puppet::ManifestMatchers::Compile a manifest with missing dependencies doesn't match rspec ./spec/unit/matchers/compile_spec.rb:64 # RSpec::Puppet::ManifestMatchers::Compile a manifest with missing dependencies after matching rspec ./spec/unit/matchers/compile_spec.rb:73 # RSpec::Puppet::ManifestMatchers::Compile a manifest with syntax error doesn't match rspec ./spec/unit/matchers/compile_spec.rb:78 # RSpec::Puppet::ManifestMatchers::Compile a manifest with syntax error after matching rspec ./spec/unit/matchers/compile_spec.rb:91 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a dependency cycle doesn't match rspec ./spec/unit/matchers/compile_spec.rb:96 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a dependency cycle after matching rspec ./spec/unit/matchers/compile_spec.rb:104 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a dependency cycle when expecting an "example" error doesn't match rspec ./spec/unit/matchers/compile_spec.rb:109 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a dependency cycle when expecting an "example" error after matching rspec ./spec/unit/matchers/compile_spec.rb:119 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a dependency cycle when matching an "example" error doesn't match rspec ./spec/unit/matchers/compile_spec.rb:124 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a dependency cycle when matching an "example" error after matching rspec ./spec/unit/matchers/compile_spec.rb:135 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a real failure doesn't match rspec ./spec/unit/matchers/compile_spec.rb:140 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a real failure after matching rspec ./spec/unit/matchers/compile_spec.rb:151 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a real failure when expecting the failure matches rspec ./spec/unit/matchers/compile_spec.rb:160 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a real failure when expecting the failure after matching rspec ./spec/unit/matchers/compile_spec.rb:169 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a real failure when matching the failure matches rspec ./spec/unit/matchers/compile_spec.rb:178 # RSpec::Puppet::ManifestMatchers::Compile a manifest with a real failure when matching the failure after matching /usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed ERROR: Test "ruby2.5" failed. Exiting. dh_auto_install: dh_ruby --install /build/1st/ruby-rspec-puppet-2.6.1/debian/ruby-rspec-puppet returned exit code 1 make: *** [debian/rules:5: binary] Error 1