-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Increase request timeout #102
fix: Increase request timeout #102
Conversation
Signed-off-by: Denis Tingaikin <[email protected]>
This doesn't feel like a timer issue to me:
Whys is this? The NSE from the second test should end up with its own registration.
Sure... which should then cause an error, and cause falling through to the registration for the nexst registered NSE for that Network Service, which should be the second NSE. Basically... this failure feels like something is very broken that has nothing to do with timers. I don't see why we need additional mechanisms in networkservicemesh/sdk#666 to address this... it seems like a simple bug in existing mechanisms. |
Yes, but the entry from the registry about the previous NSE could be deleted slowly for the current test. |
But that shouldn't matter... if the NSMgr tries to select the NSE from Test 1 (NSE1) it will fail, which will result in an error, and it will try for the NSE for Test 2 (which will succeed). |
…d-map-ip-k8s@main PR link: networkservicemesh/cmd-map-ip-k8s#102 Commit: af2bce7 Author: Denis Tingaikin Date: 2022-11-09 20:44:18 +0300 Message: - Merge pull request #102 from networkservicemesh/update/networkservicemesh/cmd-template Signed-off-by: NSMBot <[email protected]>
…d-nsc-simple-docker@main PR link: networkservicemesh/cmd-nsc-simple-docker#102 Commit: d4ce998 Author: Denis Tingaikin Date: 2023-06-27 12:03:14 +0300 Message: - Merge pull request #102 from glazychev-art/govpp Signed-off-by: NSMBot <[email protected]>
…d-nse-l7-proxy@main PR link: networkservicemesh/cmd-nse-l7-proxy#102 Commit: bade16b Author: Denis Tingaikin Date: 2023-08-10 04:02:25 +0300 Message: - Merge pull request #102 from NikitaSkrynnik/release-act Signed-off-by: NSMBot <[email protected]>
…d-lb-vl3-vpp@main PR link: networkservicemesh/cmd-lb-vl3-vpp#102 Commit: ed113db Author: Network Service Mesh Bot Date: 2024-09-27 05:51:23 -0500 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk-vpp@main (#102) PR link: networkservicemesh/sdk-vpp#853 Commit: 0702bd9 Author: Network Service Mesh Bot Date: 2024-09-27 05:48:04 -0500 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk-kernel@main (#853) PR link: networkservicemesh/sdk-kernel#681 Commit: 19add25 Author: Network Service Mesh Bot Date: 2024-09-27 05:44:16 -0500 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk@main (#681) PR link: networkservicemesh/sdk#1670 Commit: b66e1bf Author: Nikita Skrynnik Date: 2024-09-27 17:37:34 +0700 Message: - Add more mutexes in dial chain element to fix race conditions (#1670) * some minor change * add more locks --------- Signed-off-by: NSMBot <[email protected]>
…d-csi-driver@main PR link: networkservicemesh/cmd-csi-driver#102 Commit: 49415ab Author: Network Service Mesh Bot Date: 2024-12-09 05:45:00 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk@main (#102) PR link: networkservicemesh/sdk#1689 Commit: 1e611de Author: Network Service Mesh Bot Date: 2024-12-09 05:42:24 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/api@main (#1689) PR link: networkservicemesh/api#180 Commit: bbb4cd5 Author: Denis Tingaikin Date: 2024-12-09 03:03:53 -0500 Message: - update go to v1.23.3 (#180) Signed-off-by: NSMBot <[email protected]>
…d-csi-driver@main (#12610) PR link: networkservicemesh/cmd-csi-driver#102 Commit: 49415ab Author: Network Service Mesh Bot Date: 2024-12-09 05:45:00 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk@main (#102) PR link: networkservicemesh/sdk#1689 Commit: 1e611de Author: Network Service Mesh Bot Date: 2024-12-09 05:42:24 -0600 Message: - Update go.mod and go.sum to latest version from networkservicemesh/api@main (#1689) PR link: networkservicemesh/api#180 Commit: bbb4cd5 Author: Denis Tingaikin Date: 2024-12-09 03:03:53 -0500 Message: - update go to v1.23.3 (#180) Signed-off-by: NSMBot <[email protected]> Co-authored-by: NSMBot <[email protected]>
Signed-off-by: Denis Tingaikin [email protected]
Issue
Our nses have expiration 1 min by default
Our nscs have request timeout 15 sec by default
It could produce a wrong situation in the suite testing:
If request timeout less than expiration from the first NSE then the test will fail due to NSC connect to died NSE.
Motivation
This PR provides tmp fix.
The real fix of the issue described here: networkservicemesh/sdk#666