Closed Bug 856891 Opened 13 years ago Closed 10 years ago

update the smoketests to account for dead machines

Categories

(Testing :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jmaher, Assigned: jmaher)

Details

Attachments

(1 file)

While working on the smoketests, I have always been required to have a machine that is up and ready to test, not a machine in any given state. To make things more robust and reliable, I have added a reboot at the beginning of each smoketest cycle. This isn't that simple because I have needed to hack up devicemanagerSUT to not get the deviceroot and attempt connections to the device during initialization.
Comment on attachment 732144 [details] [diff] [review] fix devicemanager to not do anything on initialization (1.0) As discussed on irc, I think it might be preferable to call reboot_from_relay directly from sut_tools, since that more explicitly maps to what we're trying to do here and doesn't require adding stuff to the devicemanager constructor. r- for now, but I could be missing something. I could change my mind given a compelling argument.
Attachment #732144 - Flags: review?(wlachance) → review-
I finally got around to looking at this again, and here is what needs to be done: 1) reboot the device * fairly easy: https://hg.mozilla.org/build/tools/file/tip/sut_tools/sut_lib.py#l566 2) ensure it comes online 3) start the test #2 requires us to connect via devicemanager. I could rewrite the connection logic from devicemanager inside of sut_lib or the smoketest. Also while testing on a local panda without a relay to trigger a reboot #1 would fail without devicemanager. I am open to more suggestions...
Deprecating Testing :: Infrastructure.
Component: Infrastructure → General
sutagent is not used, devicemanagerSUT is only used for negatus, not for devices anymore.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: