Skip to content

Commit

Permalink
Upload test case data from single card tests
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlyTT committed Mar 3, 2025
1 parent a63f6a0 commit a4500cc
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/fast-dispatch-frequent-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
arch: wormhole_b0
runs-on: ["cloud-virtual-machine", "N300", "in-service"]
run-args: |
mkdir -p generated/test_reports
./build/test/tt_metal/perf_microbenchmark/dispatch/test_pgm_dispatch_wormhole_b0 --benchmark_out_format=json --benchmark_out=bench.json
./tests/tt_metal/tt_metal/perf_microbenchmark/dispatch/compare_pgm_dispatch_perf_ci.py bench.json
timeout: 10
Expand All @@ -40,6 +41,7 @@ jobs:
-e TT_METAL_HOME=${{ github.workspace }}
-e ARCH_NAME=${{ matrix.test-group.arch }}
-e LD_LIBRARY_PATH=${{ github.workspace }}/build/lib
-e GTEST_OUTPUT=xml:generated/test_reports/
run_args: ${{ matrix.test-group.run-args }}
- uses: ./.github/actions/slack-report
if: ${{ failure() }}
Expand All @@ -52,6 +54,12 @@ jobs:
path: |
generated/test_reports/
prefix: "test_reports_"
- name: Generate gtest annotations on failure
uses: ./.github/actions/generate-gtest-failure-message
if: ${{ failure() }}
with:
path: |
generated/test_reports/
- uses: ./.github/actions/upload-artifact-with-job-uuid
if: ${{ !cancelled() }}
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/perf-device-models-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
LD_LIBRARY_PATH: /work/build/lib
ARCH_NAME: ${{ matrix.test-info.arch }}
LOGURU_LEVEL: INFO
GITHUB_ACTIONS: true
volumes:
- ${{ github.workspace }}/docker-job:/work # Subdir to workaround https://github.com/actions/runner/issues/691
- /dev/hugepages-1G:/dev/hugepages-1G
Expand Down Expand Up @@ -114,6 +115,13 @@ jobs:
name: device-perf-report-csv-${{ matrix.test-info.arch }}-${{ matrix.test-info.machine-type }}
path: /work/${{ steps.check-device-perf-report.outputs.device_perf_report_filename }}

- uses: ./.github/actions/upload-artifact-with-job-uuid
if: ${{ !cancelled() }}
with:
path: |
generated/test_reports/
prefix: "test_reports_"

- name: Cleanup
if: always()
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/perf-models-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ jobs:
with:
name: perf-report-csv-${{ matrix.model-type }}-${{ matrix.test-info.arch }}-${{ matrix.test-info.machine-type }}
path: "${{ steps.check-perf-report.outputs.perf_report_filename }}"
- uses: ./.github/actions/upload-artifact-with-job-uuid
if: ${{ !cancelled() }}
with:
path: |
generated/test_reports/
prefix: "test_reports_"
- name: Disable Performance mode
if: always()
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/single-card-demo-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
sftp-batchfile: .github/actions/upload-data-via-sftp/benchmark_data_batchfile.txt
username: ${{ secrets.SFTP_BENCHMARK_WRITER_USERNAME }}
hostname: ${{ secrets.SFTP_BENCHMARK_WRITER_HOSTNAME }}
- uses: ./.github/actions/upload-artifact-with-job-uuid
if: ${{ !cancelled() }}
with:
path: |
generated/test_reports/
prefix: "test_reports_"
- name: Disable Performance mode
if: ${{ matrix.test-group.name == 'N300_performance' }}
run: |
Expand Down

0 comments on commit a4500cc

Please sign in to comment.