Red Hat Bugzilla – Bug 1265787
State=<GetDiskInfoWindows> running raised exception: <execution expired>
Last modified: 2017-02-28 14:44:11 EST
New commit detected on cfme/5.3.z:
Merge: d5dfa33 2c830c6
Author: Greg McCullough <email@example.com>
AuthorDate: Thu Sep 24 09:57:17 2015 -0400
Commit: Greg McCullough <firstname.lastname@example.org>
CommitDate: Thu Sep 24 09:57:17 2015 -0400
Merge branch 'bugzilla_1258648_53z' into '5.3.z'
Automate Method dispatch changes for 5.3
Addressed the following issues
(1) Flush stderr and stdout in separate threads, prior to this it would
cause deadlock if the stderr was not drained.
(2) Ensure block makes sure that the Automate method is terminated
if it doesn't respond by the :msg_timeout specified in the queue.
This used to leave orphaned processes.
(3) Terminate the stdout and stderr reading threads in the ensure block.
Added a spec with automate method that writes to stdout/stderr and sleeps
waiting to be terminated.
Original PR https://github.com/ManageIQ/manageiq/pull/4302
This MR was created from the 5.4.z MR for the same issue.
Not a clean cherry pick, had to do manual editing
See merge request !264
.../miq_automation_engine/engine/miq_ae_method.rb | 119 +++++++++++----------
.../miq_ae_method_dispatch_spec.rb | 110 +++++++++++++++++++
vmdb/spec/support/automation_spec_helper.rb | 46 ++++++++
3 files changed, 218 insertions(+), 57 deletions(-)
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions