Home
last modified time | relevance | path

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

123

/test/vti/test_serving/gae/webapp/src/handlers/
Dbase.py81 def handle_exception(self, exception, debug=False): argument
83 logging.exception(exception)
95 if isinstance(exception, webapp2.HTTPException):
96 status = exception.code
97 resp_dict['message'] = exception.detail
98 elif isinstance(exception, errors.FormValidationError):
99 status = exception.code
100 resp_dict['message'] = exception.msg
101 resp_dict['errors'] = exception.errors
102 self.session['form_errors'] = exception.errors
[all …]
/test/vts/utils/python/common/
Dcmd_result.py47 def __init__(self, stdout, stderr, returncode, cmd=None, exception=None): argument
53 self.AddResult(stdout, stderr, returncode, cmd=cmd, exception=exception)
88 def exception(self): member in CmdResult
95 def AddResult(self, stdout, stderr, returncode, cmd=None, exception=None): argument
111 self.exceptions.append(exception)
Dcmd_result_test.py42 None, None, None, cmd='cmd2', exception='TCP connection lost')
105 self.assertEqual(self.res_multiple_with_cmd_and_exception.exception, 'TCP connection lost')
/test/framework/harnesses/host_controller/
Dinvocation_thread.py114 logging.exception(e)
116 logging.exception(e)
131 logging.exception(e)
147 logging.exception(e)
150 logging.exception(e)
156 logging.exception("Cannot communicate with TradeFed cluster: %s\n"
161 logging.exception("Cannot communicate with TradeFed remote "
/test/framework/harnesses/host_controller/vti_interface/
Dvti_endpoint_client.py94 logging.exception(e)
128 logging.exception(e)
157 logging.exception(e)
197 logging.exception(e)
242 logging.exception(e)
267 logging.exception(e)
334 logging.exception(e)
378 logging.exception(e)
410 logging.exception(e)
437 logging.exception(e)
[all …]
/test/framework/harnesses/host_controller/build/
Dbuild_provider_pab_test.py149 self.assertEqual(str(cm.exception), expected)
170 self.assertIn(expected, str(cm.exception))
190 self.assertIn('Bad XSRF token', str(cm.exception))
210 self.assertIn('Expired XSRF token', str(cm.exception))
230 self.assertIn('Unknown response from server', str(cm.exception))
270 self.assertIn('Build list not found', str(cm.exception))
297 self.assertIn("No builds found for", str(cm.exception))
313 str(cm.exception))
Dbuild_provider_pab.py205 logging.exception(e)
243 logging.exception(e)
327 logging.exception(e)
330 logging.exception(e)
357 logging.exception(e)
490 logging.exception(e)
508 logging.exception(error)
636 logging.exception(e)
655 logging.exception(e)
728 logging.exception(e)
/test/vts/utils/python/io/
Dfile_util.py59 logging.exception(e)
86 logging.exception(e)
112 logging.exception(e)
/test/vts/utils/python/reporting/
Dreport_file_utils.py150 logging.exception(e)
178 logging.exception(e)
184 logging.exception(e)
218 logging.exception(e)
272 logging.exception(e)
/test/framework/harnesses/host_controller/utils/usb/
Dusb_utils.py73 logging.exception(e)
111 logging.exception(e)
/test/framework/harnesses/host_controller/command_processor/
Dcommand_reproduce.py101 logging.exception(e)
165 logging.exception(e)
252 logging.exception(e)
276 logging.exception(e)
Dcommand_release.py185 logging.exception(e)
202 logging.exception(e)
220 logging.exception(e)
/test/vts/runners/host/
Dtest_runner.py105 logging.exception(e)
129 logging.exception(e)
240 logging.exception(msg)
365 logging.exception("Exception occurred destroying %s.", name)
459 logging.exception(e)
/test/vts-testcase/fuzz/template/libfuzzer_test/
Dlibfuzzer_test.py197 logging.exception(e)
206 logging.exception(e)
215 logging.exception(e)
287 logging.exception(e)
/test/framework/harnesses/host_controller/utils/ipc/
Dfile_lock.py77 logging.exception(e)
104 logging.exception(e)
/test/vts/runners/host/tcp_client/
Dvts_tcp_client.py153 logging.exception("Connect failed %s", e)
353 logging.exception(e)
392 logging.exception(e)
428 logging.exception(e)
601 logging.exception(e)
767 logging.exception(e)
/test/vts/utils/python/gcs/
Dgcs_api_utils.py52 logging.exception(e)
314 logging.exception('file move was unsuccessful with error %s.',
338 logging.exception('file delete was unsuccessful with error %s.', e)
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DReportLogCollector.java105 } catch (Exception exception) { in tearDown()
106 exception.printStackTrace(); in tearDown()
/test/vts/utils/python/controllers/
Dandroid_device.py129 ad.log.exception("Failed to clean up properly.")
147 ad.log.exception("Failed to start some services, abort!")
678 logging.exception(e)
718 logging.exception("Cannot read kernel config.", e)
764 logging.exception(e)
841 logging.exception(e)
1147 self.log.exception(e)
1293 logging.exception(e)
/test/vts/runners/host/tcp_server/
Dcallback_server.py49 logging.exception("Unable to convert '%s' into an integer, which "
177 logging.exception(e)
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DUserFavoriteEntity.java126 } catch (ClassCastException exception) { in fromEntity()
128 logger.log(Level.WARNING, "Error parsing user favorite entity.", exception); in fromEntity()
DProfilingPointEntity.java192 } catch (ClassCastException exception) { in fromEntity()
194 logger.log(Level.WARNING, "Error parsing profiling point entity.", exception); in fromEntity()
/test/vti/test_serving/gae/webapp/src/utils/
Demail_util.py97 logging.exception(e)
183 logging.exception(e)
262 logging.exception(e)
Ddatetime_util.py37 logging.exception(e)
/test/vts-testcase/fuzz/kernel/syzkaller/
Dsyzkaller_test.py81 logging.exception(e)
153 logging.exception(e)

123