action #178165
opentest fails in dpdk
0%
Description
Observation¶
openQA test in scenario opensuse-Tumbleweed-DVD-aarch64-extra_tests_misc@aarch64 fails in
dpdk
Error message is:
Error: failed to check unsafe noiommu mode - Cannot open /sys/module/vfio/parameters/enable_unsafe_noiommu_mode: [Errno 2] No such file or directory: '/sys/module/vfio/parameters/enable_unsafe_noiommu_mode'
Test suite description¶
Maintainer: zluo@suse.de¶
Tests: iotop, gd, perf and journalctlLevels --
see poo#93820 for details
Reproducible¶
Fails since (at least) Build 20250302
Expected result¶
Last good: 20250301 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by cfconrad 1 day ago
The new behavior was introduced by https://github.com/DPDK/dpdk/commit/6ca0f1c8450d6e28926cad33c6500ad487f4cfdb which adds a check, if iommu is available and if not enable_unsafe_noiommu_mode
is enabled.
The later is only available if the kernel was compiled with CONFIG_VFIO_NOIOMMU
, which the kernel of Tumbleweed isn't (https://github.com/openSUSE/kernel-source/blob/5273d0618ab304f05a907d91274d31559489a336/config/x86_64/default#L8995) and also shouldn't (https://cateee.net/lkddb/web-lkddb/VFIO_NOIOMMU.html).
For this dpdk test, we need to enable IOMMU inside the guest.
Site note:
Also older run's show a warning, which might indicate not a correct usage https://openqa.opensuse.org/tests/4893013/logfile?filename=serial_terminal.txt:
# dpdk_nic_bind -u ens4; echo O7DCy-$?-
Warning: routing table indicates that interface 0000:00:04.0 is active. Skipping unbind
O7DCy-0-
# dpdk_nic_bind --bind="vfio-pci" 0000:00:04.0; echo QrSLG-$?-
Warning: routing table indicates that interface 0000:00:04.0 is active. Not modifying
QrSLG-0-