Change license endpoint #351
ci.yml
on: pull_request
Puppet
/
Static validations
22s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
34 errors and 3 warnings
Puppet / 8 (Ruby 3.2):
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L40
Puppet::Type::Elasticsearch_license::ProviderRuby licenses returns licenses
Failure/Error:
expect(described_class.instances.map do |provider|
provider.instance_variable_get(:@property_hash)
end).to match_array(instance)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
Puppet / 8 (Ruby 3.2):
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L55
Puppet::Type::Elasticsearch_license::ProviderRuby basic authentication authenticates
Failure/Error:
expect(described_class.api_objects(
'http', 'localhost', '9200', 10, 'elastic', 'password', validate_tls: true
).map do |provider|
described_class.new(
provider
).instance_variable_get(:@property_hash)
end).to contain_exactly(example1)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
Puppet / 8 (Ruby 3.2):
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L77
Puppet::Type::Elasticsearch_license::ProviderRuby https uses ssl
Failure/Error:
expect(described_class.api_objects(
'https', 'localhost', '9200', 10, validate_tls: true
).map do |provider|
described_class.new(
provider
).instance_variable_get(:@property_hash)
end).to contain_exactly(example1)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
Puppet / 8 (Ruby 3.2):
spec/classes/006_elasticsearch_license_spec.rb#L53
elasticsearch::license on ubuntu-22.04-x86_64 when managing x-pack license is expected to contain Es_instance_conn_validator[license-conn-validator] that comes before elasticsearch_license[xpack]
Failure/Error:
expect(subject).to contain_es_instance_conn_validator(
'license-conn-validator'
).that_comes_before('elasticsearch_license[xpack]')
expected that the catalogue would contain Es_instance_conn_validator[license-conn-validator] with that comes before elasticsearch_license[xpack]
|
Puppet / 8 (Ruby 3.2):
spec/classes/006_elasticsearch_license_spec.rb#L59
elasticsearch::license on ubuntu-22.04-x86_64 when managing x-pack license is expected to contain Elasticsearch_license[xpack] with ensure => "present", content => {"license"=>{"uid"=>"cbff45e7-c553-41f7-ae4f-9205eabd80xx", "type"=>"trial", "issue_date_in_millis"=>1519341125550, "expiry_date_in_millis"=>1521933125550, "max_nodes"=>1000, "issued_to"=>"test", "issuer"=>"elasticsearch", "signature"=>"secretvalue", "start_date_in_millis"=>1513814400000}}, protocol => "https", host => "127.0.0.1", port => 9201, timeout => 11, username => "elastic", password => "password", ca_file => "/foo/bar.pem", ca_path => "/foo/" and validate_tls => false
Failure/Error:
expect(subject).to contain_elasticsearch_license('xpack').with(
ensure: 'present',
content: {
'license' => {
'uid' => 'cbff45e7-c553-41f7-ae4f-9205eabd80xx',
'type' => 'trial',
'issue_date_in_millis' => 1_519_341_125_550,
'expiry_date_in_millis' => 1_521_933_125_550,
'max_nodes' => 1000,
'issued_to' => 'test',
expected that the catalogue would contain Elasticsearch_license[xpack]
|
Puppet / 8 (Ruby 3.2):
vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/coverage.rb#L218
Code coverage must cover at least 100% of resources
Failure/Error: at_exit { RSpec::Puppet::Coverage.report! 100 }
expected: >= 100.0
got: 57.14
|
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
|
Puppet / 7 (Ruby 2.7):
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L40
Puppet::Type::Elasticsearch_license::ProviderRuby licenses returns licenses
Failure/Error:
expect(described_class.instances.map do |provider|
provider.instance_variable_get(:@property_hash)
end).to match_array(instance)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
Puppet / 7 (Ruby 2.7):
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L55
Puppet::Type::Elasticsearch_license::ProviderRuby basic authentication authenticates
Failure/Error:
expect(described_class.api_objects(
'http', 'localhost', '9200', 10, 'elastic', 'password', validate_tls: true
).map do |provider|
described_class.new(
provider
).instance_variable_get(:@property_hash)
end).to contain_exactly(example1)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
Puppet / 7 (Ruby 2.7):
spec/helpers/unit/provider/elasticsearch_rest_shared_examples.rb#L77
Puppet::Type::Elasticsearch_license::ProviderRuby https uses ssl
Failure/Error:
expect(described_class.api_objects(
'https', 'localhost', '9200', 10, validate_tls: true
).map do |provider|
described_class.new(
provider
).instance_variable_get(:@property_hash)
end).to contain_exactly(example1)
expected collection contained: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
actual collection contained: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
the missing elements were: [{:content=>{"licenses"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>14119488000..."=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"license", :provider=>:ruby}]
the extra elements were: [{:content=>{"license"=>{"expiry_date_in_millis"=>1914278399999, "issue_date_in_millis"=>141194880000...uid"=>"893361dc-9749-4997-93cb-802e3d7fa4xx"}}, :ensure=>:present, :name=>"ruby", :provider=>:ruby}]
Shared Example Group: "REST API" called from ./spec/unit/provider/elasticsearch_license/xpack_spec.rb:89
|
Puppet / 7 (Ruby 2.7):
spec/classes/006_elasticsearch_license_spec.rb#L53
elasticsearch::license on scientific-7-x86_64 when managing x-pack license is expected to contain Es_instance_conn_validator[license-conn-validator] that comes before elasticsearch_license[xpack]
Failure/Error:
expect(subject).to contain_es_instance_conn_validator(
'license-conn-validator'
).that_comes_before('elasticsearch_license[xpack]')
expected that the catalogue would contain Es_instance_conn_validator[license-conn-validator] with that comes before elasticsearch_license[xpack]
|
Puppet / 7 (Ruby 2.7):
spec/classes/006_elasticsearch_license_spec.rb#L59
elasticsearch::license on scientific-7-x86_64 when managing x-pack license is expected to contain Elasticsearch_license[xpack] with ensure => "present", content => {"license"=>{"uid"=>"cbff45e7-c553-41f7-ae4f-9205eabd80xx", "type"=>"trial", "issue_date_in_millis"=>1519341125550, "expiry_date_in_millis"=>1521933125550, "max_nodes"=>1000, "issued_to"=>"test", "issuer"=>"elasticsearch", "signature"=>"secretvalue", "start_date_in_millis"=>1513814400000}}, protocol => "https", host => "127.0.0.1", port => 9201, timeout => 11, username => "elastic", password => "password", ca_file => "/foo/bar.pem", ca_path => "/foo/" and validate_tls => false
Failure/Error:
expect(subject).to contain_elasticsearch_license('xpack').with(
ensure: 'present',
content: {
'license' => {
'uid' => 'cbff45e7-c553-41f7-ae4f-9205eabd80xx',
'type' => 'trial',
'issue_date_in_millis' => 1_519_341_125_550,
'expiry_date_in_millis' => 1_521_933_125_550,
'max_nodes' => 1000,
'issued_to' => 'test',
expected that the catalogue would contain Elasticsearch_license[xpack]
|
Puppet / 7 (Ruby 2.7):
vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/coverage.rb#L218
Code coverage must cover at least 100% of resources
Failure/Error: at_exit { RSpec::Puppet::Coverage.report! 100 }
expected: >= 100.0
got: 57.14
|
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
|
Puppet / Puppet 8 - Ubuntu 20.04
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 8 - Ubuntu 20.04
The operation was canceled.
|
Puppet / Puppet 7 - Ubuntu 22.04
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 7 - Ubuntu 22.04
The operation was canceled.
|
Puppet / Puppet 8 - Ubuntu 22.04
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 8 - Ubuntu 22.04
The operation was canceled.
|
Puppet / Puppet 7 - Ubuntu 20.04
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 7 - Ubuntu 20.04
The operation was canceled.
|
Puppet / Puppet 7 - Debian 11
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 7 - Debian 11
The operation was canceled.
|
Puppet / Puppet 7 - OracleLinux 8
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 7 - OracleLinux 8
The operation was canceled.
|
Puppet / Puppet 8 - Debian 11
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 8 - Debian 11
The operation was canceled.
|
Puppet / Puppet 8 - OracleLinux 8
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 8 - OracleLinux 8
The operation was canceled.
|
Puppet / Puppet 7 - OracleLinux 7
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 7 - OracleLinux 7
The operation was canceled.
|
Puppet / Puppet 8 - OracleLinux 7
Canceling since a higher priority waiting request for '1231/merge' exists
|
Puppet / Puppet 8 - OracleLinux 7
The operation was canceled.
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system RedHat 7
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 7
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 8
|