Home
last modified time | relevance | path

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

/tools/asuite/atest/bazel/runner/src/main/protobuf/
Dfailure_details.proto29 uint32 exit_code = 1; field
176 INTERRUPTED_UNKNOWN = 0 [(metadata) = { exit_code: 8 }];
179 INTERRUPTED = 28 [(metadata) = { exit_code: 8 }];
183 DEPRECATED_BUILD = 4 [(metadata) = { exit_code: 8 }];
184 DEPRECATED_BUILD_COMPLETION = 5 [(metadata) = { exit_code: 8 }];
185 DEPRECATED_PACKAGE_LOADING_SYNC = 6 [(metadata) = { exit_code: 8 }];
186 DEPRECATED_EXECUTOR_COMPLETION = 7 [(metadata) = { exit_code: 8 }];
187 DEPRECATED_COMMAND_DISPATCH = 8 [(metadata) = { exit_code: 8 }];
188 DEPRECATED_INFO_ITEM = 9 [(metadata) = { exit_code: 8 }];
189 DEPRECATED_AFTER_QUERY = 10 [(metadata) = { exit_code: 8 }];
[all …]
Dbuild_event_stream.proto515 int32 exit_code = 2; field
682 int32 exit_code = 7; field
813 ExitCode exit_code = 3; field
/tools/asuite/atest/
Dbug_detector.py40 def __init__(self, argv, exit_code, history_file=None): argument
49 self.exit_code = exit_code
102 if latest.get(_LATEST_EXIT_CODE, self.exit_code) == self.exit_code:
115 _LATEST_EXIT_CODE: self.exit_code,
Dtest_runner_handler_unittest.py151 exit_code = invocation.run_all_tests(mock.MagicMock())
153 self.assertEqual(0, exit_code)
166 exit_code = invocation.run_all_tests(mock.MagicMock())
168 self.assertEqual(1, exit_code)
Datest_main.py1468 exit_code = ExitCode.SUCCESS
1470 exit_code |= invocation.run_all_tests(reporter)
1473 return reporter.print_summary() | exit_code
1522 exit_code = _main( variable
1528 detector = bug_detector.BugDetector(final_args, exit_code)
1529 if exit_code not in EXIT_CODES_BEFORE_TEST:
1538 sys.exit(exit_code)
Datest_utils.py988 exit_code=ExitCode.COLLECT_ONLY_FILE_NOT_FOUND,
/tools/asuite/atest/metrics/
Dmetrics_utils.py78 def handle_exc_and_send_exit_event(exit_code): argument
92 send_exit_event(exit_code, stacktrace=stacktrace, logs=logs)
95 def send_exit_event(exit_code, stacktrace='', logs=''): argument
105 exit_code=exit_code,
Dmetrics.py52 exit_code = constants.EXTERNAL variable in AtestExitEvent
/tools/asuite/atest/bazel/resources/rules/
Dtradefed_test.sh.template53 exit_code=$(<${exit_code_file})
60 if [ ${exit_code} -ne 0 ]
62 echo "Test failed with exit code ${exit_code}"
63 exit ${exit_code}
/tools/asuite/aidegen/lib/
Daidegen_metrics.py81 def ends_asuite_metrics(exit_code, stacktrace='', logs=''): argument
96 exit_code,
102 def send_exception_metrics(exit_code, stack_trace, log, err_msg): argument
122 ends_asuite_metrics(exit_code, stack_trace, log)
Daidegen_metrics_unittest.py54 exit_code = constant.EXIT_CODE_NORMAL
57 aidegen_metrics.ends_asuite_metrics(exit_code)
/tools/asuite/aidegen/
Daidegen_main.py518 exit_code = constant.EXIT_CODE_NORMAL
548 exit_code = constant.EXIT_CODE_EXCEPTION
551 exit_code = constant.EXIT_CODE_AIDEGEN_EXCEPTION
554 exit_code = constant.EXIT_CODE_NORMAL
555 if exit_code is not constant.EXIT_CODE_NORMAL:
560 aidegen_metrics.ends_asuite_metrics(exit_code, traceback_str,
569 if not launch_ide and exit_code is constant.EXIT_CODE_NORMAL:
570 aidegen_metrics.ends_asuite_metrics(exit_code)
/tools/acloud/metrics/
Dmetrics_test.py48 exit_code = 0
50 metrics.LogExitEvent(exit_code)
52 exit_code, stacktrace="", logs="")
Dmetrics.py65 def LogExitEvent(exit_code, stacktrace="", logs=""): argument
79 metrics_utils.send_exit_event(exit_code, stacktrace=stacktrace,
/tools/tradefederation/core/res/perfetto/
Drecord_android_trace494 exit_code = adb('push', '--sync', tracebox_bin, perfetto_cmd).wait()
495 exit_code |= adb('shell', 'chmod 755 ' + perfetto_cmd).wait()
496 if exit_code != 0:
528 exit_code = adb('push', '--sync', args.config, on_device_config).wait()
529 if exit_code != 0:
575 exit_code = proc.wait()
577 if exit_code != 0:
/tools/asuite/adevice/src/
Dmetrics.rs37 fn add_exit_event(&mut self, output: &str, exit_code: i32); in add_exit_event()
95 fn add_exit_event(&mut self, output: &str, exit_code: i32) { in add_exit_event()
98 exit_event.set_exit_code(exit_code); in add_exit_event()
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcontest.py180 exit_code = int(match.group(0))
195 'Contest testplan finished with exit code {}.'.format(exit_code))
197 if exit_code in [0, 1]:
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py96 def __init__(self, exit_code): argument
98 self.exit_code = exit_code
101 tf_error_reason = self._get_exit_reason(self.exit_code)
107 def _get_exit_reason(self, exit_code): argument
108 if 0 < exit_code < len(_TF_EXIT_CODE):
109 return atest_utils.mark_red(_TF_EXIT_CODE[exit_code])
/tools/asuite/adevice/src/protos/
Duser_log.proto25 optional int32 exit_code = 2; field
/tools/tradefederation/core/javatests/res/testtype/
Dpython_output4.txt297 raise ShellError(cmd, stdout, stderr, exit_code)
308 raise ShellError(cmd, stdout, stderr, exit_code)
319 raise ShellError(cmd, stdout, stderr, exit_code)
329 raise ShellError(cmd, stdout, stderr, exit_code)
/tools/tradefederation/core/atest_proto/
Dexternal_user_log.proto20 optional int32 exit_code = 2; field
Dinternal_user_log.proto24 optional int32 exit_code = 2; field
/tools/asuite/aidegen/idea/
Dxml_gen.py110 exit_code=constant.XML_PARSING_FAILURE, stack_trace=xml_err,
/tools/asuite/atest/proto/
Dexternal_user_log.proto20 optional int32 exit_code = 2; field
Dinternal_user_log.proto24 optional int32 exit_code = 2; field