ci: Fix YAML syntax error in debug-tmt.yml #10
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: Debug TMT | |
| permissions: | |
| actions: read | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: {} | |
| env: | |
| CARGO_TERM_COLOR: always | |
| LIBVIRT_DEFAULT_URI: "qemu:///session" | |
| jobs: | |
| debug-tmt: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Bootc Ubuntu Setup | |
| uses: ./.github/actions/bootc-ubuntu-setup | |
| with: | |
| libvirt: true | |
| - name: Install tmt from cgwalters/tmt fork with fix | |
| run: | | |
| # Install tmt from cgwalters/tmt fork's fix-queue-debug-logging branch | |
| # This tests the patch that filters out DEBUG messages without TMT details | |
| pip install --user "git+https://github.com/cgwalters/tmt.git@fix-queue-debug-logging#egg=tmt[provision-virtual]" | |
| - name: Check environment and RUNNER_DEBUG | |
| run: | | |
| echo "=== Python version ===" | |
| python3 --version | |
| pip --version | |
| echo "=== TMT version and git commit ===" | |
| tmt --version | |
| echo "=== Verify we have the patched version ===" | |
| python3 .github/scripts/verify-tmt-patch.py | |
| echo "" | |
| echo "=== Critical: Check RUNNER_DEBUG, ENABLE_RUNNER_TRACING, and CI ===" | |
| echo "RUNNER_DEBUG=${RUNNER_DEBUG:-<not set>}" | |
| echo "ENABLE_RUNNER_TRACING=${ENABLE_RUNNER_TRACING:-<not set>}" | |
| echo "ACTIONS_STEP_DEBUG=${ACTIONS_STEP_DEBUG:-<not set>}" | |
| echo "TMT_DEBUG=${TMT_DEBUG:-<not set>}" | |
| echo "CI=${CI:-<not set>}" | |
| echo "" | |
| echo "=== Python logging configuration ===" | |
| python3 -c "import logging; print(f'Root logger level: {logging.getLogger().level}')" | |
| - name: Reproduce actual CI TMT run and check verbosity levels | |
| run: bash .github/scripts/debug-tmt.sh |