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

build: Setup nightly run of cache fuzzer #11901

Closed
wants to merge 1 commit into from
Closed
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
42 changes: 42 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,13 @@ jobs:
path: velox/_build/debug/velox/functions/prestosql/fuzzer/velox_window_fuzzer_test
retention-days: "${{ env.RETENTION }}"

- name: Upload cache fuzzer
uses: actions/upload-artifact@v4
with:
name: cache_fuzzer
path: velox/_build/debug/velox/exec/tests/velox_cache_fuzzer_test
retention-days: "${{ env.RETENTION }}"

- name: Upload row number fuzzer
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -706,6 +713,41 @@ jobs:
name: row-fuzzer-failure-artifacts
path: |
/tmp/row_fuzzer_repro

cache-fuzzer-run:
name: Cache Fuzzer
runs-on: ubuntu-latest
container: ghcr.io/facebookincubator/velox-dev:centos9
needs: compile
timeout-minutes: 120
steps:

- name: Download cache fuzzer
uses: actions/download-artifact@v4
with:
name: cache_fuzzer

- name: Run cache Fuzzer
run: |
mkdir -p /tmp/cache_fuzzer_test/logs/
chmod -R 777 /tmp/cache_fuzzer_test
chmod +x velox_cache_fuzzer_test
./velox_cache_fuzzer_test \
--seed ${RANDOM} \
--duration_sec $DURATION \
--minloglevel=0 \
--stderrthreshold=2 \
--log_dir=/tmp/cache_fuzzer_test/logs \
&& echo -e "\n\Cache fuzzer run finished successfully."

- name: Archive Cache production artifacts
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: cache-fuzzer-test-logs
path: |
/tmp/cache_fuzzer_test

presto-java-aggregation-fuzzer-run:
name: Aggregation Fuzzer with Presto as source of truth
needs: compile
Expand Down
Loading