Skip to content

Add script to execute a fuzzing task directly#5233

Merged
jardondiego merged 7 commits intomasterfrom
feature/isolate-fuzz-script
Apr 9, 2026
Merged

Add script to execute a fuzzing task directly#5233
jardondiego merged 7 commits intomasterfrom
feature/isolate-fuzz-script

Conversation

@jardondiego
Copy link
Copy Markdown
Collaborator

@jardondiego jardondiego commented Apr 6, 2026

It creates a butler script to trigger the execution of a fuzz task directly.

@jardondiego jardondiego self-assigned this Apr 6, 2026
@jardondiego jardondiego requested a review from IvanBM18 April 6, 2026 21:01
@jardondiego jardondiego marked this pull request as ready for review April 6, 2026 21:01
@jardondiego jardondiego requested a review from a team as a code owner April 6, 2026 21:01
@IvanBM18
Copy link
Copy Markdown
Collaborator

IvanBM18 commented Apr 6, 2026

Can you edit the python butler.py script so that when we run:

python butler.py --help

This new script is also listed? Currently it doesnt appear:

(clusterfuzz) [hi on] ibarba@ibarba:~/clusterfuzz$ python butler.py --help
usage: butler.py [-h] [--local-logging]
                 {js_unittest,deploy,run_server,run_bot,remote,clean_indexes,create_config,run,package,bootstrap,py_unittest,lint,format,integration_tests,weights,reproduce} ...

Butler is here to help you with command-line tasks.

positional arguments:
  {js_unittest,deploy,run_server,run_bot,remote,clean_indexes,create_config,run,package,bootstrap,py_unittest,lint,format,integration_tests,weights,reproduce}
    js_unittest         Run Javascript unit tests.
    deploy              Deploy to Appengine
    run_server          Run the local Clusterfuzz server.
    run_bot             Run a local clusterfuzz bot.
    remote              Run command-line tasks on a remote bot.
    clean_indexes       Clean up undefined indexes (in index.yaml).
    create_config       Create a new deployment config.
    run                 Run a one-off script against a datastore (e.g. migration).
    package             Package clusterfuzz with a staging revision
    bootstrap           Install all required dependencies for running an appengine, a bot,and a mapreduce locally.
    py_unittest         Run Python unit tests.
    lint                Lint changed code in current branch.
    format              Format changed code in current branch.
    integration_tests   Run end-to-end integration tests.
    weights             Interact with fuzzer/job weights.
    reproduce           Reproduce a testcase locally.

options:
  -h, --help            show this help message and exit
  --local-logging       Force logs to be local-only. (default: False)

@javanlacerda
Copy link
Copy Markdown
Collaborator

Can you edit the python butler.py script so that when we run:

python butler.py --help

This new script is also listed? Currently it doesnt appear:

(clusterfuzz) [hi on] ibarba@ibarba:~/clusterfuzz$ python butler.py --help
usage: butler.py [-h] [--local-logging]
                 {js_unittest,deploy,run_server,run_bot,remote,clean_indexes,create_config,run,package,bootstrap,py_unittest,lint,format,integration_tests,weights,reproduce} ...

Butler is here to help you with command-line tasks.

positional arguments:
  {js_unittest,deploy,run_server,run_bot,remote,clean_indexes,create_config,run,package,bootstrap,py_unittest,lint,format,integration_tests,weights,reproduce}
    js_unittest         Run Javascript unit tests.
    deploy              Deploy to Appengine
    run_server          Run the local Clusterfuzz server.
    run_bot             Run a local clusterfuzz bot.
    remote              Run command-line tasks on a remote bot.
    clean_indexes       Clean up undefined indexes (in index.yaml).
    create_config       Create a new deployment config.
    run                 Run a one-off script against a datastore (e.g. migration).
    package             Package clusterfuzz with a staging revision
    bootstrap           Install all required dependencies for running an appengine, a bot,and a mapreduce locally.
    py_unittest         Run Python unit tests.
    lint                Lint changed code in current branch.
    format              Format changed code in current branch.
    integration_tests   Run end-to-end integration tests.
    weights             Interact with fuzzer/job weights.
    reproduce           Reproduce a testcase locally.

options:
  -h, --help            show this help message and exit
  --local-logging       Force logs to be local-only. (default: False)

+1

@javanlacerda
Copy link
Copy Markdown
Collaborator

I just need to have the lint fixed

@jardondiego jardondiego force-pushed the feature/isolate-fuzz-script branch from 3d67060 to dc50ee0 Compare April 9, 2026 14:19
@jardondiego jardondiego force-pushed the feature/isolate-fuzz-script branch from 34552a2 to 82edbcc Compare April 9, 2026 14:30
@jardondiego jardondiego merged commit f4e663c into master Apr 9, 2026
9 of 10 checks passed
@jardondiego jardondiego deleted the feature/isolate-fuzz-script branch April 9, 2026 16:22
dylanjew pushed a commit that referenced this pull request Apr 10, 2026
It creates a butler script to trigger the execution of a fuzz task
directly.

---------

Co-authored-by: Diego Jardon <jardondiego@google.com>
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

Successfully merging this pull request may close these issues.

3 participants