Closed Bug 1236469 Opened 10 years ago Closed 10 years ago

we should catch ADBError when using ADBHost().devices()

Categories

(Testing :: mozregression, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: parkouss, Assigned: sarthakmunshi, Mentored)

Details

(Whiteboard: [good first bug][lang=python])

Currently mozregression check for OSError: https://github.com/mozilla/mozregression/blob/master/mozregression/launchers.py#L289 We should not do that anymore, this have been fixed upstream and mozdevice now raise: mozdevice.adb.ADBError: [Errno 2] No such file or directory: adb is not executable. in that case. So we should only try/except for ADBError, and raise a custom LauncherNotRunnable error with the same message.
Hey Julien, I would like to work on this bug. Can you please assign it to me !!!
Hi Akshat, Sure! Great you want to look at it. :) Ask me if you have any question, once you have read comment 0.
Assignee: nobody → akshatjain9
Status: NEW → ASSIGNED
Please assign me to this if no progress occurs over some time ?
(In reply to Akshat Jain from comment #1) > Hey Julien, > I would like to work on this bug. Can you please assign it to me !!! Ok, I messed up somewhere - Sarthak had a PR ready that I missed, and he fixed the bug. He should have said it in the bug (that's for the next time!) and so I missed it. Akshat, I'm sorry for the confusion, I'll try to find another bug and will CC you. Maybe you could be interested by bug 1237057 as a start ?
Assignee: akshatjain9 → sarthakmunshi
Flags: needinfo?(akshatjain9)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Yeah sure Julien, I am interested in Bug 1237057 !!
Flags: needinfo?(akshatjain9)
You need to log in before you can comment on or make changes to this bug.