testsuite
testsuite copied to clipboard
[BUG] `cni_compatible` test error when using sample CNF
Describe the bug
Found this issue when peer-reviewing #1742.
The cni_compatible
test throws an error when using a sample CNF. Commands to reproduce mentioned in the section below.
To Reproduce
./cnf-testsuite cnf_setup cnf-config=sample-cnfs/sample-appliciation-credentials
./cnf-testsuite cert
Expected behavior
The test should pass or fail. Should not throw an error.
Device

This might be a result of using Ubuntu 22.04 on the pair machine. Just came across this issue again on a new Ubuntu 22.04 server when testing issue code changes for #1782. The default OS config does not allow running more than one kind cluster. Using the below snippet that @agentpoyo shared earlier resolved this issue.
echo fs.inotify.max_user_watches=655360 | sudo tee -a /etc/sysctl.conf
echo fs.inotify.max_user_instances=1280 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
# Reboot the machine after running the above commands
# sudo reboot
Will look into this issue again and confirm.
This issue and #1796 are different issues for the same cni_compatible
test. This issue occurred due to the OS config.
I tried to reproduce this issue, but I was not successful. I don't think this bug is relevant anymore. @HashNuke can you please confirm and close this bug?
I tried to reproduce this issue, but I was not successful. I don't think this bug is relevant anymore. @HashNuke can you please confirm and close this bug?
This one is intermittent and still valid. We are working on it now.
Okay, so you mean that it is not fully reproducible, correct? I mean that issue is only occasional.
@agentpoyo @HashNuke is this issue still happening with the latest release?