ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpn4b3r6az/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:1 Friday 27 May 2022 16:42:48 +0000 (0:00:00.024) 0:00:00.024 ************ ok: [/cache/centos-7.qcow2c] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:42:49 +0000 (0:00:00.924) 0:00:00.948 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:42:49 +0000 (0:00:00.035) 0:00:00.984 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:42:50 +0000 (0:00:00.401) 0:00:01.386 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "changes": { "installed": [ "firewalld" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: packages.oit.ncsu.edu\n * extras: linux.mirrors.es.net\n * updates: packages.oit.ncsu.edu\nResolving Dependencies\n--> Running transaction check\n---> Package firewalld.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-firewall = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: firewalld-filesystem = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ipset for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ebtables for package: firewalld-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ebtables.x86_64 0:2.0.10-16.el7 will be installed\n---> Package firewalld-filesystem.noarch 0:0.6.3-13.el7_9 will be installed\n---> Package ipset.x86_64 0:7.1-1.el7 will be installed\n--> Processing Dependency: ipset-libs(x86-64) = 7.1-1.el7 for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_4.8)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_2.0)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13()(64bit) for package: ipset-7.1-1.el7.x86_64\n---> Package python-firewall.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-slip-dbus for package: python-firewall-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ipset-libs.x86_64 0:7.1-1.el7 will be installed\n---> Package python-slip-dbus.noarch 0:0.4.0-4.el7 will be installed\n--> Processing Dependency: python-slip = 0.4.0-4.el7 for package: python-slip-dbus-0.4.0-4.el7.noarch\n--> Running transaction check\n---> Package python-slip.noarch 0:0.4.0-4.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n firewalld noarch 0.6.3-13.el7_9 updates 449 k\nInstalling for dependencies:\n ebtables x86_64 2.0.10-16.el7 base 123 k\n firewalld-filesystem noarch 0.6.3-13.el7_9 updates 51 k\n ipset x86_64 7.1-1.el7 base 39 k\n ipset-libs x86_64 7.1-1.el7 base 64 k\n python-firewall noarch 0.6.3-13.el7_9 updates 355 k\n python-slip noarch 0.4.0-4.el7 base 31 k\n python-slip-dbus noarch 0.4.0-4.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+7 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 4.5 M\nDownloading packages:\nPublic key for firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm is not installed\nPublic key for ipset-7.1-1.el7.x86_64.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 4.1 MB/s | 1.1 MB 00:00 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : ebtables-2.0.10-16.el7.x86_64 1/8 \n Installing : ipset-libs-7.1-1.el7.x86_64 2/8 \n Installing : ipset-7.1-1.el7.x86_64 3/8 \n Installing : python-slip-0.4.0-4.el7.noarch 4/8 \n Installing : python-slip-dbus-0.4.0-4.el7.noarch 5/8 \n Installing : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Installing : firewalld-filesystem-0.6.3-13.el7_9.noarch 7/8 \n Installing : firewalld-0.6.3-13.el7_9.noarch 8/8 \n Verifying : ipset-7.1-1.el7.x86_64 1/8 \n Verifying : python-slip-dbus-0.4.0-4.el7.noarch 2/8 \n Verifying : firewalld-filesystem-0.6.3-13.el7_9.noarch 3/8 \n Verifying : firewalld-0.6.3-13.el7_9.noarch 4/8 \n Verifying : python-slip-0.4.0-4.el7.noarch 5/8 \n Verifying : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Verifying : ipset-libs-7.1-1.el7.x86_64 7/8 \n Verifying : ebtables-2.0.10-16.el7.x86_64 8/8 \n\nInstalled:\n firewalld.noarch 0:0.6.3-13.el7_9 \n\nDependency Installed:\n ebtables.x86_64 0:2.0.10-16.el7 \n firewalld-filesystem.noarch 0:0.6.3-13.el7_9 \n ipset.x86_64 0:7.1-1.el7 \n ipset-libs.x86_64 0:7.1-1.el7 \n python-firewall.noarch 0:0.6.3-13.el7_9 \n python-slip.noarch 0:0.4.0-4.el7 \n python-slip-dbus.noarch 0:0.4.0-4.el7 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/updates/packages/firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-8.2003.0.el7.centos.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:43:02 +0000 (0:00:12.285) 0:00:13.672 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:43:03 +0000 (0:00:00.639) 0:00:14.311 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:43:03 +0000 (0:00:00.039) 0:00:14.350 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "ipset.service shutdown.target iptables.service ip6tables.service ebtables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:43:04 +0000 (0:00:00.916) 0:00:15.266 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:43:04 +0000 (0:00:00.045) 0:00:15.312 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:43:04 +0000 (0:00:00.041) 0:00:15.353 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:43:04 +0000 (0:00:00.041) 0:00:15.395 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:43:04 +0000 (0:00:00.039) 0:00:15.435 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:43:04 +0000 (0:00:00.038) 0:00:15.474 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:14 Friday 27 May 2022 16:43:04 +0000 (0:00:00.038) 0:00:15.513 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.257582", "end": "2022-05-27 16:43:04.884351", "failed_when_result": false, "rc": 112, "start": "2022-05-27 16:43:04.626769" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:19 Friday 27 May 2022 16:43:05 +0000 (0:00:00.696) 0:00:16.209 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.273002", "end": "2022-05-27 16:43:05.466110", "failed_when_result": false, "rc": 22, "start": "2022-05-27 16:43:05.193108" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:24 Friday 27 May 2022 16:43:05 +0000 (0:00:00.584) 0:00:16.793 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.257010", "end": "2022-05-27 16:43:06.031615", "failed_when_result": false, "rc": 22, "start": "2022-05-27 16:43:05.774605" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:29 Friday 27 May 2022 16:43:06 +0000 (0:00:00.561) 0:00:17.355 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.256268", "end": "2022-05-27 16:43:06.578825", "failed_when_result": false, "rc": 22, "start": "2022-05-27 16:43:06.322557" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:34 Friday 27 May 2022 16:43:06 +0000 (0:00:00.550) 0:00:17.906 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.257733", "end": "2022-05-27 16:43:07.148703", "failed_when_result": false, "rc": 22, "start": "2022-05-27 16:43:06.890970" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:39 Friday 27 May 2022 16:43:07 +0000 (0:00:00.570) 0:00:18.476 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.270948", "end": "2022-05-27 16:43:07.740724", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:07.469776" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:44 Friday 27 May 2022 16:43:07 +0000 (0:00:00.592) 0:00:19.068 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.519173", "end": "2022-05-27 16:43:08.568688", "failed_when_result": false, "rc": 22, "start": "2022-05-27 16:43:08.049515" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:52 Friday 27 May 2022 16:43:08 +0000 (0:00:00.829) 0:00:19.898 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.247571", "end": "2022-05-27 16:43:09.135914", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:08.888343" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:57 Friday 27 May 2022 16:43:09 +0000 (0:00:00.564) 0:00:20.463 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.446371", "end": "2022-05-27 16:43:09.887549", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:09.441178" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:64 Friday 27 May 2022 16:43:10 +0000 (0:00:00.752) 0:00:21.215 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:72 Friday 27 May 2022 16:43:10 +0000 (0:00:00.634) 0:00:21.850 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:80 Friday 27 May 2022 16:43:11 +0000 (0:00:00.523) 0:00:22.373 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:88 Friday 27 May 2022 16:43:11 +0000 (0:00:00.509) 0:00:22.883 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:96 Friday 27 May 2022 16:43:12 +0000 (0:00:00.546) 0:00:23.430 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:104 Friday 27 May 2022 16:43:12 +0000 (0:00:00.491) 0:00:23.921 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:112 Friday 27 May 2022 16:43:13 +0000 (0:00:00.512) 0:00:24.434 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:120 Friday 27 May 2022 16:43:13 +0000 (0:00:00.493) 0:00:24.928 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:128 Friday 27 May 2022 16:43:14 +0000 (0:00:00.509) 0:00:25.438 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:137 Friday 27 May 2022 16:43:14 +0000 (0:00:00.511) 0:00:25.949 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:146 Friday 27 May 2022 16:43:15 +0000 (0:00:00.500) 0:00:26.450 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:155 Friday 27 May 2022 16:43:15 +0000 (0:00:00.515) 0:00:26.965 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:164 Friday 27 May 2022 16:43:16 +0000 (0:00:00.507) 0:00:27.473 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:173 Friday 27 May 2022 16:43:16 +0000 (0:00:00.508) 0:00:27.981 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:182 Friday 27 May 2022 16:43:17 +0000 (0:00:00.506) 0:00:28.487 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:191 Friday 27 May 2022 16:43:17 +0000 (0:00:00.514) 0:00:29.002 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:200 Friday 27 May 2022 16:43:18 +0000 (0:00:00.521) 0:00:29.524 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:209 Friday 27 May 2022 16:43:18 +0000 (0:00:00.506) 0:00:30.031 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:218 Friday 27 May 2022 16:43:19 +0000 (0:00:00.512) 0:00:30.544 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:226 Friday 27 May 2022 16:43:19 +0000 (0:00:00.514) 0:00:31.058 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:235 Friday 27 May 2022 16:43:20 +0000 (0:00:00.512) 0:00:31.571 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:244 Friday 27 May 2022 16:43:21 +0000 (0:00:00.512) 0:00:32.084 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:253 Friday 27 May 2022 16:43:21 +0000 (0:00:00.552) 0:00:32.637 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:262 Friday 27 May 2022 16:43:22 +0000 (0:00:00.655) 0:00:33.292 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:271 Friday 27 May 2022 16:43:22 +0000 (0:00:00.550) 0:00:33.843 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:280 Friday 27 May 2022 16:43:23 +0000 (0:00:00.749) 0:00:34.592 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:289 Friday 27 May 2022 16:43:24 +0000 (0:00:00.520) 0:00:35.112 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:298 Friday 27 May 2022 16:43:24 +0000 (0:00:00.760) 0:00:35.873 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:307 Friday 27 May 2022 16:43:25 +0000 (0:00:00.571) 0:00:36.444 ************ [DEPRECATION WARNING]: Alias 'immediate' is deprecated. See the module docs for more information. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:319 Friday 27 May 2022 16:43:25 +0000 (0:00:00.566) 0:00:37.011 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:331 Friday 27 May 2022 16:43:26 +0000 (0:00:00.524) 0:00:37.536 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:339 Friday 27 May 2022 16:43:27 +0000 (0:00:00.750) 0:00:38.286 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:344 Friday 27 May 2022 16:43:27 +0000 (0:00:00.046) 0:00:38.333 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:354 Friday 27 May 2022 16:43:27 +0000 (0:00:00.522) 0:00:38.855 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:364 Friday 27 May 2022 16:43:28 +0000 (0:00:00.519) 0:00:39.374 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.254893", "end": "2022-05-27 16:43:28.627466", "rc": 0, "start": "2022-05-27 16:43:28.372573" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:367 Friday 27 May 2022 16:43:28 +0000 (0:00:00.560) 0:00:39.935 ************ changed: [/cache/centos-7.qcow2c] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:374 Friday 27 May 2022 16:43:29 +0000 (0:00:00.594) 0:00:40.530 ************ ok: [/cache/centos-7.qcow2c] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:389 Friday 27 May 2022 16:43:29 +0000 (0:00:00.499) 0:00:41.029 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.260179", "end": "2022-05-27 16:43:30.285065", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:30.024886" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:394 Friday 27 May 2022 16:43:30 +0000 (0:00:00.588) 0:00:41.618 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.279795", "end": "2022-05-27 16:43:30.903801", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:30.624006" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:399 Friday 27 May 2022 16:43:31 +0000 (0:00:00.623) 0:00:42.242 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.280848", "end": "2022-05-27 16:43:31.519686", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:31.238838" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:404 Friday 27 May 2022 16:43:31 +0000 (0:00:00.609) 0:00:42.851 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.285619", "end": "2022-05-27 16:43:32.140620", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:31.855001" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:409 Friday 27 May 2022 16:43:32 +0000 (0:00:00.618) 0:00:43.469 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.261512", "end": "2022-05-27 16:43:32.714445", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:32.452933" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:414 Friday 27 May 2022 16:43:32 +0000 (0:00:00.577) 0:00:44.047 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.261708", "end": "2022-05-27 16:43:33.302831", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:33.041123" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:419 Friday 27 May 2022 16:43:33 +0000 (0:00:00.608) 0:00:44.656 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.283588", "end": "2022-05-27 16:43:33.925358", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:33.641770" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:424 Friday 27 May 2022 16:43:34 +0000 (0:00:00.596) 0:00:45.252 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.256381", "end": "2022-05-27 16:43:34.497860", "failed_when_result": false, "rc": 22, "start": "2022-05-27 16:43:34.241479" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_ansible.yml:429 Friday 27 May 2022 16:43:34 +0000 (0:00:00.571) 0:00:45.824 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.439486", "end": "2022-05-27 16:43:35.240957", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:43:34.801471" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c : ok=62 changed=38 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 27 May 2022 16:43:35 +0000 (0:00:00.744) 0:00:46.568 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 12.29s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:1 ------------------------------------ linux-system-roles.firewall : Enable and start firewalld service -------- 0.92s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Reset default zone to defaults ------------------------------------------ 0.83s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:44 ----------------------------------- Ensure default target in permanent internal zone ------------------------ 0.76s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:289 ---------------------------------- Reload firewalld -------------------------------------------------------- 0.75s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:57 ----------------------------------- Firewalld custom zone --------------------------------------------------- 0.75s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:331 ---------------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.75s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:271 ---------------------------------- Reload firewalld -------------------------------------------------------- 0.74s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:429 ---------------------------------- Remove custom zone ------------------------------------------------------ 0.70s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:14 ----------------------------------- Block ICMP echo-request in permanent drop zone, again ------------------- 0.66s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:253 ---------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.64s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Permit traffic in default zone for https service ------------------------ 0.63s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:64 ----------------------------------- Remove customzone zone -------------------------------------------------- 0.62s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:394 ---------------------------------- Reset trusted zone to defaults ------------------------------------------ 0.62s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:404 ---------------------------------- Reset internal zone to defaults ----------------------------------------- 0.61s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:399 ---------------------------------- Reset drop zone to defaults --------------------------------------------- 0.61s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:414 ---------------------------------- Reset public zone to defaults ------------------------------------------- 0.60s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:419 ---------------------------------- set default zone -------------------------------------------------------- 0.59s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:367 ---------------------------------- Reset public zone to defaults ------------------------------------------- 0.59s /tmp/tmpn4b3r6az/tests/tests_ansible.yml:39 ----------------------------------- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpn4b3r6az/tests/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:43:49 +0000 (0:00:00.024) 0:00:00.024 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:43:49 +0000 (0:00:00.025) 0:00:00.049 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:43:50 +0000 (0:00:00.769) 0:00:00.819 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "changes": { "installed": [ "firewalld" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirrors.advancedhosters.com\n * extras: mirror.pit.teraswitch.com\n * updates: mirror.centos.iad1.serverforge.org\nResolving Dependencies\n--> Running transaction check\n---> Package firewalld.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-firewall = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: firewalld-filesystem = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ipset for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ebtables for package: firewalld-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ebtables.x86_64 0:2.0.10-16.el7 will be installed\n---> Package firewalld-filesystem.noarch 0:0.6.3-13.el7_9 will be installed\n---> Package ipset.x86_64 0:7.1-1.el7 will be installed\n--> Processing Dependency: ipset-libs(x86-64) = 7.1-1.el7 for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_4.8)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_2.0)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13()(64bit) for package: ipset-7.1-1.el7.x86_64\n---> Package python-firewall.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-slip-dbus for package: python-firewall-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ipset-libs.x86_64 0:7.1-1.el7 will be installed\n---> Package python-slip-dbus.noarch 0:0.4.0-4.el7 will be installed\n--> Processing Dependency: python-slip = 0.4.0-4.el7 for package: python-slip-dbus-0.4.0-4.el7.noarch\n--> Running transaction check\n---> Package python-slip.noarch 0:0.4.0-4.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n firewalld noarch 0.6.3-13.el7_9 updates 449 k\nInstalling for dependencies:\n ebtables x86_64 2.0.10-16.el7 base 123 k\n firewalld-filesystem noarch 0.6.3-13.el7_9 updates 51 k\n ipset x86_64 7.1-1.el7 base 39 k\n ipset-libs x86_64 7.1-1.el7 base 64 k\n python-firewall noarch 0.6.3-13.el7_9 updates 355 k\n python-slip noarch 0.4.0-4.el7 base 31 k\n python-slip-dbus noarch 0.4.0-4.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+7 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 4.5 M\nDownloading packages:\nPublic key for firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm is not installed\nPublic key for ipset-7.1-1.el7.x86_64.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 783 kB/s | 1.1 MB 00:01 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : ebtables-2.0.10-16.el7.x86_64 1/8 \n Installing : ipset-libs-7.1-1.el7.x86_64 2/8 \n Installing : ipset-7.1-1.el7.x86_64 3/8 \n Installing : python-slip-0.4.0-4.el7.noarch 4/8 \n Installing : python-slip-dbus-0.4.0-4.el7.noarch 5/8 \n Installing : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Installing : firewalld-filesystem-0.6.3-13.el7_9.noarch 7/8 \n Installing : firewalld-0.6.3-13.el7_9.noarch 8/8 \n Verifying : ipset-7.1-1.el7.x86_64 1/8 \n Verifying : python-slip-dbus-0.4.0-4.el7.noarch 2/8 \n Verifying : firewalld-filesystem-0.6.3-13.el7_9.noarch 3/8 \n Verifying : firewalld-0.6.3-13.el7_9.noarch 4/8 \n Verifying : python-slip-0.4.0-4.el7.noarch 5/8 \n Verifying : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Verifying : ipset-libs-7.1-1.el7.x86_64 7/8 \n Verifying : ebtables-2.0.10-16.el7.x86_64 8/8 \n\nInstalled:\n firewalld.noarch 0:0.6.3-13.el7_9 \n\nDependency Installed:\n ebtables.x86_64 0:2.0.10-16.el7 \n firewalld-filesystem.noarch 0:0.6.3-13.el7_9 \n ipset.x86_64 0:7.1-1.el7 \n ipset-libs.x86_64 0:7.1-1.el7 \n python-firewall.noarch 0:0.6.3-13.el7_9 \n python-slip.noarch 0:0.4.0-4.el7 \n python-slip-dbus.noarch 0:0.4.0-4.el7 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/updates/packages/firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-8.2003.0.el7.centos.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:44:02 +0000 (0:00:11.766) 0:00:12.585 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:44:02 +0000 (0:00:00.643) 0:00:13.228 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:44:02 +0000 (0:00:00.036) 0:00:13.264 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice polkit.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "iptables.service ebtables.service shutdown.target ip6tables.service ipset.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:44:03 +0000 (0:00:00.899) 0:00:14.164 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:44:03 +0000 (0:00:00.041) 0:00:14.205 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:44:03 +0000 (0:00:00.035) 0:00:14.241 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:44:03 +0000 (0:00:00.035) 0:00:14.276 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:44:03 +0000 (0:00:00.034) 0:00:14.310 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:44:03 +0000 (0:00:00.035) 0:00:14.345 ************ skipping: [/cache/centos-7.qcow2c] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c : ok=6 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 27 May 2022 16:44:03 +0000 (0:00:00.032) 0:00:14.378 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 11.77s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Enable and start firewalld service -------- 0.90s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.77s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install python-firewall ------------------- 0.64s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Check if previous replaced is defined ----- 0.04s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : Install python3-firewall ------------------ 0.04s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Calculate what has changed ---------------- 0.04s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 0.04s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Configure firewall ------------------------ 0.04s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums after --------- 0.03s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 ---- linux-system-roles.firewall : Show diffs -------------------------------- 0.03s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 ---- linux-system-roles.firewall : include_tasks ----------------------------- 0.03s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 ----- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_purge_config.yml *********************************************** 1 plays in /tmp/tmpn4b3r6az/tests/tests_purge_config.yml PLAY [Test that old config can be purged idempotently] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:1 Friday 27 May 2022 16:44:17 +0000 (0:00:00.024) 0:00:00.024 ************ ok: [/cache/centos-7.qcow2c] META: ran handlers TASK [Start from a clean slate] ************************************************ task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:27 Friday 27 May 2022 16:44:18 +0000 (0:00:01.056) 0:00:01.080 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:44:19 +0000 (0:00:00.184) 0:00:01.265 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:44:19 +0000 (0:00:00.039) 0:00:01.305 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:44:19 +0000 (0:00:00.431) 0:00:01.736 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "changes": { "installed": [ "firewalld" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirrors.mit.edu\n * extras: mirror.pit.teraswitch.com\n * updates: mirror.net.cen.ct.gov\nResolving Dependencies\n--> Running transaction check\n---> Package firewalld.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-firewall = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: firewalld-filesystem = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ipset for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ebtables for package: firewalld-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ebtables.x86_64 0:2.0.10-16.el7 will be installed\n---> Package firewalld-filesystem.noarch 0:0.6.3-13.el7_9 will be installed\n---> Package ipset.x86_64 0:7.1-1.el7 will be installed\n--> Processing Dependency: ipset-libs(x86-64) = 7.1-1.el7 for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_4.8)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_2.0)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13()(64bit) for package: ipset-7.1-1.el7.x86_64\n---> Package python-firewall.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-slip-dbus for package: python-firewall-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ipset-libs.x86_64 0:7.1-1.el7 will be installed\n---> Package python-slip-dbus.noarch 0:0.4.0-4.el7 will be installed\n--> Processing Dependency: python-slip = 0.4.0-4.el7 for package: python-slip-dbus-0.4.0-4.el7.noarch\n--> Running transaction check\n---> Package python-slip.noarch 0:0.4.0-4.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n firewalld noarch 0.6.3-13.el7_9 updates 449 k\nInstalling for dependencies:\n ebtables x86_64 2.0.10-16.el7 base 123 k\n firewalld-filesystem noarch 0.6.3-13.el7_9 updates 51 k\n ipset x86_64 7.1-1.el7 base 39 k\n ipset-libs x86_64 7.1-1.el7 base 64 k\n python-firewall noarch 0.6.3-13.el7_9 updates 355 k\n python-slip noarch 0.4.0-4.el7 base 31 k\n python-slip-dbus noarch 0.4.0-4.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+7 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 4.5 M\nDownloading packages:\nPublic key for ipset-7.1-1.el7.x86_64.rpm is not installed\nPublic key for firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 2.4 MB/s | 1.1 MB 00:00 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : ebtables-2.0.10-16.el7.x86_64 1/8 \n Installing : ipset-libs-7.1-1.el7.x86_64 2/8 \n Installing : ipset-7.1-1.el7.x86_64 3/8 \n Installing : python-slip-0.4.0-4.el7.noarch 4/8 \n Installing : python-slip-dbus-0.4.0-4.el7.noarch 5/8 \n Installing : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Installing : firewalld-filesystem-0.6.3-13.el7_9.noarch 7/8 \n Installing : firewalld-0.6.3-13.el7_9.noarch 8/8 \n Verifying : ipset-7.1-1.el7.x86_64 1/8 \n Verifying : python-slip-dbus-0.4.0-4.el7.noarch 2/8 \n Verifying : firewalld-filesystem-0.6.3-13.el7_9.noarch 3/8 \n Verifying : firewalld-0.6.3-13.el7_9.noarch 4/8 \n Verifying : python-slip-0.4.0-4.el7.noarch 5/8 \n Verifying : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Verifying : ipset-libs-7.1-1.el7.x86_64 7/8 \n Verifying : ebtables-2.0.10-16.el7.x86_64 8/8 \n\nInstalled:\n firewalld.noarch 0:0.6.3-13.el7_9 \n\nDependency Installed:\n ebtables.x86_64 0:2.0.10-16.el7 \n firewalld-filesystem.noarch 0:0.6.3-13.el7_9 \n ipset.x86_64 0:7.1-1.el7 \n ipset-libs.x86_64 0:7.1-1.el7 \n python-firewall.noarch 0:0.6.3-13.el7_9 \n python-slip.noarch 0:0.4.0-4.el7 \n python-slip-dbus.noarch 0:0.4.0-4.el7 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/base/packages/ipset-7.1-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-8.2003.0.el7.centos.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:44:29 +0000 (0:00:10.096) 0:00:11.833 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:44:30 +0000 (0:00:00.632) 0:00:12.466 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:44:30 +0000 (0:00:00.041) 0:00:12.508 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:44:31 +0000 (0:00:00.964) 0:00:13.472 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:44:31 +0000 (0:00:00.055) 0:00:13.528 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:44:31 +0000 (0:00:00.522) 0:00:14.050 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:44:31 +0000 (0:00:00.040) 0:00:14.091 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:44:32 +0000 (0:00:00.231) 0:00:14.322 ************ changed: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:44:32 +0000 (0:00:00.048) 0:00:14.370 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Run the role with no config] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:34 Friday 27 May 2022 16:44:32 +0000 (0:00:00.041) 0:00:14.412 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:44:32 +0000 (0:00:00.043) 0:00:14.456 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:44:32 +0000 (0:00:00.026) 0:00:14.482 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:44:32 +0000 (0:00:00.414) 0:00:14.897 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:44:33 +0000 (0:00:00.614) 0:00:15.511 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:44:33 +0000 (0:00:00.613) 0:00:16.125 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:44:33 +0000 (0:00:00.039) 0:00:16.165 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ActiveEnterTimestampMonotonic": "23925163", "ActiveExitTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ActiveExitTimestampMonotonic": "23725441", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:44:31 UTC", "AssertTimestampMonotonic": "23729215", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ConditionTimestampMonotonic": "23729215", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9299", "ExecMainStartTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ExecMainStartTimestampMonotonic": "23729911", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:44:31 UTC] ; stop_time=[n/a] ; pid=9299 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:44:31 UTC", "InactiveEnterTimestampMonotonic": "23728798", "InactiveExitTimestamp": "Fri 2022-05-27 16:44:31 UTC", "InactiveExitTimestampMonotonic": "23729943", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9299", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:44:31 UTC", "WatchdogTimestampMonotonic": "23925086", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:44:34 +0000 (0:00:00.400) 0:00:16.565 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:44:34 +0000 (0:00:00.043) 0:00:16.608 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:44:34 +0000 (0:00:00.042) 0:00:16.651 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:44:34 +0000 (0:00:00.037) 0:00:16.689 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:44:34 +0000 (0:00:00.037) 0:00:16.726 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:44:34 +0000 (0:00:00.037) 0:00:16.763 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify that nothing changed] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:38 Friday 27 May 2022 16:44:34 +0000 (0:00:00.038) 0:00:16.802 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:43 Friday 27 May 2022 16:44:34 +0000 (0:00:00.041) 0:00:16.843 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:44:34 +0000 (0:00:00.047) 0:00:16.890 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:44:34 +0000 (0:00:00.024) 0:00:16.915 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:44:35 +0000 (0:00:00.402) 0:00:17.317 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:44:35 +0000 (0:00:00.614) 0:00:17.932 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:44:36 +0000 (0:00:00.612) 0:00:18.544 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:44:36 +0000 (0:00:00.041) 0:00:18.586 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ActiveEnterTimestampMonotonic": "23925163", "ActiveExitTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ActiveExitTimestampMonotonic": "23725441", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:44:31 UTC", "AssertTimestampMonotonic": "23729215", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ConditionTimestampMonotonic": "23729215", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9299", "ExecMainStartTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ExecMainStartTimestampMonotonic": "23729911", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:44:31 UTC] ; stop_time=[n/a] ; pid=9299 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:44:31 UTC", "InactiveEnterTimestampMonotonic": "23728798", "InactiveExitTimestamp": "Fri 2022-05-27 16:44:31 UTC", "InactiveExitTimestampMonotonic": "23729943", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9299", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:44:31 UTC", "WatchdogTimestampMonotonic": "23925086", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:44:36 +0000 (0:00:00.395) 0:00:18.981 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:44:36 +0000 (0:00:00.046) 0:00:19.028 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:44:36 +0000 (0:00:00.039) 0:00:19.068 ************ changed: [/cache/centos-7.qcow2c] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "state": "present", "zone": "customzone" } } changed: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "customzone", "state": "enabled" } } changed: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } changed: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [/cache/centos-7.qcow2c] => (item={u'masquerade': True, u'state': u'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true, "state": "enabled" } } changed: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:44:40 +0000 (0:00:03.685) 0:00:22.754 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:44:40 +0000 (0:00:00.038) 0:00:22.793 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:44:40 +0000 (0:00:00.037) 0:00:22.830 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:49 Friday 27 May 2022 16:44:40 +0000 (0:00:00.037) 0:00:22.868 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply again basic config] ************************************************ task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:54 Friday 27 May 2022 16:44:40 +0000 (0:00:00.038) 0:00:22.906 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:44:40 +0000 (0:00:00.048) 0:00:22.954 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:44:40 +0000 (0:00:00.026) 0:00:22.981 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:44:41 +0000 (0:00:00.458) 0:00:23.440 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:44:41 +0000 (0:00:00.622) 0:00:24.062 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:44:42 +0000 (0:00:00.606) 0:00:24.669 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:44:42 +0000 (0:00:00.041) 0:00:24.710 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ActiveEnterTimestampMonotonic": "23925163", "ActiveExitTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ActiveExitTimestampMonotonic": "23725441", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:44:31 UTC", "AssertTimestampMonotonic": "23729215", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ConditionTimestampMonotonic": "23729215", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9299", "ExecMainStartTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ExecMainStartTimestampMonotonic": "23729911", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:44:31 UTC] ; stop_time=[n/a] ; pid=9299 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:44:31 UTC", "InactiveEnterTimestampMonotonic": "23728798", "InactiveExitTimestamp": "Fri 2022-05-27 16:44:31 UTC", "InactiveExitTimestampMonotonic": "23729943", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9299", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:44:31 UTC", "WatchdogTimestampMonotonic": "23925086", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:44:42 +0000 (0:00:00.404) 0:00:25.115 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:44:42 +0000 (0:00:00.047) 0:00:25.162 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:44:42 +0000 (0:00:00.038) 0:00:25.201 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'masquerade': True, u'state': u'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:44:45 +0000 (0:00:03.009) 0:00:28.211 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:44:46 +0000 (0:00:00.040) 0:00:28.251 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:44:46 +0000 (0:00:00.040) 0:00:28.292 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports nothing changed] ************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:60 Friday 27 May 2022 16:44:46 +0000 (0:00:00.039) 0:00:28.331 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use previous replaced and basic config] ********************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:65 Friday 27 May 2022 16:44:46 +0000 (0:00:00.041) 0:00:28.373 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:44:46 +0000 (0:00:00.060) 0:00:28.433 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:44:46 +0000 (0:00:00.026) 0:00:28.460 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:44:46 +0000 (0:00:00.402) 0:00:28.863 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:44:47 +0000 (0:00:00.604) 0:00:29.467 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:44:47 +0000 (0:00:00.613) 0:00:30.081 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:44:47 +0000 (0:00:00.040) 0:00:30.121 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ActiveEnterTimestampMonotonic": "23925163", "ActiveExitTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ActiveExitTimestampMonotonic": "23725441", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:44:31 UTC", "AssertTimestampMonotonic": "23729215", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ConditionTimestampMonotonic": "23729215", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9299", "ExecMainStartTimestamp": "Fri 2022-05-27 16:44:31 UTC", "ExecMainStartTimestampMonotonic": "23729911", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:44:31 UTC] ; stop_time=[n/a] ; pid=9299 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:44:31 UTC", "InactiveEnterTimestampMonotonic": "23728798", "InactiveExitTimestamp": "Fri 2022-05-27 16:44:31 UTC", "InactiveExitTimestampMonotonic": "23729943", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9299", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:44:31 UTC", "WatchdogTimestampMonotonic": "23925086", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:44:48 +0000 (0:00:00.407) 0:00:30.529 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:44:48 +0000 (0:00:00.045) 0:00:30.575 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:44:49 +0000 (0:00:01.341) 0:00:31.916 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'masquerade': True, u'state': u'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:44:53 +0000 (0:00:03.444) 0:00:35.361 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:44:53 +0000 (0:00:00.292) 0:00:35.654 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:44:53 +0000 (0:00:00.051) 0:00:35.705 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:71 Friday 27 May 2022 16:44:53 +0000 (0:00:00.045) 0:00:35.751 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use again previous replaced and basic config] **************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:76 Friday 27 May 2022 16:44:53 +0000 (0:00:00.040) 0:00:35.792 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:44:53 +0000 (0:00:00.062) 0:00:35.854 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:44:53 +0000 (0:00:00.028) 0:00:35.883 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:44:54 +0000 (0:00:00.731) 0:00:36.614 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:44:55 +0000 (0:00:00.638) 0:00:37.253 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:44:55 +0000 (0:00:00.604) 0:00:37.857 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:44:55 +0000 (0:00:00.042) 0:00:37.900 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:44:49 UTC", "ActiveEnterTimestampMonotonic": "41790764", "ActiveExitTimestamp": "Fri 2022-05-27 16:44:48 UTC", "ActiveExitTimestampMonotonic": "40745350", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:44:49 UTC", "AssertTimestampMonotonic": "41593392", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:44:49 UTC", "ConditionTimestampMonotonic": "41593391", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11026", "ExecMainStartTimestamp": "Fri 2022-05-27 16:44:49 UTC", "ExecMainStartTimestampMonotonic": "41594577", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:44:49 UTC] ; stop_time=[n/a] ; pid=11026 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:44:49 UTC", "InactiveEnterTimestampMonotonic": "41592839", "InactiveExitTimestamp": "Fri 2022-05-27 16:44:49 UTC", "InactiveExitTimestampMonotonic": "41594609", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11026", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:44:49 UTC", "WatchdogTimestampMonotonic": "41790687", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:44:56 +0000 (0:00:00.400) 0:00:38.300 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:44:56 +0000 (0:00:00.046) 0:00:38.346 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:44:57 +0000 (0:00:01.385) 0:00:39.732 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'masquerade': True, u'state': u'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:45:00 +0000 (0:00:03.478) 0:00:43.210 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:45:01 +0000 (0:00:00.286) 0:00:43.497 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:45:01 +0000 (0:00:00.045) 0:00:43.542 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:82 Friday 27 May 2022 16:45:01 +0000 (0:00:00.044) 0:00:43.587 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply basic config] ****************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:87 Friday 27 May 2022 16:45:01 +0000 (0:00:00.038) 0:00:43.626 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:45:01 +0000 (0:00:00.061) 0:00:43.688 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:45:01 +0000 (0:00:00.028) 0:00:43.716 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:45:01 +0000 (0:00:00.417) 0:00:44.134 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:45:02 +0000 (0:00:00.587) 0:00:44.721 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:45:03 +0000 (0:00:00.631) 0:00:45.353 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:45:03 +0000 (0:00:00.040) 0:00:45.394 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:44:57 UTC", "ActiveEnterTimestampMonotonic": "49606780", "ActiveExitTimestamp": "Fri 2022-05-27 16:44:56 UTC", "ActiveExitTimestampMonotonic": "48547221", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:44:56 UTC", "AssertTimestampMonotonic": "49411342", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:44:56 UTC", "ConditionTimestampMonotonic": "49411342", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11870", "ExecMainStartTimestamp": "Fri 2022-05-27 16:44:56 UTC", "ExecMainStartTimestampMonotonic": "49412666", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:44:56 UTC] ; stop_time=[n/a] ; pid=11870 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:44:56 UTC", "InactiveEnterTimestampMonotonic": "49410254", "InactiveExitTimestamp": "Fri 2022-05-27 16:44:56 UTC", "InactiveExitTimestampMonotonic": "49412728", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11870", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:44:57 UTC", "WatchdogTimestampMonotonic": "49606704", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:45:03 +0000 (0:00:00.413) 0:00:45.808 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:45:03 +0000 (0:00:00.044) 0:00:45.853 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:45:03 +0000 (0:00:00.045) 0:00:45.898 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'present', u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "present", "zone": "customzone" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "customzone", "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'masquerade': True, u'state': u'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:45:06 +0000 (0:00:03.027) 0:00:48.926 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:45:06 +0000 (0:00:00.044) 0:00:48.970 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:45:06 +0000 (0:00:00.042) 0:00:49.013 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports no changes] ****************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:93 Friday 27 May 2022 16:45:06 +0000 (0:00:00.043) 0:00:49.057 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Use only previous replaced] ********************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:98 Friday 27 May 2022 16:45:06 +0000 (0:00:00.043) 0:00:49.100 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:45:06 +0000 (0:00:00.071) 0:00:49.172 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:45:06 +0000 (0:00:00.028) 0:00:49.201 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:45:07 +0000 (0:00:00.443) 0:00:49.644 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:45:08 +0000 (0:00:00.613) 0:00:50.257 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:45:08 +0000 (0:00:00.610) 0:00:50.868 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:45:08 +0000 (0:00:00.044) 0:00:50.913 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:44:57 UTC", "ActiveEnterTimestampMonotonic": "49606780", "ActiveExitTimestamp": "Fri 2022-05-27 16:44:56 UTC", "ActiveExitTimestampMonotonic": "48547221", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:44:56 UTC", "AssertTimestampMonotonic": "49411342", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:44:56 UTC", "ConditionTimestampMonotonic": "49411342", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11870", "ExecMainStartTimestamp": "Fri 2022-05-27 16:44:56 UTC", "ExecMainStartTimestampMonotonic": "49412666", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:44:56 UTC] ; stop_time=[n/a] ; pid=11870 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:44:56 UTC", "InactiveEnterTimestampMonotonic": "49410254", "InactiveExitTimestamp": "Fri 2022-05-27 16:44:56 UTC", "InactiveExitTimestampMonotonic": "49412728", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11870", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:44:57 UTC", "WatchdogTimestampMonotonic": "49606704", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:45:09 +0000 (0:00:00.396) 0:00:51.309 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:45:09 +0000 (0:00:00.045) 0:00:51.355 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: f9451e30bb64cbad90a0d69a899b48f6997fa06a3911215557fa5e5feb5b6890 /etc/firewalld/zones/customzone.xml 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 81eef6447233fedb7f6e9afa5002ef9aeb60712af6af459ce9cc52cbab52a749 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:45:10 +0000 (0:00:01.371) 0:00:52.726 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:45:10 +0000 (0:00:00.043) 0:00:52.769 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:45:10 +0000 (0:00:00.254) 0:00:53.024 ************ changed: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:45:10 +0000 (0:00:00.047) 0:00:53.072 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:105 Friday 27 May 2022 16:45:10 +0000 (0:00:00.043) 0:00:53.115 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone] ************************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:110 Friday 27 May 2022 16:45:10 +0000 (0:00:00.040) 0:00:53.156 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:45:11 +0000 (0:00:00.083) 0:00:53.239 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:45:11 +0000 (0:00:00.027) 0:00:53.267 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:45:11 +0000 (0:00:00.430) 0:00:53.698 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:45:12 +0000 (0:00:00.645) 0:00:54.343 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:45:12 +0000 (0:00:00.612) 0:00:54.956 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:45:12 +0000 (0:00:00.039) 0:00:54.995 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:45:10 UTC", "ActiveEnterTimestampMonotonic": "62594264", "ActiveExitTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ActiveExitTimestampMonotonic": "61520152", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:45:09 UTC", "AssertTimestampMonotonic": "62392308", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ConditionTimestampMonotonic": "62392308", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13223", "ExecMainStartTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ExecMainStartTimestampMonotonic": "62393490", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:45:09 UTC] ; stop_time=[n/a] ; pid=13223 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:45:09 UTC", "InactiveEnterTimestampMonotonic": "62391275", "InactiveExitTimestamp": "Fri 2022-05-27 16:45:09 UTC", "InactiveExitTimestampMonotonic": "62393531", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13223", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:45:10 UTC", "WatchdogTimestampMonotonic": "62594204", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:45:13 +0000 (0:00:00.395) 0:00:55.390 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:45:13 +0000 (0:00:00.043) 0:00:55.434 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:45:13 +0000 (0:00:00.037) 0:00:55.471 ************ changed: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:45:13 +0000 (0:00:00.564) 0:00:56.035 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:45:13 +0000 (0:00:00.040) 0:00:56.075 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:45:13 +0000 (0:00:00.040) 0:00:56.116 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports changed] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:118 Friday 27 May 2022 16:45:13 +0000 (0:00:00.039) 0:00:56.156 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again] ******************************************* task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:123 Friday 27 May 2022 16:45:13 +0000 (0:00:00.041) 0:00:56.197 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:45:14 +0000 (0:00:00.084) 0:00:56.282 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:45:14 +0000 (0:00:00.027) 0:00:56.309 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:45:14 +0000 (0:00:00.416) 0:00:56.726 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:45:15 +0000 (0:00:00.649) 0:00:57.376 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:45:15 +0000 (0:00:00.606) 0:00:57.982 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:45:15 +0000 (0:00:00.042) 0:00:58.024 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:45:10 UTC", "ActiveEnterTimestampMonotonic": "62594264", "ActiveExitTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ActiveExitTimestampMonotonic": "61520152", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:45:09 UTC", "AssertTimestampMonotonic": "62392308", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ConditionTimestampMonotonic": "62392308", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13223", "ExecMainStartTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ExecMainStartTimestampMonotonic": "62393490", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:45:09 UTC] ; stop_time=[n/a] ; pid=13223 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:45:09 UTC", "InactiveEnterTimestampMonotonic": "62391275", "InactiveExitTimestamp": "Fri 2022-05-27 16:45:09 UTC", "InactiveExitTimestampMonotonic": "62393531", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13223", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:45:10 UTC", "WatchdogTimestampMonotonic": "62594204", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:45:16 +0000 (0:00:00.411) 0:00:58.435 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:45:16 +0000 (0:00:00.047) 0:00:58.482 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:45:16 +0000 (0:00:00.041) 0:00:58.524 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:45:16 +0000 (0:00:00.575) 0:00:59.100 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:45:16 +0000 (0:00:00.039) 0:00:59.139 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:45:16 +0000 (0:00:00.039) 0:00:59.179 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:131 Friday 27 May 2022 16:45:16 +0000 (0:00:00.038) 0:00:59.217 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply only default zone again with previous replaced] ******************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:136 Friday 27 May 2022 16:45:17 +0000 (0:00:00.038) 0:00:59.256 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:45:17 +0000 (0:00:00.097) 0:00:59.354 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:45:17 +0000 (0:00:00.030) 0:00:59.384 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:45:17 +0000 (0:00:00.458) 0:00:59.842 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:45:18 +0000 (0:00:00.666) 0:01:00.509 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:45:18 +0000 (0:00:00.639) 0:01:01.149 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:45:18 +0000 (0:00:00.043) 0:01:01.192 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:45:10 UTC", "ActiveEnterTimestampMonotonic": "62594264", "ActiveExitTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ActiveExitTimestampMonotonic": "61520152", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:45:09 UTC", "AssertTimestampMonotonic": "62392308", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ConditionTimestampMonotonic": "62392308", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13223", "ExecMainStartTimestamp": "Fri 2022-05-27 16:45:09 UTC", "ExecMainStartTimestampMonotonic": "62393490", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:45:09 UTC] ; stop_time=[n/a] ; pid=13223 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:45:09 UTC", "InactiveEnterTimestampMonotonic": "62391275", "InactiveExitTimestamp": "Fri 2022-05-27 16:45:09 UTC", "InactiveExitTimestampMonotonic": "62393531", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13223", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:45:10 UTC", "WatchdogTimestampMonotonic": "62594204", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:45:19 +0000 (0:00:00.424) 0:01:01.617 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:45:19 +0000 (0:00:00.047) 0:01:01.665 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:45:20 +0000 (0:00:01.275) 0:01:02.940 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:45:21 +0000 (0:00:00.585) 0:01:03.525 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:45:21 +0000 (0:00:00.287) 0:01:03.813 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:45:21 +0000 (0:00:00.046) 0:01:03.860 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Verify role reports not changed] ***************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:145 Friday 27 May 2022 16:45:21 +0000 (0:00:00.042) 0:01:03.903 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:150 Friday 27 May 2022 16:45:21 +0000 (0:00:00.039) 0:01:03.943 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:45:21 +0000 (0:00:00.094) 0:01:04.038 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:45:21 +0000 (0:00:00.026) 0:01:04.064 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:45:22 +0000 (0:00:00.416) 0:01:04.480 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:45:22 +0000 (0:00:00.618) 0:01:05.099 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:45:23 +0000 (0:00:00.638) 0:01:05.738 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:45:23 +0000 (0:00:00.043) 0:01:05.781 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:45:20 UTC", "ActiveEnterTimestampMonotonic": "72814582", "ActiveExitTimestamp": "Fri 2022-05-27 16:45:19 UTC", "ActiveExitTimestampMonotonic": "71841808", "ActiveState": "active", "After": "dbus.service basic.target system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:45:20 UTC", "AssertTimestampMonotonic": "72618426", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:45:20 UTC", "ConditionTimestampMonotonic": "72618426", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14219", "ExecMainStartTimestamp": "Fri 2022-05-27 16:45:20 UTC", "ExecMainStartTimestampMonotonic": "72619456", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:45:20 UTC] ; stop_time=[n/a] ; pid=14219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:45:20 UTC", "InactiveEnterTimestampMonotonic": "72617805", "InactiveExitTimestamp": "Fri 2022-05-27 16:45:20 UTC", "InactiveExitTimestampMonotonic": "72619487", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "14219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:45:20 UTC", "WatchdogTimestampMonotonic": "72814488", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:45:23 +0000 (0:00:00.401) 0:01:06.183 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:45:24 +0000 (0:00:00.046) 0:01:06.230 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:45:25 +0000 (0:00:01.275) 0:01:07.505 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:45:25 +0000 (0:00:00.038) 0:01:07.543 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:45:25 +0000 (0:00:00.229) 0:01:07.773 ************ changed: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:45:25 +0000 (0:00:00.048) 0:01:07.821 ************ skipping: [/cache/centos-7.qcow2c] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c : ok=99 changed=7 unreachable=0 failed=0 skipped=56 rescued=0 ignored=0 Friday 27 May 2022 16:45:25 +0000 (0:00:00.036) 0:01:07.858 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 10.10s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 3.48s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 3.03s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 1.39s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 1.28s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 1.28s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpn4b3r6az/tests/tests_purge_config.yml:1 ------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.73s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install firewalld ------------------------- 0.67s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.65s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.65s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.64s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install python-firewall ------------------- 0.64s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.64s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.63s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install python-firewall ------------------- 0.63s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.62s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.62s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.61s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 0.61s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmpn4b3r6az/tests/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn4b3r6az/tests/tests_target.yml:1 Friday 27 May 2022 16:45:40 +0000 (0:00:00.022) 0:00:00.022 ************ ok: [/cache/centos-7.qcow2c] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmpn4b3r6az/tests/tests_target.yml:5 Friday 27 May 2022 16:45:41 +0000 (0:00:01.039) 0:00:01.061 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:45:41 +0000 (0:00:00.131) 0:00:01.192 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:45:41 +0000 (0:00:00.037) 0:00:01.230 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:45:42 +0000 (0:00:00.425) 0:00:01.655 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "changes": { "installed": [ "firewalld" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirrors.advancedhosters.com\n * extras: mirror.pit.teraswitch.com\n * updates: mirror.ette.biz\nResolving Dependencies\n--> Running transaction check\n---> Package firewalld.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-firewall = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: firewalld-filesystem = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ipset for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ebtables for package: firewalld-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ebtables.x86_64 0:2.0.10-16.el7 will be installed\n---> Package firewalld-filesystem.noarch 0:0.6.3-13.el7_9 will be installed\n---> Package ipset.x86_64 0:7.1-1.el7 will be installed\n--> Processing Dependency: ipset-libs(x86-64) = 7.1-1.el7 for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_4.8)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_2.0)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13()(64bit) for package: ipset-7.1-1.el7.x86_64\n---> Package python-firewall.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-slip-dbus for package: python-firewall-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ipset-libs.x86_64 0:7.1-1.el7 will be installed\n---> Package python-slip-dbus.noarch 0:0.4.0-4.el7 will be installed\n--> Processing Dependency: python-slip = 0.4.0-4.el7 for package: python-slip-dbus-0.4.0-4.el7.noarch\n--> Running transaction check\n---> Package python-slip.noarch 0:0.4.0-4.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n firewalld noarch 0.6.3-13.el7_9 updates 449 k\nInstalling for dependencies:\n ebtables x86_64 2.0.10-16.el7 base 123 k\n firewalld-filesystem noarch 0.6.3-13.el7_9 updates 51 k\n ipset x86_64 7.1-1.el7 base 39 k\n ipset-libs x86_64 7.1-1.el7 base 64 k\n python-firewall noarch 0.6.3-13.el7_9 updates 355 k\n python-slip noarch 0.4.0-4.el7 base 31 k\n python-slip-dbus noarch 0.4.0-4.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+7 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 4.5 M\nDownloading packages:\nPublic key for firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm is not installed\nPublic key for ipset-7.1-1.el7.x86_64.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 5.3 MB/s | 1.1 MB 00:00 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : ebtables-2.0.10-16.el7.x86_64 1/8 \n Installing : ipset-libs-7.1-1.el7.x86_64 2/8 \n Installing : ipset-7.1-1.el7.x86_64 3/8 \n Installing : python-slip-0.4.0-4.el7.noarch 4/8 \n Installing : python-slip-dbus-0.4.0-4.el7.noarch 5/8 \n Installing : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Installing : firewalld-filesystem-0.6.3-13.el7_9.noarch 7/8 \n Installing : firewalld-0.6.3-13.el7_9.noarch 8/8 \n Verifying : ipset-7.1-1.el7.x86_64 1/8 \n Verifying : python-slip-dbus-0.4.0-4.el7.noarch 2/8 \n Verifying : firewalld-filesystem-0.6.3-13.el7_9.noarch 3/8 \n Verifying : firewalld-0.6.3-13.el7_9.noarch 4/8 \n Verifying : python-slip-0.4.0-4.el7.noarch 5/8 \n Verifying : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Verifying : ipset-libs-7.1-1.el7.x86_64 7/8 \n Verifying : ebtables-2.0.10-16.el7.x86_64 8/8 \n\nInstalled:\n firewalld.noarch 0:0.6.3-13.el7_9 \n\nDependency Installed:\n ebtables.x86_64 0:2.0.10-16.el7 \n firewalld-filesystem.noarch 0:0.6.3-13.el7_9 \n ipset.x86_64 0:7.1-1.el7 \n ipset-libs.x86_64 0:7.1-1.el7 \n python-firewall.noarch 0:0.6.3-13.el7_9 \n python-slip.noarch 0:0.4.0-4.el7 \n python-slip-dbus.noarch 0:0.4.0-4.el7 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/updates/packages/firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-8.2003.0.el7.centos.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:45:55 +0000 (0:00:13.640) 0:00:15.296 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:45:56 +0000 (0:00:00.648) 0:00:15.945 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:45:56 +0000 (0:00:00.044) 0:00:15.989 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target ip6tables.service iptables.service ebtables.service ipset.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:45:57 +0000 (0:00:00.883) 0:00:16.873 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:45:57 +0000 (0:00:00.049) 0:00:16.922 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:45:57 +0000 (0:00:00.041) 0:00:16.963 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'permanent': True, u'set_default_zone': u'public'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public", "state": "enabled" } } changed: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'permanent': True, u'target': u'DROP'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:45:58 +0000 (0:00:01.436) 0:00:18.399 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:45:59 +0000 (0:00:00.039) 0:00:18.439 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:45:59 +0000 (0:00:00.045) 0:00:18.484 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Get target setting] ****************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_target.yml:17 Friday 27 May 2022 16:45:59 +0000 (0:00:00.039) 0:00:18.524 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.254456", "end": "2022-05-27 16:45:59.475689", "rc": 0, "start": "2022-05-27 16:45:59.221233" } STDOUT: public target: DROP icmp-block-inversion: no interfaces: sources: services: dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_target.yml:22 Friday 27 May 2022 16:45:59 +0000 (0:00:00.666) 0:00:19.190 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmpn4b3r6az/tests/tests_target.yml:28 Friday 27 May 2022 16:45:59 +0000 (0:00:00.044) 0:00:19.235 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:45:59 +0000 (0:00:00.039) 0:00:19.274 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:45:59 +0000 (0:00:00.027) 0:00:19.301 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:46:00 +0000 (0:00:00.429) 0:00:19.730 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:46:00 +0000 (0:00:00.638) 0:00:20.369 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:46:01 +0000 (0:00:00.611) 0:00:20.981 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:46:01 +0000 (0:00:00.041) 0:00:21.023 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:45:57 UTC", "ActiveEnterTimestampMonotonic": "26676122", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:45:56 UTC", "AssertTimestampMonotonic": "26463400", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:45:56 UTC", "ConditionTimestampMonotonic": "26463399", "Conflicts": "shutdown.target ip6tables.service iptables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9127", "ExecMainStartTimestamp": "Fri 2022-05-27 16:45:56 UTC", "ExecMainStartTimestampMonotonic": "26464737", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:45:56 UTC] ; stop_time=[n/a] ; pid=9127 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-05-27 16:45:56 UTC", "InactiveExitTimestampMonotonic": "26464769", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9127", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:45:57 UTC", "WatchdogTimestampMonotonic": "26676069", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:46:02 +0000 (0:00:00.411) 0:00:21.434 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:46:02 +0000 (0:00:00.043) 0:00:21.478 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:46:02 +0000 (0:00:00.042) 0:00:21.521 ************ changed: [/cache/centos-7.qcow2c] => (item={u'state': u'absent', u'permanent': True, u'target': u'DROP'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:46:02 +0000 (0:00:00.742) 0:00:22.264 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:46:02 +0000 (0:00:00.039) 0:00:22.303 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:46:02 +0000 (0:00:00.039) 0:00:22.342 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Get target setting] ****************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_target.yml:37 Friday 27 May 2022 16:46:02 +0000 (0:00:00.039) 0:00:22.382 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.267978", "end": "2022-05-27 16:46:03.258449", "rc": 0, "start": "2022-05-27 16:46:02.990471" } STDOUT: public target: default icmp-block-inversion: no interfaces: sources: services: dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmpn4b3r6az/tests/tests_target.yml:42 Friday 27 May 2022 16:46:03 +0000 (0:00:00.588) 0:00:22.970 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_target.yml:48 Friday 27 May 2022 16:46:03 +0000 (0:00:00.043) 0:00:23.014 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:46:03 +0000 (0:00:00.045) 0:00:23.059 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:46:03 +0000 (0:00:00.027) 0:00:23.086 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:46:04 +0000 (0:00:00.746) 0:00:23.833 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:46:05 +0000 (0:00:00.616) 0:00:24.450 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:46:05 +0000 (0:00:00.618) 0:00:25.068 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:46:05 +0000 (0:00:00.043) 0:00:25.112 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:45:57 UTC", "ActiveEnterTimestampMonotonic": "26676122", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:45:56 UTC", "AssertTimestampMonotonic": "26463400", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:45:56 UTC", "ConditionTimestampMonotonic": "26463399", "Conflicts": "shutdown.target ip6tables.service iptables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9127", "ExecMainStartTimestamp": "Fri 2022-05-27 16:45:56 UTC", "ExecMainStartTimestampMonotonic": "26464737", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:45:56 UTC] ; stop_time=[n/a] ; pid=9127 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-05-27 16:45:56 UTC", "InactiveExitTimestampMonotonic": "26464769", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9127", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:45:57 UTC", "WatchdogTimestampMonotonic": "26676069", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:46:06 +0000 (0:00:00.420) 0:00:25.532 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:46:06 +0000 (0:00:00.044) 0:00:25.576 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:46:07 +0000 (0:00:01.291) 0:00:26.868 ************ TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:46:07 +0000 (0:00:00.042) 0:00:26.910 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:46:07 +0000 (0:00:00.251) 0:00:27.162 ************ changed: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:46:07 +0000 (0:00:00.047) 0:00:27.210 ************ skipping: [/cache/centos-7.qcow2c] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c : ok=28 changed=5 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Friday 27 May 2022 16:46:07 +0000 (0:00:00.036) 0:00:27.247 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 13.64s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 1.44s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Get config files, checksums before and remove --- 1.29s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpn4b3r6az/tests/tests_target.yml:1 ------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.88s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.75s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Configure firewall ------------------------ 0.74s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Get target setting ------------------------------------------------------ 0.67s /tmp/tmpn4b3r6az/tests/tests_target.yml:17 ------------------------------------ linux-system-roles.firewall : Install python-firewall ------------------- 0.65s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.64s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.62s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.62s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.61s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Get target setting ------------------------------------------------------ 0.59s /tmp/tmpn4b3r6az/tests/tests_target.yml:37 ------------------------------------ linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.43s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.43s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.42s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 0.41s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Get config files, checksums after --------- 0.25s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 ---- Call role to change target settings ------------------------------------- 0.13s /tmp/tmpn4b3r6az/tests/tests_target.yml:5 ------------------------------------- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_zone.yml ******************************************************* 1 plays in /tmp/tmpn4b3r6az/tests/tests_zone.yml PLAY [Test firewalld zones] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:1 Friday 27 May 2022 16:46:21 +0000 (0:00:00.023) 0:00:00.023 ************ ok: [/cache/centos-7.qcow2c] META: ran handlers TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:10 Friday 27 May 2022 16:46:22 +0000 (0:00:01.033) 0:00:01.057 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:46:22 +0000 (0:00:00.160) 0:00:01.218 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:46:23 +0000 (0:00:00.062) 0:00:01.281 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:46:23 +0000 (0:00:00.425) 0:00:01.707 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "changes": { "installed": [ "firewalld" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: packages.oit.ncsu.edu\n * extras: mirror.pit.teraswitch.com\n * updates: mirror.centos.iad1.serverforge.org\nResolving Dependencies\n--> Running transaction check\n---> Package firewalld.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-firewall = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: firewalld-filesystem = 0.6.3-13.el7_9 for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ipset for package: firewalld-0.6.3-13.el7_9.noarch\n--> Processing Dependency: ebtables for package: firewalld-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ebtables.x86_64 0:2.0.10-16.el7 will be installed\n---> Package firewalld-filesystem.noarch 0:0.6.3-13.el7_9 will be installed\n---> Package ipset.x86_64 0:7.1-1.el7 will be installed\n--> Processing Dependency: ipset-libs(x86-64) = 7.1-1.el7 for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_4.8)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13(LIBIPSET_2.0)(64bit) for package: ipset-7.1-1.el7.x86_64\n--> Processing Dependency: libipset.so.13()(64bit) for package: ipset-7.1-1.el7.x86_64\n---> Package python-firewall.noarch 0:0.6.3-13.el7_9 will be installed\n--> Processing Dependency: python-slip-dbus for package: python-firewall-0.6.3-13.el7_9.noarch\n--> Running transaction check\n---> Package ipset-libs.x86_64 0:7.1-1.el7 will be installed\n---> Package python-slip-dbus.noarch 0:0.4.0-4.el7 will be installed\n--> Processing Dependency: python-slip = 0.4.0-4.el7 for package: python-slip-dbus-0.4.0-4.el7.noarch\n--> Running transaction check\n---> Package python-slip.noarch 0:0.4.0-4.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n firewalld noarch 0.6.3-13.el7_9 updates 449 k\nInstalling for dependencies:\n ebtables x86_64 2.0.10-16.el7 base 123 k\n firewalld-filesystem noarch 0.6.3-13.el7_9 updates 51 k\n ipset x86_64 7.1-1.el7 base 39 k\n ipset-libs x86_64 7.1-1.el7 base 64 k\n python-firewall noarch 0.6.3-13.el7_9 updates 355 k\n python-slip noarch 0.4.0-4.el7 base 31 k\n python-slip-dbus noarch 0.4.0-4.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+7 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 4.5 M\nDownloading packages:\nPublic key for firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm is not installed\nPublic key for ipset-7.1-1.el7.x86_64.rpm is not installed\n--------------------------------------------------------------------------------\nTotal 4.5 MB/s | 1.1 MB 00:00 \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : ebtables-2.0.10-16.el7.x86_64 1/8 \n Installing : ipset-libs-7.1-1.el7.x86_64 2/8 \n Installing : ipset-7.1-1.el7.x86_64 3/8 \n Installing : python-slip-0.4.0-4.el7.noarch 4/8 \n Installing : python-slip-dbus-0.4.0-4.el7.noarch 5/8 \n Installing : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Installing : firewalld-filesystem-0.6.3-13.el7_9.noarch 7/8 \n Installing : firewalld-0.6.3-13.el7_9.noarch 8/8 \n Verifying : ipset-7.1-1.el7.x86_64 1/8 \n Verifying : python-slip-dbus-0.4.0-4.el7.noarch 2/8 \n Verifying : firewalld-filesystem-0.6.3-13.el7_9.noarch 3/8 \n Verifying : firewalld-0.6.3-13.el7_9.noarch 4/8 \n Verifying : python-slip-0.4.0-4.el7.noarch 5/8 \n Verifying : python-firewall-0.6.3-13.el7_9.noarch 6/8 \n Verifying : ipset-libs-7.1-1.el7.x86_64 7/8 \n Verifying : ebtables-2.0.10-16.el7.x86_64 8/8 \n\nInstalled:\n firewalld.noarch 0:0.6.3-13.el7_9 \n\nDependency Installed:\n ebtables.x86_64 0:2.0.10-16.el7 \n firewalld-filesystem.noarch 0:0.6.3-13.el7_9 \n ipset.x86_64 0:7.1-1.el7 \n ipset-libs.x86_64 0:7.1-1.el7 \n python-firewall.noarch 0:0.6.3-13.el7_9 \n python-slip.noarch 0:0.4.0-4.el7 \n python-slip-dbus.noarch 0:0.4.0-4.el7 \n\nComplete!\n" ] } MSG: warning: /var/cache/yum/x86_64/7/updates/packages/firewalld-filesystem-0.6.3-13.el7_9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-8.2003.0.el7.centos.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:46:34 +0000 (0:00:11.079) 0:00:12.787 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:46:35 +0000 (0:00:00.691) 0:00:13.478 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:46:35 +0000 (0:00:00.047) 0:00:13.526 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "ipset.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:46:36 +0000 (0:00:00.957) 0:00:14.483 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:46:36 +0000 (0:00:00.050) 0:00:14.533 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:46:36 +0000 (0:00:00.043) 0:00:14.577 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'zone': u'internal'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'zone': u'external'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'zone': u'trusted'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:46:38 +0000 (0:00:01.747) 0:00:16.324 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:46:38 +0000 (0:00:00.052) 0:00:16.377 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:46:38 +0000 (0:00:00.046) 0:00:16.423 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Fail on missing zones] *************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:22 Friday 27 May 2022 16:46:38 +0000 (0:00:00.044) 0:00:16.468 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:28 Friday 27 May 2022 16:46:38 +0000 (0:00:00.043) 0:00:16.511 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:46:38 +0000 (0:00:00.071) 0:00:16.583 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:46:38 +0000 (0:00:00.052) 0:00:16.636 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:46:38 +0000 (0:00:00.448) 0:00:17.085 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:46:39 +0000 (0:00:00.670) 0:00:17.755 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:46:40 +0000 (0:00:00.654) 0:00:18.410 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:46:40 +0000 (0:00:00.042) 0:00:18.452 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:46:35 UTC", "ActiveEnterTimestampMonotonic": "24305158", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:46:35 UTC", "AssertTimestampMonotonic": "24093742", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:46:35 UTC", "ConditionTimestampMonotonic": "24093742", "Conflicts": "ipset.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9127", "ExecMainStartTimestamp": "Fri 2022-05-27 16:46:35 UTC", "ExecMainStartTimestampMonotonic": "24094976", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:46:35 UTC] ; stop_time=[n/a] ; pid=9127 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-05-27 16:46:35 UTC", "InactiveExitTimestampMonotonic": "24095696", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9127", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:46:35 UTC", "WatchdogTimestampMonotonic": "24304909", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:46:40 +0000 (0:00:00.415) 0:00:18.867 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:46:40 +0000 (0:00:00.046) 0:00:18.914 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml 8697e89439a0fde2df034ef3bfeb3a9558529194c459826162be809a2f08e773 /etc/firewalld/lockdown-whitelist.xml 65a9e4a0653b58f6808edcf6d432f6676485af237e73cb7adaabab4df3fac7bc /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:46:41 +0000 (0:00:01.300) 0:00:20.214 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/centos-7.qcow2c] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:46:45 +0000 (0:00:03.366) 0:00:23.581 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:46:45 +0000 (0:00:00.290) 0:00:23.871 ************ changed: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:46:45 +0000 (0:00:00.050) 0:00:23.922 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:58 Friday 27 May 2022 16:46:45 +0000 (0:00:00.044) 0:00:23.966 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:64 Friday 27 May 2022 16:46:45 +0000 (0:00:00.043) 0:00:24.010 ************ TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 27 May 2022 16:46:45 +0000 (0:00:00.066) 0:00:24.076 ************ included: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 27 May 2022 16:46:45 +0000 (0:00:00.052) 0:00:24.129 ************ ok: [/cache/centos-7.qcow2c] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 27 May 2022 16:46:46 +0000 (0:00:00.421) 0:00:24.551 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 27 May 2022 16:46:46 +0000 (0:00:00.617) 0:00:25.168 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 27 May 2022 16:46:47 +0000 (0:00:00.649) 0:00:25.818 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 27 May 2022 16:46:47 +0000 (0:00:00.044) 0:00:25.862 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-05-27 16:46:41 UTC", "ActiveEnterTimestampMonotonic": "30061562", "ActiveExitTimestamp": "Fri 2022-05-27 16:46:40 UTC", "ActiveExitTimestampMonotonic": "29079281", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-05-27 16:46:41 UTC", "AssertTimestampMonotonic": "29863810", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-05-27 16:46:41 UTC", "ConditionTimestampMonotonic": "29863810", "Conflicts": "ipset.service iptables.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9694", "ExecMainStartTimestamp": "Fri 2022-05-27 16:46:41 UTC", "ExecMainStartTimestampMonotonic": "29864814", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Fri 2022-05-27 16:46:41 UTC] ; stop_time=[n/a] ; pid=9694 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-05-27 16:46:41 UTC", "InactiveEnterTimestampMonotonic": "29862253", "InactiveExitTimestamp": "Fri 2022-05-27 16:46:41 UTC", "InactiveExitTimestampMonotonic": "29864872", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7163", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7163", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9694", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2022-05-27 16:46:41 UTC", "WatchdogTimestampMonotonic": "30061484", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 27 May 2022 16:46:48 +0000 (0:00:00.429) 0:00:26.292 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 27 May 2022 16:46:48 +0000 (0:00:00.049) 0:00:26.342 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 27 May 2022 16:46:49 +0000 (0:00:01.330) 0:00:27.673 ************ ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': [u'tftp', u'ftp'], u'port': [u'443/tcp', u'443/udp'], u'zone': u'internal', u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/centos-7.qcow2c] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/centos-7.qcow2c] => (item={u'state': u'enabled', u'service': u'http'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:72 Friday 27 May 2022 16:46:52 +0000 (0:00:03.419) 0:00:31.092 ************ ok: [/cache/centos-7.qcow2c] => { "changed": false, "rc": 0 } STDOUT: e2b071ca9b919b8fd60a4fe1e00e4f792ec2245359e8c48027020970791176d1 /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 958dce439fe299ce0b0fdb10c4c18412269fbab3f09660e4b210962728554953 /etc/firewalld/firewalld.conf STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:80 Friday 27 May 2022 16:46:53 +0000 (0:00:00.304) 0:00:31.397 ************ ok: [/cache/centos-7.qcow2c] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:89 Friday 27 May 2022 16:46:53 +0000 (0:00:00.057) 0:00:31.454 ************ skipping: [/cache/centos-7.qcow2c] => {} TASK [Fail on newly changes] *************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:94 Friday 27 May 2022 16:46:53 +0000 (0:00:00.044) 0:00:31.499 ************ skipping: [/cache/centos-7.qcow2c] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:100 Friday 27 May 2022 16:46:53 +0000 (0:00:00.044) 0:00:31.543 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.314594", "end": "2022-05-27 16:46:53.681088", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:46:53.366494" } STDOUT: dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:107 Friday 27 May 2022 16:46:54 +0000 (0:00:00.776) 0:00:32.320 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.270448", "end": "2022-05-27 16:46:54.282241", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:46:54.011793" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:114 Friday 27 May 2022 16:46:54 +0000 (0:00:00.600) 0:00:32.920 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.274346", "end": "2022-05-27 16:46:54.885694", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:46:54.611348" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:123 Friday 27 May 2022 16:46:55 +0000 (0:00:00.600) 0:00:33.521 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.286142", "end": "2022-05-27 16:46:55.497642", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:46:55.211500" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:129 Friday 27 May 2022 16:46:55 +0000 (0:00:00.613) 0:00:34.134 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.253383", "end": "2022-05-27 16:46:56.081446", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:46:55.828063" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:135 Friday 27 May 2022 16:46:56 +0000 (0:00:00.583) 0:00:34.718 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.250326", "end": "2022-05-27 16:46:56.660977", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:46:56.410651" } STDOUT: yes TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:147 Friday 27 May 2022 16:46:57 +0000 (0:00:00.579) 0:00:35.297 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.271397", "end": "2022-05-27 16:46:57.268439", "failed_when_result": false, "rc": 0, "start": "2022-05-27 16:46:56.997042" } STDOUT: success TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmpn4b3r6az/tests/tests_zone.yml:152 Friday 27 May 2022 16:46:57 +0000 (0:00:00.605) 0:00:35.903 ************ changed: [/cache/centos-7.qcow2c] => { "changed": true, "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n", "delta": "0:00:01.269224", "end": "2022-05-27 16:46:58.867458", "rc": 0, "start": "2022-05-27 16:46:57.598234" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c : ok=36 changed=11 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Friday 27 May 2022 16:46:59 +0000 (0:00:01.597) 0:00:37.501 ************ =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 11.08s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 3.42s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.75s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Reset to zone defaults -------------------------------------------------- 1.60s /tmp/tmpn4b3r6az/tests/tests_zone.yml:152 ------------------------------------- linux-system-roles.firewall : Get config files, checksums before and remove --- 1.33s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpn4b3r6az/tests/tests_zone.yml:1 --------------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.96s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Verify firewalld zone internal services --------------------------------- 0.78s /tmp/tmpn4b3r6az/tests/tests_zone.yml:100 ------------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.69s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.67s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.65s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install python-firewall ------------------- 0.65s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.62s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Verify custom zone has masquerade added to it --------------------------- 0.61s /tmp/tmpn4b3r6az/tests/tests_zone.yml:123 ------------------------------------- Remove customzone zone -------------------------------------------------- 0.61s /tmp/tmpn4b3r6az/tests/tests_zone.yml:147 ------------------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.60s /tmp/tmpn4b3r6az/tests/tests_zone.yml:114 ------------------------------------- Verify firewalld zone internal ports ------------------------------------ 0.60s /tmp/tmpn4b3r6az/tests/tests_zone.yml:107 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.58s /tmp/tmpn4b3r6az/tests/tests_zone.yml:129 ------------------------------------- Verify that service http has been added to the default zone dmz --------- 0.58s /tmp/tmpn4b3r6az/tests/tests_zone.yml:135 ------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.45s /tmp/tmpn4b3r6az/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2