[mozdevice] - Improve boot complete detection and ensure that the device state is reset after rebooting
Categories
(Testing :: General, defect)
Tracking
(firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: bc, Assigned: bc)
Details
Attachments
(1 file)
While investigating Bug 1504757, I found during standalone testing of adb.py that ADBDevice.reboot() does not automatically reset selinux back to permissive. We can improve the situation by introducing new internal methods for checking boot state and setting the root and selinux state during initialization and after rebooting.
Assignee | ||
Comment 1•5 years ago
|
||
Add internal method _wait_for_bootcompleted to wait until sys.boot_completed and dev.bootcomplate are set.
Add internal method _initialize_boot_state to encapsulate the steps required to initialize device state.
Make sure to set device state after rebooting.
Normalize optional arguments for _test_path calls.
Add verbose logging for shell_bool.
Assignee | ||
Comment 2•5 years ago
|
||
mozdevice 3.0.3
https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=187ca1f618c6872b39866d4c8645bac90fb3b3f3
There were a number of ADBTimeoutErrors in the bitbar script which were due to Bug 1569459 / Bug 1525373
There was also one instance of ADBDevice.init: ls could not be found however it was in the bitbar script as well which did not have the updated version of mozdevice. Once this passes review, we can publish mozdevice 3.0.3 and deploy to bitbar.
Pushed by bclary@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3f37f48a9d92 [mozdevice 3.0.3] - Improve boot complete detection and ensure that the device state is reset after rebooting, r=gbrown.
Comment 4•5 years ago
|
||
bugherder |
Description
•