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

Issue 604845 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

veyron-release builder on R51 is failing 'steps'

Project Member Reported by bhthompson@chromium.org, Apr 19 2016

Issue description

https://uberchromegw.corp.google.com/i/chromeos_release/builders/veyron-release-group%20release-R51-8172.B/builds/4

INFO:root:Running: ['git', '-C', '/b/build_internal/scripts/slave/.recipe_deps/recipe_engine', 'reset', '-q', '--hard', '8fc2d5cb0acb4680fe7175d88af87ef4f6659139']
Traceback (most recent call last):
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipes.py", line 442, in <module>
    sys.exit(main())
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipes.py", line 410, in main
    return run(package_deps, args)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipes.py", line 81, in run
    from recipe_engine import run as recipe_run
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/run.py", line 71, in <module>
    from . import loader
  File "/b/build/third_party/recipe_engine/loader.py", line 13, in <module>
    from .recipe_api import RecipeApi, RecipeApiPlain, Property, UndefinedPropertyException
  File "/b/build/third_party/recipe_engine/recipe_api.py", line 448, in <module>
    class RecipeApi(RecipeApiPlain):
  File "/b/build/third_party/recipe_engine/recipe_api.py", line 318, in __new__
    if isinstance(val, types.FunctionType):
AttributeError: 'module' object has no attribute 'FunctionType'

This same step passes on other veyron builders on the branch, and it worked at the branch point https://uberchromegw.corp.google.com/i/chromeos/builders/veyron-release-group/builds/1600 is it possible something is broken on this particular build machine?
 
Owner: d...@chromium.org
Status: Assigned (was: Untriaged)
Looks like an issue in recipes code, which chrome-infra handles for us. Assigning to dnj@ for first investigation.

Comment 2 by d...@chromium.org, Apr 19 2016

Labels: Infra-Troopers
Owner: ----
Status: Untriaged (was: Assigned)
Yeah looks like something's wrong with recipe engine. Passing to trooper to repair.

Comment 3 by iannu...@google.com, Apr 19 2016

`types.FunctionType` is a python stdlib type... what version of python is this machine using where it's not available?

https://docs.python.org/2/library/types.html#types.FunctionType

Comment 4 by d...@chromium.org, Apr 19 2016

Possibly the "types" import is picking up some non-stdlib library via PYTHONPATH?
Status: Fixed (was: Untriaged)
The build checkout is quite messy and as a result the recipe engine is outdated and might just use types from other unknown modules.

"steps" is green now after cleaning the checkout.

Comment 6 by benhenry@google.com, Apr 27 2016

Components: Infra>Client>ChromeOS
Labels: -Infra-ChromeOS
Bulk verified
Status: Verified (was: Fixed)
bulk verified

Sign in to add a comment