Skip to content

Commit

Permalink
build: Setup nightly run of cache fuzzer (#11901)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #11901

Reviewed By: xiaoxmeng, kgpai

Differential Revision: D67356608

fbshipit-source-id: a3aa36f7e2df5f2ef942a10461113f38e6f7ee09
  • Loading branch information
kKPulla authored and facebook-github-bot committed Dec 18, 2024
1 parent efbf68e commit 2e94f95
Showing 1 changed file with 42 additions and 0 deletions.
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

0 comments on commit 2e94f95

Please sign in to comment.