Amol S Deshmukh created AURORA-1649:
---------------------------------------

             Summary: Thermos runner finalization is broken when runner starts 
daemon process and log_destination is other than non-rotated files.
                 Key: AURORA-1649
                 URL: https://issues.apache.org/jira/browse/AURORA-1649
             Project: Aurora
          Issue Type: Bug
            Reporter: Amol S Deshmukh


Thermos runner fails to exit, when started with  
{{process_logger_destination=both}} (or {{process_logger_destination=file}} and 
{{process_logger_mode=rotate}}) and in the case that an ephemeral daemon 
process is running.

Steps to reproduce with logger destination == "both":
# Update {{examples/vagrant/upstart/aurora-scheduler.conf}}: append 
"{{--runner-logger-destination=both}}" to {{-thermos_executor_flags}}.
# Run {{src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh}} and observe that 
{{test_ephemeral_daemon_with_final}} fails.

Steps to reproduce with logger destination == "file" + logger mode == "rotate":
# Update {{examples/vagrant/upstart/aurora-scheduler.conf}}: append 
"{{--runner-logger-mode=rotate}}" to {{-thermos_executor_flags}}.
# Run {{src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh}} and observe that 
{{test_ephemeral_daemon_with_final}} fails.

^NOTE: This is related to findings made when investigating AURORA-1642. The fix 
made for AURORA-1642 addresses the exact same problem in the case that the log 
destination is standard (i.e. non-rotated) files.^



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to