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

python -u /b/s/w/ir/kitchen-checkout/depot_tools/presubmit_support.py --issue 1368749 --patchset 1 --gerrit_url https://chromium-review.googlesource.com --gerrit_fetch --dry_run --root /b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py --commit --verbose --verbose --skip_canned CheckTreeIsOpen --skip_canned CheckBuildbotPendingBuilds --upstream faa8db3ceb17f3bc13c4ead7e4603760a0532f99 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', '1368749', '--patchset', '1', '--gerrit_url', 'https://chromium-review.googlesource.com', '--gerrit_fetch', '--dry_run', '--root', '/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py', '--commit', '--verbose', '--verbose', '--skip_canned', 'CheckTreeIsOpen', '--skip_canned', 'CheckBuildbotPendingBuilds', '--upstream', 'faa8db3ceb17f3bc13c4ead7e4603760a0532f99'] 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: 44255 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/8927760689644244272 LOGDOG_STREAM_PROJECT: infra LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itwR8Bzv/luci_context.573357829 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-west1-c-ktwq SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 41a38f4593abff11 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 faa8db3ceb17f3bc13c4ead7e4603760a0532f99...; cwd=/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py INFO:root:Found 5 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 3501 sec DEBUG:root:GET https://chromium-review.googlesource.com/a/changes/1368749/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/1368749/detail?o=ALL_REVISIONS&o=DETAILED_LABELS&o=ALL_COMMITS INFO:root:Got author: "iannucci@chromium.org" INFO:root:Got description: """ [remote] Remove remote subcommand. This is only used on buildbot, but that uses a pinned version of the recipe engine: https://cs.chromium.org/chromium/build/scripts/slave/remote_run.py?q=remote_run.py&sq=package:chromium&dr=C&l=122 R=jchinlee@chromium.org, martiniss@chromium.org, tandrii@chromium.org Bug: 913102 Change-Id: I0ac00cc147262672c412ad2844a3b5c1d9219513 """ DEBUG:root:GitAffectedFile(doc/user_guide.md) DEBUG:root:GitAffectedFile(recipe_engine/common_args.py) DEBUG:root:GitAffectedFile(recipe_engine/remote.py) DEBUG:root:GitAffectedFile(recipes.py) DEBUG:root:GitAffectedFile(unittests/remote_test.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: iannucci@chromium.org; approvals given by: martiniss@chromium.org DEBUG:PRESUBMIT:Found 3 files, running 1 unit tests DEBUG:PRESUBMIT:Found 20 files, running 18 unit tests DEBUG:PRESUBMIT:Found 15 files, running 12 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/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.25s) unittests/simulation_test.py (6.92s) unittests/override_test.py (8.83s) unittests/analyze_test.py (3.01s) unittests/autoroll_test.py (67.90s) unittests/doc_test.py (1.93s) unittests/test_test.py (29.15s) unittests/depgraph_test.py (1.22s) unittests/refs_test.py (0.83s) unittests/stdlib_test.py (4.67s) unittests/errors_test.py (11.44s) unittests/package_test.py (1.14s) recipe_engine/unittests/recipe_api_test.py (0.66s) recipe_engine/unittests/run_test.py (34.99s) recipe_engine/unittests/step_runner_test.py (0.62s) recipe_engine/unittests/stream_test.py (0.63s) recipe_engine/unittests/gitattr_checker_test.py (1.75s) recipe_engine/unittests/loader_test.py (0.62s) recipe_engine/unittests/checker_test.py (0.66s) recipe_engine/unittests/util_test.py (0.46s) recipe_engine/unittests/fetch_test.py (0.70s) recipe_engine/unittests/analyze_test.py (0.63s) recipe_engine/unittests/recipe_test_api_test.py (0.44s) recipe_engine/unittests/package_io_test.py (0.57s) recipe_engine/unittests/doc_test.py (0.60s) recipe_engine/unittests/post_process_test.py (0.65s) recipe_engine/unittests/stream_logdog_test.py (0.78s) recipe_engine/unittests/config_test.py (0.58s) recipe_engine/autoroll_impl/unittests/commit_list_test.py (0.70s) ** Presubmit ERRORS ** recipe_engine/unittests/autoroll_test.py (0.78s) failed test_json_flags (__main__.TestArgs) ... FAIL test_basic (__main__.TestProcess) ... ok test_good_candidates (__main__.TestProcess) ... ok ====================================================================== FAIL: test_json_flags (__main__.TestArgs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/b/s/w/ir/cache/vpython/d2f553/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "recipe_engine/unittests/autoroll_test.py", line 73, in test_json_flags self.assertIn('without --output-json', stderr.getvalue()) AssertionError: 'without --output-json' not found in 'usage: autoroll_test.py [-h] --package PACKAGE [--verbose] [-O ID=PATH]\n [--use-bootstrap] [--disable-bootstrap]\n [--operational-args-path OPERATIONAL_ARGS]\n {autoroll} ...\nautoroll_test.py: error: argument --package is required\n' ---------------------------------------------------------------------- Ran 3 tests in 0.062s FAILED (failures=1) recipe_engine/unittests/test_test.py (0.82s) failed test_normalize_filter (__main__.TestArgs) ... ERROR ====================================================================== ERROR: test_normalize_filter (__main__.TestArgs) ---------------------------------------------------------------------- Traceback (most recent call last): File "/b/s/w/ir/cache/vpython/d2f553/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "recipe_engine/unittests/test_test.py", line 38, in test_normalize_filter args = self.p.parse_args(['test', 'run', '--filter', 'foo']) File "/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/recipe_engine/third_party/argparse.py", line 1701, in parse_args args, argv = self.parse_known_args(args, namespace) File "/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/recipe_engine/third_party/argparse.py", line 1733, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/recipe_engine/third_party/argparse.py", line 1957, in _parse_known_args self.error(_('argument %s is required') % name) File "/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/recipe_engine/third_party/argparse.py", line 2374, in error self.exit(2, _('%s: error: %s\n') % (self.prog, message)) File "/b/s/w/ir/cache/builder/Recipes_py_Presubmit/infra/recipes-py/recipe_engine/third_party/argparse.py", line 2362, in exit _sys.exit(status) SystemExit: 2 ---------------------------------------------------------------------- Ran 1 test in 0.005s FAILED (errors=1) Presubmit checks took 189.0s to calculate. step returned non-zero exit code: 1