Back to build
Raw log | Switch to full mode | Login

python -u /b/s/w/ir/kitchen-checkout/depot_tools/presubmit_support.py --issue 1281366 --patchset 15 --gerrit_url https://chromium-review.googlesource.com --gerrit_fetch --root /b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py --commit --verbose --verbose --skip_canned CheckTreeIsOpen --skip_canned CheckBuildbotPendingBuilds --upstream ee0e2c37c03936c3683be03d215f58d47d04ee08 in dir /b/s/w/ir/cache/builder/Recipes_py_Presubmit: allow_subannotations: False base_name: 'presubmit' cmd: ['python', '-u', '/b/s/w/ir/kitchen-checkout/depot_tools/presubmit_support.py', '--issue', '1281366', '--patchset', '15', '--gerrit_url', 'https://chromium-review.googlesource.com', '--gerrit_fetch', '--root', '/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py', '--commit', '--verbose', '--verbose', '--skip_canned', 'CheckTreeIsOpen', '--skip_canned', 'CheckBuildbotPendingBuilds', '--upstream', 'ee0e2c37c03936c3683be03d215f58d47d04ee08'] cwd: '/b/s/w/ir/cache/builder/Recipes_py_Presubmit' env: {'PATH': '%(PATH)s:/b/s/w/ir/kitchen-checkout/depot_tools'} env_prefixes: {} env_suffixes: {} infra_step: False name: 'presubmit' nest_level: 0 ok_ret: frozenset([0]) timeout: 480 trigger_specs: () full environment: BOTO_CONFIG: /b/s/w/ir/tmp/gsutil_task/.boto BUILDBUCKET_EXPERIMENTAL: FALSE CIPD_CACHE_DIR: /b/s/cipd_cache/cache CIPD_PROTOCOL: v2 DEVSHELL_CLIENT_PORT: 39665 DOCKER_CONFIG: /b/s/w/ir/tmp/docker_cfg_task DOCKER_TMPDIR: /b/s/w/ir/tmp/docker_tmp_task GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOME: /home/chrome-bot INFRA_GIT_WRAPPER_HOME: /b/s/w/ir/tmp/git_home_task LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8930919351719884320 LOGDOG_STREAM_PROJECT: infra LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/it0sohW2/luci_context.257480224 MAC_CHROMIUM_TMPDIR: /b/s/w/ir/tmp/t MAIL: /var/mail/chrome-bot NO_GCE_CHECK: False PATH: /b/s/w/ir/cipd_bin_packages:/b/s/w/ir/cipd_bin_packages/bin:/b/s/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/b/s/w/ir/kitchen-checkout/depot_tools PWD: /b/s/w/ir PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SHELL: /bin/bash SHLVL: 1 SUDO_COMMAND: /usr/bin/python /b/s/swarming_bot.zip start_bot SUDO_GID: 0 SUDO_UID: 0 SUDO_USER: root SWARMING_BOT_ID: gce-trusty-e833d7b0-us-east1-b-rvhl SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 40f002b07d9ab711 TEMP: /b/s/w/ir/tmp/t TEMPDIR: /b/s/w/ir/tmp/t TERM: linux TMP: /b/s/w/ir/tmp/t TMPDIR: /b/s/w/ir/tmp/t USER: chrome-bot USERNAME: chrome-bot VPYTHON_VIRTUALENV_ROOT: /b/s/w/ir/cache/vpython _: /b/s/w/ir/cipd_bin_packages/vpython DEBUG:root:git -c core.quotePath=false diff --name-status --no-renames -r ee0e2c37c03936c3683be03d215f58d47d04ee08...; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py INFO:root:Found 6 file(s). DEBUG:root:local_auth: requesting an access token for account "task" DEBUG:root:local_auth: got an access token for account "task" that expires in 2035 sec DEBUG:root:GET https://chromium-review.googlesource.com/a/changes/1281366/detail?o=ALL_REVISIONS&o=DETAILED_LABELS&o=ALL_COMMITS DEBUG:root:Authorization: HIDDEN DEBUG:root:got response 200 for GET https://chromium-review.googlesource.com/a/changes/1281366/detail?o=ALL_REVISIONS&o=DETAILED_LABELS&o=ALL_COMMITS INFO:root:Got author: "joshuaseaton@google.com" INFO:root:Got description: """ [isolated] Upstream fuchsia's isolated recipe module Bug: IN-726 Change-Id: I48594398a1d76aa98ca4e1042a41b3fd37be65cc """ DEBUG:root:GitAffectedFile(README.recipes.md) DEBUG:root:GitAffectedFile(recipe_modules/isolated/__init__.py) DEBUG:root:GitAffectedFile(recipe_modules/isolated/api.py) DEBUG:root:GitAffectedFile(recipe_modules/isolated/examples/full.expected/basic.json) DEBUG:root:GitAffectedFile(recipe_modules/isolated/examples/full.py) DEBUG:root:GitAffectedFile(recipe_modules/isolated/test_api.py) Running presubmit commit checks ... DEBUG:root:Presubmit files: /b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/PRESUBMIT.py Running /b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/PRESUBMIT.py DEBUG:root:Running CheckChangeOnCommit in /b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/PRESUBMIT.py DEBUG:PRESUBMIT:owner: joshuaseaton@google.com; approvals given by: iannucci@chromium.org DEBUG:root:git -c core.quotePath=false diff -p --no-color --no-prefix --no-ext-diff ee0e2c37c03936c3683be03d215f58d47d04ee08...HEAD --no-renames; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:PRESUBMIT:Found 3 files, running 1 unit tests DEBUG:PRESUBMIT:Found 20 files, running 18 unit tests DEBUG:PRESUBMIT:Found 16 files, running 13 unit tests DEBUG:root:vpython unittests/run_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/remote_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/simulation_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/override_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/analyze_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/autoroll_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/doc_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/test_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/depgraph_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/refs_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/stdlib_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/errors_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython unittests/package_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/recipe_api_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/run_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/step_runner_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/stream_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/gitattr_checker_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/loader_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/checker_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/util_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/fetch_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/analyze_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/recipe_test_api_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/package_io_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/autoroll_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/doc_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/post_process_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/test_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/stream_logdog_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/unittests/config_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:vpython recipe_engine/autoroll_impl/unittests/commit_list_test.py --verbose; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py DEBUG:root:Running CheckChangeOnCommit done. ** Presubmit Messages ** unittests/run_test.py (4.79s) unittests/remote_test.py (2.90s) unittests/simulation_test.py (8.11s) unittests/override_test.py (10.30s) unittests/analyze_test.py (3.30s) unittests/autoroll_test.py (76.86s) unittests/doc_test.py (2.24s) unittests/test_test.py (32.55s) unittests/depgraph_test.py (1.39s) unittests/refs_test.py (0.95s) unittests/errors_test.py (13.01s) unittests/package_test.py (1.25s) recipe_engine/unittests/recipe_api_test.py (0.70s) recipe_engine/unittests/run_test.py (36.74s) recipe_engine/unittests/step_runner_test.py (0.67s) recipe_engine/unittests/stream_test.py (0.65s) recipe_engine/unittests/gitattr_checker_test.py (2.08s) recipe_engine/unittests/loader_test.py (0.65s) recipe_engine/unittests/checker_test.py (0.65s) recipe_engine/unittests/util_test.py (0.46s) recipe_engine/unittests/fetch_test.py (0.76s) recipe_engine/unittests/analyze_test.py (0.67s) recipe_engine/unittests/recipe_test_api_test.py (0.48s) recipe_engine/unittests/package_io_test.py (0.62s) recipe_engine/unittests/autoroll_test.py (0.77s) recipe_engine/unittests/doc_test.py (0.65s) recipe_engine/unittests/post_process_test.py (0.71s) recipe_engine/unittests/test_test.py (0.85s) recipe_engine/unittests/stream_logdog_test.py (0.78s) recipe_engine/unittests/config_test.py (0.62s) recipe_engine/autoroll_impl/unittests/commit_list_test.py (0.76s) ** Presubmit Warnings ** Found lines longer than 80 characters (first 5 shown). recipe_modules/isolated/api.py, line 20, 84 chars \ recipe_modules/isolated/api.py, line 21, 83 chars \ recipe_modules/isolated/api.py, line 73, 86 chars License must match: .*? Copyright (2018|2017|2016|2015|2014|2013|2012|2011) The LUCI Authors\. All rights reserved\.\n.*? Use of this source code is governed under the Apache License, Version 2\.0\n.*? that can be found in the LICENSE file\.(?: \*/)?\n Found a bad license header in these files: recipe_modules/isolated/__init__.py \ recipe_modules/isolated/api.py \ recipe_modules/isolated/examples/full.py \ recipe_modules/isolated/test_api.py ** Presubmit ERRORS ** unittests/stdlib_test.py (3.52s) failed ..........................................................................................................F................................................................ isolated:examples/full.basic failed: --- expected +++ actual @@ -112,9 +112,8 @@ ], "name": "isolated version" }, { - "name": "$result", - "recipe_result": null, - "status_code": 0 + "jsonResult": null, + "name": "$result" } ] ---------------------------------------------------------------------- Ran 171 tests in 2.314s FAILED NOTE: You may need to re-train the expectation files by running: ./recipes.py --use-bootstrap --package /b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/infra/config/recipes.cfg test train This will update all the .json files to have content which matches the current recipe logic. Review them for correctness and include them with your CL. Traceback (most recent call last): File "unittests/stdlib_test.py", line 20, in <module> recipes_py('test', 'run') File "unittests/stdlib_test.py", line 18, in recipes_py list(args)) File "/b/s/w/ir/cipd_bin_packages/lib/python2.7/subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/b/s/w/ir/cache/vpython/7f3aef/bin/python', '/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/recipes.py', '--use-bootstrap', '--package', '/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/infra/config/recipes.cfg', 'test', 'run']' returned non-zero exit status 1 Presubmit checks took 211.5s to calculate. step returned non-zero exit code: 1