mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-18 12:48:07 +00:00
Specify that the tools are missing locally, not on the repro vm (#2036)
This commit is contained in:
@ -604,7 +604,7 @@ class Repro(Endpoint):
|
|||||||
self.logger.info("connecting to reproduction VM: %s", vm_id)
|
self.logger.info("connecting to reproduction VM: %s", vm_id)
|
||||||
|
|
||||||
if which("ssh") is None:
|
if which("ssh") is None:
|
||||||
raise Exception("unable to find ssh")
|
raise Exception("unable to find ssh on local machine")
|
||||||
|
|
||||||
def missing_os() -> Tuple[bool, str, models.Repro]:
|
def missing_os() -> Tuple[bool, str, models.Repro]:
|
||||||
repro = self.get(vm_id)
|
repro = self.get(vm_id)
|
||||||
@ -618,10 +618,10 @@ class Repro(Endpoint):
|
|||||||
|
|
||||||
if repro.os == enums.OS.windows:
|
if repro.os == enums.OS.windows:
|
||||||
if which("cdb.exe") is None:
|
if which("cdb.exe") is None:
|
||||||
raise Exception("unable to find cdb.exe")
|
raise Exception("unable to find cdb.exe on local machine")
|
||||||
if repro.os == enums.OS.linux:
|
if repro.os == enums.OS.linux:
|
||||||
if which("gdb") is None:
|
if which("gdb") is None:
|
||||||
raise Exception("unable to find gdb")
|
raise Exception("unable to find gdb on local machine")
|
||||||
|
|
||||||
def func() -> Tuple[bool, str, models.Repro]:
|
def func() -> Tuple[bool, str, models.Repro]:
|
||||||
repro = self.get(vm_id)
|
repro = self.get(vm_id)
|
||||||
|
Reference in New Issue
Block a user