ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Component/s: Evergreen Tools
    • None

      Summary

      When a server start through the orchestration stack fails or hangs, the caller often has
      no server logs to inspect, only a timeout. DRIVERS-3747's sharded container hang is one
      instance. Both mongos processes got the same --logpath file, so their logs reached
      neither mongodb-runner nor the caller. The runner also does not monitor the server
      processes it starts, so a server that exits during startup produces no error. This
      ticket makes the servers' logs and processes observable to the caller, so failures are
      diagnosable from the run's own output and artifacts.

      Motivation

      Who is the affected end user?

      Teams starting servers through the orchestration stack (DRIVERS-3445).

      How does this affect the end user?

      Failed and hanging starts give the caller no server logs to act on. Diagnosis means
      reproducing the failure in the environment it ran in.

      How likely is it that this problem or use case will occur?

      Low. Successful starts are unaffected.

      If the problem does occur, what are the consequences and how severe are they?

      The start runs to its full time budget. Test infrastructure only.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

      Acceptance Criteria

      • A server start gives the caller each server's log output, in the run output or
        persisted files whose location the run reports.
      • A start configuration that diverts a server's log output away from the runner, for
        example -logpath or -syslog, fails the start with an error naming the option,
        instead of silently hiding the server's output.
      • The runner monitors each server process it starts, so a process that exits or stalls
        during startup fails the start with an error naming the process.

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: