-
Notifications
You must be signed in to change notification settings - Fork 376
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
e2e test case "TestAntctl/testAntctlProxy/AgentIPv4" always fails on branch feature/externalnode #3856
Comments
Having added some debug info in antctl code where returns error, and got the followsing output:
The changed code in path
|
I am looking into it and will make a fix. |
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. Since we recently move AntreaAgentInfo creation from agent to controller for branch feature/externalnode, agent may I have merged a change which adds retry logics in the antctl proxy e2e test and it will only invoke the command I haven't seen the failure with the change in the latest several runs, mark it fixed. |
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Command "antctl proxy --agent-node" requires the information from AntreaAgentInfo. As a result, we need to make sure the content of AntreaAgentInfo is populated before we run the command. Since we recently move AntreaAgentInfo creation from agent to controller, agent may not set the content for AntreaAgentInfo when it starts if controller has not created the AntreaAgentInfo. In this case, it will take a minute for agent to update the content in its next try. This change adds retry logics in the antctl proxy e2e test and it will only invoke the command after AntreaAgentInfo is ready. Fixes:antrea-io#3856 Signed-off-by: Mengdie Song <[email protected]>
Describe the bug
On feature branch
feature/externalnode
, e2e test case "TestAntctl/testAntctlProxy/AgentIPv4" always fails in kind test and CI e2e-test job after rebasing on the main branch.Having added some log info with the failed case, I got this output:
Looking into the code, the error log is output when antctl fails to read AntreaAgentInfo with the target Node name. It is possible to be related with the changes move the workflow of AntreaAgentInfo creation from Agent to Controller.
Following is samples of failed logs:
http://10.176.27.169:8080/job/antrea-e2e-for-pull-request/961/console
https://github.com/wenyingd/antrea/runs/6702775343?check_suite_focus=true
To Reproduce
Expected
All tests are expected to pass
Actual behavior
Case "TestAntctl/testAntctlProxy/AgentIPv4" is failed.
Versions:
feature branch: feature/externalnode
The text was updated successfully, but these errors were encountered: