Home
last modified time | relevance | path

Searched refs:site_utils (Results 1 – 25 of 133) sorted by relevance

123456

/external/autotest/server/
Dlab_status_unittest.py14 from autotest_lib.server import site_utils
130 result = site_utils._get_lab_status(_FAKE_URL)
145 result = site_utils._get_lab_status(_FAKE_URL)
160 result = site_utils._get_lab_status(_FAKE_URL)
169 for _ in range(site_utils._MAX_LAB_STATUS_ATTEMPTS):
174 result = site_utils._get_lab_status(_FAKE_URL)
183 for _ in range(site_utils._MAX_LAB_STATUS_ATTEMPTS):
188 result = site_utils._get_lab_status(_FAKE_URL)
217 site_utils._decode_lab_status(lab_status, _LIVEBUILD)
218 site_utils._decode_lab_status(lab_status, _DEADBUILD)
[all …]
Dsite_utils_unittest.py10 from autotest_lib.server import site_utils
38 info = site_utils.parse_job_name(suite_job_name)
42 info = site_utils.parse_job_name(test_job_name)
/external/autotest/utils/
Drelease76 if (test -x $BASE_DIR/site_utils/site_sync_code)
79 su $BECOME_USER -c $BASE_DIR/site_utils/site_sync_code || exit 1
137 if (test -x $BASE_DIR/site_utils/site_install_cli)
140 su $BECOME_USER -c $BASE_DIR/site_utils/site_install_cli || fatal
150 if (test -x $BASE_DIR/site_utils/site_restart_apache)
153 su $BECOME_USER -c $BASE_DIR/site_utils/site_restart_apache || fatal
158 if (test -x $BASE_DIR/site_utils/site_restart_final)
161 su $BECOME_USER -c $BASE_DIR/site_utils/site_restart_final || fatal
/external/autotest/client/site_tests/performance_Tracker/
Dperformance_Tracker.py10 from autotest_lib.client.bin import site_utils
35 cpu_usage_start = site_utils.get_cpu_usage()
37 cpu_usage_end = site_utils.get_cpu_usage()
38 return site_utils.compute_active_cpu_time(cpu_usage_start,
48 total_memory = site_utils.get_mem_total()
49 return (total_memory - site_utils.get_mem_free()) * 100 / total_memory
/external/autotest/client/site_tests/enterprise_KioskPerf/
Denterprise_KioskPerf.py8 from autotest_lib.client.bin import site_utils, test, utils
36 cpu_usage_start = site_utils.get_cpu_usage()
38 cpu_usage_end = site_utils.get_cpu_usage()
39 return site_utils.compute_active_cpu_time(cpu_usage_start,
45 total_memory = site_utils.get_mem_total()
46 return (total_memory - site_utils.get_mem_free()) * 100 / total_memory
/external/autotest/client/site_tests/hardware_StorageFio/
Dhardware_StorageFio.py6 from autotest_lib.client.bin import fio_util, site_utils, test, utils
81 dev = site_utils.get_fixed_dst_drive()
83 if dev == site_utils.get_root_device():
88 self.__filename = site_utils.get_free_root_partition()
134 elif dev in ['', site_utils.get_root_device()]:
/external/autotest/
D.gitignore57 site_utils/autotest_private/
58 site_utils/autotest_tools/
59 site_utils/devserver/
60 site_utils/buildbot_src/
DPRESUBMIT.cfg11 hook1 = ./site_utils/presubmit_hooks/check_suite_scheduler.py
12 hook2 = ./site_utils/presubmit_hooks/check_control_files.py
17 hook4 = ./site_utils/presubmit_hooks/check_json_files.py
/external/autotest/docs/
Dtest-droid.md42 $ ./site_utils/test_droid.py <DUT Serial Number> <Test Name>
48 $ ./site_utils/test_droid.py 7d52318 brillo_WhitelistedGtests
54 $ ./site_utils/test_droid.py 7d52318 \
61 $ ./site_utils/test_droid.py 7d52318 suite:brillo-bvt
76 $ ./site_utils/test_droid.py emulator-5554,7d52318 testbed_DummyTest
105 $ ./site_utils/test_droid.py \
109 $ ./site_utils/test_droid.py \
113 $ ./site_utils/test_droid.py -r 100.96.48.119 7d52318 suite:brillo-bvt
/external/autotest/client/site_tests/platform_CryptohomeStress/
Dplatform_CryptohomeStress.py8 from autotest_lib.client.bin import site_utils, test
28 site_utils.poll_for_condition(
35 site_utils.poll_for_condition(
/external/autotest/server/cros/audio/
Daudio_test.py11 from autotest_lib.server import site_utils
14 from autotest_lib.site_utils import lxc
92 if site_utils.is_inside_chroot():
/external/autotest/site_utils/suite_scheduler/
Ddeduping_scheduler_unittest.py19 from autotest_lib.server import frontend, site_utils
46 self.mox.StubOutWithMock(site_utils, 'check_lab_status')
60 site_utils.check_lab_status(build)
62 site_utils.check_lab_status(build).AndRaise(
63 site_utils.TestLabException(message))
257 self.mox.StubOutWithMock(site_utils, 'get_sheriffs')
267 site_utils.get_sheriffs(lab_only=True).AndReturn(['deputy1', 'deputy2'])
Ddeduping_scheduler.py10 from autotest_lib.server import site_utils
70 site_utils.check_lab_status(test_source_build)
71 except site_utils.TestLabException as ex:
/external/autotest/site_utils/
Dcollect_host_stats.py20 from autotest_lib.site_utils import gmail_lib
21 from autotest_lib.site_utils import host_history
22 from autotest_lib.site_utils import host_history_utils
23 from autotest_lib.site_utils import host_label_utils
Dtest_push_unittest.py12 from autotest_lib.server import site_utils
16 from autotest_lib.site_utils import phapi_lib
17 from autotest_lib.site_utils import test_push
61 self.mox.StubOutWithMock(site_utils, 'get_test_views_from_tko')
65 site_utils.get_test_views_from_tko(1, None).AndReturn(test_views)
Dstats_poller.py11 from autotest_lib.site_utils.lib import infra
12 from autotest_lib.site_utils.stats import registry
/external/autotest/server/cros/dynamic_suite/
Dreporting.py20 from autotest_lib.server import site_utils
25 from autotest_lib.site_utils import gmail_lib
29 from autotest_lib.site_utils import phapi_lib
178 board = site_utils.ParseBuildName(self.build)[0]
179 except site_utils.ParseBuildNameException as e:
340 lab_deputies = site_utils.get_sheriffs(lab_only=True)
420 return site_utils.get_creds_abspath(cls._oauth_credentials)
459 lab_sheriff = site_utils.get_sheriffs(lab_only=True)
868 sheriffs = site_utils.get_sheriffs()
915 creds_path=site_utils.get_creds_abspath(EMAIL_CREDS_FILE))
/external/autotest/server/cros/network/
Dwifi_cell_test_base.py13 from autotest_lib.server import site_utils
15 from autotest_lib.site_utils import lxc
61 variant_name = site_utils.get_label_from_afe(host.hostname,
Dchaos_clique_utils.py15 from autotest_lib.server import site_utils
36 server=site_utils.get_global_afe_hostname())
37 return hosts.SSHHost(site_utils.lock_host_with_labels(
52 server=site_utils.get_global_afe_hostname())
53 webdriver_hostname = site_utils.lock_host_with_labels(afe, lock_manager,
/external/autotest/server/brillo/feedback/
Dclosed_loop_audio_client.py15 from autotest_lib.client.common_lib import site_utils
269 silence_peaks = site_utils.check_wav_file(
304 audible_peaks = site_utils.check_wav_file(
373 golden_file_frames = site_utils.extract_wav_frames(golden_file)
375 rec_file_frames = site_utils.extract_wav_frames(rec_file)
464 recorded_peaks = site_utils.check_wav_file(
/external/autotest/site_utils/stats/
Dhostinfo.py8 from autotest_lib.site_utils.lib import infra
9 from autotest_lib.site_utils.stats import registry
Ddevserverinfo.py8 from autotest_lib.site_utils.lib import infra
9 from autotest_lib.site_utils.stats import registry
/external/autotest/contrib/
Drun-stable-update50 site_utils/assign_stable_images.py "${OPTIONS[@]}" | tee ${TMPFILE}
60 site_utils/gmail_lib.py -s "${SUBJECT}" "${NOTIFY[@]}" <${TMPFILE}
/external/autotest/client/site_tests/video_PlaybackPerf/
Dvideo_PlaybackPerf.py9 from autotest_lib.client.bin import site_utils, test, utils
162 cpu_usage_start = site_utils.get_cpu_usage()
164 cpu_usage_end = site_utils.get_cpu_usage()
165 return site_utils.compute_active_cpu_time(cpu_usage_start,
/external/autotest/client/site_tests/hardware_StorageTrim/
Dhardware_StorageTrim.py6 from autotest_lib.client.bin import site_utils, test, utils
37 rootdev = site_utils.get_root_device()

123456