diff --git a/.github/workflows/fast-dispatch-frequent-tests-impl.yaml b/.github/workflows/fast-dispatch-frequent-tests-impl.yaml index e5dcf724344..e4df348684e 100644 --- a/.github/workflows/fast-dispatch-frequent-tests-impl.yaml +++ b/.github/workflows/fast-dispatch-frequent-tests-impl.yaml @@ -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 @@ -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() }} @@ -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: diff --git a/.github/workflows/perf-device-models-impl.yaml b/.github/workflows/perf-device-models-impl.yaml index 9ebf440d07f..b81a88c4a0a 100644 --- a/.github/workflows/perf-device-models-impl.yaml +++ b/.github/workflows/perf-device-models-impl.yaml @@ -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 @@ -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: | diff --git a/.github/workflows/perf-models-impl.yaml b/.github/workflows/perf-models-impl.yaml index 2514c4c2142..3050ac7387b 100644 --- a/.github/workflows/perf-models-impl.yaml +++ b/.github/workflows/perf-models-impl.yaml @@ -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: | diff --git a/.github/workflows/single-card-demo-tests-impl.yaml b/.github/workflows/single-card-demo-tests-impl.yaml index 6d68f5bbe94..80e6810fdfe 100644 --- a/.github/workflows/single-card-demo-tests-impl.yaml +++ b/.github/workflows/single-card-demo-tests-impl.yaml @@ -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: |