Add Puppet 8 support #279
Triggered via pull request
February 20, 2024 17:38
Status
Failure
Total duration
46m 11s
Artifacts
–
ci.yml
on: pull_request
Puppet
/
Static validations
23s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
90 errors
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 (Ruby 3.2):
spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L10
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 (Ruby 3.2):
spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L12
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 (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-02
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:97
|
Puppet / 8 (Ruby 3.2):
spec/unit/provider/elasticsearch_keystore/elasticsearch_keystore_spec.rb#L10
Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore instances with multiple instances instance es-02
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:97
|
Puppet / 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 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174157921.pp.72MLHD
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}1e2a30b9fb65942b5d76a929dbcb18272b381c896af81ba9c521aed591f0c322'
�[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[bdf71d80d30c34b5]/Elasticsearch_template[bdf71d80d30c34b5]: Skipping because provider prefetch failed
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 18.61 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174220666.pp.kQdJth
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.59 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708450943'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[bdf71d80d30c34b5]/Elasticsearch_template[bdf71d80d30c34b5]: 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {}, "index_patterns" => [".logstash"], "mappings" => {"_meta" => {"logstash-version" => "7.10.1"...pression", "format" => "7", "number_of_replicas" => "0", "number_of_shards" => "1"}}, "version" => 7000199}] 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"=>[".logstash"],
+ "mappings"=>
+ {"_meta"=>{"logstash-version"=>"7.10.1"},
+ "dynamic"=>"strict",
+ "properties"=>
+ {"description"=>{"type"=>"text"},
+ "last_modified"=>{"type"=>"date"},
+ "metadata"=>{"dynamic"=>false, "type"=>"object"},
+ "pipeline"=>{"type"=>"text"},
+ "pipeline_metadata"=>
+ {"properties"=>
+ {"type"=>{"type"=>"keyword"}, "version"=>{"type"=>"short"}}},
+ "pipeline_settings"=>{"dynamic"=>false, "type"=>"object"},
+ "username"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>
+ {"auto_expand_replicas"=>"0-1",
+ "codec"=>"best_compression",
+ "number_of_shards"=>"1"}}},
+ {"aliases"=>{".transform-notifications-read"=>{"is_hidden"=>true}},
+ "index_patterns"=>[".transform-notifications-*"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"level"=>{"type"=>"keyword"},
+ "message"=>{"fields"=>{"raw"=>{"type"=>"keyword"}}, "type"=>"text"},
+ "node_name"=>{"type"=>"keyword"},
+ "timestamp"=>{"type"=>"date"},
+ "transform_id"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>
+ {"auto_expand_replicas"=>"0-1",
+ "hidden"=>"true",
+ "number_of_shards"=>"1"}},
+ "version"=>7100199},
+ {"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"=>{".data-frame-internal-3"=>{}},
+ "index_patterns"=>[".transform-internal-005"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174356996.pp.Qo76LF
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.56 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451040'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[bdf71d80d30c34b5]/Elasticsearch_template[bdf71d80d30c34b5]: 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 / 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_174401131.pp.Ix9cMG
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.55 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451044'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[bdf71d80d30c34b5]/Elasticsearch_template[bdf71d80d30c34b5]: 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: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 / 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_174405539.pp.V2zjxL
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.60 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451048'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[f2a1149fce8e7be1]/Elasticsearch_template[f2a1149fce8e7be1]: 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 / 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_174409787.pp.x23L2J
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.60 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451053'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[f2a1149fce8e7be1]/Elasticsearch_template[f2a1149fce8e7be1]: 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 / 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" => [".logstash"], "mappings" => {"_meta" => {"logstash-version" => "7.10.1"...pression", "format" => "7", "number_of_replicas" => "0", "number_of_shards" => "1"}}, "version" => 7000199}] 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"=>[".logstash"],
+ "mappings"=>
+ {"_meta"=>{"logstash-version"=>"7.10.1"},
+ "dynamic"=>"strict",
+ "properties"=>
+ {"description"=>{"type"=>"text"},
+ "last_modified"=>{"type"=>"date"},
+ "metadata"=>{"dynamic"=>false, "type"=>"object"},
+ "pipeline"=>{"type"=>"text"},
+ "pipeline_metadata"=>
+ {"properties"=>
+ {"type"=>{"type"=>"keyword"}, "version"=>{"type"=>"short"}}},
+ "pipeline_settings"=>{"dynamic"=>false, "type"=>"object"},
+ "username"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>
+ {"auto_expand_replicas"=>"0-1",
+ "codec"=>"best_compression",
+ "number_of_shards"=>"1"}}},
+ {"aliases"=>{".transform-notifications-read"=>{"is_hidden"=>true}},
+ "index_patterns"=>[".transform-notifications-*"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"level"=>{"type"=>"keyword"},
+ "message"=>{"fields"=>{"raw"=>{"type"=>"keyword"}}, "type"=>"text"},
+ "node_name"=>{"type"=>"keyword"},
+ "timestamp"=>{"type"=>"date"},
+ "transform_id"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>
+ {"auto_expand_replicas"=>"0-1",
+ "hidden"=>"true",
+ "number_of_shards"=>"1"}},
+ "version"=>7100199},
+ {"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"=>{".data-frame-internal-3"=>{}},
+ "index_patterns"=>[".transform-internal-005"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+
|
Puppet / 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_174546225.pp.K7ltWX
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.57 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451149'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[f2a1149fce8e7be1]/Elasticsearch_template[f2a1149fce8e7be1]: 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: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 / Puppet 8 - CentOS 7:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` 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_174550395.pp.PIafaT
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.59 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451153'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[f2a1149fce8e7be1]/Elasticsearch_template[f2a1149fce8e7be1]: 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 / Puppet 8 - OracleLinux 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 'oracle7-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174156941.pp.4DAagP
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}cb99846db5ac5de2028f21d21c5e2084a0a6f9a4e7c1e877bd9d102e50a4f423'
�[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[30ff748208d6bb10]/Elasticsearch_template[30ff748208d6bb10]: Skipping because provider prefetch failed
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 18.00 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / Puppet 8 - OracleLinux 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 'oracle7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174219102.pp.i67sQN
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.57 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708450942'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[30ff748208d6bb10]/Elasticsearch_template[30ff748208d6bb10]: 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / Puppet 8 - OracleLinux 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:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {}, "index_patterns" => [".ml-stats-*"], "mappings" => {"_meta" => {"version" => "7.10.1"}, "dyn...pand_replicas" => "0-1", "max_result_window" => "10000", "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-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"=>"integer"},
+ "outlier_fraction"=>{"type"=>"double"},
+ "standardization_enabled"=>{"type"=>"boolean"}}},
+ "peak_usage_bytes"=>{"type"=>"long"},
+ "skipped_docs_count"=>{"type"=>"long"},
+ "test_docs_count"=>{"type"=>"long"},
+ "timestamp"=>{"type"=>"date"},
+ "timing_stats"=>
+ {"properties"=>
+ {"elapsed_time"=>{"type"=>"long"},
+ "iteration_time"=>{"type"=>"long"}}},
+ "training_docs_count"=>{"type"=>"long"},
+ "type"=>{"type"=>"keyword"},
+ "validation_loss"=>
+ {"properties"=>
+ {"fold_values"=>
+ {"properties"=>
�[32
|
Puppet / Puppet 8 - OracleLinux 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 'oracle7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174355643.pp.1GzXSV
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.56 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451039'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[30ff748208d6bb10]/Elasticsearch_template[30ff748208d6bb10]: 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: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 / Puppet 8 - OracleLinux 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 'oracle7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174359943.pp.jL0tuR
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.56 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451043'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[30ff748208d6bb10]/Elasticsearch_template[30ff748208d6bb10]: 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: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 / Puppet 8 - OracleLinux 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 'oracle7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174404460.pp.bl5RKe
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.57 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451047'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[14f66c3d1d121cd0]/Elasticsearch_template[14f66c3d1d121cd0]: 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 / Puppet 8 - OracleLinux 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 'oracle7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174408800.pp.UapvVM
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.58 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451052'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[14f66c3d1d121cd0]/Elasticsearch_template[14f66c3d1d121cd0]: 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 / Puppet 8 - OracleLinux 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-stats-*"], "mappings" => {"_meta" => {"version" => "7.10.1"}, "dyn...pand_replicas" => "0-1", "max_result_window" => "10000", "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-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"=>"integer"},
+ "outlier_fraction"=>{"type"=>"double"},
+ "standardization_enabled"=>{"type"=>"boolean"}}},
+ "peak_usage_bytes"=>{"type"=>"long"},
+ "skipped_docs_count"=>{"type"=>"long"},
+ "test_docs_count"=>{"type"=>"long"},
+ "timestamp"=>{"type"=>"date"},
+ "timing_stats"=>
+ {"properties"=>
+ {"elapsed_time"=>{"type"=>"long"},
+ "iteration_time"=>{"type"=>"long"}}},
+ "training_docs_count"=>{"type"=>"long"},
+ "type"=>{"type"=>"keyword"},
+ "validation_loss"=>
+ {"properties"=>
+ {"fold_values"=>
+ {"properties"=>
�[3
|
Puppet / Puppet 8 - OracleLinux 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 'oracle7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174545118.pp.cXjD7t
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.60 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451148'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[14f66c3d1d121cd0]/Elasticsearch_template[14f66c3d1d121cd0]: 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: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 / Puppet 8 - OracleLinux 7:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` absent manifest is idempotent
Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug])
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174549547.pp.0HW5kk
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle7-64-puppet8.example.com in environment production in 0.61 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451152'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[14f66c3d1d121cd0]/Elasticsearch_template[14f66c3d1d121cd0]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.24 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 / 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 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174201407.pp.UN4k9g
Last 10 lines of output were:
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}38e93a0f9a8ec33d75c4114c0c1bafe501accc7dd9c5002829f16db1fb54f02f'
�[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[e872e668b5901d4a]/Elasticsearch_template[e872e668b5901d4a]: Skipping because provider prefetch failed
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 18.24 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174224019.pp.ic6CKB
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.60 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708450947'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[e872e668b5901d4a]/Elasticsearch_template[e872e668b5901d4a]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.97 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {}, "index_patterns" => [".monitoring-logstash-7-*"], "mappings" => {"dynamic" => false, "prop...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"=>[".monitoring-logstash-7-*"],
+ "mappings"=>
+ {"dynamic"=>false,
+ "properties"=>
+ {"cluster_uuid"=>{"type"=>"keyword"},
+ "interval_ms"=>{"type"=>"long"},
+ "logstash_state"=>
+ {"properties"=>
+ {"ephemeral_id"=>{"type"=>"keyword"},
+ "host"=>{"type"=>"keyword"},
+ "http_address"=>{"type"=>"keyword"},
+ "name"=>{"type"=>"keyword"},
+ "pipeline"=>
+ {"properties"=>
+ {"batch_size"=>{"type"=>"integer"},
+ "ephemeral_id"=>{"type"=>"keyword"},
+ "format"=>{"type"=>"keyword"},
+ "hash"=>{"type"=>"keyword"},
+ "id"=>{"type"=>"keyword"},
+ "representation"=>{"enabled"=>false},
+ "version"=>{"type"=>"keyword"},
+ "workers"=>{"type"=>"short"}}},
+ "snapshot"=>{"type"=>"boolean"},
+ "status"=>{"type"=>"keyword"},
+ "uuid"=>{"type"=>"keyword"},
+ "version"=>{"type"=>"keyword"}}},
+ "logstash_stats"=>
+ {"properties"=>
+ {"batch_size"=>{"type"=>"integer"},
+ "events"=>
+ {"properties"=>
+ {"duration_in_millis"=>{"type"=>"long"},
+ "filtered"=>{"type"=>"long"},
+ "in"=>{"type"=>"long"},
+ "out"=>{"type"=>"long"}}},
+ "jvm"=>
+ {"properties"=>
+ {"gc"=>
+ {"properties"=>
+ {"collectors"=>
+ {"properties"=>
+ {"old"=>
+ {"properties"=>
+ {"collection_count"=>{"type"=>"long"},
+ "collection_time_in_millis"=>{"type"=>"long"}}},
+ "young"=>
+ {"properties"=>
+ {"collection_count"=>{"type"=>"long"},
+ "collection_time_in_millis"=>{"type"=>"long"}}}}}}},
+ "mem"=>
+ {"properties"=>
+ {"heap_max_in_bytes"=>{"type"=>"long"},
+ "heap_used_in_bytes"=>{"type"=>"long"},
+ "heap_used_percent"=>{"type"=>"long"}}}
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174401750.pp.wr10bv
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.59 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451045'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[e872e668b5901d4a]/Elasticsearch_template[e872e668b5901d4a]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.95 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 / 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_174407330.pp.w7QZ9B
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.60 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451051'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[e872e668b5901d4a]/Elasticsearch_template[e872e668b5901d4a]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.97 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 / 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_174413168.pp.JbyHRM
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.62 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451057'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1cacdc7b736d8bd7]/Elasticsearch_template[1cacdc7b736d8bd7]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.96 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 / 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_174418865.pp.GjqsLq
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.64 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451062'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1cacdc7b736d8bd7]/Elasticsearch_template[1cacdc7b736d8bd7]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.96 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 / 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" => [".monitoring-logstash-7-*"], "mappings" => {"dynamic" => false, "prop...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"=>[".monitoring-logstash-7-*"],
+ "mappings"=>
+ {"dynamic"=>false,
+ "properties"=>
+ {"cluster_uuid"=>{"type"=>"keyword"},
+ "interval_ms"=>{"type"=>"long"},
+ "logstash_state"=>
+ {"properties"=>
+ {"ephemeral_id"=>{"type"=>"keyword"},
+ "host"=>{"type"=>"keyword"},
+ "http_address"=>{"type"=>"keyword"},
+ "name"=>{"type"=>"keyword"},
+ "pipeline"=>
+ {"properties"=>
+ {"batch_size"=>{"type"=>"integer"},
+ "ephemeral_id"=>{"type"=>"keyword"},
+ "format"=>{"type"=>"keyword"},
+ "hash"=>{"type"=>"keyword"},
+ "id"=>{"type"=>"keyword"},
+ "representation"=>{"enabled"=>false},
+ "version"=>{"type"=>"keyword"},
+ "workers"=>{"type"=>"short"}}},
+ "snapshot"=>{"type"=>"boolean"},
+ "status"=>{"type"=>"keyword"},
+ "uuid"=>{"type"=>"keyword"},
+ "version"=>{"type"=>"keyword"}}},
+ "logstash_stats"=>
+ {"properties"=>
+ {"batch_size"=>{"type"=>"integer"},
+ "events"=>
+ {"properties"=>
+ {"duration_in_millis"=>{"type"=>"long"},
+ "filtered"=>{"type"=>"long"},
+ "in"=>{"type"=>"long"},
+ "out"=>{"type"=>"long"}}},
+ "jvm"=>
+ {"properties"=>
+ {"gc"=>
+ {"properties"=>
+ {"collectors"=>
+ {"properties"=>
+ {"old"=>
+ {"properties"=>
+ {"collection_count"=>{"type"=>"long"},
+ "collection_time_in_millis"=>{"type"=>"long"}}},
+ "young"=>
+ {"properties"=>
+ {"collection_count"=>{"type"=>"long"},
+ "collection_time_in_millis"=>{"type"=>"long"}}}}}}},
+ "mem"=>
+ {"properties"=>
+ {"heap_max_in_bytes"=>{"type"=>"long"},
+ "heap_used_in_bytes"=>{"type"=>"long"},
+ "heap_used_percent"=>{"type"=>"long"}}
|
Puppet / 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_174556414.pp.NCu9ul
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.62 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451160'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1cacdc7b736d8bd7]/Elasticsearch_template[1cacdc7b736d8bd7]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.98 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 / Puppet 8 - Debian 11:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` 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_174602213.pp.PutrOv
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.61 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451166'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1cacdc7b736d8bd7]/Elasticsearch_template[1cacdc7b736d8bd7]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.99 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 / 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 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174305524.pp.rnaoxs
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}e8ec106c49650264e268f665f01187ee5b0b93b3af4a29551de74d916ff3ea12'
�[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[a667af575053cdde]/Elasticsearch_template[a667af575053cdde]: Skipping because provider prefetch failed
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 27.18 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174337380.pp.yk3Qjs
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.53 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451021'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[a667af575053cdde]/Elasticsearch_template[a667af575053cdde]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.20 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {}, "index_patterns" => [".monitoring-logstash-7-*"], "mappings" => {"dynamic" => false, "prop..." => {"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-logstash-7-*"],
+ "mappings"=>
+ {"dynamic"=>false,
+ "properties"=>
+ {"cluster_uuid"=>{"type"=>"keyword"},
+ "interval_ms"=>{"type"=>"long"},
+ "logstash_state"=>
+ {"properties"=>
+ {"ephemeral_id"=>{"type"=>"keyword"},
+ "host"=>{"type"=>"keyword"},
+ "http_address"=>{"type"=>"keyword"},
+ "name"=>{"type"=>"keyword"},
+ "pipeline"=>
+ {"properties"=>
+ {"batch_size"=>{"type"=>"integer"},
+ "ephemeral_id"=>{"type"=>"keyword"},
+ "format"=>{"type"=>"keyword"},
+ "hash"=>{"type"=>"keyword"},
+ "id"=>{"type"=>"keyword"},
+ "representation"=>{"enabled"=>false},
+ "version"=>{"type"=>"keyword"},
+ "workers"=>{"type"=>"short"}}},
+ "snapshot"=>{"type"=>"boolean"},
+ "status"=>{"type"=>"keyword"},
+ "uuid"=>{"type"=>"keyword"},
+ "version"=>{"type"=>"keyword"}}},
+ "logstash_stats"=>
+ {"properties"=>
+ {"batch_size"=>{"type"=>"integer"},
+ "events"=>
+ {"properties"=>
+ {"duration_in_millis"=>{"type"=>"long"},
+ "filtered"=>{"type"=>"long"},
+ "in"=>{"type"=>"long"},
+ "out"=>{"type"=>"long"}}},
+ "jvm"=>
+ {"properties"=>
+ {"gc"=>
+ {"properties"=>
+ {"collectors"=>
+ {"properties"=>
+ {"old"=>
+ {"properties"=>
+ {"collection_count"=>{"type"=>"long"},
+ "collection_time_in_millis"=>{"type"=>"long"}}},
+ "young"=>
+ {"properties"=>
+ {"collection_count"=>{"type"=>"long"},
+ "collection_time_in_millis"=>{"type"=>"long"}}}}}}},
+ "mem"=>
+ {"properties"=>
+ {"heap_max_in_bytes"=>{"type"=>"long"},
+ "heap_used_in_bytes"=>{"type"=>"long"},
+ "heap_used_percent"=>{"type"=>"long"}}},
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174514467.pp.lIz66j
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.56 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451118'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[a667af575053cdde]/Elasticsearch_template[a667af575053cdde]: 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: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 / 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_174519502.pp.CsdXlV
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.57 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451123'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[a667af575053cdde]/Elasticsearch_template[a667af575053cdde]: 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: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 / 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_174524740.pp.H772rg
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.54 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451128'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[2513797aeeea2512]/Elasticsearch_template[2513797aeeea2512]: 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: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 / 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_174529691.pp.qBemRy
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.54 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451133'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[2513797aeeea2512]/Elasticsearch_template[2513797aeeea2512]: 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: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 / 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-logstash-7-*"], "mappings" => {"dynamic" => false, "prop..." => {"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-logstash-7-*"],
+ "mappings"=>
+ {"dynamic"=>false,
+ "properties"=>
+ {"cluster_uuid"=>{"type"=>"keyword"},
+ "interval_ms"=>{"type"=>"long"},
+ "logstash_state"=>
+ {"properties"=>
+ {"ephemeral_id"=>{"type"=>"keyword"},
+ "host"=>{"type"=>"keyword"},
+ "http_address"=>{"type"=>"keyword"},
+ "name"=>{"type"=>"keyword"},
+ "pipeline"=>
+ {"properties"=>
+ {"batch_size"=>{"type"=>"integer"},
+ "ephemeral_id"=>{"type"=>"keyword"},
+ "format"=>{"type"=>"keyword"},
+ "hash"=>{"type"=>"keyword"},
+ "id"=>{"type"=>"keyword"},
+ "representation"=>{"enabled"=>false},
+ "version"=>{"type"=>"keyword"},
+ "workers"=>{"type"=>"short"}}},
+ "snapshot"=>{"type"=>"boolean"},
+ "status"=>{"type"=>"keyword"},
+ "uuid"=>{"type"=>"keyword"},
+ "version"=>{"type"=>"keyword"}}},
+ "logstash_stats"=>
+ {"properties"=>
+ {"batch_size"=>{"type"=>"integer"},
+ "events"=>
+ {"properties"=>
+ {"duration_in_millis"=>{"type"=>"long"},
+ "filtered"=>{"type"=>"long"},
+ "in"=>{"type"=>"long"},
+ "out"=>{"type"=>"long"}}},
+ "jvm"=>
+ {"properties"=>
+ {"gc"=>
+ {"properties"=>
+ {"collectors"=>
+ {"properties"=>
+ {"old"=>
+ {"properties"=>
+ {"collection_count"=>{"type"=>"long"},
+ "collection_time_in_millis"=>{"type"=>"long"}}},
+ "young"=>
+ {"properties"=>
+ {"collection_count"=>{"type"=>"long"},
+ "collection_time_in_millis"=>{"type"=>"long"}}}}}}},
+ "mem"=>
+ {"properties"=>
+ {"heap_max_in_bytes"=>{"type"=>"long"},
+ "heap_used_in_bytes"=>{"type"=>"long"},
+ "heap_used_percent"=>{"type"=>"long"}}},
|
Puppet / 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_174706609.pp.eNNMAU
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.57 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451230'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[2513797aeeea2512]/Elasticsearch_template[2513797aeeea2512]: 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: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 / Puppet 8 - CentOS 8:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` 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_174711590.pp.C4Os9E
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.56 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451235'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[2513797aeeea2512]/Elasticsearch_template[2513797aeeea2512]: 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 / Puppet 8 - OracleLinux 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 'oracle8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174245025.pp.k5WRlb
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}1f93e9465a54ade81209d27c6ee39d177c99d1c06e87c1d5eee646188d86efd5'
�[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[830e0bb8981fe24f]/Elasticsearch_template[830e0bb8981fe24f]: 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: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 / Puppet 8 - OracleLinux 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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174313265.pp.kLA9Lj
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.62 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708450998'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[830e0bb8981fe24f]/Elasticsearch_template[830e0bb8981fe24f]: 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / Puppet 8 - OracleLinux 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:
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 / Puppet 8 - OracleLinux 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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174451622.pp.qtqKWF
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.58 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451096'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[830e0bb8981fe24f]/Elasticsearch_template[830e0bb8981fe24f]: 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: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 / Puppet 8 - OracleLinux 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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174457465.pp.Lq7Cpl
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.59 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451102'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[830e0bb8981fe24f]/Elasticsearch_template[830e0bb8981fe24f]: 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 / Puppet 8 - OracleLinux 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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174503604.pp.gGUD1i
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.59 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451108'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[8ea3acd463049e80]/Elasticsearch_template[8ea3acd463049e80]: 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 / Puppet 8 - OracleLinux 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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174509533.pp.1IFbBU
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.59 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451114'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[8ea3acd463049e80]/Elasticsearch_template[8ea3acd463049e80]: 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 / Puppet 8 - OracleLinux 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-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 / Puppet 8 - OracleLinux 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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174647560.pp.5lYaGp
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.60 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451212'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[8ea3acd463049e80]/Elasticsearch_template[8ea3acd463049e80]: 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 / Puppet 8 - OracleLinux 8:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` absent manifest is idempotent
Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug])
Beaker::Host::CommandFailure:
Host 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174653485.pp.EXrFcM
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for oracle8-64-puppet8.example.com in environment production in 0.59 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451218'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[8ea3acd463049e80]/Elasticsearch_template[8ea3acd463049e80]: 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: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 / 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 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174221879.pp.ziufxx
Last 10 lines of output were:
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}1669f810ae3c1f1fd53fb7849f01ecb68171eee60925deaa1e8014447b16c9bd'
�[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[1f0ae291b1f75ebf]/Elasticsearch_template[1f0ae291b1f75ebf]: Skipping because provider prefetch failed
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 20.83 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174247808.pp.PwiaYy
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.70 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708450972'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1f0ae291b1f75ebf]/Elasticsearch_template[1f0ae291b1f75ebf]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.38 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {}, "index_patterns" => [".ml-anomalies-*"], "mappings" => {"_meta" => {"version" => "7.10.1"}, ...pression", "format" => "7", "number_of_replicas" => "0", "number_of_shards" => "1"}}, "version" => 7000199}] 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-anomalies-*"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic_templates"=>
+ [{"strings_as_keywords"=>{"mapping"=>{"type"=>"keyword"}, "match"=>"*"}}],
+ "properties"=>
+ {"actual"=>{"type"=>"double"},
+ "all_field_values"=>{"analyzer"=>"whitespace", "type"=>"text"},
+ "anomaly_score"=>{"type"=>"double"},
+ "average_bucket_processing_time_ms"=>{"type"=>"double"},
+ "bucket_allocation_failures_count"=>{"type"=>"long"},
+ "bucket_count"=>{"type"=>"long"},
+ "bucket_influencers"=>
+ {"properties"=>
+ {"anomaly_score"=>{"type"=>"double"},
+ "bucket_span"=>{"type"=>"long"},
+ "influencer_field_name"=>{"type"=>"keyword"},
+ "initial_anomaly_score"=>{"type"=>"double"},
+ "is_interim"=>{"type"=>"boolean"},
+ "job_id"=>{"type"=>"keyword"},
+ "probability"=>{"type"=>"double"},
+ "raw_anomaly_score"=>{"type"=>"double"},
+ "result_type"=>{"type"=>"keyword"},
+ "timestamp"=>{"type"=>"date"}},
+ "type"=>"nested"},
+ "bucket_span"=>{"type"=>"long"},
+ "by_field_name"=>{"type"=>"keyword"},
+ "by_field_value"=>{"copy_to"=>["all_field_values"], "type"=>"keyword"},
+ "category_id"=>{"type"=>"long"},
+ "causes"=>
+ {"properties"=>
+ {"actual"=>{"type"=>"double"},
+ "by_field_name"=>{"type"=>"keyword"},
+ "by_field_value"=>
+ {"copy_to"=>["all_field_values"], "type"=>"keyword"},
+ "correlated_by_field_value"=>
+ {"copy_to"=>["all_field_values"], "type"=>"keyword"},
+ "field_name"=>{"type"=>"keyword"},
+ "function"=>{"type"=>"keyword"},
+ "function_description"=>{"type"=>"keyword"},
+ "geo_results"=>
+ {"properties"=>
+ {"actual_point"=>{"type"=>"geo_point"},
+ "typical_point"=>{"type"=>"geo_point"}}},
+ "over_field_name"=>{"type"=>"keyword"},
+ "over_field_value"=>
+ {"copy_to"=>["all_field_values"], "type"=>"keyword"},
+ "partition_field_name"=>{"type"=>"keyword"},
+ "partition_field_value"=>
+ {"copy_to"=>["all
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174426771.pp.YHvhsM
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.69 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451071'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1f0ae291b1f75ebf]/Elasticsearch_template[1f0ae291b1f75ebf]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.38 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 / 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_174433498.pp.3eGFhG
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.69 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451078'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1f0ae291b1f75ebf]/Elasticsearch_template[1f0ae291b1f75ebf]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.35 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 / 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_174440514.pp.Se0gzj
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.69 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451084'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[56370289aaecb6e2]/Elasticsearch_template[56370289aaecb6e2]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.40 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 / 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_174447227.pp.2EtGLA
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.69 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451091'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[56370289aaecb6e2]/Elasticsearch_template[56370289aaecb6e2]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.36 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 / 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" => [".ml-anomalies-*"], "mappings" => {"_meta" => {"version" => "7.10.1"}, ...pression", "format" => "7", "number_of_replicas" => "0", "number_of_shards" => "1"}}, "version" => 7000199}] 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-anomalies-*"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic_templates"=>
+ [{"strings_as_keywords"=>{"mapping"=>{"type"=>"keyword"}, "match"=>"*"}}],
+ "properties"=>
+ {"actual"=>{"type"=>"double"},
+ "all_field_values"=>{"analyzer"=>"whitespace", "type"=>"text"},
+ "anomaly_score"=>{"type"=>"double"},
+ "average_bucket_processing_time_ms"=>{"type"=>"double"},
+ "bucket_allocation_failures_count"=>{"type"=>"long"},
+ "bucket_count"=>{"type"=>"long"},
+ "bucket_influencers"=>
+ {"properties"=>
+ {"anomaly_score"=>{"type"=>"double"},
+ "bucket_span"=>{"type"=>"long"},
+ "influencer_field_name"=>{"type"=>"keyword"},
+ "initial_anomaly_score"=>{"type"=>"double"},
+ "is_interim"=>{"type"=>"boolean"},
+ "job_id"=>{"type"=>"keyword"},
+ "probability"=>{"type"=>"double"},
+ "raw_anomaly_score"=>{"type"=>"double"},
+ "result_type"=>{"type"=>"keyword"},
+ "timestamp"=>{"type"=>"date"}},
+ "type"=>"nested"},
+ "bucket_span"=>{"type"=>"long"},
+ "by_field_name"=>{"type"=>"keyword"},
+ "by_field_value"=>{"copy_to"=>["all_field_values"], "type"=>"keyword"},
+ "category_id"=>{"type"=>"long"},
+ "causes"=>
+ {"properties"=>
+ {"actual"=>{"type"=>"double"},
+ "by_field_name"=>{"type"=>"keyword"},
+ "by_field_value"=>
+ {"copy_to"=>["all_field_values"], "type"=>"keyword"},
+ "correlated_by_field_value"=>
+ {"copy_to"=>["all_field_values"], "type"=>"keyword"},
+ "field_name"=>{"type"=>"keyword"},
+ "function"=>{"type"=>"keyword"},
+ "function_description"=>{"type"=>"keyword"},
+ "geo_results"=>
+ {"properties"=>
+ {"actual_point"=>{"type"=>"geo_point"},
+ "typical_point"=>{"type"=>"geo_point"}}},
+ "over_field_name"=>{"type"=>"keyword"},
+ "over_field_value"=>
+ {"copy_to"=>["all_field_values"], "type"=>"keyword"},
+ "partition_field_name"=>{"type"=>"keyword"},
+ "partition_field_value"=>
+ {"copy_to"=>["al
|
Puppet / 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_174625791.pp.ffnzcN
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.68 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451190'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[56370289aaecb6e2]/Elasticsearch_template[56370289aaecb6e2]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.41 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 / Puppet 8 - Debian 10:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` 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_174632478.pp.q27vol
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.71 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451197'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[56370289aaecb6e2]/Elasticsearch_template[56370289aaecb6e2]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.33 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 / 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 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174220592.pp.ks7d7l
Last 10 lines of output were:
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}81159eee18c28b47c2eeece63705e9e84ef3f4ba15a569e1b1720cd1bce3ab55'
�[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[12738077d63d0a24]/Elasticsearch_template[12738077d63d0a24]: Skipping because provider prefetch failed
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 19.83 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174246409.pp.ZvMPt7
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.64 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708450971'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[12738077d63d0a24]/Elasticsearch_template[12738077d63d0a24]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.13 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {".data-frame-internal-3" => {}}, "index_patterns" => [".transform-internal-005"], "mappings...d-ilm-policy", "rollover_alias" => ".ml-stats-write"}, "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"=>{".data-frame-internal-3"=>{}},
+ "index_patterns"=>[".transform-internal-005"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"checkpoint"=>{"type"=>"long"},
+ "create_time"=>{"type"=>"date"},
+ "description"=>{"type"=>"text"},
+ "dest"=>{"properties"=>{"index"=>{"type"=>"keyword"}}},
+ "doc_type"=>{"type"=>"keyword"},
+ "id"=>{"type"=>"keyword"},
+ "source"=>
+ {"properties"=>
+ {"index"=>{"type"=>"keyword"}, "query"=>{"enabled"=>false}}},
+ "state"=>
+ {"properties"=>
+ {"checkpoint"=>{"type"=>"long"},
+ "current_position"=>{"enabled"=>false},
+ "indexer_state"=>{"type"=>"keyword"},
+ "progress"=>
+ {"properties"=>
+ {"docs_indexed"=>{"type"=>"long"},
+ "docs_processed"=>{"type"=>"long"},
+ "docs_remaining"=>{"type"=>"long"},
+ "percent_complete"=>{"type"=>"float"},
+ "total_docs"=>{"type"=>"long"}}},
+ "reason"=>{"type"=>"keyword"},
+ "should_stop_at_checkpoint"=>{"type"=>"boolean"},
+ "task_state"=>{"type"=>"keyword"}}},
+ "stats"=>
+ {"properties"=>
+ {"documents_indexed"=>{"type"=>"long"},
+ "documents_processed"=>{"type"=>"long"},
+ "exponential_avg_checkpoint_duration_ms"=>{"type"=>"double"},
+ "exponential_avg_documents_indexed"=>{"type"=>"double"},
+ "exponential_avg_documents_processed"=>{"type"=>"double"},
+ "index_failures"=>{"type"=>"long"},
+ "index_time_in_ms"=>{"type"=>"long"},
+ "index_total"=>{"type"=>"long"},
+ "pages_processed"=>{"type"=>"long"},
+ "processing_time_in_ms"=>{"type"=>"long"},
+ "processing_total"=>{"type"=>"long"},
+ "search_failures"=>{"type"=>"long"},
+ "search_time_in_ms"=>{"type"=>"long"},
+ "search_total"=>{"type"=>"long"},
+ "trigger_count"=>{"type"=>"long"}}},
+ "time_upper_bound_millis"=>{"type"=>"date"},
+ "timestamp_millis"=>{"type"=>"date"},
+ "version"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>{"au
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174425642.pp.319cad
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.65 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451070'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[12738077d63d0a24]/Elasticsearch_template[12738077d63d0a24]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.17 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 / 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_174432763.pp.HRfyQw
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.65 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451077'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[12738077d63d0a24]/Elasticsearch_template[12738077d63d0a24]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.13 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 / 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_174440122.pp.xiziT2
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.66 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451085'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1abd21f716eae2e5]/Elasticsearch_template[1abd21f716eae2e5]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.18 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 / 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_174447939.pp.yL14eC
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.67 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451093'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1abd21f716eae2e5]/Elasticsearch_template[1abd21f716eae2e5]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.18 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 / 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" => {".data-frame-internal-3" => {}}, "index_patterns" => [".transform-internal-005"], "mappings...d-ilm-policy", "rollover_alias" => ".ml-stats-write"}, "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"=>{".data-frame-internal-3"=>{}},
+ "index_patterns"=>[".transform-internal-005"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"checkpoint"=>{"type"=>"long"},
+ "create_time"=>{"type"=>"date"},
+ "description"=>{"type"=>"text"},
+ "dest"=>{"properties"=>{"index"=>{"type"=>"keyword"}}},
+ "doc_type"=>{"type"=>"keyword"},
+ "id"=>{"type"=>"keyword"},
+ "source"=>
+ {"properties"=>
+ {"index"=>{"type"=>"keyword"}, "query"=>{"enabled"=>false}}},
+ "state"=>
+ {"properties"=>
+ {"checkpoint"=>{"type"=>"long"},
+ "current_position"=>{"enabled"=>false},
+ "indexer_state"=>{"type"=>"keyword"},
+ "progress"=>
+ {"properties"=>
+ {"docs_indexed"=>{"type"=>"long"},
+ "docs_processed"=>{"type"=>"long"},
+ "docs_remaining"=>{"type"=>"long"},
+ "percent_complete"=>{"type"=>"float"},
+ "total_docs"=>{"type"=>"long"}}},
+ "reason"=>{"type"=>"keyword"},
+ "should_stop_at_checkpoint"=>{"type"=>"boolean"},
+ "task_state"=>{"type"=>"keyword"}}},
+ "stats"=>
+ {"properties"=>
+ {"documents_indexed"=>{"type"=>"long"},
+ "documents_processed"=>{"type"=>"long"},
+ "exponential_avg_checkpoint_duration_ms"=>{"type"=>"double"},
+ "exponential_avg_documents_indexed"=>{"type"=>"double"},
+ "exponential_avg_documents_processed"=>{"type"=>"double"},
+ "index_failures"=>{"type"=>"long"},
+ "index_time_in_ms"=>{"type"=>"long"},
+ "index_total"=>{"type"=>"long"},
+ "pages_processed"=>{"type"=>"long"},
+ "processing_time_in_ms"=>{"type"=>"long"},
+ "processing_total"=>{"type"=>"long"},
+ "search_failures"=>{"type"=>"long"},
+ "search_time_in_ms"=>{"type"=>"long"},
+ "search_total"=>{"type"=>"long"},
+ "trigger_count"=>{"type"=>"long"}}},
+ "time_upper_bound_millis"=>{"type"=>"date"},
+ "timestamp_millis"=>{"type"=>"date"},
+ "version"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>{"a
|
Puppet / 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_174627240.pp.GHQHpM
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.69 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451192'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1abd21f716eae2e5]/Elasticsearch_template[1abd21f716eae2e5]: 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 / Puppet 8 - Ubuntu 20.04:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` 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_174634868.pp.pYism8
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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.69 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708451200'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[1abd21f716eae2e5]/Elasticsearch_template[1abd21f716eae2e5]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.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:87
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174229191.pp.lBteUb
Last 10 lines of output were:
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}17aa57d550c09966f8a7281e2de2924879f48ec2ff8ee998d370ebc3a4740c73'
�[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[8b6665047c1d298d]/Elasticsearch_template[8b6665047c1d298d]: Skipping because provider prefetch failed
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 21.41 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174256665.pp.HR59Mb
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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 '1708450981'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[8b6665047c1d298d]/Elasticsearch_template[8b6665047c1d298d]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.28 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {".transform-notifications-read" => {"is_hidden" => true}}, "index_patterns" => [".transform-n...pression", "format" => "7", "number_of_replicas" => "0", "number_of_shards" => "1"}}, "version" => 7000199}] 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"=>{".transform-notifications-read"=>{"is_hidden"=>true}},
+ "index_patterns"=>[".transform-notifications-*"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"level"=>{"type"=>"keyword"},
+ "message"=>{"fields"=>{"raw"=>{"type"=>"keyword"}}, "type"=>"text"},
+ "node_name"=>{"type"=>"keyword"},
+ "timestamp"=>{"type"=>"date"},
+ "transform_id"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>
+ {"auto_expand_replicas"=>"0-1",
+ "hidden"=>"true",
+ "number_of_shards"=>"1"}},
+ "version"=>7100199},
+ {"aliases"=>{".data-frame-internal-3"=>{}},
+ "index_patterns"=>[".transform-internal-005"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"checkpoint"=>{"type"=>"long"},
+ "create_time"=>{"type"=>"date"},
+ "description"=>{"type"=>"text"},
+ "dest"=>{"properties"=>{"index"=>{"type"=>"keyword"}}},
+ "doc_type"=>{"type"=>"keyword"},
+ "id"=>{"type"=>"keyword"},
+ "source"=>
+ {"properties"=>
+ {"index"=>{"type"=>"keyword"}, "query"=>{"enabled"=>false}}},
+ "state"=>
+ {"properties"=>
+ {"checkpoint"=>{"type"=>"long"},
+ "current_position"=>{"enabled"=>false},
+ "indexer_state"=>{"type"=>"keyword"},
+ "progress"=>
+ {"properties"=>
+ {"docs_indexed"=>{"type"=>"long"},
+ "docs_processed"=>{"type"=>"long"},
+ "docs_remaining"=>{"type"=>"long"},
+ "percent_complete"=>{"type"=>"float"},
+ "total_docs"=>{"type"=>"long"}}},
+ "reason"=>{"type"=>"keyword"},
+ "should_stop_at_checkpoint"=>{"type"=>"boolean"},
+ "task_state"=>{"type"=>"keyword"}}},
+ "stats"=>
+ {"properties"=>
+ {"documents_indexed"=>{"type"=>"long"},
+ "documents_processed"=>{"type"=>"long"},
+ "exponential_avg_checkpoint_duration_ms"=>{"type"=>"double"},
+ "exponential_avg_documents_indexed"=>{"type"=>"double"},
+ "exponential_avg_documents_processed"=>{"type"=>"double"},
+
|
Puppet / 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 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_174436140.pp.Ptb8dW
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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 '1708451081'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[8b6665047c1d298d]/Elasticsearch_template[8b6665047c1d298d]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.28 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 / 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_174443394.pp.wxVRzW
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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 '1708451088'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[8b6665047c1d298d]/Elasticsearch_template[8b6665047c1d298d]: 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / 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_174450889.pp.6Jr8nL
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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 '1708451096'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[038e41c2ccc770f7]/Elasticsearch_template[038e41c2ccc770f7]: 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 / 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_174458222.pp.H3aqmF
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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 '1708451103'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[038e41c2ccc770f7]/Elasticsearch_template[038e41c2ccc770f7]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.28 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 / 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" => {".transform-notifications-read" => {"is_hidden" => true}}, "index_patterns" => [".transform-n...pression", "format" => "7", "number_of_replicas" => "0", "number_of_shards" => "1"}}, "version" => 7000199}] 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"=>{".transform-notifications-read"=>{"is_hidden"=>true}},
+ "index_patterns"=>[".transform-notifications-*"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"level"=>{"type"=>"keyword"},
+ "message"=>{"fields"=>{"raw"=>{"type"=>"keyword"}}, "type"=>"text"},
+ "node_name"=>{"type"=>"keyword"},
+ "timestamp"=>{"type"=>"date"},
+ "transform_id"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>
+ {"auto_expand_replicas"=>"0-1",
+ "hidden"=>"true",
+ "number_of_shards"=>"1"}},
+ "version"=>7100199},
+ {"aliases"=>{".data-frame-internal-3"=>{}},
+ "index_patterns"=>[".transform-internal-005"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7.10.1"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"checkpoint"=>{"type"=>"long"},
+ "create_time"=>{"type"=>"date"},
+ "description"=>{"type"=>"text"},
+ "dest"=>{"properties"=>{"index"=>{"type"=>"keyword"}}},
+ "doc_type"=>{"type"=>"keyword"},
+ "id"=>{"type"=>"keyword"},
+ "source"=>
+ {"properties"=>
+ {"index"=>{"type"=>"keyword"}, "query"=>{"enabled"=>false}}},
+ "state"=>
+ {"properties"=>
+ {"checkpoint"=>{"type"=>"long"},
+ "current_position"=>{"enabled"=>false},
+ "indexer_state"=>{"type"=>"keyword"},
+ "progress"=>
+ {"properties"=>
+ {"docs_indexed"=>{"type"=>"long"},
+ "docs_processed"=>{"type"=>"long"},
+ "docs_remaining"=>{"type"=>"long"},
+ "percent_complete"=>{"type"=>"float"},
+ "total_docs"=>{"type"=>"long"}}},
+ "reason"=>{"type"=>"keyword"},
+ "should_stop_at_checkpoint"=>{"type"=>"boolean"},
+ "task_state"=>{"type"=>"keyword"}}},
+ "stats"=>
+ {"properties"=>
+ {"documents_indexed"=>{"type"=>"long"},
+ "documents_processed"=>{"type"=>"long"},
+ "exponential_avg_checkpoint_duration_ms"=>{"type"=>"double"},
+ "exponential_avg_documents_indexed"=>{"type"=>"double"},
+ "exponential_avg_documents_processed"=>{"type"=>"double"},
+
|
Puppet / 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_174637493.pp.dWimtB
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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 '1708451202'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[038e41c2ccc770f7]/Elasticsearch_template[038e41c2ccc770f7]: 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:87
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Puppet / Puppet 8 - Ubuntu 18.04:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `content` 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_174644766.pp.Bm9oD7
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/elasticsearch/manifests/config.pp", 24]:["/etc/puppetlabs/code/environments/production/modules/elasticsearch/manifests/init.pp", 492]
(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 '1708451210'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[038e41c2ccc770f7]/Elasticsearch_template[038e41c2ccc770f7]: 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:87
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|