oss-fuzz icon indicating copy to clipboard operation
oss-fuzz copied to clipboard

fix broken cifuzz test

Open DavidKorczynski opened this issue 2 months ago • 1 comments

ref: https://github.com/google/oss-fuzz/pull/14175

DavidKorczynski avatar Oct 22 '25 13:10 DavidKorczynski

Some further tests that broke are here:

https://github.com/google/oss-fuzz/pull/14290

....E....INFO:root:Executing command: ['aiohttp', '--fuzzing-engine', 'libfuzzer', '--repo', 'test_repo', '--branch', 'test_branch'].
.INFO:root:Executing command: ['aiohttp', '--sanitizer', 'coverage', 'address', '--fuzzing-engine', 'libfuzzer', '--repo', 'test_repo', '--branch', 'test_branch', '--version-tag', 'latest'].
INFO:root:Executing command: ['my_project', '--repo', 'test_repo', '--branch', 'test_branch', '--version-tag', 'latest'].
INFO:root:Trial build not requested.
..................ERROR:root:Incorrect format for project.yaml file of test0 with error Parameter is not an integer in range [1-4]
.INFO:root:Setting up project test1
INFO:root:Setting up project test2
.INFO:root:Deleting project test2
INFO:root:Setting up project test1
.INFO:root:Setting up project test1
INFO:root:Setting up project test2
INFO:root:Schedule changed.
.ERROR:root:Incorrect format for project.yaml file of test0 with error Parameter is not an integer in range [1-4]
..........INFO:root:Starting "Build and Push Images" phase...
INFO:root:      GCB Build URL: https://console.cloud.google.com/cloud-build/builds;region=us-central1/1?project=oss-fuzz
INFO:root:      Log URL: https://oss-fuzz-gcb-logs.storage.googleapis.com/log-1.txt
INFO:root:-----------------------
.
======================================================================
ERROR: test_fuzzbench_runs (functions.fuzzbench_test.FuzzbenchRunsTest.test_fuzzbench_runs)
Test for fuzzbench runs.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/oss-fuzz/oss-fuzz/infra/build/functions/fuzzbench_local_run.py", line 102, in run_step_locally
    result = subprocess.run(docker_command,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['docker', 'run', '--rm', '--cpus=0.5', '-w', '/workspace/', '-v', '/tmp/tmphs1b73n0:/workspace', '-v', '/var/run/docker.sock:/var/run/docker.sock', 'gcr.io/cloud-builders/docker', 'run', '-v', '/tmp/tmphs1b73n0:/workspace', 'us-central1-docker.pkg.dev/oss-fuzz/unsafe/ood/mopt/example']' returned non-zero exit status 125.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/oss-fuzz/oss-fuzz/infra/build/functions/fuzzbench_test.py", line 258, in test_fuzzbench_runs
    self._run_ood_image_step_test(fuzzing_engine, project, env_dict)
  File "/home/runner/work/oss-fuzz/oss-fuzz/infra/build/functions/fuzzbench_test.py", line 228, in _run_ood_image_step_test
    fuzzbench_local_run.run_steps_locally(test_steps,
  File "/home/runner/work/oss-fuzz/oss-fuzz/infra/build/functions/fuzzbench_local_run.py", line 171, in run_steps_locally
    run_step_locally(temp_dir, local_fuzzbench_path, step, i, log_file)
  File "/home/runner/work/oss-fuzz/oss-fuzz/infra/build/functions/fuzzbench_local_run.py", line 131, in run_step_locally
    sys.exit()
SystemExit

I'll see if I can take a look, but, disabling them now to move Chronos forward.

DavidKorczynski avatar Nov 19 '25 11:11 DavidKorczynski