Closed Bug 1510059 Opened 6 years ago Closed 5 years ago

Intermittent [worker:error] ADBTimeoutError: args: adb -s HT83N1A00394 wait-for-device shell id; echo rc=$?, exitcode: None, stdout:

Categories

(Firefox for Android Graveyard :: Testing, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: dluca [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=213923514&repo=autoland

https://queue.taskcluster.net/v1/task/ftobUhblR7Wr_ONCbaX3RQ/runs/0/artifacts/public/logs/live_backing.log

--- adb starting (pid 12) ---
adb I 11-26 19:56:12    12    12 main.cpp:56] Android Debug Bridge version 1.0.40
adb I 11-26 19:56:12    12    12 main.cpp:56] Version 4986621
adb I 11-26 19:56:12    12    12 main.cpp:56] Installed as /builds/worker/android-sdk-linux/platform-tools/adb
adb I 11-26 19:56:12    12    12 main.cpp:56] 
adb I 11-26 19:56:12    12    12 auth.cpp:421] adb_auth_init...
adb I 11-26 19:56:12    12    12 auth.cpp:174] read_key_file '/builds/worker/.android/adbkey'...
adb I 11-26 19:56:12    12    12 auth.cpp:396] adb_auth_inotify_init...
adb I 11-26 19:56:12    12    18 transport.cpp:281] HT83N1A00394: read thread spawning
adb I 11-26 19:56:12    12    19 transport.cpp:294] HT83N1A00394: write thread spawning
adb I 11-26 19:56:12    12    12 auth.cpp:473] Calling send_auth_response
adb I 11-26 19:56:12    12    12 adb.cpp:145] HT83N1A00394: offline
adb I 11-26 19:56:32    12    18 transport.cpp:285] HT83N1A00394: read failed: Cannot send after transport endpoint shutdown
adb I 11-26 19:56:32    12    12 adb.cpp:145] HT83N1A00394: offline
adb I 11-26 19:56:32    12    12 transport.cpp:337] BlockingConnectionAdapter(HT83N1A00394): stopping
adb I 11-26 19:56:32    12    12 transport.cpp:355] BlockingConnectionAdapter(HT83N1A00394): stopped
adb I 11-26 19:56:32    12    12 transport.cpp:269] BlockingConnectionAdapter(HT83N1A00394): destructing
adb I 11-26 19:56:32    12    12 transport.cpp:329] BlockingConnectionAdapter(HT83N1A00394): already stopped

payload = {
    "artifacts": [
        {
            "path": "/builds/worker/artifacts", 
            "expires": "2019-11-26T19:24:56.558Z", 
            "type": "directory", 
            "name": "public/test/"
        }, 
        {
            "path": "/builds/worker/workspace/build/logs", 
            "expires": "2019-11-26T19:24:56.558Z", 
            "type": "directory", 
            "name": "public/logs/"
        }, 
        {
            "path": "/builds/worker/workspace/build/blobber_upload_dir", 
            "expires": "2019-11-26T19:24:56.558Z", 
            "type": "directory", 
            "name": "public/test_info/"
        }
    ], 
    "command": [
        "./test-linux.sh", 
        "--installer-url=https://queue.taskcluster.net/v1/task/V6RJeOGFRgyh1kojFpC6Pw/artifacts/public/build/target.apk", 
        "--test-packages-url=https://queue.taskcluster.net/v1/task/V6RJeOGFRgyh1kojFpC6Pw/artifacts/public/build/target.test_packages.json", 
        "--test-suite=mochitest-media", 
        "--total-chunk=3", 
        "--this-chunk=2", 
        "--download-symbols=ondemand"
    ], 
    "env": {
        "XPCOM_DEBUG_BREAK": "warn", 
        "MOZ_NODE_PATH": "/usr/local/bin/node", 
        "MOZ_HIDE_RESULTS_TABLE": "1", 
        "TASKCLUSTER_WORKER_TYPE": "proj-autophone/gecko-t-ap-unit-p2", 
        "GECKO_HEAD_REV": "47e8f9bb6fc26d5b42bae3f8459ae5317a22e918", 
        "WORKING_DIR": "/builds/worker", 
        "MOZHARNESS_SCRIPT": "android_hardware_unittest.py", 
        "MOZHARNESS_URL": "https://queue.taskcluster.net/v1/task/V6RJeOGFRgyh1kojFpC6Pw/artifacts/public/build/mozharness.zip", 
        "MOZ_AUTOMATION": "1", 
        "NO_FAIL_ON_TEST_ERRORS": "1", 
        "GECKO_HEAD_REPOSITORY": "https://hg.mozilla.org/integration/autoland", 
        "MOZ_NO_REMOTE": "1", 
        "MOZHARNESS_CONFIG": "android/android_common.py android/android_hw.py", 
        "MOZILLA_BUILD_URL": "https://queue.taskcluster.net/v1/task/V6RJeOGFRgyh1kojFpC6Pw/artifacts/public/build/target.apk", 
        "WORKSPACE": "/builds/worker/workspace"
    }, 
    "context": "https://hg.mozilla.org/integration/autoland/raw-file/47e8f9bb6fc26d5b42bae3f8459ae5317a22e918/taskcluster/scripts/test[worker:error] Traceback (most recent call last):
[worker:error]   File "/builds/taskcluster/script.py", line 92, in main
[worker:error]     device = ADBAndroid(device=env['DEVICE_SERIAL'])
[worker:error]   File "/usr/local/lib/python2.7/dist-packages/mozdevice/adb_android.py", line 96, in __init__
[worker:error]     require_root=require_root)
[worker:error]   File "/usr/local/lib/python2.7/dist-packages/mozdevice/adb.py", line 618, in __init__
[worker:error]     self._check_adb_root(timeout=timeout)
[worker:error]   File "/usr/local/lib/python2.7/dist-packages/mozdevice/adb.py", line 753, in _check_adb_root
[worker:error]     self._have_root_shell = self._check_root_user(timeout=timeout)
[worker:error]   File "/usr/local/lib/python2.7/dist-packages/mozdevice/adb.py", line 745, in _check_root_user
[worker:error]     if self.shell_output("id", timeout=timeout).find(uid) != -1:
[worker:error]   File "/usr/local/lib/python2.7/dist-packages/mozdevice/adb.py", line 1362, in shell_output
[worker:error]     raise ADBTimeoutError("%s" % adb_process)
[worker:error] ADBTimeoutError: args: adb -s HT83N1A00394 wait-for-device shell id; echo rc=$?, exitcode: None, stdout: 
er/test-linux.sh"
The real error is the ABDTimeoutError and the fact that pixel2-08 was offline when the test started.
Summary: Intermittent [worker:error] File "/builds/taskcluster/script.py", line 92, in main → Intermittent [worker:error] ADBTimeoutError: args: adb -s HT83N1A00394 wait-for-device shell id; echo rc=$?, exitcode: None, stdout:
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.