[SERVER-13838] buildlogger.py should retry on post errors Created: 07/Apr/14  Updated: 29/Jul/14  Resolved: 22/May/14

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Adinoyi Omuya
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Participants:

 Description   

link to log not available for a failed test:
https://mci.10gen.com/ui/task/mongodb_mongo_v2.6_osx_108_cxx11_debug_1c1c76aeca21c5983dc178920f5052c298db616c_14_04_07_00_44_06_parallel_compatibility_osx_108

Also noticed this in the task log:

Test : basic.js ...
 [2014/04/07 04:18:45.847]       Command : ./mongo --port 27999 --authenticationMechanism MONGODB-CR --writeMode compatibility /data/mci/git@github.commongodb/mongo.git/mongodb-mongo-v2.6/jstests/parallel/basic.js --eval TestData = new Object();TestData.testPath = "/data/mci/git@github.commongodb/mongo.git/mongodb-mongo-v2.6/jstests/parallel/basic.js";TestData.testFile = "basic.js";TestData.testName = "basic";TestData.setParameters = "";TestData.setParametersMongos = "";TestData.noJournal = false;TestData.noJournalPrealloc = false;TestData.auth = false;TestData.keyFile = null;TestData.keyFileData = null;TestData.authMechanism = "MONGODB-CR";TestData.useSSL = false;TestData.useX509 = false;MongoRunner.dataDir = "/data/db";MongoRunner.dataPath = MongoRunner.dataDir + "/";
 [2014/04/07 04:18:45.847]          Date : Mon Apr  7 04:18:45 2014
 [2014/04/07 04:18:46.062] Traceback (most recent call last):
 [2014/04/07 04:18:46.062]   File "buildscripts/buildlogger.py", line 136, in post
 [2014/04/07 04:18:46.062]     response = url_opener.open(req)
 [2014/04/07 04:18:46.062]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
 [2014/04/07 04:18:46.065]     response = meth(req, response)
 [2014/04/07 04:18:46.066]   File "buildscripts/buildlogger.py", line 116, in http_response
 [2014/04/07 04:18:46.066]     'http', request, response, code, msg, hdrs)
 [2014/04/07 04:18:46.066]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 432, in error
 [2014/04/07 04:18:46.101]     result = self._call_chain(*args)
 [2014/04/07 04:18:46.101]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
 [2014/04/07 04:18:46.101]     result = func(*args)
 [2014/04/07 04:18:46.101]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1072, in http_error_401
 [2014/04/07 04:18:46.101]     host, req, headers)
 [2014/04/07 04:18:46.101]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 957, in http_error_auth_reqed
 [2014/04/07 04:18:46.101]     return self.retry_http_digest_auth(req, authreq)
 [2014/04/07 04:18:46.101]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 968, in retry_http_digest_auth
 [2014/04/07 04:18:46.101]     resp = self.parent.open(req, timeout=req.timeout)
 [2014/04/07 04:18:46.101]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
 [2014/04/07 04:18:46.140]     response = meth(req, response)
 [2014/04/07 04:18:46.140]   File "buildscripts/buildlogger.py", line 116, in http_response
 [2014/04/07 04:18:46.140]     'http', request, response, code, msg, hdrs)
 [2014/04/07 04:18:46.140]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error
 [2014/04/07 04:18:46.140]     return self._call_chain(*args)
 [2014/04/07 04:18:46.140]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
 [2014/04/07 04:18:46.140]     result = func(*args)
 [2014/04/07 04:18:46.140]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default
 [2014/04/07 04:18:46.140]     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
 [2014/04/07 04:18:46.140] HTTPError: HTTP Error 500: INTERNAL SERVER ERROR



 Comments   
Comment by Adinoyi Omuya [ 08/Apr/14 ]

Relevant line is https://github.com/mongodb/mongo/blob/master/buildscripts/buildlogger.py#L136

Comment by Adinoyi Omuya [ 07/Apr/14 ]

Under normal circumstances, MCI sends mongodb related logs to buildlogger but in this case, it got a Internal Server Error from buildlogger; when this happens MCI will log all output internally. The actual logs for that failed test (basic.js) are covered from here to here.

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