Bernd Mathiske created MESOS-3743:
-------------------------------------

             Summary: Provide diagnostic output in agent log when fetching fails
                 Key: MESOS-3743
                 URL: https://issues.apache.org/jira/browse/MESOS-3743
             Project: Mesos
          Issue Type: Bug
          Components: fetcher
            Reporter: Bernd Mathiske
            Assignee: Bernd Mathiske
            Priority: Minor
             Fix For: 0.26.0


When fetching fails, the fetcher has written log output to stderr in the task 
sandbox, but it is not easy to get to. It may even be impossible to get to if 
one only has the agent log available and no more access to the sandbox. This is 
for instance the case when looking at output from a CI run.

The fetcher actor in the agent detects if the external fetcher program claims 
to have succeeded or not. When it exits with an error code, we could grab the 
fetcher log from the stderr file in the sandbox and append it to the agent log.

This is similar to this patch: https://reviews.apache.org/r/37813/

The difference is that the output of the latter is triggered by test failures 
outside the fetcher, whereas what is proposed here is triggering upon failures 
inside the fetcher.



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

Reply via email to