-
Couldn't load subscription status.
- Fork 6
Replace manual process handling by local_cmd() #359
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
base: master
Are you sure you want to change the base?
Conversation
defe998 to
31da723
Compare
Signed-off-by: Emmanuel Varagnat <[email protected]>
31da723 to
33bd187
Compare
|
I didn't manage to test everything because I don't know yet how to setup some tests. |
Can you list the ones you could test and the ones you couldn't? We could likely either help you run the remaining ones, or have them run on the CI hosts from your branch. |
Sure, I did:
I think we need to test the following:
|
|
Ok, so the first one and the third one are not covered by the main CI runs, they're in installation/upgrade tests that @ydirson is much knowledgeable about. The |
|
Update:
|
You should be able to use it to launch an automated install of a nested host
This one requires 2 hosts to be compared, it should be possible to run using any 2 nested hosts (eg. the one you installed by hand, and one installed with |
| # TODO: put that in lib/netutils ? | ||
| wait_for(lambda: commands.local_cmd(['nc', '-zw5', host_vm.ip, '22'], check=False), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, a reusable func in netutils for this, and one for ping, look like a good idea
| # XXX: doesn't seem to be used as by default simple_output is true | ||
| return res.returncode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like more of a commit-level remark than a code-level one, maybe this particular func gets enough treatment that it warrants a separate commit, and this note could move to commit message?
No description provided.