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

[release-0.19] e2e: add facilities to improve troubleshooting #302

Merged
merged 7 commits into from
Mar 20, 2024

Conversation

ffromani
Copy link
Collaborator

Add helpers to make it easier to understand the test failures.

backport of #296

make sure to set -v=5 for both scheduler and RTE to catch
all the debug messages for better troubleshooting.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit cb07c26)
dump kernel version to help troubleshooting

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit c2309ee)
move utility function in the main suite file,
to foster code reuse.

Trivial code movement, no expected changes in behavior.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit 1a8759d)
Improve the reusability of the helpers, accepting
clients and contexts instead of recreating them every single time.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit ca5b340)
extract a helper function to ensure the NRT data
is correctly populated.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit 434d685)
make sure the NRT data looks correct before attempting
to run a pod which consumes it.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit 5fa216b)
make sure to dump the components state on error,
to make troubleshooting easier. This includes
pod statuses and component logs first and foremost.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit 01fdcac)
@ffromani ffromani merged commit 81043c6 into k8stopologyawareschedwg:release-0.19 Mar 20, 2024
1 check passed
@ffromani ffromani deleted the debug-ci-0.19 branch March 20, 2024 11:17
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.

1 participant