/external/autotest/server/ |
autoupdate_utils.py | 19 DEVSERVER_LOG = os.path.join(CWD, 'devserver.log') 24 """Copy devserver source into current working directory. 41 """Start devserver 44 logging.info('Devserver is already running') 45 raise error.TestFail('Please kill devserver before running test.') 47 logging.info('Starting devserver...') 50 cmd = 'python devserver.py %s >%s 2>&1 &' % (opts, DEVSERVER_LOG) 51 logging.info('devserver cmd: %s' % cmd) 56 raise Exception('Could not start devserver: %s' % e.child_traceback) 60 """Kill devserver [all...] |
/external/autotest/site_utils/stats/ |
devserverinfo.py | 12 @registry.loop_stat('devserver') 15 Submits a stat for the number of devserver processes that are on the server. 19 out = infra.execute_command(server, 'ps -C devserver.py| wc -l')
|
/external/autotest/client/common_lib/cros/ |
dev_server.py | 35 # Number of seconds for caller to poll devserver's is_staged call to check if 38 # Artifacts that should be staged when client calls devserver RPC to stage an 41 # Artifacts that should be staged when client calls devserver RPC to stage an 46 # Artifacts that should be staged when client calls devserver RPC to stage an 50 # Artifacts that should be staged when client calls devserver RPC to stage an 55 # Number of seconds for the call to get devserver load to time out. 58 # Android artifact path in devserver 62 # Return value from a devserver RPC indicating the call succeeded. 131 """A decorator to use with remote devserver calls. 135 The method retries on urllib2.URLError to avoid devserver flakiness [all...] |
dev_server_unittest.py | 40 """Unit tests for dev_server.DevServer. 62 """One devserver, verify we resolve to it.""" 64 self.mox.StubOutWithMock(dev_server.DevServer, 'devserver_healthy') 67 dev_server.DevServer.devserver_healthy(DevServerTest._HOST).AndReturn( 70 devserver = dev_server.ImageServer.resolve('my_build') 71 self.assertEquals(devserver.url(), DevServerTest._HOST) 81 # Mock out bad ping failure to bad_host by raising devserver exception. 104 # Mock out bad ping failure to bad_host by raising devserver exception. 123 self.mox.StubOutWithMock(dev_server.DevServer, 'devserver_healthy') 130 dev_server.DevServer.devserver_healthy(host0_expected).AndReturn(True [all...] |
/external/autotest/site_utils/ |
devserver_history.py | 7 # Script to check the history of stage calls made to devserver. 39 # Count of images with duplicated stages on each devserver: 59 """A container to store the information of devserver stage call. 65 self.devserver = hit['devserver'] 82 regex_constraints=None, devserver=None, size=1e7): 83 """Gets all devserver calls from es db with the given constraints. 89 @param devserver: name of devserver to query for. If it's set to None, 95 eqs = [('_type', 'devserver')] [all...] |
stats_poller.py | 31 for devserver in infra.devserver_servers(): 32 for f in pollers.get('devserver', []): 33 threads.append(threading.Thread(target=f, args=(devserver,)))
|
create_attr_whitelist.py | 28 devserver = dev_server.ImageServer('') 29 suite_list = Suite.list_all_suites('', devserver, fs_getter)
|
suite_enumerator.py | 64 devserver = dev_server.ImageServer('') 66 for suite in Suite.list_all_suites('', devserver, fs_getter): 70 suite = Suite.create_from_name(args[0], {}, '', devserver, fs_getter)
|
lxc_functional_test.py | 34 # Ideally the test should stage a build on devserver and download the 35 # autotest_server_package from devserver. This test is focused on testing 36 # container, so it's prefered to avoid dependency on devserver. 219 parser.add_argument('-r', '--devserver', type=str, 220 help='Test devserver to ssh to.', 257 if options.devserver: 258 test_ssh(container, options.devserver)
|
/external/chromium-trace/catapult/perf_insights/perf_insights/ui/ |
corpus_drivers.html | 19 <polymer-element name="pi-driver-devserver" 20 display-name="DevServer (local)" 54 display-name="Cloud Mapper (local devserver)"
|
/external/chromium-trace/catapult/perf_insights/perf_insights_examples/ |
perf_insights_viewer.html | 43 <pi-driver-devserver id="pi-driver-devserver"> 44 </pi-driver-devserver>
|
/external/autotest/server/cros/ |
autoupdate_utils.py | 25 This method guarantees that the devserver associated with the autoupdater 45 # Get the devserver url and build (image) from the repo url e.g. 48 devserver = dev_server.ImageServer(ds_url) 49 devserver.stage_artifacts(build, ['full_payload', 'stateful']) 52 return autoupdater.ChromiumOSUpdater(devserver.get_update_url(build),
|
/external/autotest/site_utils/deploy_autotest/ |
lab_deploy_helper.py | 30 """Returns the list of devserver-type machines used by the infrastructure/ 47 """SSH's in to |host| and restarts the devserver instance. 49 This method uses puppet apply to restart the devserver instance on host. 51 logging.info('METHOD STUB called for restarting devserver on %s', host) 56 """SSH's in to |host| and syncs the devserver. 58 This method uses puppet apply to sync the devserver instance on host. 60 logging.info('METHOD STUB called for syncing devserver on %s', host)
|
README.yo | 27 lab_deploy.py sync devserver 28 Syncs all the devserver code.
|
/external/autotest/server/site_tests/autoupdate_EndToEndTest/ |
autoupdate_EndToEndTest.py | 319 """Verifies update event chains on a devserver update log.""" 342 from a devserver. If new events are encountered, the first of them is 345 @return The next new event in the host log, as reported by devserver; 349 # (Re)read event log from devserver, if necessary. 380 """Raised when a omaha devserver fails to start.""" 384 """Spawns a test-private devserver instance.""" 385 # How long to wait for a devserver to start. 388 # How long to sleep (seconds) between checks to see if a devserver is up. 391 # Max devserver execution time (seconds); used with timeout(1) to ensure we 397 """Starts a private devserver instance, operating at Omaha capacity [all...] |
/external/autotest/contrib/ |
stage_build.py | 4 Nice little script to quickly stage a build onto a devserver. 19 parser.add_argument('--server', help='OPTIONAL: e.g. devserver.cros') 31 """Stage a build on the devserver."""
|
/external/autotest/site_utils/admin/ |
start_dev_server.sh | 29 python devserver.py 8080 --archive_dir ${IMAGES_PATH} -t &>/dev/null& 37 ps $(cat ${PID_FILE}) | grep -q devserver.py || start_dev_server
|
dev_manifest.xml | 15 <project path="autotest/site_utils/devserver"
|
clean_staged_images.py | 9 devserver. It walks through the files in the images folder, check each found 29 # This filename must be kept in sync with devserver's downloader.py 75 @param root: root directory that devserver used to stage images, e.g., 98 on the chromeos-devserver this is ~chromeos-test/images/
|
/external/autotest/server/control_segments/ |
stage_server_side_package | 13 # Url to server-side package staged on devserver.
|
/external/autotest/site_utils/autoupdate/ |
import_common.py | 17 @param module_name: Name of the module e.g. devserver.
|
/external/autotest/server/site_tests/autoupdate_CatchBadSignatures/ |
control | 39 and then start devserver.py outside the chroot: 41 $ src/platform/dev/devserver.py
|
/external/autotest/server/site_tests/provision_AutoUpdate/ |
provision_AutoUpdate.py | 51 """Log stats whether host and devserver are in the same subnet. 54 @param devserver_url: Url to the devserver. 110 # stateful. If something happened where the devserver doesn't have one 112 # Therefore, we require the devserver to also have autotest staged, so 114 # out because the devserver that its job_repo_url is set to is missing 117 # Add an asynchronous staging call so that we can ask the devserver to
|
/external/autotest/server/site_tests/autoupdate_Rollback/ |
control | 34 1) Setup your devserver in your shadow config that your DUT can reach. 35 2) Start your devserver and stage the image you want for example:
|
/external/autotest/ |
.gitignore | 59 site_utils/devserver/
|