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, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles 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 'jsonl', 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_interface_pci.yml ********************************************** 1 plays in /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml PLAY [Test interfaces with PCI ids] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Saturday 25 April 2026 02:25:45 -0400 (0:00:00.040) 0:00:00.040 ******** ok: [managed-node2] META: ran handlers TASK [Set expected backend] **************************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Saturday 25 April 2026 02:25:46 -0400 (0:00:00.922) 0:00:00.963 ******** ok: [managed-node2] => { "ansible_facts": { "nftables_backend": false }, "changed": false } TASK [Find ethernet interfaces with PCI devices] ******************************* task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Saturday 25 April 2026 02:25:46 -0400 (0:00:00.043) 0:00:01.006 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nfind /sys/class/net -name 'e*' | while read -r iface_path; do\n # containers only have virtual devices; for PCI we need a real one\n if [ -n \"$iface_path\" ] && [ -e \"$iface_path/device/vendor\" ] && [ -e \"$iface_path/device/device\" ]; then\n echo \"$iface_path\"\n fi\ndone\n", "delta": "0:00:00.005229", "end": "2026-04-25 02:25:46.755662", "rc": 0, "start": "2026-04-25 02:25:46.750433" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Saturday 25 April 2026 02:25:46 -0400 (0:00:00.491) 0:00:01.498 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:42 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.467) 0:00:01.965 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [Get temp directory] ****************************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:54 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.083) 0:00:02.049 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:61 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.081) 0:00:02.130 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset before] ************************************* task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:68 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.034) 0:00:02.165 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is installed] ************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.033) 0:00:02.199 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is started] **************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.038) 0:00:02.238 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - List devices managed by NetworkManager] ************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.044) 0:00:02.283 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Find the first interface with PCI devices that is managed by NetworkManager] *** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.050) 0:00:02.333 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.046) 0:00:02.380 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.045) 0:00:02.426 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm changes were not made and short circuit is false] **************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:141 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.052) 0:00:02.478 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again with previous replaced] ***************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.052) 0:00:02.531 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm changes were not made and short circuit is false] **************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:156 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.051) 0:00:02.583 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Saturday 25 April 2026 02:25:47 -0400 (0:00:00.053) 0:00:02.637 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.051) 0:00:02.688 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:177 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.049) 0:00:02.737 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset after and show diff] ************************ task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:184 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.055) 0:00:02.793 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:193 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.047) 0:00:02.841 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:199 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.043) 0:00:02.884 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:206 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.037) 0:00:02.921 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm removal was made] ************************************************ task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:214 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.034) 0:00:02.956 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug0] ****************************************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:218 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.033) 0:00:02.990 ******** skipping: [managed-node2] => {} TASK [Remove interface from internal again] ************************************ task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:222 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.033) 0:00:03.023 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm no removal changes were made] ************************************ task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:230 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.033) 0:00:03.057 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal with previous replaced] ******************* task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:236 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.033) 0:00:03.090 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug1] ****************************************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:245 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.033) 0:00:03.124 ******** skipping: [managed-node2] => {} TASK [Confirm no removal changes were made with previous replaced] ************* task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:249 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.034) 0:00:03.159 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove temporary directory] ********************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:256 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.035) 0:00:03.194 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stop NetworkManager if it was not started by the test] ******************* task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:262 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.033) 0:00:03.228 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove NetworkManager if it was not installed by the test] *************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.034) 0:00:03.262 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:279 Saturday 25 April 2026 02:25:48 -0400 (0:00:00.034) 0:00:03.297 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=5 changed=0 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 25 April 2026 02:25:48 -0400 (0:00:00.033) 0:00:03.330 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 0.92s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Find ethernet interfaces with PCI devices ------------------------------- 0.49s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Check if system is ostree ----------------------------------------------- 0.47s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Set flag to indicate system is ostree ----------------------------------- 0.08s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:42 Get temp directory ------------------------------------------------------ 0.08s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:54 Assert that interface is in nftable ruleset ----------------------------- 0.06s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:177 Confirm changes were not made and short circuit is false ---------------- 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:156 Confirm changes were not made and short circuit is false ---------------- 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:141 Add pci device again ---------------------------------------------------- 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Add pci device again with previous replaced ----------------------------- 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Debug - get nftables ruleset after and show diff ------------------------ 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Debug - List devices managed by NetworkManager -------------------------- 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Get nftable ruleset ----------------------------------------------------- 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171 Debug - get iptables ruleset after and show diff ------------------------ 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:184 Find the first interface with PCI devices that is managed by NetworkManager --- 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Add pci device ethernet controller -------------------------------------- 0.05s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Ensure NetworkManager is started ---------------------------------------- 0.04s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Get iptables ruleset ---------------------------------------------------- 0.04s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:193 Set expected backend ---------------------------------------------------- 0.04s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Ensure NetworkManager is installed -------------------------------------- 0.04s /tmp/collections-Kcs/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75