Closed Bug 1517827 Opened 5 years ago Closed 5 years ago

Intermittent bitbar | ADBDevice.__init__: ls could not be found attempting to clean up device

Categories

(Testing :: Mozbase, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1504757

People

(Reporter: intermittent-bug-filer, Assigned: bc)

References

Details

(Keywords: intermittent-failure)

Filed by: cbrindusan [at] mozilla.com

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

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

[taskcluster]  host: bitbar-ubuntu-223
[taskcluster]  hostBootTime: 2018-12-19T01:49:07Z
[taskcluster]  provisionerId: proj-autophone
[taskcluster]  runId: 0
[taskcluster]  taskId: WUEAidAaQgiRmHj2KskSJQ
[taskcluster]  tasksSinceStartup: 0
[taskcluster]  workerGroup: bitbar
[taskcluster]  workerId: pixel2-23
[taskcluster]  workerType: gecko-t-ap-unit-p2
Begin script.py
Dockerfile version 20190104T081955
Current working directory: /builds/worker/tmp/FWpHeIubTwuafXG7VFuuOw
Bitbar test run: https://mozilla.testdroid.com/#testing/device-session/250333/276063/4152216
payload = {
    "artifacts": [
        {
            "path": "/builds/worker/artifacts", 
            "expires": "2020-01-04T17:29:19.505Z", 
            "type": "directory", 
            "name": "public/test/"
        }, 
        {
            "path": "/builds/worker/workspace/build/logs", 
            "expires": "2020-01-04T17:29:19.505Z", 
            "type": "directory", 
            "name": "public/logs/"
        }, 
        {
            "path": "/builds/worker/workspace/build/blobber_upload_dir", 
            "expires": "2020-01-04T17:29:19.505Z", 
            "type": "directory", 
            "name": "public/test_info/"
        }
    ], 
    "command": [
        "./test-linux.sh", 
        "--installer-url=https://queue.taskcluster.net/v1/task/eN3rVybtTtyNX6EJZDBPGw/artifacts/public/build/target.apk", 
        "--test-packages-url=https://queue.taskcluster.net/v1/task/eN3rVybtTtyNX6EJZDBPGw/artifacts/public/build/target.test_packages.json", 
        "--test-suite=jittest-chunked", 
        "--total-chunk=10", 
        "--this-chunk=8", 
        "--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": "1612587e16bda67fe8814a14779544d8de2325dd", 
        "WORKING_DIR": "/builds/worker", 
 "MOZHARNESS_SCRIPT": "android_hardware_unittest.py", 
        "MOZHARNESS_URL": "https://queue.taskcluster.net/v1/task/eN3rVybtTtyNX6EJZDBPGw/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/eN3rVybtTtyNX6EJZDBPGw/artifacts/public/build/target.apk", 
        "WORKSPACE": "/builds/worker/workspace"
    }, 
    "context": "https://hg.mozilla.org/integration/autoland/raw-file/1612587e16bda67fe8814a14779544d8de2325dd/taskcluster/scripts/tester/test-linux.sh"
}
setting HOME to /builds/worker
Creating /builds/worker/workspace
[
    {
        "state": "device", 
        "usb": "2-5.1.3", 
        "device": "walleye", 
        "model": "Pixel_2", 
        "device_serial": "HT83K1A02597", 
        "product": "walleye", 
        "transport_id": "1"
    }
]
/tmp/adb.0.log:
--- adb starting (pid 26) ---
adb I 01-04 18:06:32    26    26 main.cpp:56] Android Debug Bridge version 1.0.40
adb I 01-04 18:06:32    26    26 main.cpp:56] Version 4986621
adb I 01-04 18:06:32    26    26 main.cpp:56] Installed as /builds/worker/android-sdk-linux/platform-tools/adb
adb I 01-04 18:06:32    26    26 main.cpp:56] 
adb I 01-04 18:06:32    26    26 auth.cpp:421] adb_auth_init...
adb I 01-04 18:06:32    26    26 auth.cpp:174] read_key_file '/root/.android/adbkey'...
adb I 01-04 18:06:32    26    26 auth.cpp:396] adb_auth_inotify_init...
adb I 01-04 18:06:32    26    33 transport.cpp:294] HT83K1A02597: write thread spawning
adb I 01-04 18:06:32    26    32 transport.cpp:281] HT83K1A02597: read thread spawning
adb I 01-04 18:06:32    26    26 auth.cpp:473] Calling send_auth_response
adb I 01-04 18:06:32    26    26 adb.cpp:145] HT83K1A02597: offline
Connecting to Android device HT83K1A02597
2019-01-04 18:06:36,023 INFO Using adb 1.0.40
2019-01-04 18:06:36,335 INFO adbd not restarted as root
2019-01-04 18:06:36,940 INFO su -c supported
TEST-UNEXPECTED-FAIL | bitbar | ADBDevice.__init__: ls could not be found attempting to clean up device

All of the failures this last week were due to the ADBDevice.init: ls could not be found. All but one were during the initial setup of the task on Bitbar. Once was during an actual test.

The underlying issue is during the ADBDevice initialization in adb.py.

aerickson: When we do have a fix for this, we'll need to update mozdevice in the Bitbar docker image but we're not ready yet. :-)

Assignee: nobody → bob
Status: NEW → ASSIGNED
Component: Testing → Mozbase
Product: Firefox for Android → Testing
See Also: → 1504757
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.