# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Oct 26 2022, 09:13:21) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] Using /etc/ansible/ansible.cfg as config file 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 /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml PLAY [Test firewalld zones] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:2 Saturday 28 January 2023 05:42:46 +0000 (0:00:00.032) 0:00:00.032 ****** ok: [sut] META: ran handlers TASK [Verify used firewalld zones] ********************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:15 Saturday 28 January 2023 05:42:47 +0000 (0:00:00.855) 0:00:00.888 ****** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 28 January 2023 05:42:47 +0000 (0:00:00.105) 0:00:00.994 ****** included: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 28 January 2023 05:42:48 +0000 (0:00:00.127) 0:00:01.121 ****** ok: [sut] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Saturday 28 January 2023 05:42:48 +0000 (0:00:00.426) 0:00:01.548 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Saturday 28 January 2023 05:42:50 +0000 (0:00:01.809) 0:00:03.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Saturday 28 January 2023 05:42:50 +0000 (0:00:00.052) 0:00:03.410 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 28 January 2023 05:42:52 +0000 (0:00:01.725) 0:00:05.135 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target polkit.service dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target iptables.service ip6tables.service ebtables.service ipset.service nftables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:11 Saturday 28 January 2023 05:42:53 +0000 (0:00:01.543) 0:00:06.679 ****** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:20 Saturday 28 January 2023 05:42:53 +0000 (0:00:00.062) 0:00:06.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:42 Saturday 28 January 2023 05:42:53 +0000 (0:00:00.053) 0:00:06.795 ****** ok: [sut] => (item={'zone': 'internal', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [sut] => (item={'zone': 'external', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [sut] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:90 Saturday 28 January 2023 05:42:55 +0000 (0:00:02.207) 0:00:09.003 ****** skipping: [sut] => (item={'zone': 'internal', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'external', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'trusted', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:101 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.088) 0:00:09.091 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:110 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.055) 0:00:09.146 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:115 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.053) 0:00:09.200 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.055) 0:00:09.255 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.051) 0:00:09.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.057) 0:00:09.364 ****** skipping: [sut] => {} TASK [Fail on missing zones] *************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:27 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.053) 0:00:09.417 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:34 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.058) 0:00:09.476 ****** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.090) 0:00:09.567 ****** included: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.064) 0:00:09.632 ****** ok: [sut] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Saturday 28 January 2023 05:42:56 +0000 (0:00:00.431) 0:00:10.063 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Saturday 28 January 2023 05:42:58 +0000 (0:00:01.714) 0:00:11.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Saturday 28 January 2023 05:42:58 +0000 (0:00:00.052) 0:00:11.830 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 28 January 2023 05:43:00 +0000 (0:00:01.692) 0:00:13.523 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-01-28 05:42:53 UTC", "ActiveEnterTimestampMonotonic": "378124413", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket dbus.service polkit.service system.slice sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-01-28 05:42:52 UTC", "AssertTimestampMonotonic": "377472323", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-01-28 05:42:52 UTC", "ConditionTimestampMonotonic": "377472321", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5493", "ExecMainStartTimestamp": "Sat 2023-01-28 05:42:52 UTC", "ExecMainStartTimestampMonotonic": "377474567", "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=[Sat 2023-01-28 05:42:52 UTC] ; stop_time=[n/a] ; pid=5493 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-01-28 05:42:52 UTC", "InactiveExitTimestampMonotonic": "377474622", "InvocationID": "0d1d6f928b174562800f41072ebfdf93", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5493", "MemoryAccounting": "yes", "MemoryCurrent": "33050624", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-01-28 05:42:53 UTC", "StateChangeTimestampMonotonic": "378124413", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-01-28 05:42:53 UTC", "WatchdogTimestampMonotonic": "378124409", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:11 Saturday 28 January 2023 05:43:00 +0000 (0:00:00.431) 0:00:13.954 ****** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:20 Saturday 28 January 2023 05:43:00 +0000 (0:00:00.059) 0:00:14.014 ****** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 01fd12090b256116f23dc2e9bb64a2e7b3c0af919a1dc686580df84563bbd9ef /etc/firewalld/lockdown-whitelist.xml 125431fb0f0e77e66255267a5da843aa1bf0b94b1f1b0cc88c1033a06732ef46 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.11.65 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:42 Saturday 28 January 2023 05:43:02 +0000 (0:00:01.248) 0:00:15.262 ****** ok: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__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: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__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: [sut] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [sut] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [sut] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [sut] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:90 Saturday 28 January 2023 05:43:06 +0000 (0:00:04.093) 0:00:19.355 ****** skipping: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:101 Saturday 28 January 2023 05:43:06 +0000 (0:00:00.128) 0:00:19.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:110 Saturday 28 January 2023 05:43:06 +0000 (0:00:00.056) 0:00:19.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:115 Saturday 28 January 2023 05:43:06 +0000 (0:00:00.054) 0:00:19.595 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Saturday 28 January 2023 05:43:06 +0000 (0:00:00.054) 0:00:19.650 ****** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.11.65 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Saturday 28 January 2023 05:43:06 +0000 (0:00:00.423) 0:00:20.073 ****** changed: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Saturday 28 January 2023 05:43:07 +0000 (0:00:00.060) 0:00:20.134 ****** skipping: [sut] => {} TASK [Fail if no changes are done] ********************************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:64 Saturday 28 January 2023 05:43:07 +0000 (0:00:00.055) 0:00:20.189 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:71 Saturday 28 January 2023 05:43:07 +0000 (0:00:00.054) 0:00:20.243 ****** TASK [linux-system-roles.firewall : Setup firewalld] *************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:2 Saturday 28 January 2023 05:43:07 +0000 (0:00:00.088) 0:00:20.332 ****** included: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for sut TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Saturday 28 January 2023 05:43:07 +0000 (0:00:00.062) 0:00:20.395 ****** ok: [sut] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Saturday 28 January 2023 05:43:07 +0000 (0:00:00.429) 0:00:20.824 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Saturday 28 January 2023 05:43:09 +0000 (0:00:01.697) 0:00:22.522 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Saturday 28 January 2023 05:43:09 +0000 (0:00:00.053) 0:00:22.575 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Saturday 28 January 2023 05:43:11 +0000 (0:00:01.685) 0:00:24.261 ****** ok: [sut] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-01-28 05:43:02 UTC", "ActiveEnterTimestampMonotonic": "386666927", "ActiveExitTimestamp": "Sat 2023-01-28 05:43:01 UTC", "ActiveExitTimestampMonotonic": "385873271", "ActiveState": "active", "After": "dbus.socket dbus.service polkit.service system.slice sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-01-28 05:43:01 UTC", "AssertTimestampMonotonic": "386258337", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-01-28 05:43:01 UTC", "ConditionTimestampMonotonic": "386258335", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5825", "ExecMainStartTimestamp": "Sat 2023-01-28 05:43:01 UTC", "ExecMainStartTimestampMonotonic": "386260232", "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=[Sat 2023-01-28 05:43:01 UTC] ; stop_time=[n/a] ; pid=5825 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2023-01-28 05:43:01 UTC", "InactiveEnterTimestampMonotonic": "386256413", "InactiveExitTimestamp": "Sat 2023-01-28 05:43:01 UTC", "InactiveExitTimestampMonotonic": "386260296", "InvocationID": "e5c3cbee423942d5afc8deadf564c598", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5825", "MemoryAccounting": "yes", "MemoryCurrent": "29204480", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2023-01-28 05:43:02 UTC", "StateChangeTimestampMonotonic": "386666927", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Sat 2023-01-28 05:43:02 UTC", "WatchdogTimestampMonotonic": "386666923", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:11 Saturday 28 January 2023 05:43:11 +0000 (0:00:00.433) 0:00:24.695 ****** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:20 Saturday 28 January 2023 05:43:11 +0000 (0:00:00.060) 0:00:24.756 ****** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.11.65 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:42 Saturday 28 January 2023 05:43:12 +0000 (0:00:01.271) 0:00:26.027 ****** ok: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__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: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "__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: [sut] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [sut] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [sut] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [sut] => (item={'service': 'http', 'state': 'enabled'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [linux-system-roles.firewall : Gather firewall config information] ******** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:90 Saturday 28 January 2023 05:43:17 +0000 (0:00:04.072) 0:00:30.099 ****** skipping: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'internal', 'service': ['tftp', 'ftp'], 'port': ['443/tcp', '443/udp'], 'forward_port': ['447/tcp;;1.2.3.4', '448/tcp;;1.2.3.5'], 'state': 'enabled'}) => { "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" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'customzone', 'permanent': True, 'state': 'present'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'zone': 'customzone', 'permanent': True, 'masquerade': True, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'set_default_zone': 'dmz', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'service': 'http', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:101 Saturday 28 January 2023 05:43:17 +0000 (0:00:00.124) 0:00:30.224 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Gather firewall config if no arguments] **** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:110 Saturday 28 January 2023 05:43:17 +0000 (0:00:00.055) 0:00:30.280 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Update firewalld_config fact] ************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:115 Saturday 28 January 2023 05:43:17 +0000 (0:00:00.054) 0:00:30.334 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Saturday 28 January 2023 05:43:17 +0000 (0:00:00.052) 0:00:30.387 ****** ok: [sut] => { "changed": false, "rc": 0 } STDOUT: 6319ed8130b49fff292260a1c7003b9c5de8d9d5068218135a877031d0853d1b /etc/firewalld/zones/internal.xml 610e6e9bafe289c126adb751e772cd0224012f12738a8b8011454b1da8865c18 /etc/firewalld/zones/customzone.xml af0a9197ceaa7b3118aee96b570bc7a8d7dc2e4a51ac6a61e53f35ce23eecc0f /etc/firewalld/zones/public.xml df2e066f9b8c0677c4887aa9a7032c4f94480408ff740036d98e648d11dd84c5 /etc/firewalld/zones/dmz.xml 66dd9213714d0a8afae60be06b8902f2cb4d1435ee414e6b77ec4d8671e9df77 /etc/firewalld/firewalld.conf STDERR: Shared connection to 10.31.11.65 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Saturday 28 January 2023 05:43:17 +0000 (0:00:00.420) 0:00:30.807 ****** ok: [sut] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Saturday 28 January 2023 05:43:17 +0000 (0:00:00.063) 0:00:30.871 ****** skipping: [sut] => {} TASK [Fail on newly changes] *************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:101 Saturday 28 January 2023 05:43:17 +0000 (0:00:00.055) 0:00:30.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:108 Saturday 28 January 2023 05:43:17 +0000 (0:00:00.054) 0:00:30.981 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.417849", "end": "2023-01-28 05:43:18.681957", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:43:18.264108" } STDOUT: cockpit dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:116 Saturday 28 January 2023 05:43:18 +0000 (0:00:00.816) 0:00:31.798 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.412035", "end": "2023-01-28 05:43:19.374652", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:43:18.962617" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:124 Saturday 28 January 2023 05:43:19 +0000 (0:00:00.692) 0:00:32.490 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.414774", "end": "2023-01-28 05:43:20.064402", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:43:19.649628" } 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: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:134 Saturday 28 January 2023 05:43:20 +0000 (0:00:00.689) 0:00:33.180 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.411345", "end": "2023-01-28 05:43:20.750313", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:43:20.338968" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:141 Saturday 28 January 2023 05:43:20 +0000 (0:00:00.685) 0:00:33.865 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.396761", "end": "2023-01-28 05:43:21.423974", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:43:21.027213" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:148 Saturday 28 January 2023 05:43:21 +0000 (0:00:00.675) 0:00:34.540 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:01.399053", "end": "2023-01-28 05:43:23.109053", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:43:21.710000" } STDOUT: yes TASK [Remove customzone zone] ************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:161 Saturday 28 January 2023 05:43:23 +0000 (0:00:01.682) 0:00:36.223 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.421398", "end": "2023-01-28 05:43:23.809128", "failed_when_result": false, "rc": 0, "start": "2023-01-28 05:43:23.387730" } STDOUT: success TASK [Reset to zone defaults] ************************************************** task path: /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:167 Saturday 28 January 2023 05:43:23 +0000 (0:00:00.700) 0:00:36.923 ****** ok: [sut] => { "changed": false, "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:02.123426", "end": "2023-01-28 05:43:26.206629", "rc": 0, "start": "2023-01-28 05:43:24.083203" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=36 changed=2 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Saturday 28 January 2023 05:43:26 +0000 (0:00:02.387) 0:00:39.311 ****** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 8.17s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:42 linux-system-roles.firewall : Get config files, checksums before and remove --- 2.52s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:20 Reset to zone defaults -------------------------------------------------- 2.39s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:167 -------- linux-system-roles.firewall : Configure firewall ------------------------ 2.21s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:42 linux-system-roles.firewall : Install firewalld ------------------------- 1.81s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.73s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.71s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.70s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.69s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.69s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Verify that service http has been added to the default zone dmz --------- 1.68s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:148 -------- linux-system-roles.firewall : Enable and start firewalld service -------- 1.54s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 linux-system-roles.firewall : Enable and start firewalld service -------- 0.87s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:2 ---------- linux-system-roles.firewall : Get config files, checksums after --------- 0.84s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Verify firewalld zone internal services --------------------------------- 0.82s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:108 -------- Remove customzone zone -------------------------------------------------- 0.70s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:161 -------- Verify firewalld zone internal ports ------------------------------------ 0.69s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:116 -------- Verify firewalld zone internal forward ports ---------------------------- 0.69s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:124 -------- Verify custom zone has masquerade added to it --------------------------- 0.69s /WORKDIR/dist-git-firewall-weekly-ci-_kgal5v9/tests/tests_zone.yml:134 -------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---