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-S52/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-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Tuesday 17 February 2026 13:48:35 -0500 (0:00:00.036) 0:00:00.036 ****** ok: [managed-node1] META: ran handlers TASK [Set expected backend] **************************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Tuesday 17 February 2026 13:48:36 -0500 (0:00:01.049) 0:00:01.086 ****** ok: [managed-node1] => { "ansible_facts": { "nftables_backend": false }, "changed": false } TASK [Find ethernet interface] ************************************************* task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Tuesday 17 February 2026 13:48:36 -0500 (0:00:00.042) 0:00:01.128 ****** 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.006202", "end": "2026-02-17 13:48:37.316157", "rc": 0, "start": "2026-02-17 13:48:37.309955" } TASK [Debug] ******************************************************************* task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.446) 0:00:01.575 ****** 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.009992", "end": "2026-02-17 13:48:37.662363", "rc": 0, "start": "2026-02-17 13:48:37.652371" } 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 02:50:c8:a4:ac:01 brd ff:ff:ff:ff:ff:ff inet 10.31.46.175/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3383sec preferred_lft 3383sec inet6 fe80::50:c8ff:fea4:ac01/64 scope link valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:9e:73:0d:e6:1f brd ff:ff:ff:ff:ff:ff inet 10.31.46.195/22 brd 10.31.47.255 scope global noprefixroute dynamic eth1 valid_lft 3383sec preferred_lft 3383sec inet6 fe80::2d39:e288:43df:aea6/64 scope link noprefixroute valid_lft forever preferred_lft forever + ls -alrtF /sys/class/net total 0 drwxr-xr-x. 49 root root 0 Feb 17 13:44 ../ lrwxrwxrwx. 1 root root 0 Feb 17 13:44 lo -> ../../devices/virtual/net/lo/ lrwxrwxrwx. 1 root root 0 Feb 17 13:44 eth1 -> ../../devices/vif-1/net/eth1/ lrwxrwxrwx. 1 root root 0 Feb 17 13:44 eth0 -> ../../devices/vif-0/net/eth0/ drwxr-xr-x. 2 root root 0 Feb 17 13:47 ./ + 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-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.332) 0:00:01.907 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.034) 0:00:01.942 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Determine interface vendor/product ID] *********************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.034) 0:00:01.976 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install NetworkManager] ************************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.037) 0:00:02.013 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Start NetworkManager] **************************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.043) 0:00:02.057 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.050) 0:00:02.107 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.042) 0:00:02.150 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Tuesday 17 February 2026 13:48:37 -0500 (0:00:00.042) 0:00:02.193 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Tuesday 17 February 2026 13:48:38 -0500 (0:00:00.038) 0:00:02.231 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Tuesday 17 February 2026 13:48:38 -0500 (0:00:00.043) 0:00:02.275 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Tuesday 17 February 2026 13:48:38 -0500 (0:00:00.039) 0:00:02.315 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Tuesday 17 February 2026 13:48:38 -0500 (0:00:00.069) 0:00:02.384 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Tuesday 17 February 2026 13:48:38 -0500 (0:00:00.067) 0:00:02.452 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Tuesday 17 February 2026 13:48:38 -0500 (0:00:00.039) 0:00:02.492 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers 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 13:48:38 -0500 (0:00:00.045) 0:00:02.537 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.05s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Find ethernet interface ------------------------------------------------- 0.45s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Debug ------------------------------------------------------------------- 0.33s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Get iptables ruleset ---------------------------------------------------- 0.07s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Assert that interface is in iptables ruleset ---------------------------- 0.07s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Start NetworkManager ---------------------------------------------------- 0.05s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Cleanup ----------------------------------------------------------------- 0.05s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Get nftable ruleset ----------------------------------------------------- 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Install NetworkManager -------------------------------------------------- 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Add pci device again ---------------------------------------------------- 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Add pci device ethernet controller -------------------------------------- 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Set expected backend ---------------------------------------------------- 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Assert that interface is in nftable ruleset ----------------------------- 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Remove interface from internal ------------------------------------------ 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Debug - get nftables ruleset after and show diff ------------------------ 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Determine interface vendor/product ID ----------------------------------- 0.04s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Get temp directory ------------------------------------------------------ 0.03s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Debug - get nftables ruleset before ------------------------------------- 0.03s /tmp/collections-S52/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51