-
Notifications
You must be signed in to change notification settings - Fork 85
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
RunHostTest: op-test gets killed frequently when running tests #508
Comments
Looks like it's hitting a timeout waiting for "[Pp]assword for" to appear. Please debug further. |
The issue seems to occur when the ssh connection of the triggered server is disconnected.
After logging in again and checking, the background op-test process gets killed at the exact point of disconnection
leading to the above trace. |
@harish-24 this could help solve that issue you are facing, seems to be framework catches and
will have to see for any other issues and will work on a cleaner patch.. |
@sathnaga It does help, now I dont see the issue with the above hack. |
Care to expand a bit more? If someone is connected (ssh or whatever) to a machine where the op-test.py instance is running (i.e., driving the test, not a target test system), and that connection is dropped, is only natural that a SIGHUP (Hangup) signal is sent to op-test, who needs to be killed imho.. If we're running with |
Yes, we are running with |
@klauskiwi More details, the issue does not show up if you run Demo:
(2) Abrupt close:
my quick hack just disables |
@harish-24 Any updates here ? |
The following trace is observed and op-test process gets killed.
Config used
Following commands are run
command.txt
# ./op-test --run testcases.RunHostTest -c wsp12.conf --host-cmd-file command.txt
Issue is observed very frequently and irrespective of bmc_type
The text was updated successfully, but these errors were encountered: