Add Puppet 8 support #277
Annotations
10 errors
Run tests:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` present manifest applies cleanly
Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug])
Beaker::Host::CommandFailure:
Host 'debian10-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_163602659.pp.SF9BtK
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/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.62 seconds
Error: uninitialized constant PSON
Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19
Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Run tests:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` present manifest is idempotent
Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug])
Beaker::Host::CommandFailure:
Host 'debian10-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_163607372.pp.D3ioJf
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/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.63 seconds
Error: uninitialized constant PSON
Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19
Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Run tests:
spec/helpers/acceptance/tests/template_shared_examples.rb#L41
elasticsearch v7.10.1 class template resources configured through `source` present Port "9200" open
Failure/Error: expect(subject).to be_listening
expected Port "9200" to be listening
Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21
Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Run tests:
spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `source` present http://localhost:9200/_template returns the installed template
Failure/Error: subject { shell("curl http://localhost:#{elasticsearch_port}/_template") }
Beaker::Host::CommandFailure:
Host 'debian10-64-puppet8.example.com' exited with 7 running:
curl http://localhost:9200/_template
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 9200: Connection refused
Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21
Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
Run tests:
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` absent manifest applies cleanly
Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug])
Beaker::Host::CommandFailure:
Host 'debian10-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_163912737.pp.IuC6Bs
Last 10 lines of output were:
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}99ed2f34c8b58fb89a386435824ce6dd813abb725527df1904b8dc26bc944aed'
�[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[f6dc1181e4875ef3]/Elasticsearch_template[f6dc1181e4875ef3]: Skipping because provider prefetch failed
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 19.89 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
|
Run tests:
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_163937428.pp.IK2rMz
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 '1708447181'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[f6dc1181e4875ef3]/Elasticsearch_template[f6dc1181e4875ef3]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.32 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
|
Run tests:
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_163944200.pp.gwrkHk
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.66 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708447188'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[6029a5a04182db7d]/Elasticsearch_template[6029a5a04182db7d]: 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
|
Run tests:
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_163950575.pp.5o9GgG
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.65 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708447194'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[6029a5a04182db7d]/Elasticsearch_template[6029a5a04182db7d]: 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
|
Run tests:
spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `content` present http://localhost:9200/_template returns the installed template
Failure/Error:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {}, "index_patterns" => [".ml-inference-000003"], "mappings" => {"_meta" => {"version" => "71001..." => {"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"=>[".ml-inference-000003"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7100199"},
+ "dynamic"=>"false",
+ "properties"=>
+ {"compression_version"=>{"type"=>"long"},
+ "create_time"=>{"type"=>"date"},
+ "created_by"=>{"type"=>"keyword"},
+ "default_field_map"=>{"enabled"=>false},
+ "definition"=>{"enabled"=>false},
+ "definition_length"=>{"type"=>"long"},
+ "description"=>{"type"=>"text"},
+ "doc_num"=>{"type"=>"long"},
+ "doc_type"=>{"type"=>"keyword"},
+ "estimated_heap_memory_usage_bytes"=>{"type"=>"long"},
+ "estimated_operations"=>{"type"=>"long"},
+ "feature_importance_baseline"=>
+ {"properties"=>
+ {"baseline"=>{"type"=>"double"},
+ "classes"=>
+ {"properties"=>
+ {"baseline"=>{"type"=>"double"},
+ "class_name"=>{"type"=>"keyword"}}}}},
+ "inference_config"=>{"enabled"=>false},
+ "input"=>{"enabled"=>false},
+ "metadata"=>{"enabled"=>false},
+ "model_id"=>{"type"=>"keyword"},
+ "tags"=>{"type"=>"keyword"},
+ "total_definition_length"=>{"type"=>"long"},
+ "total_feature_importance"=>
+ {"dynamic"=>"false",
+ "properties"=>
+ {"classes"=>
+ {"dynamic"=>"false",
+ "properties"=>
+ {"class_name"=>{"type"=>"keyword"},
+ "importance"=>
+ {"properties"=>
+ {"max"=>{"type"=>"double"},
+ "mean_magnitude"=>{"type"=>"double"},
+ "min"=>{"type"=>"double"}}}},
+ "type"=>"nested"},
+ "feature_name"=>{"type"=>"keyword"},
+ "importance"=>
+ {"properties"=>
+ {"max"=>{"type"=>"double"},
+ "mean_magnitude"=>{"type"=>"double"},
+ "min"=>{"type"=>"double"}}}},
+ "type"=>"nested"},
+ "version"=>{"type"=>"keyword"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>{"auto_expand_replicas"=>"0-1", "number_of_shards"=>"1"}},
+ "version"=>7100199},
+ {"aliases"=>{},
+ "index_patterns"=>[".monitoring-alerts-7"],
+ "mappings"=>
+
|
Run tests:
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_164128984.pp.CPcKgo
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.65 seconds
Info: Using environment 'production'
Info: Applying configuration version '1708447293'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[6029a5a04182db7d]/Elasticsearch_template[6029a5a04182db7d]: 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
|
The logs for this run have expired and are no longer available.
Loading