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

Fuzz with enable_verification #30

Merged
merged 5 commits into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: CIFuzz
on:
workflow_dispatch:
schedule:
- cron: "*/107 * * * *"
# schedule:
# - cron: "*/107 * * * *"

jobs:
build-duckdb:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
uses: hendrikmuhs/ccache-action@main

- id: find-hash
run: echo "::set-output name=hash::$(git rev-parse HEAD)"
run: echo "hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

- name: create build sqlsmith extension file
shell: bash
Expand Down Expand Up @@ -66,6 +66,12 @@ jobs:
matrix:
fuzzer: [duckfuzz, sqlsmith, duckfuzz_functions]
data: [alltypes, tpch, emptyalltypes]
enable_verification: [true, false]
exclude:
- enable_verification: true
fuzzer: sqlsmith
- enable_verification: true
fuzzer: duckfuzz_functions
env:
FUZZEROFDUCKSKEY: ${{ secrets.FUZZEROFDUCKSKEY }}
DUCKDB_HASH: ${{ needs.build-duckdb.outputs.duckdb-hash }}
Expand Down Expand Up @@ -94,8 +100,8 @@ jobs:

while [[ $(date -u +%s) -le $endtime ]]
do
echo "Time Now: `date +%H:%M:%S`"
python3 scripts/run_fuzzer.py --no_checks --${{ matrix.fuzzer }} --${{ matrix.data }} --max_queries=1000 --shell=../duckdb
echo "Time Now: `date +%H:%M:%S`"
python3 scripts/run_fuzzer.py --no_checks --${{ matrix.fuzzer }} --${{ matrix.data }} --enable_verification=${{ matrix.enable_verification }} --max_queries=1000 --shell=../duckdb
done


Expand Down