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

add reboot machine option #58

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

lilyLuLiu
Copy link
Collaborator

No description provided.

fi

# Reboot machine
if [ "${REBOOT:-}" = "true" ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is section at very beguining of the file for default, even when this can be checked without value it may worthwile for reading purposes to add the control default value there

Copy link
Collaborator

@adrianriobo adrianriobo left a comment

Choose a reason for hiding this comment

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

Why do we need this? Can we add more context? and also make it a bit more explicit on the commit message.

Also does it make sense to reboot and wait? Otherwise if you reboot the next action (or step) needs to know connection will not be ready ...as so it will need to add the check mechanism

entrypoint.sh Outdated

# Reboot machine
if [ "${REBOOT:-}" = "true" ]; then
reboot_cmd="$(ssh_cmd sudo reboot)"
Copy link
Collaborator

Choose a reason for hiding this comment

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

sudo reboot will work for Linux and most probably for Darwin? (check it), but it will not work for Windows. we need to set an specific cmd per platform

@lilyLuLiu
Copy link
Collaborator Author

lilyLuLiu commented Dec 17, 2024

@adrianriobo The linux machine still meet crc stuck issue. We need to reboot the machine to let it work again.
We can not reproduce the CRC stuck issue. But it appears frequently.

@adrianriobo adrianriobo merged commit 3162e79 into devtools-qe-incubator:main Jan 15, 2025
1 check failed
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.

2 participants