Closed Bug 1425383 Opened 7 years ago Closed 6 years ago

Marionette tests fail on Android 7 when 'adb forward' fails

Categories

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

defect

Tracking

(firefox59 affected)

RESOLVED WORKSFORME
Tracking Status
firefox59 --- affected

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

[task 2017-12-14T04:50:33.550Z] 04:50:33 INFO - mozdevice Detected adb 1.0.39 [task 2017-12-14T04:50:34.046Z] 04:50:34 INFO - mozdevice Detected Android sdk 24 [task 2017-12-14T04:50:44.668Z] 04:50:44 INFO - timed out waiting for profiles.ini [task 2017-12-14T04:50:46.204Z] 04:50:46 CRITICAL - {"thread": "MainThread", "level": "ERROR", "pid": 1110, "source": "Marionette test runner", "time": 1513227046197, "action": "log", "message": "Failure during harness execution", "stack": "Traceback (most recent call last):\n\n File \"/builds/worker/workspace/build/tests/marionette/harness/marionette_harness/runtests.py\", line 92, in cli\n failed = harness_instance.run()\n\n File \"/builds/worker/workspace/build/tests/marionette/harness/marionette_harness/runtests.py\", line 72, in run\n runner.run_tests(tests)\n\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/runner/base.py\", line 852, in run_tests\n self.marionette = self.driverclass(**self._build_kwargs())\n\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py\", line 621, in __init__\n self.start_binary(self.startup_timeout)\n\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py\", line 632, in start_binary\n self.instance.start()\n\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/geckoinstance.py\", line 351, in start\n self.runner.start()\n\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozrunner/base/device.py\", line 72, in start\n self.device.setup_profile(self.profile)\n\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozrunner/devices/base.py\", line 109, in setup_profile\n self.dm.pushFile(new_profiles_ini.name, self.app_ctx.remote_profiles_ini)\n\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/mozdevice/devicemanagerADB.py\", line 250, in pushFile\n (localname, destname, proc.output))\n\nDMError: Error possibly due to runner or device args: \n"} [task 2017-12-14T04:50:49.226Z] 04:50:49 INFO - mozdevice Non-zero return code (1) from ['/builds/worker/workspace/build/android-sdk-linux/platform-tools/adb', '-s', 'emulator-5554', 'forward', '--remove', 'tcp:2828'] [task 2017-12-14T04:50:49.226Z] 04:50:49 INFO - mozdevice Output: ["error: listener 'tcp:2828' not found"] [task 2017-12-14T04:50:49.226Z] 04:50:49 CRITICAL - Exception mozdevice.devicemanager.DMError: DMError() in <bound method Marionette.__del__ of <marionette_driver.marionette.Marionette object at 0x7f51f2a2b290>> ignored [task 2017-12-14T04:50:49.236Z] 04:50:49 ERROR - Return code: 1 [task 2017-12-14T04:50:49.237Z] 04:50:49 ERROR - No tests run or test summary not found Perhaps just catch the DMError here and warn.
Priority: -- → P1
I can no longer reproduce this failure. It may have been fixed when we converted to adb.py. https://treeherder.mozilla.org/#/jobs?repo=try&revision=2c3ec9a680e18cc18d1eeaa8f928d64d2db04fe6
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.