New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 639484 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[Autotest] run_suite.py fails when the build number is specified as LATEST.

Project Member Reported by jgiorgi@chromium.org, Aug 19 2016

Issue description

Running a brillo test suite using run_suite.py fails when the build ID is 'LATEST'.

Command: ./site_utils/run_suite.py -b edison -s brillo-presubmit -i git_nyc-jaqen-dev/jaqen_edison-userdebug/LATEST

Result (truncated):    
        500 Internal Server Error
        The server encountered an unexpected condition which prevented it from fulfilling the request.
        Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/usr/lib64/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/devserver/devserver.py", line 703, in is_staged
    response = str(dl.IsStaged(factory))
  File "/usr/lib/devserver/downloader.py", line 209, in IsStaged
    artifact.GetException()]
  File "/usr/lib/devserver/build_artifact.py", line 272, in GetException
    return pickle.load(f)
  File "/usr/lib64/python2.7/pickle.py", line 1378, in load
    return Unpickler(file).load()
  File "/usr/lib64/python2.7/pickle.py", line 858, in load
    dispatch[key](self)
  File "/usr/lib64/python2.7/pickle.py", line 1133, in load_reduce
    value = func(*args)
  File "/usr/lib64/python2.7/site-packages/chromite/third_party/oauth2client/util.py", line 140, in positional_wrapper
    return wrapped(*args, **kwargs)
TypeError: __init__() takes at least 3 arguments (1 given)

 

Comment 1 by aut...@google.com, Aug 23 2016

Status: WontFix (was: Untriaged)

"LATEST" support is currently hard coded for ChromeOS, and so doesn't work on Brillo. Workaround is to pick a build ID manually. 

Comment 2 by dshi@chromium.org, Aug 23 2016

Owner: dshi@chromium.org
Status: Assigned (was: WontFix)
I can take the bug for now. Ideally we want to support that for Android builds as well. And somehow I think that should work (that's how suite scheduler force suite run for Brillo and Android builds)
Status: Archived (was: Assigned)
Bulk closing Infra>Client>ChromeOS issues untouched in over a year.

Sign in to add a comment