Add Puppet 8 support #279
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 '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
|
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 '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
|
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:
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"},
+
|
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 '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
|
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 '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
|
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 '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
|
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 '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
|
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" => {".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"},
+
|
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 '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
|
Run tests:
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
|
The logs for this run have expired and are no longer available.
Loading