ci: sample recurrent abort across runners #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Diagnose recurrent Linux abort | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - test/diagnose-linux-recurrent-abort | |
| env: | |
| MODEL_CACHE_KEY: qwen35-q8-mamba130m-q2-falconh1tiny-q2-bge-small-q4 | |
| jobs: | |
| diagnose: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| attempt: [1, 2, 3, 4] | |
| name: attempt-${{ matrix.attempt }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Restore model cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.cache/huggingface/hub | |
| key: ${{ runner.os }}-model-${{ env.MODEL_CACHE_KEY }} | |
| - name: Show runner CPU | |
| run: lscpu | |
| - name: Install debugger | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install --yes gdb | |
| - name: Build package | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install uv | |
| python -m uv pip install -e '.[all]' --verbose | |
| - name: Reproduce full test suite | |
| continue-on-error: true | |
| run: python -m pytest | |
| - name: Capture full-suite backtrace | |
| continue-on-error: true | |
| run: | | |
| gdb --batch \ | |
| -ex "set pagination off" \ | |
| -ex run \ | |
| -ex "thread apply all bt" \ | |
| --args python -m pytest |