Home
last modified time | relevance | path

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

123

/tools/repohooks/rh/
Dutils_unittest.py100 rh.utils.CalledProcessError(0, ['mycmd'])
105 err = rh.utils.CalledProcessError(0, ['mycmd'])
111 err = rh.utils.CalledProcessError(0, ['mycmd'])
117 err = rh.utils.CalledProcessError(0, ['mycmd'])
122 e = rh.utils.CalledProcessError(
183 with self.assertRaises(rh.utils.CalledProcessError) as e:
195 with self.assertRaises(rh.utils.CalledProcessError) as e:
204 with self.assertRaises(rh.utils.CalledProcessError) as e:
218 with self.assertRaises(rh.utils.CalledProcessError) as e:
Dutils.py74 class CalledProcessError(subprocess.CalledProcessError): class
136 class TerminateCalledProcessError(CalledProcessError):
414 raise CalledProcessError(
431 raise CalledProcessError(
/tools/repohooks/tools/
Dclang-format_unittest.py67 with self.assertRaises(rh.utils.CalledProcessError) as e:
80 with self.assertRaises(rh.utils.CalledProcessError) as e:
87 with self.assertRaises(rh.utils.CalledProcessError) as e:
94 with self.assertRaises(rh.utils.CalledProcessError) as e:
101 with self.assertRaises(rh.utils.CalledProcessError) as e:
/tools/acloud/setup/
Dsetup_common.py70 except subprocess.CalledProcessError as cpe:
99 except subprocess.CalledProcessError as error:
131 except subprocess.CalledProcessError as error:
Dsetup_common_test.py90 side_effect=subprocess.CalledProcessError(
/tools/acloud/internal/lib/
Dadb_tools.py228 except subprocess.CalledProcessError:
263 except subprocess.CalledProcessError:
278 except subprocess.CalledProcessError:
Dutils.py390 except subprocess.CalledProcessError as e:
838 except subprocess.CalledProcessError:
904 except subprocess.CalledProcessError as e:
946 except subprocess.CalledProcessError as e:
1003 except subprocess.CalledProcessError as e:
1011 except subprocess.CalledProcessError:
1163 except subprocess.CalledProcessError as cpe:
1287 except subprocess.CalledProcessError:
1412 except subprocess.CalledProcessError:
Dssh_test.py60 side_effect=subprocess.CalledProcessError(
62 self.assertRaises(subprocess.CalledProcessError,
236 self.assertRaises(subprocess.CalledProcessError,
290 subprocess.CalledProcessError, ssh._SshLogOutput, fake_cmd)
Dssh.py150 raise subprocess.CalledProcessError(process.returncode, cmd)
217 subprocess.CalledProcessError),
355 except subprocess.CalledProcessError as e:
Dcvd_utils_test.py328 subprocess.CalledProcessError(cmd="should raise", returncode=1)]
329 with self.assertRaises(subprocess.CalledProcessError):
335 subprocess.CalledProcessError(cmd="should ignore", returncode=1),
667 mock_ssh.Run.side_effect = subprocess.CalledProcessError(
/tools/external_updater/
Dgit_utils.py105 except subprocess.CalledProcessError as ex:
158 except subprocess.CalledProcessError as err:
268 except subprocess.CalledProcessError as err:
290 except subprocess.CalledProcessError as ex:
/tools/asuite/atest/
Ddevice_update.py20 from subprocess import CalledProcessError
90 except CalledProcessError as e:
Datest_utils.py309 raise subprocess.CalledProcessError(proc.returncode, cmd, full_output)
392 except subprocess.CalledProcessError as e:
402 raise subprocess.CalledProcessError(e.returncode, e.cmd, output)
439 except subprocess.CalledProcessError as err:
945 except (OSError, subprocess.CalledProcessError) as err:
1139 raise subprocess.CalledProcessError(returncode=0, cmd=git_cmd)
1143 except (subprocess.CalledProcessError, FileNotFoundError):
/tools/acloud/public/acloud_kernel/
Dkernel_swapper.py84 except subprocess.CalledProcessError as e:
145 retry_checker=lambda e: isinstance(e, subprocess.CalledProcessError),
/tools/acloud/delete/
Ddelete_test.py66 instance_object.Delete.side_effect = subprocess.CalledProcessError(
245 subprocess.CalledProcessError(cmd="test", returncode=1))
311 mock_release.side_effect = subprocess.CalledProcessError(
317 mock_release.side_effect = subprocess.CalledProcessError(
Ddelete.py153 except subprocess.CalledProcessError as e:
293 except subprocess.CalledProcessError as e:
385 except subprocess.CalledProcessError as e:
/tools/asuite/atest/coverage/
Dcoverage.py334 except subprocess.CalledProcessError as err:
373 except subprocess.CalledProcessError as err:
395 except subprocess.CalledProcessError as err:
/tools/external_updater/tests/
Dtest_git_utils.py21 from subprocess import CalledProcessError
87 with self.assertRaises(CalledProcessError):
Dtest_gitrepo.py117 with self.assertRaises(subprocess.CalledProcessError):
132 with self.assertRaises(subprocess.CalledProcessError):
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dssh.py40 subprocess.CalledProcessError] argument
210 except subprocess.CalledProcessError as e:
Dffx.py39 process: subprocess.CalledProcessError) -> None: argument
141 except subprocess.CalledProcessError as e:
/tools/tradefederation/core/javatests/res/testtype/
Dpython_output4.txt262 raise CalledProcessError(retcode, process.args,
263 subprocess.CalledProcessError: Command '['adb', '-s', '0.0.0.0:6520', 'raw', 'framebuffer:']' retur…
273 raise CalledProcessError(retcode, process.args,
274 subprocess.CalledProcessError: Command '['adb', '-s', '0.0.0.0:6520', 'unroot']' returned non-zero …
286 raise subprocess.CalledProcessError(e.returncode, args[0],
287 subprocess.CalledProcessError: Command '['adb', '-s', '0.0.0.0:6520', 'unroot']' returned non-zero …
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py259 except subprocess.CalledProcessError:
294 except subprocess.CalledProcessError:
664 except subprocess.CalledProcessError:
/tools/test/mobly_extensions/scripts/
Dlocal_mobly_runner.py165 except subprocess.CalledProcessError as e:
187 except subprocess.CalledProcessError as e:
/tools/acloud/powerwash/
Dpowerwash.py67 except (subprocess.CalledProcessError, errors.DeviceConnectionError) as e:

123