Skip to content

stdlib v9 support, use namespaced stdlib functions #261

stdlib v9 support, use namespaced stdlib functions

stdlib v9 support, use namespaced stdlib functions #261

Triggered via pull request December 4, 2023 09:15
Status Failure
Total duration 48m 27s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
35s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

70 errors
Puppet / 8 (Ruby 3.2): spec/defines/004_elasticsearch_plugin_spec.rb#L43
elasticsearch::plugin default values present is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a '=>' expression, Could not autoload puppet/type/service: Could not autoload puppet/provider/service/bsd: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass (file: /home/runner/work/puppet-elasticsearch/puppet-elasticsearch/spec/fixtures/modules/elasticsearch/manifests/config.pp, line: 82, column: 9) on node fv-az1251-432.04bx5wyvw5tenjekzxp54pa3vd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/003_elasticsearch_template_spec.rb#L38
elasticsearch::template on centos-6-x86_64 parameter validation validates cert paths Failure/Error: expect(subject).to compile.and_raise_error(%r{expects a}) error during compilation: Evaluation Error: Error while evaluating a '=>' expression, Could not autoload puppet/type/service: Could not autoload puppet/provider/service/bsd: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass (file: /home/runner/work/puppet-elasticsearch/puppet-elasticsearch/spec/fixtures/modules/elasticsearch/manifests/config.pp, line: 82, column: 9) on node fv-az1251-432.04bx5wyvw5tenjekzxp54pa3vd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/001_hiera_spec.rb#L29
elasticsearch on centos-7-x86_64 hiera indices single indices is expected to contain Elasticsearch::Index[baz] with ensure => "present" and settings => {"index"=>{"number_of_shards"=>1}} Failure/Error: expect(subject).to contain_elasticsearch__index('baz'). with( ensure: 'present', settings: { 'index' => { 'number_of_shards' => 1 } } ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a '=>' expression, Could not autoload puppet/type/service: Could not autoload puppet/provider/service/bsd: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass (file: /home/runner/work/puppet-elasticsearch/puppet-elasticsearch/spec/fixtures/modules/elasticsearch/manifests/config.pp, line: 82, column: 9) on node fv-az1251-432.04bx5wyvw5tenjekzxp54pa3vd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L97
Puppet::Type::Elasticsearch_index_template::ProviderRuby flush creates index_templates Failure/Error: JSON.dump( 'composed_of' => [], 'index_patterns' => ['fooindex-*'] ) ArgumentError: wrong number of arguments (given 0, expected 1..3) Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_index_template/ruby_spec.rb:86
Puppet / 8 (Ruby 3.2): spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L86
Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore instances with one instance Failure/Error: stdout = execute([command(:keystore)] + args, options) #<Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore (class)> received :execute with unexpected arguments expected: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (keyword arguments) got: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (options hash) Please stub a default value first if message might be received with other args as well.
Puppet / 8 (Ruby 3.2): spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L9
Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore instances with one instance instance es-01 Failure/Error: stdout = execute([command(:keystore)] + args, options) #<Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore (class)> received :execute with unexpected arguments expected: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (keyword arguments) got: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (options hash) Please stub a default value first if message might be received with other args as well. Shared Example Group: "keystore instance" called from ./spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb:88
Puppet / 8 (Ruby 3.2): spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L10
Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore instances with one instance instance es-01 Failure/Error: stdout = execute([command(:keystore)] + args, options) #<Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore (class)> received :execute with unexpected arguments expected: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (keyword arguments) got: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (options hash) Please stub a default value first if message might be received with other args as well. Shared Example Group: "keystore instance" called from ./spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb:88
Puppet / 8 (Ruby 3.2): spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L12
Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore instances with one instance instance es-01 Failure/Error: stdout = execute([command(:keystore)] + args, options) #<Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore (class)> received :execute with unexpected arguments expected: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (keyword arguments) got: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (options hash) Please stub a default value first if message might be received with other args as well. Shared Example Group: "keystore instance" called from ./spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb:88
Puppet / 8 (Ruby 3.2): spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L94
Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore instances with multiple instances Failure/Error: stdout = execute([command(:keystore)] + args, options) #<Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore (class)> received :execute with unexpected arguments expected: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-02", "ES_PATH_CONF"=>"/etc/elasticsearch/es-02"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (keyword arguments) got: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (options hash) Diff: @@ -1,7 +1,7 @@ [["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=> - {"ES_INCLUDE"=>"/etc/default/elasticsearch-es-02", - "ES_PATH_CONF"=>"/etc/elasticsearch/es-02"}, + {"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", + "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}] Please stub a default value first if message might be received with other args as well.
Puppet / 8 (Ruby 3.2): spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L9
Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore instances with multiple instances instance es-01 Failure/Error: stdout = execute([command(:keystore)] + args, options) #<Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore (class)> received :execute with unexpected arguments expected: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-02", "ES_PATH_CONF"=>"/etc/elasticsearch/es-02"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (keyword arguments) got: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}) (options hash) Diff: @@ -1,7 +1,7 @@ [["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=> - {"ES_INCLUDE"=>"/etc/default/elasticsearch-es-02", - "ES_PATH_CONF"=>"/etc/elasticsearch/es-02"}, + {"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", + "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"}] Please stub a default value first if message might be received with other args as well. Shared Example Group: "keystore instance" called from ./spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb:96
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091945049.pp.5hIVcR Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.59 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091949159.pp.S1tnOt Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.58 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/template_shared_examples.rb#L41
elasticsearch v7.10.1 class template resources configured through `source` present Port "9200" open Failure/Error: expect(subject).to be_listening expected Port "9200" to be listening Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `source` present http://localhost:9200/_template returns the installed template Failure/Error: subject { shell("curl http://localhost:#{elasticsearch_port}/_template") } Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 7 running: curl http://localhost:9200/_template Last 10 lines of output were: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to localhost port 9200 after 0 ms: Couldn't connect to server Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092253725.pp.AwpHnT Last 10 lines of output were: �[mNotice: /Stage[main]/Elasticsearch::Config/Augeas[/etc/sysconfig/elasticsearch]/returns: executed successfully �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}ff3b73e2d689ef5ef5439634895dc8a661deeeaf7e36d44e6c939d25a6d7b1f7' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/owner: owner changed 'root' to 'elasticsearch' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/mode: mode changed '0660' to '0440' �[mNotice: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]: Unscheduling refresh on Service[elasticsearch] Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Info: Stage[main]: Unscheduling all events on Stage[main] Warning: /Stage[main]/Main/Elasticsearch::Template[6fda64571f8db54f]/Elasticsearch_template[6fda64571f8db54f]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 19.75 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` absent manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092317583.pp.rtPdmh Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.58 seconds Info: Using environment 'production' Info: Applying configuration version '1701681801' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[6fda64571f8db54f]/Elasticsearch_template[6fda64571f8db54f]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 0.23 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092322163.pp.vyDz2W Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.59 seconds Info: Using environment 'production' Info: Applying configuration version '1701681805' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[4281c5fe4bcade1d]/Elasticsearch_template[4281c5fe4bcade1d]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 0.23 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092326473.pp.IfJd5Y Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.57 seconds Info: Using environment 'production' Info: Applying configuration version '1701681809' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[4281c5fe4bcade1d]/Elasticsearch_template[4281c5fe4bcade1d]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 0.23 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `content` present http://localhost:9200/_template returns the installed template Failure/Error: expect(JSON.parse(subject.stdout).values). to include(include(template)) expected [{"aliases" => {}, "index_patterns" => [".ml-notifications-000001"], "mappings" => {"_meta" => {"version" => "7... => {"default_field" => "all_field_values"}, "translog" => {"durability" => "async"}}}, "version" => 7100199}] to include (include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_i...ms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}}) Diff: @@ -1,1595 +1,3189 @@ -[(include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_interval" => "5s", "analysis" => {"analyzer" => {"default" => {"type" => "standard", "stopwords" => "_none_"}}}}}, "mappings" => {"dynamic_templates" => [{"string_fields" => {"match" => "*", "match_mapping_type" => "string", "mapping" => {"type" => "multi_field", "fields" => {"{name}" => {"type" => "text", "index" => "analyzed", "omit_norms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}})] +[{"aliases"=>{}, + "index_patterns"=>[".ml-notifications-000001"], + "mappings"=> + {"_meta"=>{"version"=>"7100199"}, + "dynamic"=>"false", + "properties"=> + {"job_id"=>{"type"=>"keyword"}, + "job_type"=>{"type"=>"keyword"}, + "level"=>{"type"=>"keyword"}, + "message"=>{"fields"=>{"raw"=>{"type"=>"keyword"}}, "type"=>"text"}, + "node_name"=>{"type"=>"keyword"}, + "timestamp"=>{"type"=>"date"}}}, + "order"=>0, + "settings"=> + {"index"=> + {"auto_expand_replicas"=>"0-1", + "hidden"=>"true", + "number_of_shards"=>"1"}}, + "version"=>7100199}, + {"aliases"=>{}, + "index_patterns"=>[".ml-stats-*"], + "mappings"=> + {"_meta"=>{"version"=>"7.10.1"}, + "dynamic"=>false, + "properties"=> + {"cache_miss_count"=>{"type"=>"long"}, + "failure_count"=>{"type"=>"long"}, + "hyperparameters"=> + {"properties"=> + {"alpha"=>{"type"=>"double"}, + "class_assignment_objective"=>{"type"=>"keyword"}, + "downsample_factor"=>{"type"=>"double"}, + "eta"=>{"type"=>"double"}, + "eta_growth_rate_per_tree"=>{"type"=>"double"}, + "feature_bag_fraction"=>{"type"=>"double"}, + "gamma"=>{"type"=>"double"}, + "lambda"=>{"type"=>"double"}, + "max_attempts_to_add_tree"=>{"type"=>"integer"}, + "max_optimization_rounds_per_hyperparameter"=>{"type"=>"integer"}, + "max_trees"=>{"type"=>"integer"}, + "num_folds"=>{"type"=>"integer"}, + "num_splits_per_feature"=>{"type"=>"integer"}, + "soft_tree_depth_limit"=>{"type"=>"double"}, + "soft_tree_depth_tolerance"=>{"type"=>"double"}}}, + "inference_count"=>{"type"=>"long"}, + "iteration"=>{"type"=>"integer"}, + "job_id"=>{"type"=>"keyword"}, + "missing_all_fields_count"=>{"type"=>"long"}, + "model_id"=>{"type"=>"keyword"}, + "node_id"=>{"type"=>"keyword"}, + "parameters"=> + {"properties"=> + {"compute_feature_influence"=>{"type"=>"boolean"}, + "feature_influence_threshold"=>{"type"=>"double"}, + "method"=>{"type"=>"keyword"}, + "n_neighbors"=>{"type
Puppet / 8 - CentOS 7: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092503077.pp.4Ld5cS Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.59 seconds Info: Using environment 'production' Info: Applying configuration version '1701681906' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[4281c5fe4bcade1d]/Elasticsearch_template[4281c5fe4bcade1d]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 0.23 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091955552.pp.TEKKDj Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.60 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092000369.pp.9cfnMI Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.59 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/template_shared_examples.rb#L41
elasticsearch v7.10.1 class template resources configured through `source` present Port "9200" open Failure/Error: expect(subject).to be_listening expected Port "9200" to be listening Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `source` present http://localhost:9200/_template returns the installed template Failure/Error: subject { shell("curl http://localhost:#{elasticsearch_port}/_template") } Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 7 running: curl http://localhost:9200/_template Last 10 lines of output were: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to localhost port 9200 after 0 ms: Couldn't connect to server Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092305655.pp.FX8Fnz Last 10 lines of output were: �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}bfa749ecd616cd87a2c61232885ae9bf2f888f61eeea552ec7e04d1899269b2d' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/owner: owner changed 'root' to 'elasticsearch' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/mode: mode changed '0660' to '0440' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/jvm.options.d/jvm.options]/ensure: defined content as '{sha256}1d1ab52a24ad649e3055c2e65797e6f3057dd23f42e2bbbe0c23f3fff10e08e4' �[mNotice: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]: Unscheduling refresh on Service[elasticsearch] Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[7bdd27e4f5ffd691]/Elasticsearch_template[7bdd27e4f5ffd691]: Skipping because provider prefetch failed Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 22.37 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` absent manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092332873.pp.qNMB6m Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.62 seconds Info: Using environment 'production' Info: Applying configuration version '1701681816' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[7bdd27e4f5ffd691]/Elasticsearch_template[7bdd27e4f5ffd691]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.27 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092339207.pp.tXeeR1 Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.62 seconds Info: Using environment 'production' Info: Applying configuration version '1701681823' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[038b4760eaf30d6b]/Elasticsearch_template[038b4760eaf30d6b]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.26 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092345270.pp.fokOCA Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.62 seconds Info: Using environment 'production' Info: Applying configuration version '1701681829' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[038b4760eaf30d6b]/Elasticsearch_template[038b4760eaf30d6b]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.31 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `content` present http://localhost:9200/_template returns the installed template Failure/Error: expect(JSON.parse(subject.stdout).values). to include(include(template)) expected [{"aliases" => {}, "index_patterns" => [".monitoring-alerts-7"], "mappings" => {"dynamic" => false, "properti..." => {"name" => "ml-size-based-ilm-policy", "rollover_alias" => ".ml-state-write"}}}, "version" => 7100199}] to include (include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_i...ms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}}) Diff: @@ -1,1595 +1,3189 @@ -[(include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_interval" => "5s", "analysis" => {"analyzer" => {"default" => {"type" => "standard", "stopwords" => "_none_"}}}}}, "mappings" => {"dynamic_templates" => [{"string_fields" => {"match" => "*", "match_mapping_type" => "string", "mapping" => {"type" => "multi_field", "fields" => {"{name}" => {"type" => "text", "index" => "analyzed", "omit_norms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}})] +[{"aliases"=>{}, + "index_patterns"=>[".monitoring-alerts-7"], + "mappings"=> + {"dynamic"=>false, + "properties"=> + {"message"=>{"type"=>"text"}, + "metadata"=> + {"properties"=> + {"cluster_uuid"=>{"type"=>"keyword"}, + "link"=>{"type"=>"keyword"}, + "severity"=>{"type"=>"short"}, + "type"=>{"type"=>"keyword"}, + "version"=>{"type"=>"keyword"}, + "watch"=>{"type"=>"keyword"}}}, + "prefix"=>{"type"=>"text"}, + "resolved_timestamp"=>{"type"=>"date"}, + "suffix"=>{"type"=>"text"}, + "timestamp"=>{"type"=>"date"}, + "update_timestamp"=>{"type"=>"date"}}}, + "order"=>0, + "settings"=> + {"index"=> + {"auto_expand_replicas"=>"0-1", + "codec"=>"best_compression", + "format"=>"7", + "number_of_replicas"=>"0", + "number_of_shards"=>"1"}}, + "version"=>7000199}, + {"aliases"=>{}, + "index_patterns"=>[".monitoring-kibana-7-*"], + "mappings"=> + {"dynamic"=>false, + "properties"=> + {"cluster_uuid"=>{"type"=>"keyword"}, + "interval_ms"=>{"type"=>"long"}, + "kibana_stats"=> + {"properties"=> + {"cloud"=> + {"properties"=> + {"id"=>{"type"=>"keyword"}, + "metadata"=>{"type"=>"object"}, + "name"=>{"type"=>"keyword"}, + "region"=>{"type"=>"keyword"}, + "vm_type"=>{"type"=>"keyword"}, + "zone"=>{"type"=>"keyword"}}}, + "concurrent_connections"=>{"type"=>"long"}, + "kibana"=> + {"properties"=> + {"host"=>{"type"=>"keyword"}, + "name"=>{"type"=>"keyword"}, + "snapshot"=>{"type"=>"boolean"}, + "status"=>{"type"=>"keyword"}, + "statuses"=> + {"properties"=> + {"name"=>{"type"=>"keyword"}, "state"=>{"type"=>"keyword"}}}, + "transport_address"=>{"type"=>"keyword"}, + "uuid"=>{"type"=>"keyword"}, + "version"=>{"type"=>"keyword"}}}, + "os"=> + {"properties"=> + {"load"=> +
Puppet / 8 - Debian 10: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092523795.pp.l1OBwI Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian10-64-puppet8.example.com in environment production in 0.62 seconds Info: Using environment 'production' Info: Applying configuration version '1701681927' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[038b4760eaf30d6b]/Elasticsearch_template[038b4760eaf30d6b]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.26 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091953628.pp.8JkN1i Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.66 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091958246.pp.nAOGwk Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.68 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/template_shared_examples.rb#L41
elasticsearch v7.10.1 class template resources configured through `source` present Port "9200" open Failure/Error: expect(subject).to be_listening expected Port "9200" to be listening Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `source` present http://localhost:9200/_template returns the installed template Failure/Error: subject { shell("curl http://localhost:#{elasticsearch_port}/_template") } Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 7 running: curl http://localhost:9200/_template Last 10 lines of output were: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to localhost port 9200 after 0 ms: Couldn't connect to server Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092303449.pp.cRQ8rJ Last 10 lines of output were: �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}abd5641abc7b175c871114fa61c49d879c6c2e106b6f309b24c51a886fa4d08a' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/owner: owner changed 'root' to 'elasticsearch' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/mode: mode changed '0660' to '0440' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/jvm.options.d/jvm.options]/ensure: defined content as '{sha256}1d1ab52a24ad649e3055c2e65797e6f3057dd23f42e2bbbe0c23f3fff10e08e4' �[mNotice: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]: Unscheduling refresh on Service[elasticsearch] Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[8bed33990c435e42]/Elasticsearch_template[8bed33990c435e42]: Skipping because provider prefetch failed Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 19.82 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` absent manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092327889.pp.wrvxOI Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.69 seconds Info: Using environment 'production' Info: Applying configuration version '1701681812' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[8bed33990c435e42]/Elasticsearch_template[8bed33990c435e42]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.03 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092334267.pp.MkF1Zk Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.66 seconds Info: Using environment 'production' Info: Applying configuration version '1701681818' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[fb14cdc964287728]/Elasticsearch_template[fb14cdc964287728]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.02 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092340282.pp.oMFsJq Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.65 seconds Info: Using environment 'production' Info: Applying configuration version '1701681824' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[fb14cdc964287728]/Elasticsearch_template[fb14cdc964287728]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.02 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `content` present http://localhost:9200/_template returns the installed template Failure/Error: expect(JSON.parse(subject.stdout).values). to include(include(template)) expected [{"aliases" => {}, "index_patterns" => [".ml-meta"], "mappings" => {"_meta" => {"version" => "7100199"}, "dynam...settings" => {"index" => {"auto_expand_replicas" => "0-1", "number_of_shards" => "1"}}, "version" => 7100199}] to include (include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_i...ms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}}) Diff: @@ -1,1595 +1,3189 @@ -[(include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_interval" => "5s", "analysis" => {"analyzer" => {"default" => {"type" => "standard", "stopwords" => "_none_"}}}}}, "mappings" => {"dynamic_templates" => [{"string_fields" => {"match" => "*", "match_mapping_type" => "string", "mapping" => {"type" => "multi_field", "fields" => {"{name}" => {"type" => "text", "index" => "analyzed", "omit_norms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}})] +[{"aliases"=>{}, + "index_patterns"=>[".ml-meta"], + "mappings"=> + {"_meta"=>{"version"=>"7100199"}, + "dynamic_templates"=> + [{"strings_as_keywords"=>{"mapping"=>{"type"=>"keyword"}, "match"=>"*"}}], + "properties"=> + {"calendar_id"=>{"type"=>"keyword"}, + "description"=>{"type"=>"keyword"}, + "end_time"=>{"type"=>"date"}, + "job_ids"=>{"type"=>"keyword"}, + "start_time"=>{"type"=>"date"}}}, + "order"=>0, + "settings"=> + {"index"=>{"auto_expand_replicas"=>"0-1", "number_of_shards"=>"1"}}, + "version"=>7100199}, + {"aliases"=>{}, + "index_patterns"=>[".monitoring-es-7-*"], + "mappings"=> + {"date_detection"=>false, + "dynamic"=>false, + "properties"=> + {"ccr_auto_follow_stats"=> + {"properties"=> + {"auto_followed_clusters"=> + {"properties"=> + {"cluster_name"=>{"type"=>"keyword"}, + "last_seen_metadata_version"=>{"type"=>"long"}, + "time_since_last_check_millis"=>{"type"=>"long"}}, + "type"=>"nested"}, + "number_of_failed_follow_indices"=>{"type"=>"long"}, + "number_of_failed_remote_cluster_state_requests"=>{"type"=>"long"}, + "number_of_successful_follow_indices"=>{"type"=>"long"}, + "recent_auto_follow_errors"=> + {"properties"=> + {"auto_follow_exception"=> + {"properties"=> + {"reason"=>{"type"=>"text"}, "type"=>{"type"=>"keyword"}}, + "type"=>"object"}, + "leader_index"=>{"type"=>"keyword"}, + "timestamp"=>{"type"=>"long"}}, + "type"=>"nested"}}}, + "ccr_stats"=> + {"properties"=> + {"bytes_read"=>{"type"=>"long"}, + "failed_read_requests"=>{"type"=>"long"}, + "failed_write_requests"=>{"type"=>"long"}, + "fatal_exception"=> + {"properties"=> + {"reason"=>{"type"=>"text"}, "type"=>{"type"=>"keyword"}}, + "type"=>"object"}, + "follower_aliases_version"=>{"type"=>"long"}, + "follower_global_checkpoint"=>{"type"=>"long"}, + "follower_index"=>{"type"=>"keyword"}, + "followe
Puppet / 8 - Debian 11: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092518639.pp.sPLrXa Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.66 seconds Info: Using environment 'production' Info: Applying configuration version '1701681922' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[fb14cdc964287728]/Elasticsearch_template[fb14cdc964287728]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.02 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092021208.pp.LFpvZz Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.52 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092025881.pp.1T5VMB Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.52 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/template_shared_examples.rb#L41
elasticsearch v7.10.1 class template resources configured through `source` present Port "9200" open Failure/Error: expect(subject).to be_listening expected Port "9200" to be listening Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `source` present http://localhost:9200/_template returns the installed template Failure/Error: subject { shell("curl http://localhost:#{elasticsearch_port}/_template") } Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 7 running: curl http://localhost:9200/_template Last 10 lines of output were: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to localhost port 9200 after 0 ms: Couldn't connect to server Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092331213.pp.FhCpAf Last 10 lines of output were: �[mNotice: /Stage[main]/Elasticsearch::Config/Augeas[/etc/sysconfig/elasticsearch]/returns: executed successfully �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}e186efaee09298c66ff2c7944b6c0ef5ca6f319aef0ff8a3b84c5f38ca5aaef0' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/owner: owner changed 'root' to 'elasticsearch' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/mode: mode changed '0660' to '0440' �[mNotice: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]: Unscheduling refresh on Service[elasticsearch] Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[8e453bc7b20e2251]/Elasticsearch_template[8e453bc7b20e2251]: Skipping because provider prefetch failed Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 37.20 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` absent manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092413236.pp.Si5TCJ Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.60 seconds Info: Using environment 'production' Info: Applying configuration version '1701681857' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[8e453bc7b20e2251]/Elasticsearch_template[8e453bc7b20e2251]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 0.23 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092418766.pp.VtmRV4 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.60 seconds Info: Using environment 'production' Info: Applying configuration version '1701681863' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[6189be1912ea73fd]/Elasticsearch_template[6189be1912ea73fd]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 0.22 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092424146.pp.gnygqC Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.60 seconds Info: Using environment 'production' Info: Applying configuration version '1701681868' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[6189be1912ea73fd]/Elasticsearch_template[6189be1912ea73fd]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 0.22 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `content` present http://localhost:9200/_template returns the installed template Failure/Error: expect(JSON.parse(subject.stdout).values). to include(include(template)) expected [{"aliases" => {}, "index_patterns" => [".monitoring-alerts-7"], "mappings" => {"dynamic" => false, "properti... => {"default_field" => "all_field_values"}, "translog" => {"durability" => "async"}}}, "version" => 7100199}] to include (include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_i...ms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}}) Diff: @@ -1,1595 +1,3189 @@ -[(include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_interval" => "5s", "analysis" => {"analyzer" => {"default" => {"type" => "standard", "stopwords" => "_none_"}}}}}, "mappings" => {"dynamic_templates" => [{"string_fields" => {"match" => "*", "match_mapping_type" => "string", "mapping" => {"type" => "multi_field", "fields" => {"{name}" => {"type" => "text", "index" => "analyzed", "omit_norms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}})] +[{"aliases"=>{}, + "index_patterns"=>[".monitoring-alerts-7"], + "mappings"=> + {"dynamic"=>false, + "properties"=> + {"message"=>{"type"=>"text"}, + "metadata"=> + {"properties"=> + {"cluster_uuid"=>{"type"=>"keyword"}, + "link"=>{"type"=>"keyword"}, + "severity"=>{"type"=>"short"}, + "type"=>{"type"=>"keyword"}, + "version"=>{"type"=>"keyword"}, + "watch"=>{"type"=>"keyword"}}}, + "prefix"=>{"type"=>"text"}, + "resolved_timestamp"=>{"type"=>"date"}, + "suffix"=>{"type"=>"text"}, + "timestamp"=>{"type"=>"date"}, + "update_timestamp"=>{"type"=>"date"}}}, + "order"=>0, + "settings"=> + {"index"=> + {"auto_expand_replicas"=>"0-1", + "codec"=>"best_compression", + "format"=>"7", + "number_of_replicas"=>"0", + "number_of_shards"=>"1"}}, + "version"=>7000199}, + {"aliases"=>{}, + "index_patterns"=>[".monitoring-kibana-7-*"], + "mappings"=> + {"dynamic"=>false, + "properties"=> + {"cluster_uuid"=>{"type"=>"keyword"}, + "interval_ms"=>{"type"=>"long"}, + "kibana_stats"=> + {"properties"=> + {"cloud"=> + {"properties"=> + {"id"=>{"type"=>"keyword"}, + "metadata"=>{"type"=>"object"}, + "name"=>{"type"=>"keyword"}, + "region"=>{"type"=>"keyword"}, + "vm_type"=>{"type"=>"keyword"}, + "zone"=>{"type"=>"keyword"}}}, + "concurrent_connections"=>{"type"=>"long"}, + "kibana"=> + {"properties"=> + {"host"=>{"type"=>"keyword"}, + "name"=>{"type"=>"keyword"}, + "snapshot"=>{"type"=>"boolean"}, + "status"=>{"type"=>"keyword"}, + "statuses"=> + {"properties"=> + {"name"=>{"type"=>"keyword"}, "state"=>{"type"=>"keyword"}}}, + "transport_address"=>{"type"=>"keyword"}, + "uuid"=>{"type"=>"keyword"}, + "version"=>{"type"=>"keyword"}}}, + "os"=> + {"properties"=> + {"load"=>
Puppet / 8 - CentOS 8: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092602124.pp.yEdbYB Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts �[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.57 seconds Info: Using environment 'production' Info: Applying configuration version '1701681966' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[6189be1912ea73fd]/Elasticsearch_template[6189be1912ea73fd]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 0.21 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091959679.pp.JvVOR5 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.62 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092005073.pp.yWgu7m Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.62 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/template_shared_examples.rb#L41
elasticsearch v7.10.1 class template resources configured through `source` present Port "9200" open Failure/Error: expect(subject).to be_listening expected Port "9200" to be listening Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `source` present http://localhost:9200/_template returns the installed template Failure/Error: subject { shell("curl http://localhost:#{elasticsearch_port}/_template") } Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 7 running: curl http://localhost:9200/_template Last 10 lines of output were: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to localhost port 9200 after 0 ms: Couldn't connect to server Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092310937.pp.IZRe9C Last 10 lines of output were: �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}def5d2f9d72ca97f58cfc1f3bcb9d3f2f3dd26cbf31b0636342e07736e290f74' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/owner: owner changed 'root' to 'elasticsearch' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/mode: mode changed '0660' to '0440' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/jvm.options.d/jvm.options]/ensure: defined content as '{sha256}1d1ab52a24ad649e3055c2e65797e6f3057dd23f42e2bbbe0c23f3fff10e08e4' �[mNotice: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]: Unscheduling refresh on Service[elasticsearch] Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[4928ea67bcdf4709]/Elasticsearch_template[4928ea67bcdf4709]: Skipping because provider prefetch failed Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 19.80 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` absent manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092336117.pp.Vsx2Rd Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.62 seconds Info: Using environment 'production' Info: Applying configuration version '1701681821' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[4928ea67bcdf4709]/Elasticsearch_template[4928ea67bcdf4709]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.11 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092343166.pp.h9IqXI Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.62 seconds Info: Using environment 'production' Info: Applying configuration version '1701681828' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[e2822f8564f0de6e]/Elasticsearch_template[e2822f8564f0de6e]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.10 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092349917.pp.hKBI8B Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.63 seconds Info: Using environment 'production' Info: Applying configuration version '1701681834' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[e2822f8564f0de6e]/Elasticsearch_template[e2822f8564f0de6e]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.53 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `content` present http://localhost:9200/_template returns the installed template Failure/Error: expect(JSON.parse(subject.stdout).values). to include(include(template)) expected [{"aliases" => {}, "index_patterns" => [".monitoring-kibana-7-*"], "mappings" => {"dynamic" => false, "proper..." => {"auto_expand_replicas" => "0-1", "hidden" => "true", "number_of_shards" => "1"}}, "version" => 7100199}] to include (include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_i...ms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}}) Diff: @@ -1,1595 +1,3189 @@ -[(include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_interval" => "5s", "analysis" => {"analyzer" => {"default" => {"type" => "standard", "stopwords" => "_none_"}}}}}, "mappings" => {"dynamic_templates" => [{"string_fields" => {"match" => "*", "match_mapping_type" => "string", "mapping" => {"type" => "multi_field", "fields" => {"{name}" => {"type" => "text", "index" => "analyzed", "omit_norms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}})] +[{"aliases"=>{}, + "index_patterns"=>[".monitoring-kibana-7-*"], + "mappings"=> + {"dynamic"=>false, + "properties"=> + {"cluster_uuid"=>{"type"=>"keyword"}, + "interval_ms"=>{"type"=>"long"}, + "kibana_stats"=> + {"properties"=> + {"cloud"=> + {"properties"=> + {"id"=>{"type"=>"keyword"}, + "metadata"=>{"type"=>"object"}, + "name"=>{"type"=>"keyword"}, + "region"=>{"type"=>"keyword"}, + "vm_type"=>{"type"=>"keyword"}, + "zone"=>{"type"=>"keyword"}}}, + "concurrent_connections"=>{"type"=>"long"}, + "kibana"=> + {"properties"=> + {"host"=>{"type"=>"keyword"}, + "name"=>{"type"=>"keyword"}, + "snapshot"=>{"type"=>"boolean"}, + "status"=>{"type"=>"keyword"}, + "statuses"=> + {"properties"=> + {"name"=>{"type"=>"keyword"}, "state"=>{"type"=>"keyword"}}}, + "transport_address"=>{"type"=>"keyword"}, + "uuid"=>{"type"=>"keyword"}, + "version"=>{"type"=>"keyword"}}}, + "os"=> + {"properties"=> + {"load"=> + {"properties"=> + {"15m"=>{"type"=>"half_float"}, + "1m"=>{"type"=>"half_float"}, + "5m"=>{"type"=>"half_float"}}}, + "memory"=> + {"properties"=> + {"free_in_bytes"=>{"type"=>"float"}, + "total_in_bytes"=>{"type"=>"float"}, + "used_in_bytes"=>{"type"=>"float"}}}, + "uptime_in_millis"=>{"type"=>"long"}}}, + "process"=> + {"properties"=> + {"event_loop_delay"=>{"type"=>"float"}, + "memory"=> + {"properties"=> + {"heap"=> + {"properties"=> + {"size_limit"=>{"type"=>"float"}, + "total_in_bytes"=>{"type"=>"float"}, + "used_in_bytes"=>{"type"=>"float"}}}, + "resident_set_size_in_bytes"=>{"type"=>"float"}}}, + "uptime_in_millis"=>{
Puppet / 8 - Ubuntu 20.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092529564.pp.IbTVkF Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.62 seconds Info: Using environment 'production' Info: Applying configuration version '1701681934' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[e2822f8564f0de6e]/Elasticsearch_template[e2822f8564f0de6e]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.10 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092031667.pp.OjAaBB Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.71 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092038086.pp.da8c0H Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.67 seconds Error: uninitialized constant PSON Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/template_shared_examples.rb#L41
elasticsearch v7.10.1 class template resources configured through `source` present Port "9200" open Failure/Error: expect(subject).to be_listening expected Port "9200" to be listening Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `source` present http://localhost:9200/_template returns the installed template Failure/Error: subject { shell("curl http://localhost:#{elasticsearch_port}/_template") } Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 7 running: curl http://localhost:9200/_template Last 10 lines of output were: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to localhost port 9200 after 0 ms: Couldn't connect to server Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092344683.pp.PDnE1R Last 10 lines of output were: �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}aa461352ac55e87b57d9465e0ef345ce31369fb86c080dbbf0cdd7216ed63e91' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/owner: owner changed 'root' to 'elasticsearch' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/mode: mode changed '0660' to '0440' �[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/jvm.options.d/jvm.options]/ensure: defined content as '{sha256}1d1ab52a24ad649e3055c2e65797e6f3057dd23f42e2bbbe0c23f3fff10e08e4' �[mNotice: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]: Unscheduling refresh on Service[elasticsearch] Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Info: Stage[main]: Unscheduling all events on Stage[main] Warning: /Stage[main]/Main/Elasticsearch::Template[b93c9493a67a20dd]/Elasticsearch_template[b93c9493a67a20dd]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 29.42 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` absent manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092419819.pp.HR9Xfz Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.64 seconds Info: Using environment 'production' Info: Applying configuration version '1701681865' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[b93c9493a67a20dd]/Elasticsearch_template[b93c9493a67a20dd]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.26 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` present manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092427392.pp.alEQ9y Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.65 seconds Info: Using environment 'production' Info: Applying configuration version '1701681872' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[19345e180505c814]/Elasticsearch_template[19345e180505c814]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.29 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` present manifest is idempotent Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092434762.pp.aqWE7P Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.63 seconds Info: Using environment 'production' Info: Applying configuration version '1701681880' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[19345e180505c814]/Elasticsearch_template[19345e180505c814]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.30 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `content` present http://localhost:9200/_template returns the installed template Failure/Error: expect(JSON.parse(subject.stdout).values). to include(include(template)) expected [{"aliases" => {}, "index_patterns" => [".ml-inference-000003"], "mappings" => {"_meta" => {"version" => "71001..." => {"auto_expand_replicas" => "0-1", "hidden" => "true", "number_of_shards" => "1"}}, "version" => 7100199}] to include (include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_i...ms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}}) Diff: @@ -1,1595 +1,3189 @@ -[(include {"index_patterns" => ["logstash-*"], "version" => 123, "settings" => {"index" => {"refresh_interval" => "5s", "analysis" => {"analyzer" => {"default" => {"type" => "standard", "stopwords" => "_none_"}}}}}, "mappings" => {"dynamic_templates" => [{"string_fields" => {"match" => "*", "match_mapping_type" => "string", "mapping" => {"type" => "multi_field", "fields" => {"{name}" => {"type" => "text", "index" => "analyzed", "omit_norms" => true}, "raw" => {"type " => "text", "index" => "not_analyzed", "ignore_above" => 256}}}}}]}})] +[{"aliases"=>{}, + "index_patterns"=>[".ml-inference-000003"], + "mappings"=> + {"_meta"=>{"version"=>"7100199"}, + "dynamic"=>"false", + "properties"=> + {"compression_version"=>{"type"=>"long"}, + "create_time"=>{"type"=>"date"}, + "created_by"=>{"type"=>"keyword"}, + "default_field_map"=>{"enabled"=>false}, + "definition"=>{"enabled"=>false}, + "definition_length"=>{"type"=>"long"}, + "description"=>{"type"=>"text"}, + "doc_num"=>{"type"=>"long"}, + "doc_type"=>{"type"=>"keyword"}, + "estimated_heap_memory_usage_bytes"=>{"type"=>"long"}, + "estimated_operations"=>{"type"=>"long"}, + "feature_importance_baseline"=> + {"properties"=> + {"baseline"=>{"type"=>"double"}, + "classes"=> + {"properties"=> + {"baseline"=>{"type"=>"double"}, + "class_name"=>{"type"=>"keyword"}}}}}, + "inference_config"=>{"enabled"=>false}, + "input"=>{"enabled"=>false}, + "metadata"=>{"enabled"=>false}, + "model_id"=>{"type"=>"keyword"}, + "tags"=>{"type"=>"keyword"}, + "total_definition_length"=>{"type"=>"long"}, + "total_feature_importance"=> + {"dynamic"=>"false", + "properties"=> + {"classes"=> + {"dynamic"=>"false", + "properties"=> + {"class_name"=>{"type"=>"keyword"}, + "importance"=> + {"properties"=> + {"max"=>{"type"=>"double"}, + "mean_magnitude"=>{"type"=>"double"}, + "min"=>{"type"=>"double"}}}}, + "type"=>"nested"}, + "feature_name"=>{"type"=>"keyword"}, + "importance"=> + {"properties"=> + {"max"=>{"type"=>"double"}, + "mean_magnitude"=>{"type"=>"double"}, + "min"=>{"type"=>"double"}}}}, + "type"=>"nested"}, + "version"=>{"type"=>"keyword"}}}, + "order"=>0, + "settings"=> + {"index"=>{"auto_expand_replicas"=>"0-1", "number_of_shards"=>"1"}}, + "version"=>7100199}, + {"aliases"=>{}, + "index_patterns"=>[".monitoring-beats-7-*"], + "mappings"=> �[32
Puppet / 8 - Ubuntu 18.04: spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `content` absent manifest applies cleanly Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug]) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_092614409.pp.AgsTql Last 10 lines of output were: Info: Loading facts Info: Loading facts Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]: (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation') �[mNotice: Compiled catalog for ubuntu1804-64-puppet8.example.com in environment production in 0.64 seconds Info: Using environment 'production' Info: Applying configuration version '1701681979' Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8) Warning: /Stage[main]/Main/Elasticsearch::Template[19345e180505c814]/Elasticsearch_template[19345e180505c814]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 1.29 seconds Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33 Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:87 Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65