From 9f3ed7e10afb46cd5d81b5a6c13ffc3bccb1ab58 Mon Sep 17 00:00:00 2001 From: Bryan Bernhart Date: Fri, 29 Jul 2022 10:20:40 -0700 Subject: [PATCH] Increase timeout for residency fuzzer. Fuzzer runs were timing out (waiting for paging). This bumps up the timeout by 3x. --- .github/workflows/win_clang_rel_x64.yaml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/win_clang_rel_x64.yaml b/.github/workflows/win_clang_rel_x64.yaml index 756cc4237..c54dc5af4 100644 --- a/.github/workflows/win_clang_rel_x64.yaml +++ b/.github/workflows/win_clang_rel_x64.yaml @@ -179,13 +179,22 @@ jobs: out\Fuzzer\gpgmm_d3d12_resource_allocator_fuzzer.exe -max_total_time=120 -timeout=10 # Workaround libFuzzer never exiting when max_total_time by using -runs instead. - # Step timeout may need to be increased to not expire before the process exits. - - name: Run gpgmm_d3d12_residency_manager_fuzzer (with patch) - timeout-minutes: 5 - shell: cmd - run: | - cd test - out\Fuzzer\gpgmm_d3d12_residency_manager_fuzzer.exe -runs=20000 -timeout=10 + # Timeout may need to be increased to not expire before the process exits. + - uses: nick-fields/retry@v2 + id: d3d12_residency_manager_fuzzer + with: + timeout_minutes: 1 + max_attempts: 3 + retry_on: timeout + shell: cmd + command: | + cd test + out\Fuzzer\gpgmm_d3d12_residency_manager_fuzzer.exe -runs=20000 + + - uses: nick-fields/assert-action@v1 + with: + expected: 0 + actual: ${{ steps.d3d12_residency_manager_fuzzer.outputs.exit_code }} - uses: actions/upload-artifact@v3 with: