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

e2e: fix topology-aware/n4c16/test09-container-exit test #1050

Merged
merged 1 commit into from Aug 22, 2023

Conversation

askervin
Copy link
Contributor

"sleep" in the latest busybox does not create a child process named "sleep". Change process matching from sleep to matching pod0c0 parent/child instead.

"sleep" in the latest busybox does not create a child process named
"sleep". Change process matching from sleep to matching pod0c0
parent/child instead.
@codecov-commenter
Copy link

Codecov Report

Merging #1050 (922c5a6) into master (686882a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1050   +/-   ##
=======================================
  Coverage   31.73%   31.73%           
=======================================
  Files          64       64           
  Lines        9816     9816           
=======================================
  Hits         3115     3115           
  Misses       6410     6410           
  Partials      291      291           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -8,7 +8,13 @@ pyexec 'assert "pod0c0" in allocations'

out '### Crash and restart pod0c0'
vm-command "kubectl get pods pod0"
vm-command "kill -KILL \$(pgrep -f pod0c0)"

vm-command "set -x; [[ -n \"\$(pgrep -f pod0c0)\" ]] && [[ \"\$(pgrep -f pod0c0 --oldest)\" != \"\$(pgrep -f pod0c0 --newest)\" ]]" || {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is that set -x needed/wanted or just a debugging leftover ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

set -x is there by purpose. Similarly to "kubectl get pods pod0" above, it is not strictly necessary but helps figuring out pids in the system from the test output, should the test fail again in the future.

Copy link
Contributor

@marquiz marquiz left a comment

Choose a reason for hiding this comment

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

lgtm

@marquiz marquiz merged commit aebff53 into intel:master Aug 22, 2023
6 checks passed
@marquiz marquiz mentioned this pull request Jan 8, 2024
18 tasks
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

4 participants