Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-968

Print the PPID of processes in the coin-agent crash report

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 1.5
    • None
    • Agent
    • None

      When Coin kills the agent, for example because it is unresponsive, it prints the process list. For example:

      agent:2022/11/12 01:13:17 build.go:258: Virtual Memory Total: 51539607552, Free:24034586624, UsedPercent:47.319841%
      agent:2022/11/12 01:13:17 build.go:269: |Process|Status|   CPU-%|Command
      agent:2022/11/12 01:13:17 build.go:292: |      1|    S|0.328169|/sbin/launchd
      agent:2022/11/12 01:13:17 build.go:292: |     80|    S|0.071872|/usr/libexec/logd
      agent:2022/11/12 01:13:17 build.go:292: |     81|    S|0.029214|/usr/libexec/UserEventAgent (System)
      agent:2022/11/12 01:13:17 build.go:292: |     84|    S|0.003619|/System/Library/PrivateFrameworks/Uninstall.framework/Resources/uninstalld
      agent:2022/11/12 01:13:17 build.go:292: |     85|    S|0.546795|/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/Support/fseventsd
      

      It would help a lot if the PPID (Parent Process ID) was also printed as a column in that list. Then we could find all the children of CMake process, for example, and figure out what was the current state of the build.

        For Gerrit Dashboard: COIN-968
        # Subject Branch Project Status CR V

            tosaario Toni Saario
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes