Skip to content

Ensure boolean properties munged #152

Ensure boolean properties munged

Ensure boolean properties munged #152

Triggered via pull request October 21, 2024 16:58
Status Failure
Total duration 1m 41s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
32s
Puppet / Static validations
Matrix: Puppet / unit
Puppet  /  Test suite
2s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 10 warnings
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L62
Puppet::Type::Network_config::ProviderRedhat when parsing the onboot property is expected to eq "yes" Failure/Error: it { expect(data[:onboot]).to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L83
Puppet::Type::Network_config::ProviderRedhat when parsing the hotplug property when true is expected to eq "yes" Failure/Error: it { expect(data[:hotplug]).to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L89
Puppet::Type::Network_config::ProviderRedhat when parsing the hotplug property when false is expected to eq "no" Failure/Error: it { expect(data[:hotplug]).to eq('no') } expected: "no" got: false (compared using ==) Diff: @@ -1 +1 @@ -"no" +false
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L123
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration bond0 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L136
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration bond1 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L151
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth0 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L167
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth1 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L183
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth2 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L199
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth3 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L319
Puppet::Type::Network_config::ProviderRedhat when parsing interface.vlan_id vlan configuration eth0.0 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L62
Puppet::Type::Network_config::ProviderRedhat when parsing the onboot property is expected to eq "yes" Failure/Error: it { expect(data[:onboot]).to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L83
Puppet::Type::Network_config::ProviderRedhat when parsing the hotplug property when true is expected to eq "yes" Failure/Error: it { expect(data[:hotplug]).to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L89
Puppet::Type::Network_config::ProviderRedhat when parsing the hotplug property when false is expected to eq "no" Failure/Error: it { expect(data[:hotplug]).to eq('no') } expected: "no" got: false (compared using ==) Diff: @@ -1 +1 @@ -"no" +false
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L123
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration bond0 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L136
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration bond1 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L151
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth0 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L167
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth1 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L183
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth2 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L199
Puppet::Type::Network_config::ProviderRedhat when parsing complex configuration eth3 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L319
Puppet::Type::Network_config::ProviderRedhat when parsing interface.vlan_id vlan configuration eth0.0 onboot is expected to eq "yes" Failure/Error: its(:onboot) { is_expected.to eq('yes') } expected: "yes" got: true (compared using ==) Diff: @@ -1 +1 @@ -"yes" +true
Puppet / Test suite
Process completed with exit code 1.
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
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Debian 10
Puppet / 8 (Ruby 3.2): spec/unit/type/network_config_spec.rb#L68
Puppet::Type::Network_config when validating the attribute options is a descendant of the KeyValue property Failure/Error: expect(Puppet::Type.type(:network_config).propertybyname(:options).ancestors).to include(Puppet::Property::Ensure) expected [Puppet::Type::Network_config::Options, Puppet::Property, Puppet::Parameter, Puppet::Util::Logging, P...acts, FastGettext::Translation, JSON::Ext::Generator::GeneratorMethods::Object, Kernel, BasicObject] to include Puppet::Property::Ensure Diff: @@ -1,12 +1,23 @@ -[Puppet::Property::Ensure] +[Puppet::Type::Network_config::Options, + Puppet::Property, + Puppet::Parameter, + Puppet::Util::Logging, + Puppet::Util::Errors, + Puppet::Util, + Object, + RspecPuppetFacts, + FastGettext::Translation, + JSON::Ext::Generator::GeneratorMethods::Object, + Kernel, + BasicObject]
Puppet / 8 (Ruby 3.2): spec/unit/type/network_config_spec.rb#L85
Puppet::Type::Network_config when validating the attribute value ipaddress using the inet family fails when passed an IPv6 address Failure/Error: expect { Puppet::Type.type(:network_config).new(name: 'yay', family: :inet, ipaddress: address6) }.to raise_error(%r{not a valid ipv4 address}) expected Exception with message matching /not a valid ipv4 address/ but nothing was raised
Puppet / 8 (Ruby 3.2): spec/unit/type/network_config_spec.rb#L96
Puppet::Type::Network_config when validating the attribute value ipaddress using the inet6 family fails when passed an IPv4 address Failure/Error: expect { Puppet::Type.type(:network_config).new(name: 'yay', family: :inet6, ipaddress: address4) }.to raise_error(%r{not a valid ipv6 address}) expected Exception with message matching /not a valid ipv6 address/ but nothing was raised
Puppet / 7 (Ruby 2.7): spec/unit/type/network_config_spec.rb#L68
Puppet::Type::Network_config when validating the attribute options is a descendant of the KeyValue property Failure/Error: expect(Puppet::Type.type(:network_config).propertybyname(:options).ancestors).to include(Puppet::Property::Ensure) expected [Puppet::Type::Network_config::Options, Puppet::Property, Puppet::Parameter, Puppet::Util::Logging, P...ator::GeneratorMethods::Object, JSON::Ext::Generator::GeneratorMethods::Object, Kernel, BasicObject] to include Puppet::Property::Ensure Diff: @@ -1,13 +1,25 @@ -[Puppet::Property::Ensure] +[Puppet::Type::Network_config::Options, + Puppet::Property, + Puppet::Parameter, + Puppet::Util::Logging, + Puppet::Util::Errors, + Puppet::Util, + Object, + RspecPuppetFacts, + FastGettext::Translation, + PSON::Pure::Generator::GeneratorMethods::Object, + JSON::Ext::Generator::GeneratorMethods::Object, + Kernel, + BasicObject]
Puppet / 7 (Ruby 2.7): spec/unit/type/network_config_spec.rb#L85
Puppet::Type::Network_config when validating the attribute value ipaddress using the inet family fails when passed an IPv6 address Failure/Error: expect { Puppet::Type.type(:network_config).new(name: 'yay', family: :inet, ipaddress: address6) }.to raise_error(%r{not a valid ipv4 address}) expected Exception with message matching /not a valid ipv4 address/ but nothing was raised
Puppet / 7 (Ruby 2.7): spec/unit/type/network_config_spec.rb#L96
Puppet::Type::Network_config when validating the attribute value ipaddress using the inet6 family fails when passed an IPv4 address Failure/Error: expect { Puppet::Type.type(:network_config).new(name: 'yay', family: :inet6, ipaddress: address4) }.to raise_error(%r{not a valid ipv6 address}) expected Exception with message matching /not a valid ipv6 address/ but nothing was raised