Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25772

Evergreen diskstats fails on OSX

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.12
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • TIG 2016-08-29

      The run_diskstats in etc/evergreen.yml fails on OSX:

      [2016/08/24 02:36:54.182] if [ "Windows_NT" = "$OS" ]; then
      [2016/08/24 02:36:54.183] typeperf -qx PhysicalDisk | grep Disk | grep -v _Total > disk_counters.txt
      [2016/08/24 02:36:54.183] typeperf -cf disk_counters.txt -si 5 -o mongo-diskstats
      [2016/08/24 02:36:54.183] # See if iostat is available.
      [2016/08/24 02:36:54.183] elif which iostat 2>&1 /dev/null; then
      [2016/08/24 02:36:54.183] iostat -d 5 > mongo-diskstats
      [2016/08/24 02:36:54.183] # Fall back to vmstat if iostat is not available.
      [2016/08/24 02:36:54.183] else
      [2016/08/24 02:36:54.183] vmstat -d 5 > mongo-diskstats
      [2016/08/24 02:36:54.183] fi
      [2016/08/24 02:36:54.184] /usr/sbin/iostat
      [2016/08/24 02:36:54.185] sh: line 13: vmstat: command not found

            Assignee:
            jonathan.abrahams Jonathan Abrahams
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: