[SERVER-21961] Get rid of the annoying error message in post-step for perf.yml & system_perf.yml Created: 03/Dec/15  Updated: 16/Nov/16  Resolved: 22/Dec/15

Status: Closed
Project: Core Server
Component/s: Performance
Affects Version/s: None
Fix Version/s: 3.2.1, 3.3.0

Type: Task Priority: Major - P3
Reporter: Chung-yen Chang Assignee: Chung-yen Chang
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Performance E (01/11/16)
Participants:

 Description   

When we introduced the "compare" step in the performance projects in Evergreen, the ratio calculated was put in perf.json file in the /src directory of the machines running that script. We then waited for the post-step in the yml file to send that result to Evergreen.

This causes an annoying error message to show up for the non-compare tasks. Here is an example of that message from a mongo-perf test.

 [2015/12/03 13:22:48.292] Running post-task commands.
 [2015/12/03 13:22:48.292] Running command 'json.send' (step 1 of 4)
 [2015/12/03 13:22:48.292] ['json.send'] Sending json data failed: Couldn't open json file: 'open /data/mci/src/perf.json: no such file or directory'
 [2015/12/03 13:22:48.292] Command failed: Couldn't open json file: 'open /data/mci/src/perf.json: no such file or directory'

In PERF-288, I am making the compare.py script to only put out the ratios and not making decision on pass/fail. We can put the json.send in the "compare" tasks now instead of in the post-step.



 Comments   
Comment by Githook User [ 24/Dec/15 ]

Author:

{u'username': u'chungyen100', u'name': u'Chung-Yen Chang', u'email': u'chung-yen.chang@10gen.com'}

Message: SERVER-21961: eliminiate the unncessary json.send

(cherry picked from commit 86f19de074d37f55378c30f81cd9208031d29a78)
Branch: v3.2
https://github.com/mongodb/mongo/commit/1a45e445a3a3267ccd8fa5feb4054564f177fd89

Comment by Githook User [ 22/Dec/15 ]

Author:

{u'username': u'chungyen100', u'name': u'Chung-Yen Chang', u'email': u'chung-yen.chang@10gen.com'}

Message: SERVER-21961: eliminiate the unncessary json.send
Branch: master
https://github.com/mongodb/mongo/commit/86f19de074d37f55378c30f81cd9208031d29a78

Comment by Chung-yen Chang [ 21/Dec/15 ]

code review: https://mongodbcr.appspot.com/40380003/

Generated at Thu Feb 08 03:58:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.