misc,tests: Increase Weekly GPU test timeout

The Weekly GPU tests are failing due to a timeout but I found the testing
timeout was set to 5 hours and  we have been frequently close to reaching this
but have recently changes the test enought o consistently go over.

 The main two things that appear to have caused this are:

1. Moving the X86_VEGA compilation into the the same step as the running of
   the tests.
2. Reducing the number of threads per GitHub Actions runner, thus slowing
   job execution.

In addition we've added more tests to this weekly GPU suite though I don't
believe have got to running these tests yet. The timeout appears to
always been triggered before this.

This PR increases the timout to 3 days and moves the compilation into a
seperate step.
This commit is contained in:
Bobby R. Bruce
2024-10-04 06:12:13 -07:00
parent 7117b1399b
commit 866b51a1cc

View File

@@ -48,7 +48,7 @@ jobs:
gpu-tests:
runs-on: [self-hosted, linux, x64]
container: ghcr.io/gem5/gcn-gpu:latest
timeout-minutes: 300
timeout-minutes: 4320 # 3 days
steps:
- uses: actions/checkout@v4
@@ -63,9 +63,13 @@ jobs:
restore-keys: |
testlib-build-vega
- name: Build VEGA_X86/gem5.opt
working-directory: ${{ github.workspace }}
run: scons build/VEGA_X86/gem5.opt -j $(nproc)
- name: Run Testlib GPU Tests
working-directory: ${{ github.workspace }}/tests
run: ./main.py run --length=very-long -vvv -j $(nproc) -t $(nproc) --host gcn_gpu gem5/gpu
run: ./main.py run --length=very-long -vvv --skip-build -t $(nproc) --host gcn_gpu gem5/gpu
- name: Upload results
if: success() || failure()