Skip to content

Ci Verification - #5607

Closed
nv-apoddubny wants to merge 2 commits into
isaac-sim:developfrom
nv-apoddubny:apoddubny/ci-docker
Closed

nv-apoddubny wants to merge 2 commits into
isaac-sim:developfrom
nv-apoddubny:apoddubny/ci-docker

Conversation

@nv-apoddubny

Copy link
Copy Markdown
Collaborator

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@nv-apoddubny
nv-apoddubny marked this pull request as draft May 13, 2026 21:29
@greptile-apps

greptile-apps Bot commented May 13, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR makes two independent CI infrastructure changes: it wraps the docker run invocation in action.yml with a 3-attempt retry loop to handle transient Docker daemon errors on self-hosted runners, and it redirects every build and test job (18 jobs across build.yaml and install-ci.yml) from the gpu runner pool to gpu-stg.

  • Retry loop (action.yml): The backoff logic and container cleanup between attempts are well-structured, but the transient-error grep pattern includes "Error response from daemon" — a prefix shared by virtually all Docker API errors — which will trigger spurious retries and misleading messages on permanent failures such as wrong image names or registry auth issues.
  • Runner migration (build.yaml, install-ci.yml): All 18 CI jobs are unconditionally pointed at [self-hosted, gpu-stg]; if this is a temporary verification change it should not be merged to develop as-is, since all future production CI runs would queue on the staging runner pool.

Confidence Score: 3/5

Two independent changes with real risks: the retry pattern in action.yml will silently retry on non-transient Docker failures, and the runner label migration to gpu-stg affects every CI job permanently if merged.

The retry loop in action.yml will trigger up to 3 attempts (with multi-second delays) on errors like wrong image name or registry auth failure, producing misleading 'transient' messages instead of fast failure. The gpu→gpu-stg migration across all 18 jobs is a production-wide infrastructure change with no guard; if gpu-stg runners are unavailable or under-provisioned, every PR will stall indefinitely.

action.yml (retry grep pattern) and build.yaml / install-ci.yml (runner pool migration) both warrant a second look before merging to develop.

Important Files Changed

Filename Overview
.github/actions/run-tests/action.yml Adds a 3-attempt retry loop with exponential backoff around docker run; the transient-error grep pattern is too broad (Error response from daemon matches most Docker API errors, not just transient ones)
.github/workflows/build.yaml All 17 active CI jobs and 1 commented-out job migrated from gpu to gpu-stg runner label; permanent effect on production CI if merged as-is
.github/workflows/install-ci.yml Single runner label change from gpu to gpu-stg for the installation tests job, consistent with build.yaml migration

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[docker run attempt N] -->|success| B[break – container started]
    A -->|failure| C[capture stderr, check attempt count]
    C -->|attempt >= 3| D[🔴 return docker_run_exit]
    C -->|attempt < 3| E{grep transient patterns in docker_run_stderr?}
    E -->|matched| F[sleep delay / delay x3 / attempt+1 / clear stderr]
    F --> G[docker rm -f container]
    G --> A
    E -->|no match| H[🔴 non-transient – return docker_run_exit]
    B --> I[docker logs -f in background]
    I --> J[docker wait]
    J --> K{DOCKER_EXIT == 0?}
    K -->|yes| L[🟢 copy results, return 0]
    K -->|no| M[🟠 copy results, return DOCKER_EXIT]
Loading

Reviews (1): Last reviewed commit: "Verifying on staging" | Re-trigger Greptile

return $docker_run_exit
fi

if grep -qE "Error response from daemon|no such file or directory|cannot connect to the Docker daemon|connection refused|i/o timeout|context deadline exceeded" "$docker_run_stderr"; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Overly-broad transient-error pattern causes spurious retries

"Error response from daemon" is the standard prefix for virtually every Docker API error — including permanent ones like wrong image name (No such image), registry auth failure (pull access denied), and invalid arguments. Any of those will be matched, triggering up to 3 retry attempts (with 5 s + 15 s delays) while printing misleading "transient error" messages before ultimately failing. The two genuinely-transient patterns the comment describes (mkdir /var/lib/docker/containers/…: no such file or directory and socket/timeout errors) should be matched directly instead of through the umbrella prefix, e.g. containers.*no such file or directory plus the existing timeout strings.

build:
name: Build Base Docker Image
runs-on: [self-hosted, gpu]
runs-on: [self-hosted, gpu-stg]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 All CI jobs permanently redirected to gpu-stg runners

Every build and test job (18 in total across build.yaml and install-ci.yml) now targets [self-hosted, gpu-stg]. If this is intended only for temporary CI verification and not as a permanent infrastructure migration, merging to develop will route all future production CI runs to the staging runner pool. If gpu-stg runners are unavailable or misconfigured, every PR will queue indefinitely. Please confirm whether this change is meant to be permanent, and if not, add a note or revert before merging.

@AntoineRichard

Copy link
Copy Markdown
Collaborator

Closing this one as part of our PR backlog cleanup — it looks like a temporary/testing PR that was never intended to land, and it's been idle since 2026-05-13.

Thanks for the housekeeping! If this was actually still needed, please reopen and let us know. 💚


🤖 This comment was drafted with AI assistance as part of a maintainer-led sweep of the Isaac Lab pull request backlog. A maintainer is behind this cleanup — but if this closure looks wrong, it may well be, so please push back and we'll take another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants