[SERVER-25772] Evergreen diskstats fails on OSX Created: 24/Aug/16  Updated: 02/Sep/16  Resolved: 24/Aug/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.3.12

Type: Bug Priority: Minor - P4
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-24212 Collect IO stats with sar or iostat p... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 2016-08-29
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 24/Aug/16 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-25772 Evergreen diskstats fails on OSX
Branch: master
https://github.com/mongodb/mongo/commit/7658dabcb5dd45d17687651f33775bee81982f5f

Generated at Thu Feb 08 04:10:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.