google / fuzzbench

FuzzBench - Fuzzer benchmarking as a service.
https://google.github.io/fuzzbench/
Apache License 2.0
1.09k stars 266 forks source link

local experiment issue : Local uncommitted changes found, exiting - raise ValidationError('Local uncommitted changes found, exiting.') #1983

Closed Microsvuln closed 4 months ago

Microsvuln commented 4 months ago

Hi .

For running a local test experiment I have the following error :

PYTHONPATH=. python3 experiment/run_experiment.py --experiment-config experiment-config.yaml --benchmarks curl_curl_fuzzer_http --experiment-name $EXPERIMENT_NAME --fuzzers afl libfuzzer
Traceback (most recent call last):
  File "/home/user/fuzz/eval/fuzzbench/experiment/run_experiment.py", line 773, in <module>
    sys.exit(main())
  File "/home/user/fuzz/eval/fuzzbench/experiment/run_experiment.py", line 615, in main
    return run_experiment_main()
  File "/home/user/fuzz/eval/fuzzbench/experiment/run_experiment.py", line 755, in run_experiment_main
    start_experiment(args.experiment_name,
  File "/home/user/fuzz/eval/fuzzbench/experiment/run_experiment.py", line 318, in start_experiment
    check_no_uncommitted_changes()
  File "/home/user/fuzz/eval/fuzzbench/experiment/run_experiment.py", line 286, in check_no_uncommitted_changes
    raise ValidationError('Local uncommitted changes found, exiting.')
__main__.ValidationError: Local uncommitted changes found, exiting.

Anyone faced the same issue? Any workarounds ?

Thanks.

Microsvuln commented 4 months ago

This solved the problem :

git commit -am foo

Thanks @vanhauser-thc !