Skip to content

Add support Arrays of source/destination IP addresses for nftables::simplerule #541

Add support Arrays of source/destination IP addresses for nftables::simplerule

Add support Arrays of source/destination IP addresses for nftables::simplerule #541

Triggered via pull request July 31, 2024 09:38
Status Failure
Total duration 11m 15s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
18s
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 and 22 warnings
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L268
nftables::simplerule on almalinux-8-x86_64 with an IPV4 array address as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {172.16.1.5, 172.16.1.10, 172.16.1.15} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L284
nftables::simplerule on almalinux-8-x86_64 with an IPV6 array address as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {2001:1458:0000:0000:0000:0000:0000:0003, 2001:1458:0000:0000:0000:0000:0000:0006} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L333
nftables::simplerule on almalinux-8-x86_64 with an IPv6 array set as daddr, default set_type is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip6 daddr {@my6_1_set, @my6_2_set} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L350
nftables::simplerule on almalinux-8-x86_64 with a IPv4 array set as daddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip daddr {@my4_1_set, @my4_2_set} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L366
nftables::simplerule on almalinux-8-x86_64 with an IPV4 array address as daddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip daddr {172.16.1.5, 172.16.1.10, 172.16.1.15} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L382
nftables::simplerule on almalinux-8-x86_64 with an IPV6 array address as daddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip daddr {2001:1458:0000:0000:0000:0000:0000:0003, 2001:1458:0000:0000:0000:0000:0000:0006} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L431
nftables::simplerule on almalinux-8-x86_64 with an IPv6 array set as saddr, default set_type is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip6 saddr {@my6_1_set, @my6_2_set} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L448
nftables::simplerule on almalinux-8-x86_64 with a IPv4 array set as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {@my4_1_set, @my4_2_set} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L268
nftables::simplerule on almalinux-9-x86_64 with an IPV4 array address as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {172.16.1.5, 172.16.1.10, 172.16.1.15} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 8 (Ruby 3.2): spec/defines/simplerule_spec.rb#L284
nftables::simplerule on almalinux-9-x86_64 with an IPV6 array address as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {2001:1458:0000:0000:0000:0000:0000:0003, 2001:1458:0000:0000:0000:0000:0000:0006} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L268
nftables::simplerule on almalinux-8-x86_64 with an IPV4 array address as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {172.16.1.5, 172.16.1.10, 172.16.1.15} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L284
nftables::simplerule on almalinux-8-x86_64 with an IPV6 array address as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {2001:1458:0000:0000:0000:0000:0000:0003, 2001:1458:0000:0000:0000:0000:0000:0006} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L333
nftables::simplerule on almalinux-8-x86_64 with an IPv6 array set as daddr, default set_type is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip6 daddr {@my6_1_set, @my6_2_set} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L350
nftables::simplerule on almalinux-8-x86_64 with a IPv4 array set as daddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip daddr {@my4_1_set, @my4_2_set} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L366
nftables::simplerule on almalinux-8-x86_64 with an IPV4 array address as daddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip daddr {172.16.1.5, 172.16.1.10, 172.16.1.15} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L382
nftables::simplerule on almalinux-8-x86_64 with an IPV6 array address as daddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip daddr {2001:1458:0000:0000:0000:0000:0000:0003, 2001:1458:0000:0000:0000:0000:0000:0006} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L431
nftables::simplerule on almalinux-8-x86_64 with an IPv6 array set as saddr, default set_type is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip6 saddr {@my6_1_set, @my6_2_set} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L448
nftables::simplerule on almalinux-8-x86_64 with a IPv4 array set as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {@my4_1_set, @my4_2_set} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L268
nftables::simplerule on almalinux-9-x86_64 with an IPV4 array address as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {172.16.1.5, 172.16.1.10, 172.16.1.15} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / 7 (Ruby 2.7): spec/defines/simplerule_spec.rb#L284
nftables::simplerule on almalinux-9-x86_64 with an IPV6 array address as saddr is expected to contain Nftables::Rule[default_in-my_default_rule_name] with content supplied string Failure/Error: expect(subject).to contain_nftables__rule('default_in-my_default_rule_name').with( content: 'ip saddr {2001:1458:0000:0000:0000:0000:0000:0003, 2001:1458:0000:0000:0000:0000:0000:0006} accept' ) expected that the catalogue would contain Nftables::Rule[default_in-my_default_rule_name] with content set to supplied string
Puppet / Puppet 8 - Debian 11: spec/acceptance/set_spec.rb#L7
nftables class configure an nftables set works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094100632.OFIe4f.pp Last 10 lines of output were: Jul 31 09:40:52 debian11-64-puppet8.example.com systemd[1]: Reloaded nftables. Jul 31 09:40:56 debian11-64-puppet8.example.com systemd[1]: Reloading nftables. Jul 31 09:40:56 debian11-64-puppet8.example.com systemd[1]: Reloaded nftables. Jul 31 09:41:03 debian11-64-puppet8.example.com systemd[1]: Reloading nftables. Jul 31 09:41:04 debian11-64-puppet8.example.com systemd[1]: nftables.service: Control process exited, code=dumped, status=11/SEGV Jul 31 09:41:04 debian11-64-puppet8.example.com systemd[1]: Reload failed for nftables. Info: Class[Nftables]: Unscheduling all events on Class[Nftables] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.11 seconds
Puppet / Puppet 7 - Debian 11: spec/acceptance/set_spec.rb#L7
nftables class configure an nftables set works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_094105532.UEDA6Q.pp Last 10 lines of output were: Jul 31 09:40:57 debian11-64-puppet7.example.com systemd[1]: Reloaded nftables. Jul 31 09:41:01 debian11-64-puppet7.example.com systemd[1]: Reloading nftables. Jul 31 09:41:01 debian11-64-puppet7.example.com systemd[1]: Reloaded nftables. Jul 31 09:41:08 debian11-64-puppet7.example.com systemd[1]: Reloading nftables. Jul 31 09:41:08 debian11-64-puppet7.example.com systemd[1]: nftables.service: Control process exited, code=dumped, status=11/SEGV Jul 31 09:41:08 debian11-64-puppet7.example.com systemd[1]: Reload failed for nftables. Info: Class[Nftables]: Unscheduling all events on Class[Nftables] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.15 seconds
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on almalinux-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on almalinux-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on centos-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on oraclelinux-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on oraclelinux-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on redhat-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on redhat-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on rocky-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on rocky-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 8 (Ruby 3.2): spec/defines/rule_spec.rb#L29
nftables::rule on archlinux-6-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on almalinux-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on almalinux-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on centos-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on oraclelinux-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on oraclelinux-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on redhat-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on redhat-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on rocky-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on rocky-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does
Puppet / 7 (Ruby 2.7): spec/defines/rule_spec.rb#L29
nftables::rule on archlinux-6-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles Failure/Error: expect(subject).not_to compile expected that the catalogue would not compile but it does