Skip to content

firewalld_zone: Fix failure creating new zone #74

firewalld_zone: Fix failure creating new zone

firewalld_zone: Fix failure creating new zone #74

Triggered via pull request March 18, 2024 20:13
Status Failure
Total duration 3m 58s
Artifacts

ci.yml

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

Annotations

4 errors
Puppet / 8 (Ruby 3.2): spec/unit/puppet/type/firewalld_zone_spec.rb#L127
Puppet::Type::Firewalld_zone provider with minimal parameters creates Failure/Error: provider.expects(:execute_firewall_cmd).with(['--remove-icmp-block-inversion'], 'restricted') Mocha::ExpectationError: not all expectations were satisfied unsatisfied expectations: - expected exactly once, invoked never: Firewalld_zone[restricted](provider=firewall_cmd).execute_firewall_cmd(["--remove-icmp-block-inversion"], "restricted") satisfied expectations: - allowed any number of times, invoked never: #<Puppet::Util::Feature:0x4a10>.root?(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Puppet::Provider::Firewalld>.state(any_parameters) - expected exactly once, invoked once: Firewalld_zone[restricted](provider=firewall_cmd).execute_firewall_cmd(["--add-interface", "eth0"]) - expected exactly once, invoked once: Firewalld_zone[restricted](provider=firewall_cmd).interfaces(any_parameters) - expected exactly once, invoked once: Firewalld_zone[restricted](provider=firewall_cmd).execute_firewall_cmd(["--set-target", "%%REJECT%%"]) - expected exactly once, invoked once: Firewalld_zone[restricted](provider=firewall_cmd).execute_firewall_cmd(["--new-zone", "restricted"], nil)
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/unit/puppet/type/firewalld_zone_spec.rb#L127
Puppet::Type::Firewalld_zone provider with minimal parameters creates Failure/Error: provider.expects(:execute_firewall_cmd).with(['--remove-icmp-block-inversion'], 'restricted') Mocha::ExpectationError: not all expectations were satisfied unsatisfied expectations: - expected exactly once, invoked never: Firewalld_zone[restricted](provider=firewall_cmd).execute_firewall_cmd(["--remove-icmp-block-inversion"], "restricted") satisfied expectations: - allowed any number of times, invoked never: #<Puppet::Util::Feature:0x4a60>.root?(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Puppet::Provider::Firewalld>.state(any_parameters) - expected exactly once, invoked once: Firewalld_zone[restricted](provider=firewall_cmd).execute_firewall_cmd(["--add-interface", "eth0"]) - expected exactly once, invoked once: Firewalld_zone[restricted](provider=firewall_cmd).interfaces(any_parameters) - expected exactly once, invoked once: Firewalld_zone[restricted](provider=firewall_cmd).execute_firewall_cmd(["--set-target", "%%REJECT%%"]) - expected exactly once, invoked once: Firewalld_zone[restricted](provider=firewall_cmd).execute_firewall_cmd(["--new-zone", "restricted"], nil)
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.