I'm writing some change (https://codereview.chromium.org/1892903002 ps1). The change is currently incorrect.
When I run `scripts/slave/unittests/recipe_simulation_tests.py train`, things fail like so:
thakis@thakis:~/src/chrome/build$ scripts/slave/unittests/recipe_simulation_test.py train
Traceback (most recent call last):
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/third_party/expect_tests/pipeline.py", line 114, in gen_loop_process
result_queue.put_nowait)
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/third_party/expect_tests/handle_train.py", line 34, in gen_stage_loop
for test in tests:
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/third_party/expect_tests/pipeline.py", line 70, in generate_tests
root_test = next(gen_inst)
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/simulation_test.py", line 78, in GenerateTests
for test_data in recipe.GenTests(test_api):
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/recipes/chromium_trybot.py", line 291, in GenTests
suppress_analyze() +
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/recipe_modules/chromium_tests/test_api.py", line 27, in platform
'chromium_config_kwargs', {}).get('TARGET_BITS', 64))
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/.recipe_deps/recipe_engine/recipe_modules/platform/test_api.py", line 21, in __call__
return self.name(name) + self.bits(bits)
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/recipe_test_api.py", line 283, in inner
data = static_call(self, func, *args, **kwargs)
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/util.py", line 104, in static_call
return func.__get__(obj)(*args, **kwargs)
File "/usr/local/google/home/thakis/src/chrome/build/scripts/slave/.recipe_deps/recipe_engine/recipe_modules/platform/test_api.py", line 11, in name
assert name in ('win', 'linux', 'mac')
AssertionError
That's not informative enough for me to see exactly what's going on, so I added a `print name` in test_api.py above the assert. When I run the train command again, I discover that my change has been undone -- looks like something overwrote test_api.py (looks like it's mirrored in? but from where?)
How am I supposed to debug this?
(iannucci, maruel: no idea if you know either, but I saw "luci" scroll by somewhere, and I thought I saw both of you use that word in the past.)
Comment 1 by thakis@chromium.org
, Apr 15 2016