From 8655d87892bf062b52e1ecc021fd779f8d93fbe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Sun, 3 May 2026 18:11:55 +0200 Subject: [PATCH] ci: nvidia: Disable NVRC trace logging on nightly runs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On nightly CI, run the NVIDIA GPU tests without setting nvrc.log=trace. This gives us end-to-end test coverage that more closely matches how users would actually run Kata Containers with NVIDIA GPUs, since trace logging is not enabled by default in production. NVRC trace logging remains enabled for PR runs, where the extra verbosity is useful for debugging failures. Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/ci.yaml | 1 + .github/workflows/run-k8s-tests-on-nvidia-gpu.yaml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 64aa1a71f8..c40cc3523a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -310,6 +310,7 @@ jobs: commit-hash: ${{ inputs.commit-hash }} pr-number: ${{ inputs.pr-number }} target-branch: ${{ inputs.target-branch }} + enable-nvrc-trace: ${{ inputs.pr-number != 'nightly' }} secrets: NGC_API_KEY: ${{ secrets.NGC_API_KEY }} diff --git a/.github/workflows/run-k8s-tests-on-nvidia-gpu.yaml b/.github/workflows/run-k8s-tests-on-nvidia-gpu.yaml index 41f1c52700..09d405930b 100644 --- a/.github/workflows/run-k8s-tests-on-nvidia-gpu.yaml +++ b/.github/workflows/run-k8s-tests-on-nvidia-gpu.yaml @@ -24,6 +24,10 @@ on: required: false type: string default: "" + enable-nvrc-trace: + required: false + type: boolean + default: true secrets: NGC_API_KEY: required: true @@ -111,6 +115,7 @@ jobs: run: bash tests/integration/kubernetes/gha-run.sh run-nv-tests env: NGC_API_KEY: ${{ secrets.NGC_API_KEY }} + ENABLE_NVRC_TRACE: ${{ inputs.enable-nvrc-trace }} - name: Report tests if: always()