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

vpython -u /b/s/w/ir/cache/builder/src/out/Debug/bin/run_remoting_test_apk --blacklist-file /b/s/w/ir/cache/builder/src/out/bad_devices.json --verbose --json-results-file /b/s/w/ir/tmp/t/tmpnjG3jC.json --adb-path /b/s/w/ir/cache/builder/src/third_party/android_tools/sdk/platform-tools/adb in dir /b/s/w/ir/cache/builder: allow_subannotations: False base_name: 'ChromotingTest' cmd: ['vpython', '-u', '/b/s/w/ir/cache/builder/src/out/Debug/bin/run_remoting_test_apk', '--blacklist-file', '/b/s/w/ir/cache/builder/src/out/bad_devices.json', '--verbose', '--json-results-file', '/b/s/w/ir/tmp/t/tmpnjG3jC.json', '--adb-path', '/b/s/w/ir/cache/builder/src/third_party/android_tools/sdk/platform-tools/adb'] cwd: '/b/s/w/ir/cache/builder' env: {'CHROME_HEADLESS': '1', 'PATH': '/b/s/w/ir/cache/builder/src/third_party/android_tools/sdk/platform-tools:/b/s/w/ir/cache/builder/src/build/android:%(PATH)s'} env_prefixes: {} env_suffixes: {} infra_step: False name: 'ChromotingTest' nest_level: 0 ok_ret: frozenset([0]) step_test_data: <lambda>(...) trigger_specs: () full environment: ADDRFAM: inet BOTO_CONFIG: /b/s/w/ir/tmp/gsutil_task/.boto BUILDBUCKET_EXPERIMENTAL: FALSE CHROME_HEADLESS: 1 CIPD_CACHE_DIR: /b/s/cipd_cache/cache CIPD_PROTOCOL: v2 DEVSHELL_CLIENT_PORT: 57170 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 IFACE: em1 INFRA_GIT_WRAPPER_HOME: /b/s/w/ir/tmp/git_home_task LANG: en_US.UTF-8 LANGUAGE: en_US: LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8930716605909625456 LOGDOG_STREAM_PROJECT: chromium LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGICAL: em1 LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itfZCfwY/luci_context.444016061 MAC_CHROMIUM_TMPDIR: /b/s/w/ir/tmp/t MAIL: /var/mail/chrome-bot METHOD: dhcp NO_GCE_CHECK: False PATH: /b/s/w/ir/cache/builder/src/third_party/android_tools/sdk/platform-tools:/b/s/w/ir/cache/builder/src/build/android:/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:/usr/games:/usr/local/games PWD: /b/s/w/ir PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SHELL: /bin/bash SHLVL: 2 SWARMING_BOT_ID: build5-b9 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 40fb890fb4c59911 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 UPSTART_EVENTS: local-filesystems net-device-up UPSTART_INSTANCE: UPSTART_JOB: swarming USER: chrome-bot VPYTHON_VIRTUALENV_ROOT: /b/s/w/ir/cache/vpython XDG_RUNTIME_DIR: /run/user/1000 XDG_SESSION_ID: c1 _: /b/s/w/ir/cipd_bin_packages/vpython I 0.000s Main command: /b/s/w/ir/cache/builder/src/build/android/test_runner.py instrumentation --apk-under-test /b/s/w/ir/cache/builder/src/out/Debug/apks/Chromoting.apk --output-directory /b/s/w/ir/cache/builder/src/out/Debug --runtime-deps-path /b/s/w/ir/cache/builder/src/out/Debug/gen.runtime/remoting/android/remoting_test_apk__test_runner_script.runtime_deps --test-apk /b/s/w/ir/cache/builder/src/out/Debug/apks/ChromotingTest.apk --test-jar /b/s/w/ir/cache/builder/src/out/Debug/test.lib.java/ChromotingTest.jar --blacklist-file /b/s/w/ir/cache/builder/src/out/bad_devices.json --verbose --json-results-file /b/s/w/ir/tmp/t/tmpnjG3jC.json --adb-path /b/s/w/ir/cache/builder/src/third_party/android_tools/sdk/platform-tools/adb I 0.005s Main condition '<lambda>' met I 0.007s anonymous condition '<lambda>' met I 0.009s Main condition '<lambda>' met W 0.075s Main Unable to find package info for org.chromium.chromoting.tests I 0.430s TimeoutThread-1-for-prepare_device(0d89323643e4b6e5) condition 'sd_card_ready' met (0.1s) I 1.136s TimeoutThread-1-for-prepare_device(0d89323643e4b6e5) condition 'pm_ready' met (0.8s) I 1.199s TimeoutThread-1-for-prepare_device(0d89323643e4b6e5) condition 'boot_completed' met (0.8s) I 8.814s TimeoutThread-1-for-individual_device_set_up(0d89323643e4b6e5) Setting permissions for org.chromium.chromoting. I 13.052s TimeoutThread-1-for-individual_device_set_up(0d89323643e4b6e5) Setting permissions for org.chromium.chromoting.tests. I 14.045s individual_device_set_up(0d89323643e4b6e5) instrumentation data deps: I 15.796s individual_device_set_up(0d89323643e4b6e5) Flags now set on the device: ['--strict-mode=testing', '--enable-test-intents'] I 15.866s Main Could not get tests from pickle: /b/s/w/ir/cache/builder/src/out/Debug/apks/ChromotingTest.apk-runner.pickle does not exist. I 15.866s Main Getting tests by having org.chromium.base.test.BaseChromiumAndroidJUnitRunner list them. E 18.200s list_tests(0d89323643e4b6e5) Unexpected output while listing tests: E 18.200s list_tests(0d89323643e4b6e5) Fatal exception when running tests E 18.200s list_tests(0d89323643e4b6e5) java.io.FileNotFoundException: /sdcard/temp_file-b95fe3f420b55.json: open failed: EACCES (Permission denied) E 18.200s list_tests(0d89323643e4b6e5) at libcore.io.IoBridge.open(IoBridge.java:452) E 18.200s list_tests(0d89323643e4b6e5) at java.io.FileOutputStream.<init>(FileOutputStream.java:87) E 18.200s list_tests(0d89323643e4b6e5) at java.io.FileOutputStream.<init>(FileOutputStream.java:72) E 18.200s list_tests(0d89323643e4b6e5) at org.chromium.base.test.TestListInstrumentationRunListener.saveTestsToJson(TestListInstrumentationRunListener.java:68) E 18.200s list_tests(0d89323643e4b6e5) at org.chromium.base.test.BaseChromiumAndroidJUnitRunner.listTests(BaseChromiumAndroidJUnitRunner.java:171) E 18.200s list_tests(0d89323643e4b6e5) at org.chromium.base.test.BaseChromiumAndroidJUnitRunner.onStart(BaseChromiumAndroidJUnitRunner.java:116) E 18.200s list_tests(0d89323643e4b6e5) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879) E 18.200s list_tests(0d89323643e4b6e5) Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) E 18.200s list_tests(0d89323643e4b6e5) at libcore.io.Posix.open(Native Method) E 18.200s list_tests(0d89323643e4b6e5) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) E 18.200s list_tests(0d89323643e4b6e5) at libcore.io.IoBridge.open(IoBridge.java:438) E 18.200s list_tests(0d89323643e4b6e5) ... 6 more E 18.201s list_tests(0d89323643e4b6e5) C 18.264s list_tests(0d89323643e4b6e5) (TimeoutThread-1-for-list_tests(0d89323643e4b6e5)) Exception on PullFile(0d89323643e4b6e5, /sdcard/temp_file-b95fe3f420b55.json, /b/s/w/ir/tmp/t/tmpPwcQ24/list_tests.json, retries=2, timeout=30), attempt 1 of 3: AdbCommandFailedError("(device: 0d89323643e4b6e5) adb pull /sdcard/temp_file-b95fe3f420b55.json /b/s/w/ir/tmp/t/tmpPwcQ24/list_tests.json: failed with exit status 1 and output:\n- adb: error: remote object '/sdcard/temp_file-b95fe3f420b55.json' does not exist\n",) C 18.328s list_tests(0d89323643e4b6e5) (TimeoutThread-2-for-list_tests(0d89323643e4b6e5)) Exception on PullFile(0d89323643e4b6e5, /sdcard/temp_file-b95fe3f420b55.json, /b/s/w/ir/tmp/t/tmpPwcQ24/list_tests.json, retries=2, timeout=30), attempt 2 of 3: AdbCommandFailedError("(device: 0d89323643e4b6e5) adb pull /sdcard/temp_file-b95fe3f420b55.json /b/s/w/ir/tmp/t/tmpPwcQ24/list_tests.json: failed with exit status 1 and output:\n- adb: error: remote object '/sdcard/temp_file-b95fe3f420b55.json' does not exist\n",) I 18.579s individual_device_tear_down(0d89323643e4b6e5) Flags now set on the device: [] I 19.565s tear_down_device(0d89323643e4b6e5) Wrote device cache: /b/s/w/ir/cache/builder/src/out/Debug/device_cache_0d89323643e4b6e5.json I 19.566s Main Generated json results file at /b/s/w/ir/tmp/t/tmpbH06Dq I 19.566s Main Finishing archiving output. E 19.567s Main Error occurred. Traceback (most recent call last): File "/b/s/w/ir/cache/builder/src/build/android/test_runner.py", line 1025, in main return RunTestsCommand(args) File "/b/s/w/ir/cache/builder/src/build/android/test_runner.py", line 715, in RunTestsCommand return RunTestsInPlatformMode(args) File "/b/s/w/ir/cache/builder/src/build/android/test_runner.py", line 861, in RunTestsInPlatformMode test_run.RunTests(raw_results) File "/b/s/w/ir/cache/builder/src/build/android/pylib/local/device/local_device_test_run.py", line 58, in RunTests tests = self._GetTests() File "/b/s/w/ir/cache/builder/src/build/android/pylib/local/device/local_device_instrumentation_test_run.py", line 355, in _GetTests raw_tests = self._GetTestsFromRunner() File "/b/s/w/ir/cache/builder/src/build/android/pylib/local/device/local_device_instrumentation_test_run.py", line 713, in _GetTestsFromRunner raw_test_lists = self._env.parallel_devices.pMap(list_tests).pGet(None) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/parallelizer.py", line 263, in pMap r.pFinish(None) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/parallelizer.py", line 135, in pFinish self._objs.JoinAll() File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 198, in JoinAll self._JoinAll(watcher, timeout) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 170, in _JoinAll thread.ReraiseIfException() File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 93, in run self._ret = self._func(*self._args, **self._kwargs) File "/b/s/w/ir/cache/builder/src/build/android/pylib/local/device/local_device_instrumentation_test_run.py", line 711, in list_tests return crash_handler.RetryOnSystemCrash(_run, d) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/crash_handler.py", line 32, in RetryOnSystemCrash return f(device) File "/b/s/w/ir/cache/builder/src/build/android/pylib/local/device/local_device_instrumentation_test_run.py", line 708, in _run dev.PullFile(dev_test_list_json.name, host_file) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/decorators.py", line 57, in timeout_retry_wrapper retry_if_func=retry_if_func) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/timeout_retry.py", line 158, in Run error_log_func=error_log_func) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 198, in JoinAll self._JoinAll(watcher, timeout) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 170, in _JoinAll thread.ReraiseIfException() File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 93, in run self._ret = self._func(*self._args, **self._kwargs) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/utils/timeout_retry.py", line 151, in <lambda> child_thread = reraiser_thread.ReraiserThread(lambda: func(*args, **kwargs), File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/decorators.py", line 47, in impl return f(*args, **kwargs) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/device_utils.py", line 1892, in PullFile self.adb.Pull(device_path, host_path) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/sdk/adb_wrapper.py", line 488, in Pull self._RunDeviceAdbCmd(cmd, timeout, retries) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/sdk/adb_wrapper.py", line 315, in _RunDeviceAdbCmd ensure_logs_on_timeout=ensure_logs_on_timeout) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/decorators.py", line 51, in timeout_retry_wrapper return impl() File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/decorators.py", line 47, in impl return f(*args, **kwargs) File "/b/s/w/ir/cache/builder/src/third_party/catapult/devil/devil/android/sdk/adb_wrapper.py", line 292, in _RunAdbCmd args, output, status, device_serial) AdbCommandFailedError: (device: 0d89323643e4b6e5) adb pull /sdcard/temp_file-b95fe3f420b55.json /b/s/w/ir/tmp/t/tmpPwcQ24/list_tests.json: failed with exit status 1 and output: - adb: error: remote object '/sdcard/temp_file-b95fe3f420b55.json' does not exist step returned non-zero exit code: 1