Lines Matching full:telemetry
26 TELEMETRY_RUN_TESTS_SCRIPT = 'tools/telemetry/run_tests'
30 DUT_CHROME_ROOT = '/usr/local/telemetry/src'
41 # A list of telemetry tests that cannot run on dut.
49 """Class to represent the results of a telemetry run.
51 This class represents the results of a telemetry run, whether it ran
59 @param stdout: Stdout of the telemetry run.
60 @param stderr: Stderr of the telemetry run.
75 The TelemetryRunner class, today, has various ways to execute the telemetry
98 """Class responsible for telemetry for a given build.
100 This class will extract and install telemetry environment and is
101 responsible for executing the telemetry benchmarks and returning their
106 """Initializes this telemetry runner instance.
108 If telemetry is not installed for this build, it will be.
111 @param telemetry_on_dut: If set, telemetry itself (the test harness)
114 @param is_lacros: If true, run telemetry on lacros chrome, by defining
125 logging.debug('Telemetry Path: %s', self._telemetry_path)
136 """Set up telemetry environment."""
140 """Build command to execute telemetry based on script and benchmark.
142 @param script: Telemetry script we want to run. For example:
143 [path_to_telemetry_src]/src/tools/telemetry/run_tests.
153 @returns Full telemetry command to execute the script.
187 # use different telemetry argument to set it up.
204 """Build command to copy the telemetry results from the work directory.
284 """Runs telemetry on a dut.
286 @param script: Telemetry script we want to run. For example:
287 [path_to_telemetry_src]/src/tools/telemetry/run_tests.
295 @returns A TelemetryResult Instance with the results of this telemetry
302 logging.info('Running Telemetry: %s', telemetry_cmd)
310 """Runs telemetry on a dut.
335 """Runs a telemetry test on a dut.
337 @param script: Which telemetry test script we want to run. Can be
338 telemetry's base test script or the ChromeOS specific
340 @param test: Telemetry test we want to run.
343 @returns A TelemetryResult Instance with the results of this telemetry
346 logging.debug('Running telemetry test: %s', test)
351 raise error.TestFail('Telemetry test %s failed.' % test)
355 """Runs a telemetry test on a dut.
357 @param test: Telemetry test we want to run.
358 @param args: additional list of arguments to pass to the telemetry
361 @returns A TelemetryResult Instance with the results of this telemetry
371 """Runs a telemetry benchmark on a dut.
378 @param args: additional list of arguments to pass to the telemetry
381 telemetry execution script.
383 @returns A TelemetryResult Instance with the results of this telemetry
386 logging.debug('Running telemetry benchmark: %s', benchmark)
410 raise error.TestWarn('Telemetry Benchmark: %s'
414 raise error.TestFail('Telemetry Benchmark: %s'
418 raise error.TestWarn('Telemetry Benchmark: %s exited successfully,'
431 @param args: additional list of arguments to pass to the telemetry
434 @returns A TelemetryResult instance with the results of this telemetry
460 @param test_name: Name of the telemetry test.
462 # Get DEPs using host's telemetry.
607 """Specialized TelemetryRunner to handle local telemetry test runs."""
612 The telemetry test will run locally. Depending on whether
630 """Setup Telemetry to use local path to its sources.
639 logging.debug('Setting up telemetry for local testing')
654 raise error.TestError('Telemetry source directory not found.')
660 """Handle telemetry test setup on the drone.
663 manager. Since the setup for telemetry environment happens on the drone, it
672 The telemetry test will run on the drone. Depending on whether
696 logging.info('Cleaning up the telemetry environment on the drone.')
700 """Setup Telemetry on the drone."""
701 logging.debug('Setting up telemetry on the drone')
709 logging.debug('Setting up telemetry for build: %s', info.build)
715 raise error.AutotestError('Telemetry Environment could not be '