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

vpython -u /b/s/w/ir/k/franky/test.py run in dir /b/s/w/ir/k/franky: allow_subannotations: False base_name: 'Run tests' cmd: ['vpython', '-u', '/b/s/w/ir/k/franky/test.py', 'run'] cwd: '/b/s/w/ir/k/franky' env: {} env_prefixes: {} env_suffixes: {} infra_step: False name: 'Run tests' nest_level: 0 ok_ret: frozenset([0]) 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: 46307 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/8920230959571640224 LOGDOG_STREAM_PROJECT: franky LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itX0pVzl/luci_context.031448312 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 PWD: /b/s/w/ir/k 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: luci-flex-try-trusty-10-mx3o SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 434f934517237e11 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 Running franky/device_info_test.py... ERROR:root:api_level not all digits, assign it to 99 ........ ---------------------------------------------------------------------- Ran 8 tests in 0.016s OK Running franky/step_test.py... ...... ---------------------------------------------------------------------- Ran 6 tests in 0.001s OK Running franky/app_info_test.py... .WARNING:root:Unable to get package name. WARNING:root:Unable to get app name. WARNING:root:Unable to get app version. ... ---------------------------------------------------------------------- Ran 4 tests in 0.009s OK Running franky/test_data_reader_test.py... ............ ---------------------------------------------------------------------- Ran 12 tests in 0.008s OK Running franky/runner_test.py... ...E....... ====================================================================== ERROR: testParseArgsDownloadCSV (__main__.TestRunner) ---------------------------------------------------------------------- Traceback (most recent call last): File "/b/s/w/ir/cache/vpython/db27b9/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "franky/runner_test.py", line 171, in testParseArgsDownloadCSV args = runner._ParseArgs() File "/b/s/w/ir/k/franky/franky/runner.py", line 272, in _ParseArgs '"spreadsheet_key, workbook_id"'])) ArgumentError: --csv has to have at least 2 comma separated parameters: "spreadsheet_key, workbook_id" ---------------------------------------------------------------------- Ran 11 tests in 2.403s FAILED (errors=1) Running franky/appium_util/input_formatter_test.py... .. ---------------------------------------------------------------------- Ran 2 tests in 0.000s OK Running franky/appium_util/appium_driver_util_test.py... .. ---------------------------------------------------------------------- Ran 2 tests in 0.004s OK Running franky/appium_util/timeout_util_test.py... .. ---------------------------------------------------------------------- Ran 2 tests in 0.001s OK Running franky/utilities/util_test.py... ................ ---------------------------------------------------------------------- Ran 16 tests in 0.027s OK Running franky/utilities/gsutil_download_test.py... ................ ---------------------------------------------------------------------- Ran 16 tests in 1.053s OK Running franky/actions/element_test.py... ....................... ---------------------------------------------------------------------- Ran 23 tests in 0.480s OK Running franky/actions/menu_test.py... ................ ---------------------------------------------------------------------- Ran 16 tests in 60.201s OK Running franky/actions/timeout_test.py... .... ---------------------------------------------------------------------- Ran 4 tests in 10.260s OK Running franky/actions/settings_test.py... ...... ---------------------------------------------------------------------- Ran 6 tests in 30.339s OK Running franky/actions/input_test.py... ........ ---------------------------------------------------------------------- Ran 8 tests in 0.043s OK Running franky/actions/omnibox_test.py... ....... ---------------------------------------------------------------------- Ran 7 tests in 0.035s OK Running franky/actions/onboarding_test.py... ..... ---------------------------------------------------------------------- Ran 5 tests in 1.551s OK Running franky/test_util/franky_testcase_test.py... ..... ---------------------------------------------------------------------- Ran 5 tests in 0.172s OK Running franky/test_util/franky_testsuite_test.py... ... ---------------------------------------------------------------------- Ran 3 tests in 0.083s OK Name Stmts Miss Branch BrPart Cover Missing ---------------------------------------------------------------------------------------- franky/__init__.py 5 5 2 0 0.0% 15-21 franky/actions/action_error.py 10 1 0 0 90.0% 29 franky/actions/alert.py 42 24 4 0 39.1% 59-62, 71-74, 88, 98, 107-113, 122-128, 143, 153 franky/actions/element.py 154 25 54 1 81.7% 224, 454-477, 518-523, 223->224 franky/actions/element_test.py 256 6 0 0 97.7% 113-120 franky/actions/fixpath.py 5 0 2 1 85.7% 21->exit franky/actions/input.py 111 14 28 5 84.9% 180-190, 235, 248, 260, 265, 175->180, 234->235, 247->248, 257->260, 264->265 franky/actions/scroll.py 95 67 30 0 22.4% 42-58, 76, 90-91, 108-119, 129, 138-139, 162-181, 194-200, 239-250 franky/actions/system.py 261 165 48 0 31.1% 104-112, 121, 132, 141-142, 151-152, 161-163, 172, 181, 190-192, 202, 253, 262, 271-272, 281, 290, 306-339, 351, 362, 373-396, 410-439, 456-463, 472-483, 492, 503-508, 518-522, 531-532, 542-543, 553-554, 564-565, 574, 583, 592, 601, 610-621, 630, 639-642, 651-669, 681-685, 703-704, 713-714, 723-724, 733-740, 749, 758-760, 770-784, 793-797 franky/actions/tap.py 91 38 12 3 58.3% 48, 57-60, 69-70, 82-88, 99-102, 111, 165-166, 185-192, 204-213, 236-240, 250-251, 289-290, 235->236, 281->283, 283->286 franky/appium_util/appium_driver_util.py 201 136 54 0 27.8% 262-284, 322-340, 369-394, 408-426, 442-466, 480-489, 503-512, 526-542, 554-560, 574-588, 604-606, 619-624, 629-638, 643-652, 663-665 franky/appium_util/fixpath.py 5 0 2 1 85.7% 21->exit franky/device_info.py 79 3 16 1 95.8% 167, 179, 255, 252->255 franky/download_testcases_csv.py 43 26 8 0 33.3% 59-70, 85-104 franky/driver_provider.py 42 7 4 1 78.3% 83-88, 102-103, 107, 82->83 franky/reports/generate_report.py 21 14 4 0 28.0% 45-64 franky/reports/html_report.py 55 44 16 0 15.5% 38-40, 57-90, 101-113, 124-153, 169-183 franky/reports/report.py 19 19 4 0 0.0% 15-58 franky/runner.py 112 24 50 8 70.4% 201-202, 219-221, 227, 230-249, 273-276, 287-288, 199->201, 207->211, 218->219, 226->227, 229->230, 266->280, 269->273, 286->287 franky/runner_test.py 99 3 0 0 97.0% 172-174 franky/test_data_reader.py 166 2 64 2 98.3% 210, 390, 209->210, 389->390 franky/test_util/fixpath.py 5 0 2 1 85.7% 19->exit franky/test_util/franky_testcase.py 62 16 18 3 71.3% 83, 86, 97-101, 105-121, 76->78, 82->83, 85->86 franky/test_util/franky_testsuite.py 138 92 48 0 29.0% 71-72, 76-79, 84-92, 101-162, 186-251, 271-278 franky/utilities/fixpath.py 5 0 2 1 85.7% 21->exit franky/utilities/gsutil_download.py 168 13 53 8 87.3% 113, 160, 239, 245, 258-264, 319, 356, 359-360, 112->113, 156->160, 238->239, 244->245, 318->319, 350->349, 355->356, 358->359 franky/utilities/gsutil_download_test.py 176 3 4 0 98.3% 178, 209, 251 franky/utilities/logcat_util.py 11 11 2 0 0.0% 15-43 franky/utilities/util.py 96 19 34 3 80.0% 48, 92, 94, 158-161, 222-235, 248-249, 262-263, 283, 47->48, 91->92, 93->94 franky/utilities/util_test.py 95 2 4 2 96.0% 41, 43, 40->41, 42->43 ---------------------------------------------------------------------------------------- TOTAL 4436 779 677 41 79.0% 35 files skipped due to complete coverage. Detailed coverage report is in file:////b/s/w/ir/k/franky/franky/htmlcov/index.html Failed tests in: franky: Tests failed step returned non-zero exit code: 1