From 88016840e6f7544cef2502060eae615f2baab303 Mon Sep 17 00:00:00 2001 From: Jonathan Metzman Date: Wed, 15 Jan 2025 15:49:14 -0500 Subject: [PATCH 1/2] Allow remote unpacking for projects that fill the disk. https://github.com/google/clusterfuzz/commit/a76b922f0b8f6edd33cff8e0e4e0e5563ec68aac Didn't completely work. These projects need a lot more disk. Let's try another solution. --- src/clusterfuzz/_internal/cron/project_setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/clusterfuzz/_internal/cron/project_setup.py b/src/clusterfuzz/_internal/cron/project_setup.py index 57e18c7058..ffe07a7eed 100644 --- a/src/clusterfuzz/_internal/cron/project_setup.py +++ b/src/clusterfuzz/_internal/cron/project_setup.py @@ -817,6 +817,8 @@ def _sync_job(self, project, info, corpus_bucket_name, quarantine_bucket_name, engine=template.engine, project_name=base_project_name, disk_size_gb=oss_fuzz_gb) + if oss_fuzz_gb is not None: + job.envrionment_string += 'ALLOW_UNPACK_OVER_HTTP = True\n' # Centipede requires a separate build of the sanitized binary. if template.engine == 'centipede': From 311b289d7da2d5ab0281658e47ffde7b9bce514e Mon Sep 17 00:00:00 2001 From: Jonathan Metzman Date: Thu, 16 Jan 2025 10:50:42 -0500 Subject: [PATCH 2/2] Fix --- src/clusterfuzz/_internal/cron/project_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clusterfuzz/_internal/cron/project_setup.py b/src/clusterfuzz/_internal/cron/project_setup.py index ffe07a7eed..2f3cd0b450 100644 --- a/src/clusterfuzz/_internal/cron/project_setup.py +++ b/src/clusterfuzz/_internal/cron/project_setup.py @@ -818,7 +818,7 @@ def _sync_job(self, project, info, corpus_bucket_name, quarantine_bucket_name, project_name=base_project_name, disk_size_gb=oss_fuzz_gb) if oss_fuzz_gb is not None: - job.envrionment_string += 'ALLOW_UNPACK_OVER_HTTP = True\n' + job.environment_string += 'ALLOW_UNPACK_OVER_HTTP = True\n' # Centipede requires a separate build of the sanitized binary. if template.engine == 'centipede':