Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1559

Allow jenkins build machine to dump stack traces of all threads when timeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.20.0
    • build
    • None
    • Q3 Sprint 1, Q3 Sprint 2
    • 5

    Description

      Many of the time, when jenkins build times out, we know that some test freezes at some place. However, most of the time, it's very hard to reproduce the deadlock on dev machines.

      I would be cool if we can dump the stack traces of all threads when jenkins build times out. Some command like the following:

      echo thread apply all bt > tmp; gdb attach `pgrep lt-mesos-tests` < tmp
      

      Attachments

        Activity

          People

            xujyan Yan Xu
            jieyu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: