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

Issue 648505 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Last visit > 30 days ago
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 0
Type: Bug



Sign in to add a comment

Canaries red across the board; HWTest fails with "FAIL: 'module' object has no attribute 'SignedJwtAssertionCredentials'"

Reported by jrbarnette@chromium.org, Sep 20 2016

Issue description

All canaries and release builders are red across the board
with failures like this:
    https://uberchromegw.corp.google.com/i/chromeos/builders/banon-release/builds/408

IIUC, the problem is ultimately a mismatch in the version of oauth2
module.  In chromite, we supply one version, the modules that end up
importing oauth2 want a different version.  There was a recent change
to chromite that made this so; I expect we'll want to revert that change.

Here's the traceback from the failure:
Traceback (most recent call last):
  File "/usr/local/autotest/server/server_job.py", line 692, in run
    self._execute_code(server_control_file, namespace)
  File "/usr/local/autotest/server/server_job.py", line 1191, in _execute_code
    execfile(code_file, namespace, namespace)
  File "/usr/local/autotest/results/77363211-chromeos-test/hostless/control.srv", line 56, in <module>
    dynamic_suite.reimage_and_run(**args_dict)
  File "/usr/local/autotest/server/cros/dynamic_suite/dynamic_suite.py", line 493, in reimage_and_run
    predicate, suite_job_id=my_job_id)
  File "/usr/local/autotest/server/cros/dynamic_suite/dynamic_suite.py", line 555, in _perform_reimage_and_run
    suite.wait(spec.job.record_entry, spec.bug_template)
  File "/usr/local/autotest/server/cros/dynamic_suite/suite.py", line 977, in wait
    bug_reporter = reporting.Reporter()
  File "/usr/local/autotest/server/cros/dynamic_suite/reporting.py", line 473, in __init__
    self._monorail_server)
  File "/usr/local/autotest/site_utils/phapi_lib.py", line 97, in __init__
    credentials = storage.get()
  File "/usr/local/autotest/site-packages/chromite/third_party/oauth2client/client.py", line 409, in get
    return self.locked_get()
  File "/usr/local/autotest/site-packages/chromite/third_party/oauth2client/file.py", line 65, in locked_get
    credentials = client.Credentials.new_from_json(content)
  File "/usr/local/autotest/site-packages/chromite/third_party/oauth2client/client.py", line 315, in new_from_json
    kls = getattr(module_obj, data['_class'])
AttributeError: 'module' object has no attribute 'SignedJwtAssertionCredentials'

 
Mergedinto: 648359
Status: Duplicate (was: Assigned)
Dup bug: http://crbug.com/648489 ?
Mergedinto: -648359 648489
Sorry, wrong bug

Sign in to add a comment