Skip to content

Add SLES support to network_route and network_config types #102

Add SLES support to network_route and network_config types

Add SLES support to network_route and network_config types #102

Triggered via pull request July 4, 2023 12:53
Status Failure
Total duration 1m 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

4 errors and 6 warnings
Puppet / 8 (Ruby 3.2): spec/unit/provider/network_config/sles_spec.rb#L237
Puppet::Type::Network_config::ProviderSles when parsing interface.vlan_id vlan configuration eth0.4095 method is expected to eq "static" Failure/Error: its(:method) { is_expected.to eq('static') } expected: "static" got: "none" (compared using ==)
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/unit/provider/network_config/sles_spec.rb#L237
Puppet::Type::Network_config::ProviderSles when parsing interface.vlan_id vlan configuration eth0.4095 method is expected to eq "static" Failure/Error: its(:method) { is_expected.to eq('static') } expected: "static" got: "none" (compared using ==)
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