NVIDIA-ISAAC-ROS / NVIDIA-ISAAC-ROS/isaac_ros_common
build_image_layers.sh error on [Common 2/27]
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 317
- Forks
- 227
- PR merge metrics
- No merged PRs in 30d
Description
I've been tryting to setup Isaac ROS on my jetson orin agx 64GB. I was continuing with the official documentation and almost done with the compute setup. I even encountered the issue with run_dev.sh script which I managed to resolve with the fix recommended by commenting the line in run_dev.sh script as mentioned in the issue #163 run_dev.sh failing #163.
Then I encountered the same issue as #168 . Fixed it as per the suggestion in that issue by replacing the pip lines. However I expected to get the error on common 8/9 but with exit code : 2 but instead I encountered a new error on common 2/27 exit code 100. What should I do to fix this? or have I missed any updated release of the isaac ros common ?
ERROR [common 2/27] RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y software-p 19.9s
Target image name not specified, using aarch64-image
Building layered image for key aarch64 as aarch64-image
Using configured docker search paths: /home/robotics-agx/isaac_ros_common/scripts/../docker
Checking if base image nvcr.io/nvidia/isaac/ros:aarch64_43ebdcd50225af05b5ea37c3a50f825f exists on remote registry
Resolved the following 1 Dockerfiles for target image: aarch64
/home/robotics-agx/isaac_ros_common/scripts/../docker/Dockerfile.aarch64
Building /home/robotics-agx/isaac_ros_common/scripts/../docker/Dockerfile.aarch64 as image: aarch64-image with base:
[+] Building 22.4s (7/55) docker:default
=> [internal] load build definition from Dockerfile.aarch64 0.0s
=> => transferring dockerfile: 18.40kB 0.0s
=> [internal] load metadata for nvcr.io/nvidia/12.6.11-devel:12.6.11-devel-aarch64-ubuntu22.04 2.3s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 179B 0.0s
=> [base-arm64 1/1] FROM nvcr.io/nvidia/12.6.11-devel:12.6.11-devel-aarch64-ubuntu22.04@sha256:eb19c1ffa90326a3d171d337edd225 0.0s
=> CACHED [common 1/27] RUN mkdir -p /opt/nvidia/isaac_ros_dev_base && dpkg-query -W | sort > /opt/nvidia/isaac_ros_dev_base 0.0s
=> ERROR [common 2/27] RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y software-p 19.9s
------
> [common 2/27] RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y software-properties-common && add-apt-repository universe && apt-get update:
12.67 Get:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease [270 kB]
13.10 Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [128 kB]
13.52 Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [127 kB]
13.94 Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [129 kB]
15.30 Get:5 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 Packages [1758 kB]
16.30 Get:6 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages [17.2 MB]
18.29 Get:7 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse arm64 Packages [224 kB]
18.73 Get:8 http://ports.ubuntu.com/ubuntu-ports jammy/restricted arm64 Packages [24.2 kB]
18.76 Reading package lists...
19.57 E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/InRelease is not valid yet (invalid for another 14h 39min 12s). Updates for this repository will not be applied.
19.57 E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/jammy-backports/InRelease is not valid yet (invalid for another 14h 43min 19s). Updates for this repository will not be applied.
19.57 E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/jammy-security/InRelease is not valid yet (invalid for another 15h 38min 41s). Updates for this repository will not be applied.
------
1 warning found (use docker --debug to expand):
- UndefinedVar: Usage of undefined variable '$CMAKE_PREFIX_PATH' (line 285)
Dockerfile.aarch64:33
--------------------
32 | # Ensure we have universe
33 | >>> RUN --mount=type=cache,target=/var/cache/apt \
34 | >>> apt-get update && apt-get install -y \
35 | >>> software-properties-common \
36 | >>> && add-apt-repository universe \
37 | >>> && apt-get update
38 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -c apt-get update && apt-get install -y software-properties-common && add-apt-repository universe && apt-get update" did not complete successfully: exit code: 100
do I need to make any changes in the Dockerfile.aarch64 regarding lines 32-38 ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Dockerfile.aarch64 lines 32-38 and reproduce the aarch64 image build using the command output shown in the issue. Investigate the apt-get update failure and the build environment before deciding whether those Dockerfile lines need changes. Done means the image builds successfully without exit code 100.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell, ubuntu
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100