From 852b6147595cc35d03399e27b6f51b0eb1c6101e Mon Sep 17 00:00:00 2001 From: Bill Teng Date: Tue, 26 Mar 2024 01:10:52 +0000 Subject: [PATCH] #6759: enable watcher on all post-commit pipelines --- .github/workflows/cpp-post-commit.yaml | 7 +++++++ .github/workflows/fast-dispatch-build-and-unit-tests.yaml | 7 +++++++ .github/workflows/models-post-commit.yaml | 7 +++++++ .github/workflows/ttnn-post-commit.yaml | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/.github/workflows/cpp-post-commit.yaml b/.github/workflows/cpp-post-commit.yaml index 222a0023122e..4f67c47b255b 100644 --- a/.github/workflows/cpp-post-commit.yaml +++ b/.github/workflows/cpp-post-commit.yaml @@ -28,6 +28,7 @@ jobs: CONFIG: ci LOGURU_LEVEL: INFO LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib + TT_METAL_WATCHER: 60 runs-on: ${{ matrix.runner-info.runs-on }} steps: - uses: tenstorrent-metal/metal-workflows/.github/actions/checkout-with-submodule-lfs@v2.0.0 @@ -49,3 +50,9 @@ jobs: cd $TT_METAL_HOME export PYTHONPATH=$TT_METAL_HOME ${{ matrix.test-group.cmd }} + - name: Upload watcher log + if: always() + uses: actions/upload-artifact@v4 + with: + name: watcher-log-${{ matrix.runner-info.arch }}-${{ matrix.runner-info.name }} + path: built/watcher.log diff --git a/.github/workflows/fast-dispatch-build-and-unit-tests.yaml b/.github/workflows/fast-dispatch-build-and-unit-tests.yaml index cd0bbb2228e6..0b98957abc9a 100644 --- a/.github/workflows/fast-dispatch-build-and-unit-tests.yaml +++ b/.github/workflows/fast-dispatch-build-and-unit-tests.yaml @@ -41,6 +41,7 @@ jobs: CONFIG: ci LOGURU_LEVEL: INFO LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib + TT_METAL_WATCHER: 60 runs-on: ${{ matrix.runner-info.runs-on }} steps: - uses: tenstorrent-metal/metal-workflows/.github/actions/checkout-with-submodule-lfs@v2.0.0 @@ -62,6 +63,12 @@ jobs: cd $TT_METAL_HOME export PYTHONPATH=$TT_METAL_HOME ${{ matrix.test-group.cmd }} + - name: Upload watcher log + if: always() + uses: actions/upload-artifact@v4 + with: + name: watcher-log-${{ matrix.runner-info.arch }}-${{ matrix.runner-info.name }} + path: built/watcher.log build-docs: strategy: # Do not fail-fast because we need to ensure all tests go to completion diff --git a/.github/workflows/models-post-commit.yaml b/.github/workflows/models-post-commit.yaml index e3a72691c4a7..1ce0712c6ab4 100644 --- a/.github/workflows/models-post-commit.yaml +++ b/.github/workflows/models-post-commit.yaml @@ -28,6 +28,7 @@ jobs: CONFIG: ci LOGURU_LEVEL: INFO LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib + TT_METAL_WATCHER: 60 runs-on: ${{ matrix.runner-info.runs-on }} steps: - uses: tenstorrent-metal/metal-workflows/.github/actions/checkout-with-submodule-lfs@v2.0.0 @@ -49,3 +50,9 @@ jobs: cd $TT_METAL_HOME export PYTHONPATH=$TT_METAL_HOME ${{ matrix.test-group.cmd }} + - name: Upload watcher log + if: always() + uses: actions/upload-artifact@v4 + with: + name: watcher-log-${{ matrix.runner-info.arch }}-${{ matrix.runner-info.name }} + path: built/watcher.log diff --git a/.github/workflows/ttnn-post-commit.yaml b/.github/workflows/ttnn-post-commit.yaml index 4acafec0eb97..5dfb699ddd2d 100644 --- a/.github/workflows/ttnn-post-commit.yaml +++ b/.github/workflows/ttnn-post-commit.yaml @@ -30,6 +30,7 @@ jobs: CONFIG: ci LOGURU_LEVEL: INFO LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib + TT_METAL_WATCHER: 60 runs-on: ${{ matrix.runner-info.runs-on }} steps: - uses: tenstorrent-metal/metal-workflows/.github/actions/checkout-with-submodule-lfs@v2.0.0 @@ -51,3 +52,9 @@ jobs: cd $TT_METAL_HOME export PYTHONPATH=$TT_METAL_HOME ${{ matrix.test-group.cmd }} + - name: Upload watcher log + if: always() + uses: actions/upload-artifact@v4 + with: + name: watcher-log-${{ matrix.runner-info.arch }}-${{ matrix.runner-info.name }} + path: built/watcher.log