From 139c2f909f642d82f3cd01c203d04fb5bd2c2d64 Mon Sep 17 00:00:00 2001 From: Brian Caswell Date: Thu, 1 Oct 2020 14:18:38 -0400 Subject: [PATCH 1/3] slim down msg --- src/cli/examples/integration-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/examples/integration-test.py b/src/cli/examples/integration-test.py index b32ff2c517..c31ff66161 100755 --- a/src/cli/examples/integration-test.py +++ b/src/cli/examples/integration-test.py @@ -422,7 +422,7 @@ def clear() -> None: self.failed_jobs.add(job_id) done.add(job_id) else: - info.append("%s:%s" % (self.target_jobs[job_id], repro.state)) + info.append("%s:%s" % (self.target_jobs[job_id], repro.state.name)) for job_id in done: self.of.repro.delete(self.repros[job_id].vm_id) From 4d4ff4107a29d2f2654fe03f31b26758ee9b58d3 Mon Sep 17 00:00:00 2001 From: Brian Caswell Date: Thu, 1 Oct 2020 14:19:28 -0400 Subject: [PATCH 2/3] only set stating to stopping --- src/api-service/__app__/onefuzzlib/proxy.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/api-service/__app__/onefuzzlib/proxy.py b/src/api-service/__app__/onefuzzlib/proxy.py index 2043a44a6b..e6986e8d62 100644 --- a/src/api-service/__app__/onefuzzlib/proxy.py +++ b/src/api-service/__app__/onefuzzlib/proxy.py @@ -225,9 +225,10 @@ def get_or_create(cls, region: Region) -> Optional["Proxy"]: proxy = Proxy.get(region) if proxy is not None: if proxy.version != __version__: - # If the proxy is out-of-date, delete and re-create it - proxy.state = VmState.stopping - proxy.save() + if proxy.state != VmState.stopping: + # If the proxy is out-of-date, delete and re-create it + proxy.state = VmState.stopping + proxy.save() return None return proxy From 36381537fa3c69c660f4bf85ba7c03980a1d9b18 Mon Sep 17 00:00:00 2001 From: Brian Caswell Date: Sun, 11 Oct 2020 12:59:48 -0400 Subject: [PATCH 3/3] add rust sample to cicd --- src/cli/examples/integration-test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cli/examples/integration-test.py b/src/cli/examples/integration-test.py index 7e07a194fc..e2f4156f6e 100755 --- a/src/cli/examples/integration-test.py +++ b/src/cli/examples/integration-test.py @@ -70,6 +70,12 @@ class Integration(BaseModel): inputs="seeds", wait_for_files=[ContainerType.unique_reports], ), + "linux-libfuzzer-rust": Integration( + template=TemplateType.libfuzzer, + os=OS.linux, + target_exe="fuzz_target_1", + wait_for_files=[ContainerType.unique_reports], + ), "linux-trivial-crash": Integration( template=TemplateType.radamsa, os=OS.linux,