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

buildlogger.py should retry on post errors

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build
    • None

    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

      Attachments

        Activity

          People

            adinoyi.omuya@mongodb.com Adinoyi Omuya
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: