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-pZD/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-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Saturday 28 March 2026 02:03:46 -0400 (0:00:00.030) 0:00:00.030 ******** ok: [managed-node1] META: ran handlers TASK [Set expected backend] **************************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:13 Saturday 28 March 2026 02:03:47 -0400 (0:00:00.906) 0:00:00.936 ******** ok: [managed-node1] => { "ansible_facts": { "nftables_backend": false }, "changed": false } TASK [Find ethernet interfaces with PCI devices] ******************************* task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:17 Saturday 28 March 2026 02:03:47 -0400 (0:00:00.065) 0:00:01.002 ******** ok: [managed-node1] => { "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.005339", "end": "2026-03-28 02:03:47.643071", "rc": 0, "start": "2026-03-28 02:03:47.637732" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:32 Saturday 28 March 2026 02:03:47 -0400 (0:00:00.475) 0:00:01.477 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.502) 0:00:01.980 ******** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [Get temp directory] ****************************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:49 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.045) 0:00:02.025 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:56 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.034) 0:00:02.060 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset before] ************************************* task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:63 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.034) 0:00:02.094 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is installed] ************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:70 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.035) 0:00:02.129 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is started] **************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.035) 0:00:02.165 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - List devices managed by NetworkManager] ************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:83 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.092) 0:00:02.258 ******** skipping: [managed-node1] => { "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-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:94 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.127) 0:00:02.385 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:119 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.042) 0:00:02.428 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:128 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.035) 0:00:02.463 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.035) 0:00:02.498 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:146 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.034) 0:00:02.533 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:152 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.033) 0:00:02.567 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset after and show diff] ************************ task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:159 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.035) 0:00:02.602 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:168 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.034) 0:00:02.637 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:174 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.034) 0:00:02.672 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:181 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.034) 0:00:02.707 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove temporary directory] ********************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:190 Saturday 28 March 2026 02:03:48 -0400 (0:00:00.038) 0:00:02.745 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stop NetworkManager if it was not started by the test] ******************* task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:196 Saturday 28 March 2026 02:03:49 -0400 (0:00:00.051) 0:00:02.797 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove NetworkManager if it was not installed by the test] *************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:204 Saturday 28 March 2026 02:03:49 -0400 (0:00:00.053) 0:00:02.850 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:213 Saturday 28 March 2026 02:03:49 -0400 (0:00:00.051) 0:00:02.902 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=5 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 28 March 2026 02:03:49 -0400 (0:00:00.054) 0:00:02.956 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 0.91s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Check if system is ostree ----------------------------------------------- 0.50s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:32 Find ethernet interfaces with PCI devices ------------------------------- 0.48s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:17 Debug - List devices managed by NetworkManager -------------------------- 0.13s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:83 Ensure NetworkManager is started ---------------------------------------- 0.09s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Set expected backend ---------------------------------------------------- 0.07s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:13 Cleanup ----------------------------------------------------------------- 0.05s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:213 Stop NetworkManager if it was not started by the test ------------------- 0.05s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:196 Remove temporary directory ---------------------------------------------- 0.05s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:190 Remove NetworkManager if it was not installed by the test --------------- 0.05s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:204 Set flag to indicate system is ostree ----------------------------------- 0.05s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Find the first interface with PCI devices that is managed by NetworkManager --- 0.04s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:94 Remove interface from internal ------------------------------------------ 0.04s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:181 Ensure NetworkManager is installed -------------------------------------- 0.04s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:70 Assert that interface is in nftable ruleset ----------------------------- 0.04s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:152 Debug - get iptables ruleset before ------------------------------------- 0.04s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:63 Add pci device ethernet controller -------------------------------------- 0.04s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:119 Add pci device again ---------------------------------------------------- 0.04s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:128 Get iptables ruleset ---------------------------------------------------- 0.03s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:168 Debug - get iptables ruleset after and show diff ------------------------ 0.03s /tmp/collections-pZD/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:159