Auto-tools/Projects/Autophone: Difference between revisions

Jump to navigation Jump to search
Line 34: Line 34:


* status: describes the status of all known phones.
* status: describes the status of all known phones.
* reenable <phone id>: attempts to reenable a phone after AutoPhone has disabled it. Use this if a phone required manual maintenance and is being added back to the pool.
* disable <serial num>: disables a phone. Any currently executing test run will complete, but no more will be started.
* trigger: start a test run against the given build.
* reenable <serial num>: attempts to reenable a phone after AutoPhone has disabled it. Use this if a phone required manual maintenance and is being added back to the pool.
* trigger <file or path>: start a test run against the given build, which can be a path to a local file or a URL.
* stop: stops autophone.


== Pulse Listener Thread ==
== Pulse Listener Thread ==


A dedicated thread listens to the pulse server via the pulsebuildmonitor Python package. When a new build is detected, a message is passed to the worker thread to start a test run.
A dedicated thread listens to the pulse server via the pulsebuildmonitor Python package. When a new build is detected, the workers either start a new test run, if one isn't currently running, or they queue the request.
 
== Worker Status Thread ==
 
The worker status thread simply listens for updates from the worker subprocesses and makes them available to the status command.
Confirmed users
1,927

edits

Navigation menu