stdlib v9 support, use namespaced stdlib functions #262
Annotations
10 errors
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` present manifest applies cleanly
Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug])
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_114259841.pp.RVhPB8
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.59 seconds
Error: uninitialized constant PSON
Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:19
Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L35
elasticsearch v7.10.1 class template resources configured through `source` present manifest is idempotent
Failure/Error: apply_manifest(applied_manifest, catch_changes: true, debug: v[:puppet_debug])
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_114304228.pp.g41Mt2
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.61 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
|
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
|
spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `source` present http://localhost:9200/_template returns the installed template
Failure/Error: subject { shell("curl http://localhost:#{elasticsearch_port}/_template") }
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 7 running:
curl http://localhost:9200/_template
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to localhost port 9200 after 0 ms: Couldn't connect to server
Shared Example Group: "template content" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:21
Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
spec/helpers/acceptance/tests/manifest_shared_examples.rb#L29
elasticsearch v7.10.1 class template resources configured through `source` absent manifest applies cleanly
Failure/Error: apply_manifest(applied_manifest, catch_failures: true, debug: v[:puppet_debug])
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_114609115.pp.P7uKi4
Last 10 lines of output were:
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/content: content changed '{sha256}2640ef4a08a49da59f90644f465b00104c52fe26fc44239b837e13fa7bd4874a' to '{sha256}cd519b4bca897ec6412de4848c8cb2964db08807cd6f41cdcf7e567b7001013e'
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/owner: owner changed 'root' to 'elasticsearch'
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/mode: mode changed '0660' to '0440'
�[mNotice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/jvm.options.d/jvm.options]/ensure: defined content as '{sha256}1d1ab52a24ad649e3055c2e65797e6f3057dd23f42e2bbbe0c23f3fff10e08e4'
�[mNotice: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]: Unscheduling refresh on Service[elasticsearch]
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Info: Stage[main]: Unscheduling all events on Stage[main]
Warning: /Stage[main]/Main/Elasticsearch::Template[eec9f3c684326bee]/Elasticsearch_template[eec9f3c684326bee]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 19.03 seconds
Shared Example Group: "manifest application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:33
Shared Example Group: "template application" called from ./spec/helpers/acceptance/tests/template_shared_examples.rb:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
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_114632548.pp.5UjilA
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.61 seconds
Info: Using environment 'production'
Info: Applying configuration version '1701863196'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[eec9f3c684326bee]/Elasticsearch_template[eec9f3c684326bee]: 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:77
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
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_114638550.pp.iUIJLs
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.62 seconds
Info: Using environment 'production'
Info: Applying configuration version '1701863202'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[cb913c0ff0d0d6dd]/Elasticsearch_template[cb913c0ff0d0d6dd]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.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:87
Shared Example Group: "template operations" called from ./spec/acceptance/tests/acceptance_spec.rb:65
|
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_114644309.pp.UkIYYf
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.62 seconds
Info: Using environment 'production'
Info: Applying configuration version '1701863208'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[cb913c0ff0d0d6dd]/Elasticsearch_template[cb913c0ff0d0d6dd]: 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: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
|
spec/helpers/acceptance/tests/template_shared_examples.rb#L49
elasticsearch v7.10.1 class template resources configured through `content` present http://localhost:9200/_template returns the installed template
Failure/Error:
expect(JSON.parse(subject.stdout).values).
to include(include(template))
expected [{"aliases" => {}, "index_patterns" => [".ml-meta"], "mappings" => {"_meta" => {"version" => "7100199"}, "dynam...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-meta"],
+ "mappings"=>
+ {"_meta"=>{"version"=>"7100199"},
+ "dynamic_templates"=>
+ [{"strings_as_keywords"=>{"mapping"=>{"type"=>"keyword"}, "match"=>"*"}}],
+ "properties"=>
+ {"calendar_id"=>{"type"=>"keyword"},
+ "description"=>{"type"=>"keyword"},
+ "end_time"=>{"type"=>"date"},
+ "job_ids"=>{"type"=>"keyword"},
+ "start_time"=>{"type"=>"date"}}},
+ "order"=>0,
+ "settings"=>
+ {"index"=>{"auto_expand_replicas"=>"0-1", "number_of_shards"=>"1"}},
+ "version"=>7100199},
+ {"aliases"=>{},
+ "index_patterns"=>[".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"},
|
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_114822344.pp.VEv81q
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Warning: This function is deprecated, please use stdlib::merge instead. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp", 147]:
(location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.66 seconds
Info: Using environment 'production'
Info: Applying configuration version '1701863306'
Error: Could not prefetch elasticsearch_template provider 'ruby': wrong number of arguments (given 9, expected 0..8)
Warning: /Stage[main]/Main/Elasticsearch::Template[cb913c0ff0d0d6dd]/Elasticsearch_template[cb913c0ff0d0d6dd]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 1.01 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