ansible-playbook [core 2.16.17rc1] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-zb9 executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', 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 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_interface_pci.yml ********************************************** 1 plays in /tmp/collections-zb9/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-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Tuesday 17 February 2026 16:54:20 -0500 (0:00:00.030) 0:00:00.030 ****** ok: [managed-node1] TASK [Set expected backend] **************************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Tuesday 17 February 2026 16:54:21 -0500 (0:00:01.171) 0:00:01.201 ****** ok: [managed-node1] => { "ansible_facts": { "nftables_backend": true }, "changed": false } TASK [Find ethernet interface] ************************************************* task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Tuesday 17 February 2026 16:54:21 -0500 (0:00:00.020) 0:00:01.222 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nI=$(find /sys/class/net -name 'e*' | head -n1)\n# containers only have virtual devices; for PCI we need a real one\nif [ -n \"$I\" ] && [ -e \"$I/device/vendor\" ]; then\n echo \"$I\"\nfi\n", "delta": "0:00:00.005848", "end": "2026-02-17 16:54:21.892016", "rc": 0, "start": "2026-02-17 16:54:21.886168" } TASK [Debug] ******************************************************************* task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Tuesday 17 February 2026 16:54:21 -0500 (0:00:00.430) 0:00:01.653 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nip addr\nls -alrtF /sys/class/net\nls -alrtF /sys/class/net/*/device/vendor || :\nls -alrtF /sys/class/net/*/device/device || :\n", "delta": "0:00:00.009107", "end": "2026-02-17 16:54:22.234828", "rc": 0, "start": "2026-02-17 16:54:22.225721" } STDERR: + exec + ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:18:85:84:14:1b brd ff:ff:ff:ff:ff:ff inet 10.31.11.235/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3370sec preferred_lft 3370sec inet6 fe80::1018:85ff:fe84:141b/64 scope link valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:a7:f3:68:d0:d1 brd ff:ff:ff:ff:ff:ff inet 10.31.8.43/22 brd 10.31.11.255 scope global dynamic noprefixroute eth1 valid_lft 3370sec preferred_lft 3370sec inet6 fe80::10a7:f3ff:fe68:d0d1/64 scope link valid_lft forever preferred_lft forever + ls -alrtF /sys/class/net total 0 drwxr-xr-x. 56 root root 0 Feb 17 16:50 ../ lrwxrwxrwx. 1 root root 0 Feb 17 16:50 eth0 -> ../../devices/vif-0/net/eth0/ lrwxrwxrwx. 1 root root 0 Feb 17 16:50 eth1 -> ../../devices/vif-1/net/eth1/ lrwxrwxrwx. 1 root root 0 Feb 17 16:50 lo -> ../../devices/virtual/net/lo/ drwxr-xr-x. 2 root root 0 Feb 17 16:53 ./ + ls -alrtF '/sys/class/net/*/device/vendor' ls: cannot access '/sys/class/net/*/device/vendor': No such file or directory + : + ls -alrtF '/sys/class/net/*/device/device' ls: cannot access '/sys/class/net/*/device/device': No such file or directory + : TASK [Get temp directory] ****************************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.343) 0:00:01.996 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.012) 0:00:02.009 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Determine interface vendor/product ID] *********************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.012) 0:00:02.021 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Install NetworkManager] ************************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.011) 0:00:02.033 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Start NetworkManager] **************************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.011) 0:00:02.045 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.011) 0:00:02.056 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.011) 0:00:02.068 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.010) 0:00:02.078 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.012) 0:00:02.091 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.011) 0:00:02.102 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.011) 0:00:02.113 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.010) 0:00:02.124 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.011) 0:00:02.135 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.011) 0:00:02.147 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node1 : ok=4 changed=0 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 17 February 2026 16:54:22 -0500 (0:00:00.009) 0:00:02.156 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.17s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Find ethernet interface ------------------------------------------------- 0.43s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Debug ------------------------------------------------------------------- 0.34s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Set expected backend ---------------------------------------------------- 0.02s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Get temp directory ------------------------------------------------------ 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Debug - get nftables ruleset before ------------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Debug - get nftables ruleset after and show diff ------------------------ 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Install NetworkManager -------------------------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Start NetworkManager ---------------------------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Assert that interface is in iptables ruleset ---------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Determine interface vendor/product ID ----------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Add pci device ethernet controller -------------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Assert that interface is in nftable ruleset ----------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Get nftable ruleset ----------------------------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Remove interface from internal ------------------------------------------ 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Add pci device again ---------------------------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Get iptables ruleset ---------------------------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Cleanup ----------------------------------------------------------------- 0.01s /tmp/collections-zb9/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147