testsuite icon indicating copy to clipboard operation
testsuite copied to clipboard

[BUG] `cni_compatible` test error when using sample CNF

Open HashNuke opened this issue 1 year ago • 6 comments

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.

image

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

CleanShot 2023-03-15 at 20 17 43@2x

HashNuke avatar Mar 15 '23 13:03 HashNuke

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.

HashNuke avatar Jun 14 '23 13:06 HashNuke

This issue and #1796 are different issues for the same cni_compatible test. This issue occurred due to the OS config.

HashNuke avatar Jun 14 '23 14:06 HashNuke

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?

horecoli avatar Jan 24 '24 16:01 horecoli

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.

agentpoyo avatar Jan 24 '24 16:01 agentpoyo

Okay, so you mean that it is not fully reproducible, correct? I mean that issue is only occasional.

horecoli avatar Jan 24 '24 16:01 horecoli

@agentpoyo @HashNuke is this issue still happening with the latest release?

lixuna avatar May 07 '24 21:05 lixuna