Skip to content

redhat: allow dots in interface names #131

redhat: allow dots in interface names

redhat: allow dots in interface names #131

Triggered via pull request April 3, 2024 11:32
Status Failure
Total duration 1m 28s
Artifacts

ci.yml

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

Annotations

8 errors and 6 warnings
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/sles_spec.rb#L46
Puppet::Type::Network_config::ProviderSles selecting files to parse is expected not to include "ifcfg-eth0.4096" Failure/Error: it { is_expected.not_to include file } expected ["ifcfg-vlan200", "ifcfg-bond1.1001", "ifcfg-bond1", "ifcfg-eth0", "ifcfg-bond0", "ifcfg-eth0.1", "ifcfg-eth3", "ifcfg-eth2", "ifcfg-eth0.4095", "ifcfg-eth1", "ifcfg-vlan100", "ifcfg-eth0.4096"] not to include "ifcfg-eth0.4096"
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L48
Puppet::Type::Network_config::ProviderRedhat selecting files to parse is expected not to include "ifcfg-vlan500.bak" Failure/Error: it { is_expected.not_to include file } expected ["ifcfg-vlan200", "ifcfg-eth0.0", "ifcfg-vlan500.bak", "ifcfg-bond1.1001", "ifcfg-bond1", "ifcfg-eth0...0.4095", "ifcfg-eth1", "ifcfg-eth0:10000000", "ifcfg-vlan100", "ifcfg-eth0.4096", "ifcfg-vlan100:0"] not to include "ifcfg-vlan500.bak"
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/redhat_spec.rb#L48
Puppet::Type::Network_config::ProviderRedhat selecting files to parse is expected not to include "ifcfg-eth0.4096" Failure/Error: it { is_expected.not_to include file } expected ["ifcfg-vlan200", "ifcfg-eth0.0", "ifcfg-vlan500.bak", "ifcfg-bond1.1001", "ifcfg-bond1", "ifcfg-eth0...0.4095", "ifcfg-eth1", "ifcfg-eth0:10000000", "ifcfg-vlan100", "ifcfg-eth0.4096", "ifcfg-vlan100:0"] not to include "ifcfg-eth0.4096"
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/sles_spec.rb#L46
Puppet::Type::Network_config::ProviderSles selecting files to parse is expected not to include "ifcfg-eth0.4096" Failure/Error: it { is_expected.not_to include file } expected ["ifcfg-vlan200", "ifcfg-bond1.1001", "ifcfg-bond1", "ifcfg-eth0", "ifcfg-bond0", "ifcfg-eth0.1", "ifcfg-eth3", "ifcfg-eth2", "ifcfg-eth0.4095", "ifcfg-eth1", "ifcfg-vlan100", "ifcfg-eth0.4096"] not to include "ifcfg-eth0.4096"
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L48
Puppet::Type::Network_config::ProviderRedhat selecting files to parse is expected not to include "ifcfg-vlan500.bak" Failure/Error: it { is_expected.not_to include file } expected ["ifcfg-vlan200", "ifcfg-eth0.0", "ifcfg-vlan500.bak", "ifcfg-bond1.1001", "ifcfg-bond1", "ifcfg-eth0...0.4095", "ifcfg-eth1", "ifcfg-eth0:10000000", "ifcfg-vlan100", "ifcfg-eth0.4096", "ifcfg-vlan100:0"] not to include "ifcfg-vlan500.bak"
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/redhat_spec.rb#L48
Puppet::Type::Network_config::ProviderRedhat selecting files to parse is expected not to include "ifcfg-eth0.4096" Failure/Error: it { is_expected.not_to include file } expected ["ifcfg-vlan200", "ifcfg-eth0.0", "ifcfg-vlan500.bak", "ifcfg-bond1.1001", "ifcfg-bond1", "ifcfg-eth0...0.4095", "ifcfg-eth1", "ifcfg-eth0:10000000", "ifcfg-vlan100", "ifcfg-eth0.4096", "ifcfg-vlan100:0"] not to include "ifcfg-eth0.4096"
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
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 /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 /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 /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 /not a valid ipv6 address/ but nothing was raised