Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError when uploading queue #48

Open
tysmith opened this issue Oct 15, 2024 · 0 comments
Open

FileNotFoundError when uploading queue #48

tysmith opened this issue Oct 15, 2024 · 0 comments

Comments

@tysmith
Copy link
Contributor

tysmith commented Oct 15, 2024

[Job 3] Received terminate request...
[Job 3] ==23087== libFuzzer: run interrupted; exiting
upload_to_queue() -> before=359, new=848, after=1207, errors=0 (9.487s)
Traceback (most recent call last):
  File "/usr/local/bin/guided-fuzzing-daemon", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/guided_fuzzing_daemon/main.py", line 124, in main
    return libfuzzer_main(opts, collector, storage)
  File "/usr/local/lib/python3.8/dist-packages/guided_fuzzing_daemon/libfuzzer.py", line 578, in libfuzzer_main
    corpus_syncer.upload_queue(original_corpus)
  File "/usr/local/lib/python3.8/dist-packages/guided_fuzzing_daemon/storage.py", line 435, in upload_queue
    executor.submit(remote_obj.upload_from_file, testcase)
  File "/usr/local/lib/python3.8/dist-packages/guided_fuzzing_daemon/utils.py", line 186, in submit
    _check_jobs()
  File "/usr/local/lib/python3.8/dist-packages/guided_fuzzing_daemon/utils.py", line 170, in _check_jobs
    job.result()  # raises, if the job raised
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/dist-packages/guided_fuzzing_daemon/storage.py", line 173, in upload_from_file
    with src.open("rb") as fobj:
  File "/usr/lib/python3.8/pathlib.py", line 1222, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/usr/lib/python3.8/pathlib.py", line 1078, in _opener
    return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/worker/corpora/a415aa71ad4bf370923b7c3904a2320a0f5157a4'

Perhaps add an ignore argument to upload_from_file()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant