Skip to content

Add new ini_section type #63

Add new ini_section type

Add new ini_section type #63

Triggered via pull request April 1, 2024 19:56
Status Failure
Total duration 1m 17s
Artifacts

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
24s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet/provider/ini_section/ruby_spec.rb#L34
Puppet::Type::Ini_section::ProviderRuby when calling instances fails when file path is not set Failure/Error: expect { provider_class.instances }.to raise_error(Puppet::Error, 'Ini_settings only support collecting instances when a file path is hard coded') expected Puppet::Error with "Ini_settings only support collecting instances when a file path is hard coded", got #<Puppet::Error: Ini_section only support collecting instances when a file path is hard coded> with backtrace: # ./lib/puppet/provider/ini_section/ruby.rb:12:in `instances' # ./spec/unit/puppet/provider/ini_section/ruby_spec.rb:36:in `block (4 levels) in <top (required)>' # ./spec/unit/puppet/provider/ini_section/ruby_spec.rb:35:in `block (3 levels) in <top (required)>' # ./vendor/bundle/ruby/3.2.0/bin/rspec:25:in `load' # ./vendor/bundle/ruby/3.2.0/bin/rspec:25:in `<top (required)>' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/cli/exec.rb:58:in `load' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/cli/exec.rb:58:in `kernel_load' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/cli/exec.rb:23:in `run' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/cli.rb:492:in `exec' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/cli.rb:34:in `dispatch' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/cli.rb:28:in `start' # /opt/hostedtoolcache/Ruby/3.2.3/x64/lib/ruby/3.2.0/bundler/friendly_errors.rb:117:in `with_friendly_errors' # /opt/hostedtoolcache/Ruby/3.2.3/x64/bin/bundle:25:in `load' # /opt/hostedtoolcache/Ruby/3.2.3/x64/bin/bundle:25:in `<main>'
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet/provider/ini_section/ruby_spec.rb#L34
Puppet::Type::Ini_section::ProviderRuby when calling instances fails when file path is not set Failure/Error: expect { provider_class.instances }.to raise_error(Puppet::Error, 'Ini_settings only support collecting instances when a file path is hard coded') expected Puppet::Error with "Ini_settings only support collecting instances when a file path is hard coded", got #<Puppet::Error: Ini_section only support collecting instances when a file path is hard coded> with backtrace: # ./lib/puppet/provider/ini_section/ruby.rb:12:in `instances' # ./spec/unit/puppet/provider/ini_section/ruby_spec.rb:36:in `block (4 levels) in <top (required)>' # ./spec/unit/puppet/provider/ini_section/ruby_spec.rb:35:in `block (3 levels) in <top (required)>' # ./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load' # ./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>' # /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `load' # /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `<main>'
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
Spec / Setup Test Matrix
Cannot find image for AIX-7.1
Spec / Setup Test Matrix
Cannot find image for Solaris-11
Spec / Setup Test Matrix
Cannot find image for Windows-10
Spec / Setup Test Matrix
Cannot find image for Windows-2012 R2