kytos-ng / kytos

Kytos SDN Platform. Kytos is designed to be easy to install, use, develop and share Network Apps (NApps).
https://kytos-ng.github.io/
MIT License
2 stars 7 forks source link

stress test task: allocate and deallocate tags from interfaces and links #479

Open viniarck opened 1 month ago

viniarck commented 1 month ago

This is for stress testing the following cases with multiple threads trying to:

@Alopalao, after your current tasks if you could also help out with this one, the idea is to stress test it on 2023.2+ and confirm there's no Interface.available_tags[vlan] being leaked. I realized some of stress test has been done on https://github.com/kytos-ng/kytos/pull/428, but let's go over these ones here again. It turns out that in prod, there has been some leaked vlans on prior versions, but it was mostly due to other known issues, but let's make sure that with vlan ranges we get to stress test it one more time, just so if there's something to surface it might show up, although it looks very solid, but let's confirm it in practice again.

Alopalao commented 11 hours ago

Through the testing I have done, I have not found any problems with the locks that secure the usage of VLANs for NNIs and UNIs. The only errors I have noticed were due to error handling with flows and consistency check EVC restauration.

My testing consisted in multiple threads (~7):

All the testing have been done with single and ranged VLANS.