Skip to content
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

connectivity: Special inconclusive result treatment for ping command #1857

Merged

Conversation

mhofstetter
Copy link
Member

When running the connectivity tests in AKS, we sometimes get interrupted commands that don't have any output [1]. Therefore, successful command terminations with an empty output are treated as inconclusive that result in a retry [2].

Unfortunately, the ping command might get stuck by only outputting its header line to the output.

PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.

This commit adds an additional check for the ping commands. If we see an output only containing the header, we treat it as inconclusive result.

1 - cilium/cilium#22162
2 - #1543

@mhofstetter mhofstetter temporarily deployed to ci July 21, 2023 13:35 — with GitHub Actions Inactive
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/ping-command-header branch from 55c9b52 to 52c2689 Compare July 21, 2023 13:56
@mhofstetter mhofstetter temporarily deployed to ci July 21, 2023 13:56 — with GitHub Actions Inactive
When running the connectivity tests in AKS, we sometimes get interrupted
commands that don't have any output [1]. Therefore, successful command
terminations with an empty output are treated as inconclusive that
result in a retry [2].

Unfortunately, the ping command might get stuck by only outputting its
header line to the output.

`PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.`

This commit adds an additional check for the ping commands.
If we see an output only containing the header, we treat it as
inconclusive result.

1 - cilium/cilium#22162
2 - cilium#1543

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/ping-command-header branch from 52c2689 to caa5824 Compare July 21, 2023 14:09
@mhofstetter mhofstetter temporarily deployed to ci July 21, 2023 14:10 — with GitHub Actions Inactive
@mhofstetter mhofstetter marked this pull request as ready for review July 21, 2023 17:10
@mhofstetter mhofstetter requested a review from a team as a code owner July 21, 2023 17:10
Copy link
Contributor

@michi-covalent michi-covalent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏓

@michi-covalent michi-covalent merged commit 3d35588 into cilium:main Jul 25, 2023
19 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/ping-command-header branch July 26, 2023 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants