Closed
Bug 1236469
Opened 10 years ago
Closed 10 years ago
we should catch ADBError when using ADBHost().devices()
Categories
(Testing :: mozregression, defect)
Testing
mozregression
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.
Comment 1•10 years ago
|
||
Hey Julien,
I would like to work on this bug. Can you please assign it to me !!!
| Reporter | ||
Comment 2•10 years ago
|
||
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
| Assignee | ||
Comment 3•10 years ago
|
||
Please assign me to this if no progress occurs over some time ?
| Reporter | ||
Comment 4•10 years ago
|
||
(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)
| Reporter | ||
Comment 5•10 years ago
|
||
Landed in https://github.com/mozilla/mozregression/commit/2e3037f0d7a384877f2dd0c42c4da7410b6e2d22.
Thanks Sarthak :)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 6•10 years ago
|
||
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.
Description
•