Skip to content

Add custom sections to systemd network #313

Add custom sections to systemd network

Add custom sections to systemd network #313

Triggered via pull request July 25, 2024 14:03
Status Failure
Total duration 3m 3s
Artifacts

ci.yml

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

Annotations

20 errors
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L291
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L292
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Class[wireguard] Failure/Error: it { is_expected.to contain_class('wireguard') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L293
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Exec[generate private key as1234] Failure/Error: it { is_expected.to contain_exec("generate private key #{title}") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L294
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Exec[generate public key as1234] Failure/Error: it { is_expected.to contain_exec("generate public key #{title}") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L295
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain File[/etc/wireguard/as1234.pub] Failure/Error: it { is_expected.to contain_file("/etc/wireguard/#{title}.pub") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L296
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain File[/etc/wireguard/as1234] Failure/Error: it { is_expected.to contain_file("/etc/wireguard/#{title}") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L297
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Systemd::Network[as1234.netdev] Failure/Error: it { is_expected.to contain_systemd__network("#{title}.netdev") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L298
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Systemd::Network[as1234.network] Failure/Error: it { is_expected.to contain_systemd__network("#{title}.network") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L299
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain File[/etc/systemd/network/as1234.netdev] with content supplied string Failure/Error: it { is_expected.to contain_file("/etc/systemd/network/#{title}.netdev").with_content(expected_netdev_content) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/interface_spec.rb#L300
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain File[/etc/systemd/network/as1234.network] with content supplied string Failure/Error: it { is_expected.to contain_file("/etc/systemd/network/#{title}.network").with_content(expected_network_content) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az698-63.qjd1uhw1tstuviscw2qx4dak1c.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L291
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L292
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Class[wireguard] Failure/Error: it { is_expected.to contain_class('wireguard') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L293
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Exec[generate private key as1234] Failure/Error: it { is_expected.to contain_exec("generate private key #{title}") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L294
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Exec[generate public key as1234] Failure/Error: it { is_expected.to contain_exec("generate public key #{title}") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L295
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain File[/etc/wireguard/as1234.pub] Failure/Error: it { is_expected.to contain_file("/etc/wireguard/#{title}.pub") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L296
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain File[/etc/wireguard/as1234] Failure/Error: it { is_expected.to contain_file("/etc/wireguard/#{title}") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L297
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Systemd::Network[as1234.netdev] Failure/Error: it { is_expected.to contain_systemd__network("#{title}.netdev") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L298
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain Systemd::Network[as1234.network] Failure/Error: it { is_expected.to contain_systemd__network("#{title}.network") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L299
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain File[/etc/systemd/network/as1234.netdev] with content supplied string Failure/Error: it { is_expected.to contain_file("/etc/systemd/network/#{title}.netdev").with_content(expected_netdev_content) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/interface_spec.rb#L300
wireguard::interface on archlinux-6-x86_64 with required params (peers), routes, extra network sections and without firewall rules is expected to contain File[/etc/systemd/network/as1234.network] with content supplied string Failure/Error: it { is_expected.to contain_file("/etc/systemd/network/#{title}.network").with_content(expected_network_content) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, lambda: parameter 'extra_networkd_sections' entry 'RoutingPolicyRule' expects a Hash value, got Tuple (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/provider/systemd.pp, line: 53, column: 24) (file: /home/runner/work/puppet-wireguard/puppet-wireguard/spec/fixtures/modules/wireguard/manifests/interface.pp, line: 339) on node fv-az585-831.vitsawovrx5upos552vgumbwsa.phxx.internal.cloudapp.net