Skip to content

ci: add shell: bash to steps using PIPESTATUS#12

Merged
ivanbasov merged 1 commit into
mainfrom
fix/mid-gpu-pipestatus
Mar 9, 2026
Merged

ci: add shell: bash to steps using PIPESTATUS#12
ivanbasov merged 1 commit into
mainfrom
fix/mid-gpu-pipestatus

Conversation

@ivanbasov
Copy link
Copy Markdown
Member

Problem

The mid-gpu-tests job was failing with:

Bad substitution
##[error]Process completed with exit code 2.

Root cause: PIPESTATUS is a bash-specific array. GitHub Actions run: steps in ubuntu:24.04 containers default to sh, which does not support PIPESTATUS, causing "Bad substitution".

The gpu-tests job already had shell: bash on the affected step — mid-gpu-tests and both steps in long-running-tests.yml were missing it.

Fix

Add shell: bash to all three affected steps:

  • ci-gpu.yml — Mid-tier training + inference with LER check
  • long-running-tests.yml — Multi-orientation inference (O1–O4) with LER output check
  • long-running-tests.yml — Full 1-epoch training + inference with LER validation

Ref: https://github.com/NVIDIA/quantum-predecoder/actions/runs/22790464172/job/66116526960

PIPESTATUS is bash-specific; ubuntu:24.04 containers default to sh,
causing "Bad substitution" on the mid-gpu-tests job. Add shell: bash
to all affected steps across ci-gpu.yml and long-running-tests.yml.
@ivanbasov ivanbasov requested a review from bmhowe23 March 9, 2026 19:19
@ivanbasov ivanbasov merged commit 39c31d4 into main Mar 9, 2026
11 checks passed
@bmhowe23 bmhowe23 deleted the fix/mid-gpu-pipestatus branch March 31, 2026 17:40
ivanbasov added a commit that referenced this pull request Apr 10, 2026
PIPESTATUS is bash-specific; ubuntu:24.04 containers default to sh,
causing "Bad substitution" on the mid-gpu-tests job. Add shell: bash
to all affected steps across ci-gpu.yml and long-running-tests.yml.
ivanbasov added a commit that referenced this pull request Apr 10, 2026
PIPESTATUS is bash-specific; ubuntu:24.04 containers default to sh,
causing "Bad substitution" on the mid-gpu-tests job. Add shell: bash
to all affected steps across ci-gpu.yml and long-running-tests.yml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants