Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/_lib/setup-docker-config/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:

if [ -n "${NGC_API_KEY:-}" ]; then
echo "🔵 Logging into nvcr.io..."
docker login -u '$oauthtoken' -p "${NGC_API_KEY}" nvcr.io
printf '%s' "${NGC_API_KEY}" | docker login -u '$oauthtoken' --password-stdin nvcr.io
else
echo "🟠 NGC_API_KEY not set - skipping nvcr.io login (normal for fork PRs)"
fi
6 changes: 6 additions & 0 deletions .github/actions/run-package-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ inputs:
description: 'Optional digest-pinned Docker image containing /wheelhouse and /manifest.json'
default: ''
required: false
wheelhouse-ngc-api-key:
description: 'Optional NGC API key used only to pull the wheelhouse image'
default: ''
required: false
wheelhouse-packages:
description: 'Space-separated packages to install from the wheelhouse with pip --no-index'
default: ''
Expand Down Expand Up @@ -235,6 +239,8 @@ runs:
- name: Setup wheelhouse registry authentication
if: inputs.wheelhouse-image != ''
uses: ./.github/actions/_lib/setup-docker-config
env:
NGC_API_KEY: ${{ inputs.wheelhouse-ngc-api-key != '' && inputs.wheelhouse-ngc-api-key || env.NGC_API_KEY }}

- name: Extract ovphysx wheelhouse
id: extract-wheelhouse
Expand Down
13 changes: 11 additions & 2 deletions .github/actions/run-tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,16 @@ run_tests() {
# step can still `docker kill` the container reliably.
# `docker logs -f` is the foreground process and is trivially killable.
echo "🔵 Starting Docker container for tests..."
local memory_limit
local cpu_limit
memory_limit=$(free -m | awk '/^Mem:/{printf "%dm", $2 * 0.9}')
cpu_limit=$(awk -v cpus="$(nproc)" 'BEGIN {printf "%.1f", cpus * 0.9}')
docker run -d --name $container_name \
--init --stop-timeout 5 \
--entrypoint bash --gpus all --network=host \
--security-opt=no-new-privileges:true \
--memory=$(echo "$(free -m | awk '/^Mem:/{print $2}') * 0.9 / 1" | bc)m \
--cpus=$(echo "$(nproc) * 0.9" | bc) \
--memory="$memory_limit" \
--cpus="$cpu_limit" \
--oom-kill-disable=false \
--ulimit nofile=65536:65536 \
--ulimit nproc=4096:4096 \
Expand Down Expand Up @@ -377,6 +381,11 @@ run_tests() {
\"\${uv_executable}\" pip install --python \"\${isaac_python}\" --target \"\${isaac_uv_overlay}\" --no-deps \${TEST_EXTRA_UV_PACKAGES}
export PYTHONPATH=\"\${isaac_uv_overlay}\${PYTHONPATH:+:\${PYTHONPATH}}\"
fi
case \" \${TEST_WHEELHOUSE_PACKAGES:-} \" in
*\" ovrtx \"*)
./isaaclab.sh -p -c \"import hashlib,importlib.metadata,json,os,pathlib; from packaging.version import Version; manifest=json.loads(pathlib.Path(os.environ['TEST_WHEELHOUSE_MANIFEST']).read_text(encoding='utf-8')); record=manifest.get('ovrtx') or {}; wheel=pathlib.Path(os.environ['TEST_WHEELHOUSE_PATH']) / record.get('file', ''); expected=manifest.get('ovrtx_version'); actual=importlib.metadata.version('ovrtx'); digest=hashlib.file_digest(wheel.open('rb'), 'sha256').hexdigest(); import ovrtx; from ovrtx import _version; expected_branch=(manifest.get('source') or {}).get('ref'); expected_sha=manifest.get('ovrtx_git_sha'); print(f'Resolved ovrtx package version: {actual}'); print(f'Wheelhouse manifest ovrtx version: {expected}'); print(f'Wheelhouse ovrtx SHA-256: {digest}'); print(f'Imported ovrtx provenance: {_version.gitbranch}@{_version.githash}'); raise SystemExit(0 if Version(actual) == Version(expected) and digest == record.get('sha256') and _version.gitbranch == expected_branch and _version.githash == expected_sha else f'ovrtx wheelhouse mismatch: installed {actual}, manifest {expected}, sha {digest}, provenance {_version.gitbranch}@{_version.githash}')\"
;;
esac
echo 'Starting pytest with path: $test_path'
./isaaclab.sh -p -m pytest --ignore=tools/conftest.py $test_path $pytest_options -v --junitxml=tests/$result_file
"
Expand Down
86 changes: 60 additions & 26 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
isaacsim_image_tag: ${{ steps.load.outputs.isaacsim_image_tag }}
isaaclab_image_name: ${{ steps.load.outputs.isaaclab_image_name }}
ovphysx_wheelhouse_image: ${{ steps.load.outputs.ovphysx_wheelhouse_image }}
ovrtx_wheelhouse_image: ${{ steps.load.outputs.ovrtx_wheelhouse_image }}
ci_image_tag: ${{ steps.image_tag.outputs.ci_image_tag }}
steps:
- uses: actions/checkout@v6
Expand All @@ -134,6 +135,7 @@ jobs:
echo "isaacsim_image_tag=$(yq -r .isaacsim_image_tag "$f")" >> "$GITHUB_OUTPUT"
echo "isaaclab_image_name=$(yq -r .isaaclab_image_name "$f")" >> "$GITHUB_OUTPUT"
echo "ovphysx_wheelhouse_image=$(yq -r '.ovphysx_wheelhouse_image // ""' "$f")" >> "$GITHUB_OUTPUT"
echo "ovrtx_wheelhouse_image=$(yq -r '.ovrtx_wheelhouse_image // ""' "$f")" >> "$GITHUB_OUTPUT"
# NOTE: this ci_image_tag formula is intentionally duplicated in arm-ci.yml's
# config job — the two images are independent (x86 here vs -arm64 there), so
# they are not shared. Keep the two formulas in sync if either changes.
Expand Down Expand Up @@ -161,9 +163,11 @@ jobs:
#region build jobs
build:
name: Build Base Docker Image
runs-on: [self-hosted, gpu]
runs-on: [ovrtx-vtc]
needs: [changes, config]
if: needs.changes.outputs.should_run == 'true'
if: >-
github.event_name == 'workflow_dispatch' &&
needs.changes.outputs.should_run == 'true'
steps:
- name: Checkout Code
uses: actions/checkout@v6
Expand All @@ -173,6 +177,8 @@ jobs:

- name: Build and push to ECR
uses: ./.github/actions/ecr-build-push-pull
env:
NGC_API_KEY: ${{ secrets.ISAACSIM_NGC_API_KEY || secrets.NGC_API_KEY }}
with:
image-tag: ${{ needs.config.outputs.ci_image_tag }}
isaacsim-base-image: ${{ needs.config.outputs.isaacsim_image_name }}
Expand All @@ -186,6 +192,7 @@ jobs:
needs: [changes, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.changes.outputs.should_run == 'true'
steps:
- name: Checkout Code
Expand Down Expand Up @@ -214,6 +221,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -241,6 +249,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -268,6 +277,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -294,6 +304,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -318,6 +329,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -342,6 +354,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -366,6 +379,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
strategy:
fail-fast: false
Expand Down Expand Up @@ -408,6 +422,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -430,6 +445,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -451,6 +467,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -473,6 +490,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -489,11 +507,11 @@ jobs:

test-isaaclab-visualizers:
name: isaaclab_visualizers
runs-on: [self-hosted, gpu]
runs-on: [ovrtx-vtc]
timeout-minutes: 180
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name == 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -515,6 +533,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -536,6 +555,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -553,11 +573,11 @@ jobs:

test-isaaclab-physx:
name: isaaclab_physx
runs-on: [self-hosted, gpu]
runs-on: [ovrtx-vtc]
timeout-minutes: 180
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name == 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -575,14 +595,15 @@ jobs:

test-isaaclab-ov:
name: isaaclab_ov
runs-on: [self-hosted, gpu]
runs-on: [ovrtx-vtc]
timeout-minutes: 180
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name == 'workflow_dispatch' &&
needs.build.result == 'success'
env:
USE_OVPHYSX_WHEELHOUSE: ${{ needs.config.outputs.ovphysx_wheelhouse_image != '' && ((github.event_name == 'pull_request' && github.base_ref == 'develop' && github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name != 'pull_request' && github.ref_name == 'develop')) }}
USE_OVRTX_WHEELHOUSE: ${{ github.event_name == 'workflow_dispatch' && github.repository == 'nvsekkin/IsaacLab' && needs.config.outputs.ovrtx_wheelhouse_image != '' }}
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -592,15 +613,20 @@ jobs:
uses: ./.github/actions/resolve-ov-pins
id: ov_pins
- uses: ./.github/actions/run-package-tests
env:
NGC_API_KEY: ${{ secrets.ISAACSIM_NGC_API_KEY || secrets.NGC_API_KEY }}
with:
image-tag: ${{ needs.config.outputs.ci_image_tag }}
isaacsim-base-image: ${{ needs.config.outputs.isaacsim_image_name }}
isaacsim-version: ${{ needs.config.outputs.isaacsim_image_tag }}
filter-pattern: "isaaclab_ov"
filter-pattern: "isaaclab_ov/"
# Volume deformable tests tetrahedralize their meshes at startup.
extra-pip-packages: pytetwild[all]>=0.3.0,<0.4 ${{ env.USE_OVPHYSX_WHEELHOUSE == 'true' && steps.ov_pins.outputs.ovrtx || format('{0} {1}', steps.ov_pins.outputs.ovrtx, steps.ov_pins.outputs.ovphysx) }}
wheelhouse-image: ${{ env.USE_OVPHYSX_WHEELHOUSE == 'true' && needs.config.outputs.ovphysx_wheelhouse_image || '' }}
wheelhouse-packages: ${{ env.USE_OVPHYSX_WHEELHOUSE == 'true' && 'ovphysx' || '' }}
extra-pip-packages: >-
pytetwild[all]>=0.3.0,<0.4
${{ env.USE_OVRTX_WHEELHOUSE == 'true' && steps.ov_pins.outputs.ovphysx || (env.USE_OVPHYSX_WHEELHOUSE == 'true' && steps.ov_pins.outputs.ovrtx || format('{0} {1}', steps.ov_pins.outputs.ovrtx, steps.ov_pins.outputs.ovphysx)) }}
wheelhouse-image: ${{ env.USE_OVRTX_WHEELHOUSE == 'true' && needs.config.outputs.ovrtx_wheelhouse_image || (env.USE_OVPHYSX_WHEELHOUSE == 'true' && needs.config.outputs.ovphysx_wheelhouse_image || '') }}
wheelhouse-ngc-api-key: ${{ secrets.NGC_API_KEY }}
wheelhouse-packages: ${{ env.USE_OVRTX_WHEELHOUSE == 'true' && 'ovrtx' || (env.USE_OVPHYSX_WHEELHOUSE == 'true' && 'ovphysx' || '') }}
container-name: isaac-lab-ov-test

# Folded from the former standalone verify-base-non-root job: reuses the
Expand Down Expand Up @@ -637,6 +663,7 @@ jobs:
needs: [build-curobo, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build-curobo.result == 'success'
steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -687,6 +714,7 @@ jobs:
needs: [build-curobo, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build-curobo.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -711,6 +739,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -735,6 +764,7 @@ jobs:
needs: [build, config]
if: >-
github.event_name != 'push' &&
github.event_name != 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
Expand All @@ -755,11 +785,13 @@ jobs:

test-rendering-correctness:
name: "rendering-correctness"
runs-on: [self-hosted, gpu]
runs-on: [ovrtx-vtc]
timeout-minutes: 120
continue-on-error: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
needs: [build, config]
if: needs.build.result == 'success'
if: >-
github.event_name == 'workflow_dispatch' &&
needs.build.result == 'success'
steps:
- uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -787,22 +819,21 @@ jobs:

test-rendering-correctness-kitless:
name: "rendering-correctness-kitless (${{ matrix.variant }})"
runs-on: [self-hosted, gpu]
runs-on: [ovrtx-vtc]
timeout-minutes: 120
continue-on-error: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
needs: [build, config]
if: needs.build.result == 'success'
if: >-
github.event_name == 'workflow_dispatch' &&
needs.build.result == 'success'
strategy:
fail-fast: false
matrix:
variant: [legacy, ovstage]
event_name:
- ${{ github.event_name }}
exclude:
- variant: ovstage
event_name: pull_request
# The ovstage path remains experimental and is out of scope for this VTC.
variant: [legacy]
env:
USE_OVPHYSX_WHEELHOUSE: ${{ needs.config.outputs.ovphysx_wheelhouse_image != '' && ((github.event_name == 'pull_request' && github.base_ref == 'develop' && github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name != 'pull_request' && github.ref_name == 'develop')) }}
USE_OVRTX_WHEELHOUSE: ${{ github.event_name == 'workflow_dispatch' && github.repository == 'nvsekkin/IsaacLab' && needs.config.outputs.ovrtx_wheelhouse_image != '' }}
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -812,16 +843,19 @@ jobs:
uses: ./.github/actions/resolve-ov-pins
id: ov_pins
- uses: ./.github/actions/run-package-tests
env:
NGC_API_KEY: ${{ secrets.ISAACSIM_NGC_API_KEY || secrets.NGC_API_KEY }}
with:
image-tag: ${{ needs.config.outputs.ci_image_tag }}
isaacsim-base-image: ${{ needs.config.outputs.isaacsim_image_name }}
isaacsim-version: ${{ needs.config.outputs.isaacsim_image_tag }}
filter-pattern: "isaaclab_tasks"
extra-pip-packages: >-
pytetwild[all]>=0.3.0,<0.4
${{ env.USE_OVPHYSX_WHEELHOUSE == 'true' && steps.ov_pins.outputs.ovrtx || format('{0} {1}', steps.ov_pins.outputs.ovrtx, steps.ov_pins.outputs.ovphysx) }}
wheelhouse-image: ${{ env.USE_OVPHYSX_WHEELHOUSE == 'true' && needs.config.outputs.ovphysx_wheelhouse_image || '' }}
wheelhouse-packages: ${{ env.USE_OVPHYSX_WHEELHOUSE == 'true' && 'ovphysx' || '' }}
${{ env.USE_OVRTX_WHEELHOUSE == 'true' && steps.ov_pins.outputs.ovphysx || (env.USE_OVPHYSX_WHEELHOUSE == 'true' && steps.ov_pins.outputs.ovrtx || format('{0} {1}', steps.ov_pins.outputs.ovrtx, steps.ov_pins.outputs.ovphysx)) }}
wheelhouse-image: ${{ env.USE_OVRTX_WHEELHOUSE == 'true' && needs.config.outputs.ovrtx_wheelhouse_image || (env.USE_OVPHYSX_WHEELHOUSE == 'true' && needs.config.outputs.ovphysx_wheelhouse_image || '') }}
wheelhouse-ngc-api-key: ${{ secrets.NGC_API_KEY }}
wheelhouse-packages: ${{ env.USE_OVRTX_WHEELHOUSE == 'true' && 'ovrtx' || (env.USE_OVPHYSX_WHEELHOUSE == 'true' && 'ovphysx' || '') }}
include-files: >-
test_rendering_cartpole_kitless.py,
test_rendering_lift_kuka_hetero_kitless.py,
Expand Down Expand Up @@ -855,7 +889,7 @@ jobs:
group: warp-cache-write-${{ github.ref }}
cancel-in-progress: false
if: >-
(github.event_name == 'push' || github.event_name == 'workflow_dispatch') &&
github.event_name == 'push' &&
needs.build.result == 'success'
env:
# Caches are branch-scoped: publishing only helps from a PR base branch
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ isaacsim_image_name: nvcr.io/0947644777160149/internal/isaac-sim
isaacsim_image_tag: latest-develop
isaaclab_image_name: nvcr.io/nvidian/isaac-lab
ovphysx_wheelhouse_image: ""
# Temporary fork-only VTC carrier. The build workflow restricts this override to manual dispatches in nvsekkin/IsaacLab.
ovrtx_wheelhouse_image: "nvcr.io/nvidian/isaaclab-ovrtx-wheel-experimental-ci:ovrtx-wheelhouse-v0.4.1.0-g553acd424ee0-w1a9c0df1d656@sha256:5a0db03a5968af5e831a1046814267f24dc08784852284aaeae9d4cc9841b0fa"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test-only: removed the resolved OVRTX texture-readiness xfail and refreshed rendering goldens for OVRTX 0.4.1.
Loading
Loading