Skip to content

remove merge() in favor of + #219

remove merge() in favor of +

remove merge() in favor of + #219

Re-run triggered January 22, 2026 15:59
Status Failure
Total duration 32s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
22s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
3s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 8 (Ruby 3.2): spec/defines/bond/debian_spec.rb#L32
network::bond::debian with default bonding params adds a network_config resource for bond0 Failure/Error: is_expected.to contain_network_config('bond0').with('ensure' => 'present', 'method' => 'static', 'ipaddress' => '172.18.1.2', 'netmask' => '255.255.128.0', 'options' => { 'bond-slaves' => 'eth0 eth1', 'bond-mode' => 'active-backup', 'bond-miimon' => '100', 'bond-downdelay' => '200', 'bond-updelay' => '200', Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a '+' expression, Can only append Array or Hash to a Hash (file: /home/runner/work/puppet-network/puppet-network/spec/fixtures/modules/network/manifests/bond/debian.pp, line: 91, column: 53) (line: 2) on node runnervmmtnos.ynrmsi2qndsutn4md24tqj1tpd.ex.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/bond/debian_spec.rb#L27
network::bond::debian with default bonding params adds a network_config resource for eth1 Failure/Error: is_expected.to contain_network_config(slave).with_ensure('absent') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a '+' expression, Can only append Array or Hash to a Hash (file: /home/runner/work/puppet-network/puppet-network/spec/fixtures/modules/network/manifests/bond/debian.pp, line: 91, column: 53) (line: 2) on node runnervmmtnos.ynrmsi2qndsutn4md24tqj1tpd.ex.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/bond/debian_spec.rb#L27
network::bond::debian with default bonding params adds a network_config resource for eth0 Failure/Error: is_expected.to contain_network_config(slave).with_ensure('absent') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a '+' expression, Can only append Array or Hash to a Hash (file: /home/runner/work/puppet-network/puppet-network/spec/fixtures/modules/network/manifests/bond/debian.pp, line: 91, column: 53) (line: 2) on node runnervmmtnos.ynrmsi2qndsutn4md24tqj1tpd.ex.internal.cloudapp.net
Puppet / Test suite
Process completed with exit code 1.
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 / 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#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 +1,12 @@ -[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]