Bug 1218004

Summary: [Build 20231212] openqA failure in podman_firewall: cni/bridge plugin not installed
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: ContainersAssignee: Dan Čermák <dcermak>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/3808298/modules/podman_firewall/steps/47
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2023-12-13 07:38:59 UTC
## Observation

This happens since the last change of podman to move to netavark instead of cni
cni-plugins is not installed, resulting in

[33mWARN[0m[0000] Failed to load cached network config: network podman not found in CNI cache, falling back to loading network podman from disk 
[33mWARN[0m[0000] 1 error occurred:
	* plugin type="tuning" failed (delete): failed to find plugin "tuning" in path [/usr/libexec/cni]
 
Error: plugin type="bridge" failed (add): failed to find plugin "bridge" in path [/usr/libexec/cni]


openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-containers_host_podman@64bit fails in
[podman_firewall](https://openqa.opensuse.org/tests/3808298/modules/podman_firewall/steps/47)

## Test suite description
Maintainer: dheidler. Extra tests about CLI software in container module
2023-08-10/dimstar: added QEMURAM=2048 (boo#1212824)


## Reproducible

Fails since (at least) Build [20231212](https://openqa.opensuse.org/tests/3807711)


## Expected result

Last good: [20231211](https://openqa.opensuse.org/tests/3802985) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=containers_host_podman&version=Tumbleweed)
Comment 1 Dominique Leuenberger 2023-12-13 08:28:16 UTC
During a debug session with Fabian, this seems to be quite some fun side effects on the test codebase.


i.e podman_firewall runs after the podman_netavark test module, which, in the end, reverts to CNI even though the default was already netavark before

On another test (JeOS) we have seen e.g buildah requiring cni - but with recommends disabled, cni-plugins is not being installed (this might be qualified as an actual bug - the dep should be stronger if it's needed that much)
Comment 2 Dominique Leuenberger 2023-12-13 08:53:23 UTC
The test issue is reported at https://progress.opensuse.org/issues/152551